Package odata.msgraph.client.beta.entity
Class RoleAssignment.Builder
- java.lang.Object
-
- odata.msgraph.client.beta.entity.RoleAssignment.Builder
-
- Enclosing class:
- RoleAssignment
public static final class RoleAssignment.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoleAssignmentbuild()RoleAssignment.Builderdescription(String description)“Description of the Role Assignment.”RoleAssignment.BuilderdisplayName(String displayName)“The display or friendly name of the role Assignment.”RoleAssignment.Builderid(String id)RoleAssignment.BuilderresourceScopes(String... resourceScopes)“List of ids of role scope member security groups.RoleAssignment.BuilderresourceScopes(List<String> resourceScopes)“List of ids of role scope member security groups.RoleAssignment.BuilderresourceScopesNextLink(String resourceScopesNextLink)“List of ids of role scope member security groups.RoleAssignment.BuilderscopeMembers(String... scopeMembers)“List of ids of role scope member security groups.RoleAssignment.BuilderscopeMembers(List<String> scopeMembers)“List of ids of role scope member security groups.RoleAssignment.BuilderscopeMembersNextLink(String scopeMembersNextLink)“List of ids of role scope member security groups.RoleAssignment.BuilderscopeType(RoleAssignmentScopeType scopeType)“Specifies the type of scope for a Role Assignment.
-
-
-
Method Detail
-
id
public RoleAssignment.Builder id(String id)
-
description
public RoleAssignment.Builder description(String description)
“Description of the Role Assignment.”- Parameters:
description- value ofdescriptionproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
displayName
public RoleAssignment.Builder displayName(String displayName)
“The display or friendly name of the role Assignment.”- Parameters:
displayName- value ofdisplayNameproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
resourceScopes
public RoleAssignment.Builder resourceScopes(List<String> resourceScopes)
“List of ids of role scope member security groups. These are IDs from Azure Active Directory.”- Parameters:
resourceScopes- value ofresourceScopesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
resourceScopes
public RoleAssignment.Builder resourceScopes(String... resourceScopes)
“List of ids of role scope member security groups. These are IDs from Azure Active Directory.”- Parameters:
resourceScopes- value ofresourceScopesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
resourceScopesNextLink
public RoleAssignment.Builder resourceScopesNextLink(String resourceScopesNextLink)
“List of ids of role scope member security groups. These are IDs from Azure Active Directory.”- Parameters:
resourceScopesNextLink- value ofresourceScopes@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
scopeMembers
public RoleAssignment.Builder scopeMembers(List<String> scopeMembers)
“List of ids of role scope member security groups. These are IDs from Azure Active Directory.”- Parameters:
scopeMembers- value ofscopeMembersproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
scopeMembers
public RoleAssignment.Builder scopeMembers(String... scopeMembers)
“List of ids of role scope member security groups. These are IDs from Azure Active Directory.”- Parameters:
scopeMembers- value ofscopeMembersproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
scopeMembersNextLink
public RoleAssignment.Builder scopeMembersNextLink(String scopeMembersNextLink)
“List of ids of role scope member security groups. These are IDs from Azure Active Directory.”- Parameters:
scopeMembersNextLink- value ofscopeMembers@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
scopeType
public RoleAssignment.Builder scopeType(RoleAssignmentScopeType scopeType)
“Specifies the type of scope for a Role Assignment. Default type 'ResourceScope' allows assignment of ResourceScopes. For 'AllDevices', 'AllLicensedUsers', and ' AllDevicesAndLicensedUsers', the ResourceScopes property should be left empty.”- Parameters:
scopeType- value ofscopeTypeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public RoleAssignment build()
-
-