public class RoleAssignmentCreateParameters extends Object
| Constructor and Description |
|---|
RoleAssignmentCreateParameters() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
canDelegate()
Get the canDelegate property: The delegation flag used for creating a role assignment.
|
String |
principalId()
Get the principalId property: The principal ID assigned to the role.
|
String |
roleDefinitionId()
Get the roleDefinitionId property: The role definition ID used in the role assignment.
|
void |
validate()
Validates the instance.
|
RoleAssignmentCreateParameters |
withCanDelegate(Boolean canDelegate)
Set the canDelegate property: The delegation flag used for creating a role assignment.
|
RoleAssignmentCreateParameters |
withPrincipalId(String principalId)
Set the principalId property: The principal ID assigned to the role.
|
RoleAssignmentCreateParameters |
withRoleDefinitionId(String roleDefinitionId)
Set the roleDefinitionId property: The role definition ID used in the role assignment.
|
public String roleDefinitionId()
public RoleAssignmentCreateParameters withRoleDefinitionId(String roleDefinitionId)
roleDefinitionId - the roleDefinitionId value to set.public String principalId()
public RoleAssignmentCreateParameters withPrincipalId(String principalId)
principalId - the principalId value to set.public Boolean canDelegate()
public RoleAssignmentCreateParameters withCanDelegate(Boolean canDelegate)
canDelegate - the canDelegate value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.