类 CanonicalGrantee

java.lang.Object
com.obs.services.model.CanonicalGrantee
所有已实现的接口:
GranteeInterface

public class CanonicalGrantee extends Object implements GranteeInterface
Grantee information in the ACL, AccessControlList
  • 构造器详细资料

    • CanonicalGrantee

      public CanonicalGrantee()
    • CanonicalGrantee

      public CanonicalGrantee(String identifier)
      Constructor
      参数:
      identifier - ID of the domain to which the grantee belongs
  • 方法详细资料

    • setIdentifier

      public void setIdentifier(String canonicalGrantId)
      Set the ID of the domain to which the grantee belongs.
      指定者:
      setIdentifier 在接口中 GranteeInterface
      参数:
      canonicalGrantId - ID of the domain to which the grantee belongs
    • getIdentifier

      public String getIdentifier()
      Obtain the ID of the domain to which the grantee belongs.
      指定者:
      getIdentifier 在接口中 GranteeInterface
      返回:
      ID of the domain to which the grantee belongs
    • setDisplayName

      public void setDisplayName(String displayName)
      Set the username for the grantee.
      参数:
      displayName - Username of the grantee
    • getDisplayName

      public String getDisplayName()
      Obtain the username of the grantee.
      返回:
      Username of the grantee
    • hashCode

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

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

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