类 GrantAndPermission

java.lang.Object
com.obs.services.model.GrantAndPermission

public class GrantAndPermission extends Object
Grantee or grantee group and permission information, AccessControlList
  • 构造器详细资料

    • GrantAndPermission

      public GrantAndPermission(GranteeInterface grantee, Permission permission)
      Constructor
      参数:
      grantee - Grantee (group) name
      permission - Permission information
  • 方法详细资料

    • getGrantee

      public GranteeInterface getGrantee()
      Obtain the grantee (group) information.
      返回:
      Grantee (group) information
    • getPermission

      public Permission getPermission()
      Obtain the permission information.
      返回:
      Permission information
    • isDelivered

      public boolean isDelivered()
      Check whether the bucket ACL is deliverable.
      返回:
      Identifier specifying whether the ACL is delivered
    • setDelivered

      public void setDelivered(boolean delivered)
      Specify whether to deliver the bucket ACL. (This is only applicable to bucket ACLs.)
      参数:
      delivered - Whether to deliver the bucket ACL
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • equals

      public boolean equals(Object obj)
      覆盖:
      equals 在类中 Object