Package com.google.cloud.storage
Class Acl
java.lang.Object
com.google.cloud.storage.Acl
- All Implemented Interfaces:
Serializable
Access Control List for buckets or blobs.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder forAclobjects.static final classClass for ACL Domain entities.static classBase class for Access Control List entities.static final classClass for ACL Group entities.static final classClass for ACL Project entities.static final classstatic final classstatic final classClass for ACL User entities. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the entity for this ACL object.getEtag()Returns HTTP 1.1 Entity tag for the ACL entry.getId()Returns the ID of the ACL entry.getRole()Returns the role associated to the entity in this ACL object.inthashCode()static Acl.BuildernewBuilder(Acl.Entity entity, Acl.Role role) Returns a builder forAclobjects.static Aclof(Acl.Entity entity, Acl.Role role) Returns anAclobject.Returns a builder for thisAclobject.toString()
-
Method Details
-
getEntity
Returns the entity for this ACL object. -
getRole
Returns the role associated to the entity in this ACL object. -
getId
Returns the ID of the ACL entry. -
getEtag
Returns HTTP 1.1 Entity tag for the ACL entry.- See Also:
-
toBuilder
Returns a builder for thisAclobject. -
of
Returns anAclobject.- Parameters:
entity- the entity for this ACL objectrole- the role to associate to theentityobject
-
newBuilder
Returns a builder forAclobjects.- Parameters:
entity- the entity for this ACL objectrole- the role to associate to theentityobject
-
toString
-
hashCode
public int hashCode() -
equals
-