Class RoleManagementPolicyRuleTarget

java.lang.Object
com.azure.resourcemanager.authorization.models.RoleManagementPolicyRuleTarget

public final class RoleManagementPolicyRuleTarget extends Object
The role management policy rule target.
  • Constructor Details

    • RoleManagementPolicyRuleTarget

      public RoleManagementPolicyRuleTarget()
      Creates an instance of RoleManagementPolicyRuleTarget class.
  • Method Details

    • caller

      public String caller()
      Get the caller property: The caller of the setting.
      Returns:
      the caller value.
    • withCaller

      public RoleManagementPolicyRuleTarget withCaller(String caller)
      Set the caller property: The caller of the setting.
      Parameters:
      caller - the caller value to set.
      Returns:
      the RoleManagementPolicyRuleTarget object itself.
    • operations

      public List<String> operations()
      Get the operations property: The type of operation.
      Returns:
      the operations value.
    • withOperations

      public RoleManagementPolicyRuleTarget withOperations(List<String> operations)
      Set the operations property: The type of operation.
      Parameters:
      operations - the operations value to set.
      Returns:
      the RoleManagementPolicyRuleTarget object itself.
    • level

      public String level()
      Get the level property: The assignment level to which rule is applied.
      Returns:
      the level value.
    • withLevel

      public RoleManagementPolicyRuleTarget withLevel(String level)
      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

      public List<String> targetObjects()
      Get the targetObjects property: The list of target objects.
      Returns:
      the targetObjects value.
    • withTargetObjects

      public RoleManagementPolicyRuleTarget withTargetObjects(List<String> targetObjects)
      Set the targetObjects property: The list of target objects.
      Parameters:
      targetObjects - the targetObjects value to set.
      Returns:
      the RoleManagementPolicyRuleTarget object itself.
    • inheritableSettings

      public List<String> inheritableSettings()
      Get the inheritableSettings property: The list of inheritable settings.
      Returns:
      the inheritableSettings value.
    • withInheritableSettings

      public RoleManagementPolicyRuleTarget withInheritableSettings(List<String> inheritableSettings)
      Set the inheritableSettings property: The list of inheritable settings.
      Parameters:
      inheritableSettings - the inheritableSettings value to set.
      Returns:
      the RoleManagementPolicyRuleTarget object itself.
    • enforcedSettings

      public List<String> enforcedSettings()
      Get the enforcedSettings property: The list of enforced settings.
      Returns:
      the enforcedSettings value.
    • withEnforcedSettings

      public RoleManagementPolicyRuleTarget withEnforcedSettings(List<String> enforcedSettings)
      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.