Class RoleManagementPolicyAssignmentProperties
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.RoleManagementPolicyAssignmentProperties
Role management policy assignment properties with scope.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RoleManagementPolicyAssignmentProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the effectiveRules property: The readonly computed rule applied to the policy.Get the policyAssignmentProperties property: Additional properties of scope, role definition and policy.policyId()Get the policyId property: The policy id role management policy assignment.Get the roleDefinitionId property: The role definition of management policy assignment.scope()Get the scope property: The role management policy scope.voidvalidate()Validates the instance.withPolicyId(String policyId) Set the policyId property: The policy id role management policy assignment.withRoleDefinitionId(String roleDefinitionId) Set the roleDefinitionId property: The role definition of management policy assignment.Set the scope property: The role management policy scope.
-
Constructor Details
-
RoleManagementPolicyAssignmentProperties
public RoleManagementPolicyAssignmentProperties()Creates an instance of RoleManagementPolicyAssignmentProperties class.
-
-
Method Details
-
scope
Get the scope property: The role management policy scope.- Returns:
- the scope value.
-
withScope
Set the scope property: The role management policy scope.- Parameters:
scope- the scope value to set.- Returns:
- the RoleManagementPolicyAssignmentProperties object itself.
-
roleDefinitionId
Get the roleDefinitionId property: The role definition of management policy assignment.- Returns:
- the roleDefinitionId value.
-
withRoleDefinitionId
Set the roleDefinitionId property: The role definition of management policy assignment.- Parameters:
roleDefinitionId- the roleDefinitionId value to set.- Returns:
- the RoleManagementPolicyAssignmentProperties object itself.
-
policyId
Get the policyId property: The policy id role management policy assignment.- Returns:
- the policyId value.
-
withPolicyId
Set the policyId property: The policy id role management policy assignment.- Parameters:
policyId- the policyId value to set.- Returns:
- the RoleManagementPolicyAssignmentProperties object itself.
-
effectiveRules
Get the effectiveRules property: The readonly computed rule applied to the policy.- Returns:
- the effectiveRules value.
-
policyAssignmentProperties
Get the policyAssignmentProperties property: Additional properties of scope, role definition and policy.- Returns:
- the policyAssignmentProperties value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-