Package odata.msgraph.client.beta.entity
Class RoleDefinition.Builder
- java.lang.Object
-
- odata.msgraph.client.beta.entity.RoleDefinition.Builder
-
- Enclosing class:
- RoleDefinition
public static final class RoleDefinition.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoleDefinitionbuild()RoleDefinition.Builderdescription(String description)“Description of the Role definition.”RoleDefinition.BuilderdisplayName(String displayName)“Display Name of the Role definition.”RoleDefinition.Builderid(String id)RoleDefinition.BuilderisBuiltIn(Boolean isBuiltIn)“Type of Role.RoleDefinition.BuilderisBuiltInRoleDefinition(Boolean isBuiltInRoleDefinition)“Type of Role.RoleDefinition.Builderpermissions(List<RolePermission> permissions)“List of Role Permissions this role is allowed to perform.RoleDefinition.Builderpermissions(RolePermission... permissions)“List of Role Permissions this role is allowed to perform.RoleDefinition.BuilderpermissionsNextLink(String permissionsNextLink)“List of Role Permissions this role is allowed to perform.RoleDefinition.BuilderrolePermissions(List<RolePermission> rolePermissions)“List of Role Permissions this role is allowed to perform.RoleDefinition.BuilderrolePermissions(RolePermission... rolePermissions)“List of Role Permissions this role is allowed to perform.RoleDefinition.BuilderrolePermissionsNextLink(String rolePermissionsNextLink)“List of Role Permissions this role is allowed to perform.RoleDefinition.BuilderroleScopeTagIds(String... roleScopeTagIds)“List of Scope Tags for this Entity instance.”RoleDefinition.BuilderroleScopeTagIds(List<String> roleScopeTagIds)“List of Scope Tags for this Entity instance.”RoleDefinition.BuilderroleScopeTagIdsNextLink(String roleScopeTagIdsNextLink)“List of Scope Tags for this Entity instance.”
-
-
-
Method Detail
-
id
public RoleDefinition.Builder id(String id)
-
description
public RoleDefinition.Builder description(String description)
“Description of the Role definition.”- Parameters:
description- value ofdescriptionproperty (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 ofdisplayNameproperty (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 ofisBuiltInproperty (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 ofisBuiltInRoleDefinitionproperty (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 ofpermissionsproperty (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 ofpermissionsproperty (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 ofpermissions@nextLinkproperty (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 ofrolePermissionsproperty (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 ofrolePermissionsproperty (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 ofrolePermissions@nextLinkproperty (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 ofroleScopeTagIdsproperty (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 ofroleScopeTagIdsproperty (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 ofroleScopeTagIds@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public RoleDefinition build()
-
-