Package odata.msgraph.client.entity
Class RoleAssignment.Builder
- java.lang.Object
-
- odata.msgraph.client.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.
-
-
-
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)
-
build
public RoleAssignment build()
-
-