Class RoleManagementPolicyRule
java.lang.Object
com.azure.resourcemanager.authorization.models.RoleManagementPolicyRule
- Direct Known Subclasses:
RoleManagementPolicyApprovalRule,RoleManagementPolicyAuthenticationContextRule,RoleManagementPolicyEnablementRule,RoleManagementPolicyExpirationRule,RoleManagementPolicyNotificationRule
The role management policy rule.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RoleManagementPolicyRule class. -
Method Summary
-
Constructor Details
-
RoleManagementPolicyRule
public RoleManagementPolicyRule()Creates an instance of RoleManagementPolicyRule class.
-
-
Method Details
-
id
Get the id property: The id of the rule.- Returns:
- the id value.
-
withId
Set the id property: The id of the rule.- Parameters:
id- the id value to set.- Returns:
- the RoleManagementPolicyRule object itself.
-
target
Get the target property: The target of the current rule.- Returns:
- the target value.
-
withTarget
Set the target property: The target of the current rule.- Parameters:
target- the target value to set.- Returns:
- the RoleManagementPolicyRule object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-