Class Acl (2.17.1)

public final class Acl implements Serializable

Access Control List for buckets or blobs. See Also: About Access Control Lists

Inheritance

Object > Acl

Implements

Serializable

Static Methods

newBuilder(Acl.Entity entity, Acl.Role role)

public static Acl.Builder newBuilder(Acl.Entity entity, Acl.Role role)

Returns a builder for Acl objects.

Parameters
NameDescription
entityAcl.Entity

the entity for this ACL object

roleAcl.Role

the role to associate to the entity object

Returns
TypeDescription
Acl.Builder

of(Acl.Entity entity, Acl.Role role)

public static Acl of(Acl.Entity entity, Acl.Role role)

Returns an Acl object.

Parameters
NameDescription
entityAcl.Entity

the entity for this ACL object

roleAcl.Role

the role to associate to the entity object

Returns
TypeDescription
Acl

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getEntity()

public Acl.Entity getEntity()

Returns the entity for this ACL object.

Returns
TypeDescription
Acl.Entity

getEtag()

public String getEtag()

Returns HTTP 1.1 Entity tag for the ACL entry. See Also: Entity Tags

Returns
TypeDescription
String

getId()

public String getId()

Returns the ID of the ACL entry.

Returns
TypeDescription
String

getRole()

public Acl.Role getRole()

Returns the role associated to the entity in this ACL object.

Returns
TypeDescription
Acl.Role

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public Acl.Builder toBuilder()

Returns a builder for this Acl object.

Returns
TypeDescription
Acl.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides