Class RoleDefinition.Builder

    • Method Detail

      • description

        public RoleDefinition.Builder description​(String description)
        “Description of the Role definition.”
        Parameters:
        description - value of description property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • displayName

        public RoleDefinition.Builder displayName​(String displayName)
        “Display Name of the Role definition.”
        Parameters:
        displayName - value of displayName property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • isBuiltIn

        public RoleDefinition.Builder isBuiltIn​(Boolean isBuiltIn)
        “Type of Role. Set to True if it is built-in, or set to False if it is a custom role definition.”
        Parameters:
        isBuiltIn - value of isBuiltIn property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • isBuiltInRoleDefinition

        public RoleDefinition.Builder isBuiltInRoleDefinition​(Boolean isBuiltInRoleDefinition)
        “Type of Role. Set to True if it is built-in, or set to False if it is a custom role definition.”
        Parameters:
        isBuiltInRoleDefinition - value of isBuiltInRoleDefinition property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • permissions

        public RoleDefinition.Builder permissions​(List<RolePermission> permissions)
        “List of Role Permissions this role is allowed to perform. These must match the actionName that is defined as part of the rolePermission.”
        Parameters:
        permissions - value of permissions property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • permissions

        public RoleDefinition.Builder permissions​(RolePermission... permissions)
        “List of Role Permissions this role is allowed to perform. These must match the actionName that is defined as part of the rolePermission.”
        Parameters:
        permissions - value of permissions property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • permissionsNextLink

        public RoleDefinition.Builder permissionsNextLink​(String permissionsNextLink)
        “List of Role Permissions this role is allowed to perform. These must match the actionName that is defined as part of the rolePermission.”
        Parameters:
        permissionsNextLink - value of permissions@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • rolePermissions

        public RoleDefinition.Builder rolePermissions​(List<RolePermission> rolePermissions)
        “List of Role Permissions this role is allowed to perform. These must match the actionName that is defined as part of the rolePermission.”
        Parameters:
        rolePermissions - value of rolePermissions property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • rolePermissions

        public RoleDefinition.Builder rolePermissions​(RolePermission... rolePermissions)
        “List of Role Permissions this role is allowed to perform. These must match the actionName that is defined as part of the rolePermission.”
        Parameters:
        rolePermissions - value of rolePermissions property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • rolePermissionsNextLink

        public RoleDefinition.Builder rolePermissionsNextLink​(String rolePermissionsNextLink)
        “List of Role Permissions this role is allowed to perform. These must match the actionName that is defined as part of the rolePermission.”
        Parameters:
        rolePermissionsNextLink - value of rolePermissions@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • roleScopeTagIds

        public RoleDefinition.Builder roleScopeTagIds​(List<String> roleScopeTagIds)
        “List of Scope Tags for this Entity instance.”
        Parameters:
        roleScopeTagIds - value of roleScopeTagIds property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • roleScopeTagIds

        public RoleDefinition.Builder roleScopeTagIds​(String... roleScopeTagIds)
        “List of Scope Tags for this Entity instance.”
        Parameters:
        roleScopeTagIds - value of roleScopeTagIds property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • roleScopeTagIdsNextLink

        public RoleDefinition.Builder roleScopeTagIdsNextLink​(String roleScopeTagIdsNextLink)
        “List of Scope Tags for this Entity instance.”
        Parameters:
        roleScopeTagIdsNextLink - value of roleScopeTagIds@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)