Class Permission

java.lang.Object
com.azure.resourcemanager.resources.models.Permission

public final class Permission extends Object
Role definition permissions.
  • Constructor Details

    • Permission

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

    • actions

      public List<String> actions()
      Get the actions property: Allowed actions.
      Returns:
      the actions value.
    • withActions

      public Permission withActions(List<String> actions)
      Set the actions property: Allowed actions.
      Parameters:
      actions - the actions value to set.
      Returns:
      the Permission object itself.
    • notActions

      public List<String> notActions()
      Get the notActions property: Denied actions.
      Returns:
      the notActions value.
    • withNotActions

      public Permission withNotActions(List<String> notActions)
      Set the notActions property: Denied actions.
      Parameters:
      notActions - the notActions value to set.
      Returns:
      the Permission object itself.
    • dataActions

      public List<String> dataActions()
      Get the dataActions property: Allowed Data actions.
      Returns:
      the dataActions value.
    • withDataActions

      public Permission withDataActions(List<String> dataActions)
      Set the dataActions property: Allowed Data actions.
      Parameters:
      dataActions - the dataActions value to set.
      Returns:
      the Permission object itself.
    • notDataActions

      public List<String> notDataActions()
      Get the notDataActions property: Denied Data actions.
      Returns:
      the notDataActions value.
    • withNotDataActions

      public Permission withNotDataActions(List<String> notDataActions)
      Set the notDataActions property: Denied Data actions.
      Parameters:
      notDataActions - the notDataActions value to set.
      Returns:
      the Permission object itself.
    • validate

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