Class RoleManagementPolicyRuleTarget
java.lang.Object
com.azure.resourcemanager.authorization.models.RoleManagementPolicyRuleTarget
The role management policy rule target.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RoleManagementPolicyRuleTarget class. -
Method Summary
Modifier and TypeMethodDescriptioncaller()Get the caller property: The caller of the setting.Get the enforcedSettings property: The list of enforced settings.Get the inheritableSettings property: The list of inheritable settings.level()Get the level property: The assignment level to which rule is applied.Get the operations property: The type of operation.Get the targetObjects property: The list of target objects.voidvalidate()Validates the instance.withCaller(String caller) Set the caller property: The caller of the setting.withEnforcedSettings(List<String> enforcedSettings) Set the enforcedSettings property: The list of enforced settings.withInheritableSettings(List<String> inheritableSettings) Set the inheritableSettings property: The list of inheritable settings.Set the level property: The assignment level to which rule is applied.withOperations(List<String> operations) Set the operations property: The type of operation.withTargetObjects(List<String> targetObjects) Set the targetObjects property: The list of target objects.
-
Constructor Details
-
RoleManagementPolicyRuleTarget
public RoleManagementPolicyRuleTarget()Creates an instance of RoleManagementPolicyRuleTarget class.
-
-
Method Details
-
caller
Get the caller property: The caller of the setting.- Returns:
- the caller value.
-
withCaller
Set the caller property: The caller of the setting.- Parameters:
caller- the caller value to set.- Returns:
- the RoleManagementPolicyRuleTarget object itself.
-
operations
Get the operations property: The type of operation.- Returns:
- the operations value.
-
withOperations
Set the operations property: The type of operation.- Parameters:
operations- the operations value to set.- Returns:
- the RoleManagementPolicyRuleTarget object itself.
-
level
Get the level property: The assignment level to which rule is applied.- Returns:
- the level value.
-
withLevel
Set the level property: The assignment level to which rule is applied.- Parameters:
level- the level value to set.- Returns:
- the RoleManagementPolicyRuleTarget object itself.
-
targetObjects
Get the targetObjects property: The list of target objects.- Returns:
- the targetObjects value.
-
withTargetObjects
Set the targetObjects property: The list of target objects.- Parameters:
targetObjects- the targetObjects value to set.- Returns:
- the RoleManagementPolicyRuleTarget object itself.
-
inheritableSettings
Get the inheritableSettings property: The list of inheritable settings.- Returns:
- the inheritableSettings value.
-
withInheritableSettings
Set the inheritableSettings property: The list of inheritable settings.- Parameters:
inheritableSettings- the inheritableSettings value to set.- Returns:
- the RoleManagementPolicyRuleTarget object itself.
-
enforcedSettings
Get the enforcedSettings property: The list of enforced settings.- Returns:
- the enforcedSettings value.
-
withEnforcedSettings
Set the enforcedSettings property: The list of enforced settings.- Parameters:
enforcedSettings- the enforcedSettings value to set.- Returns:
- the RoleManagementPolicyRuleTarget object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-