Class DenyAssignmentPermission

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

public final class DenyAssignmentPermission extends Object
Deny assignment permissions.
  • Constructor Details

    • DenyAssignmentPermission

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

    • actions

      public List<String> actions()
      Get the actions property: Actions to which the deny assignment does not grant access.
      Returns:
      the actions value.
    • withActions

      public DenyAssignmentPermission withActions(List<String> actions)
      Set the actions property: Actions to which the deny assignment does not grant access.
      Parameters:
      actions - the actions value to set.
      Returns:
      the DenyAssignmentPermission object itself.
    • notActions

      public List<String> notActions()
      Get the notActions property: Actions to exclude from that the deny assignment does not grant access.
      Returns:
      the notActions value.
    • withNotActions

      public DenyAssignmentPermission withNotActions(List<String> notActions)
      Set the notActions property: Actions to exclude from that the deny assignment does not grant access.
      Parameters:
      notActions - the notActions value to set.
      Returns:
      the DenyAssignmentPermission object itself.
    • dataActions

      public List<String> dataActions()
      Get the dataActions property: Data actions to which the deny assignment does not grant access.
      Returns:
      the dataActions value.
    • withDataActions

      public DenyAssignmentPermission withDataActions(List<String> dataActions)
      Set the dataActions property: Data actions to which the deny assignment does not grant access.
      Parameters:
      dataActions - the dataActions value to set.
      Returns:
      the DenyAssignmentPermission object itself.
    • notDataActions

      public List<String> notDataActions()
      Get the notDataActions property: Data actions to exclude from that the deny assignment does not grant access.
      Returns:
      the notDataActions value.
    • withNotDataActions

      public DenyAssignmentPermission withNotDataActions(List<String> notDataActions)
      Set the notDataActions property: Data actions to exclude from that the deny assignment does not grant access.
      Parameters:
      notDataActions - the notDataActions value to set.
      Returns:
      the DenyAssignmentPermission object itself.
    • condition

      public String condition()
      Get the condition property: The conditions on the Deny assignment permission. This limits the resources it applies to.
      Returns:
      the condition value.
    • withCondition

      public DenyAssignmentPermission withCondition(String condition)
      Set the condition property: The conditions on the Deny assignment permission. This limits the resources it applies to.
      Parameters:
      condition - the condition value to set.
      Returns:
      the DenyAssignmentPermission object itself.
    • conditionVersion

      public String conditionVersion()
      Get the conditionVersion property: Version of the condition.
      Returns:
      the conditionVersion value.
    • withConditionVersion

      public DenyAssignmentPermission withConditionVersion(String conditionVersion)
      Set the conditionVersion property: Version of the condition.
      Parameters:
      conditionVersion - the conditionVersion value to set.
      Returns:
      the DenyAssignmentPermission object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.