Class AclCreateOrUpdateParameters

java.lang.Object
com.microsoft.azure.management.datalake.analytics.models.AclCreateOrUpdateParameters

public class AclCreateOrUpdateParameters extends Object
The parameters used to create or update an access control list (ACL) entry.
  • Constructor Details

    • AclCreateOrUpdateParameters

      public AclCreateOrUpdateParameters()
  • Method Details

    • aceType

      public AclType aceType()
      Get the access control list (ACL) entry type. UserObj and GroupObj denote the owning user and group, respectively. Possible values include: 'UserObj', 'GroupObj', 'Other', 'User', 'Group'.
      Returns:
      the aceType value
    • withAceType

      public AclCreateOrUpdateParameters withAceType(AclType aceType)
      Set the access control list (ACL) entry type. UserObj and GroupObj denote the owning user and group, respectively. Possible values include: 'UserObj', 'GroupObj', 'Other', 'User', 'Group'.
      Parameters:
      aceType - the aceType value to set
      Returns:
      the AclCreateOrUpdateParameters object itself.
    • principalId

      public UUID principalId()
      Get the Azure AD object ID of the user or group being specified in the access control list (ACL) entry.
      Returns:
      the principalId value
    • withPrincipalId

      public AclCreateOrUpdateParameters withPrincipalId(UUID principalId)
      Set the Azure AD object ID of the user or group being specified in the access control list (ACL) entry.
      Parameters:
      principalId - the principalId value to set
      Returns:
      the AclCreateOrUpdateParameters object itself.
    • permission

      public PermissionType permission()
      Get the permission type of the access control list (ACL) entry. Possible values include: 'None', 'Use', 'Create', 'Drop', 'Alter', 'Write', 'All'.
      Returns:
      the permission value
    • withPermission

      public AclCreateOrUpdateParameters withPermission(PermissionType permission)
      Set the permission type of the access control list (ACL) entry. Possible values include: 'None', 'Use', 'Create', 'Drop', 'Alter', 'Write', 'All'.
      Parameters:
      permission - the permission value to set
      Returns:
      the AclCreateOrUpdateParameters object itself.