Class RequiredPermissions

java.lang.Object
com.azure.resourcemanager.securityinsights.models.RequiredPermissions

public final class RequiredPermissions extends Object
Required permissions for the connector.
  • Constructor Details

    • RequiredPermissions

      public RequiredPermissions()
  • Method Details

    • action

      public Boolean action()
      Get the action property: action permission.
      Returns:
      the action value.
    • withAction

      public RequiredPermissions withAction(Boolean action)
      Set the action property: action permission.
      Parameters:
      action - the action value to set.
      Returns:
      the RequiredPermissions object itself.
    • write

      public Boolean write()
      Get the write property: write permission.
      Returns:
      the write value.
    • withWrite

      public RequiredPermissions withWrite(Boolean write)
      Set the write property: write permission.
      Parameters:
      write - the write value to set.
      Returns:
      the RequiredPermissions object itself.
    • read

      public Boolean read()
      Get the read property: read permission.
      Returns:
      the read value.
    • withRead

      public RequiredPermissions withRead(Boolean read)
      Set the read property: read permission.
      Parameters:
      read - the read value to set.
      Returns:
      the RequiredPermissions object itself.
    • delete

      public Boolean delete()
      Get the delete property: delete permission.
      Returns:
      the delete value.
    • withDelete

      public RequiredPermissions withDelete(Boolean delete)
      Set the delete property: delete permission.
      Parameters:
      delete - the delete value to set.
      Returns:
      the RequiredPermissions object itself.
    • validate

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