Class RoleManagementPolicyProperties
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.RoleManagementPolicyProperties
Role management policy properties with scope.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RoleManagementPolicyProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The role management policy description.Get the displayName property: The role management policy display name.Get the effectiveRules property: The readonly computed rule applied to the policy.Get the isOrganizationDefault property: The role management policy is default policy.Get the lastModifiedBy property: The name of the entity last modified it.Get the lastModifiedDateTime property: The last modified date time.Get the policyProperties property: Additional properties of scope.rules()Get the rules property: The rule applied to the policy.scope()Get the scope property: The role management policy scope.voidvalidate()Validates the instance.withDescription(String description) Set the description property: The role management policy description.withDisplayName(String displayName) Set the displayName property: The role management policy display name.withIsOrganizationDefault(Boolean isOrganizationDefault) Set the isOrganizationDefault property: The role management policy is default policy.withRules(List<RoleManagementPolicyRule> rules) Set the rules property: The rule applied to the policy.Set the scope property: The role management policy scope.
-
Constructor Details
-
RoleManagementPolicyProperties
public RoleManagementPolicyProperties()Creates an instance of RoleManagementPolicyProperties 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 RoleManagementPolicyProperties object itself.
-
displayName
Get the displayName property: The role management policy display name.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The role management policy display name.- Parameters:
displayName- the displayName value to set.- Returns:
- the RoleManagementPolicyProperties object itself.
-
description
Get the description property: The role management policy description.- Returns:
- the description value.
-
withDescription
Set the description property: The role management policy description.- Parameters:
description- the description value to set.- Returns:
- the RoleManagementPolicyProperties object itself.
-
isOrganizationDefault
Get the isOrganizationDefault property: The role management policy is default policy.- Returns:
- the isOrganizationDefault value.
-
withIsOrganizationDefault
Set the isOrganizationDefault property: The role management policy is default policy.- Parameters:
isOrganizationDefault- the isOrganizationDefault value to set.- Returns:
- the RoleManagementPolicyProperties object itself.
-
lastModifiedBy
Get the lastModifiedBy property: The name of the entity last modified it.- Returns:
- the lastModifiedBy value.
-
lastModifiedDateTime
Get the lastModifiedDateTime property: The last modified date time.- Returns:
- the lastModifiedDateTime value.
-
rules
Get the rules property: The rule applied to the policy.- Returns:
- the rules value.
-
withRules
Set the rules property: The rule applied to the policy.- Parameters:
rules- the rules value to set.- Returns:
- the RoleManagementPolicyProperties object itself.
-
effectiveRules
Get the effectiveRules property: The readonly computed rule applied to the policy.- Returns:
- the effectiveRules value.
-
policyProperties
Get the policyProperties property: Additional properties of scope.- Returns:
- the policyProperties value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-