Class Acl (2.8.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
Name Description
entity Acl.Entity

the entity for this ACL object

role Acl.Role

the role to associate to the entity object

Returns
Type Description
Acl.Builder

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

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

Returns an Acl object.

Parameters
Name Description
entity Acl.Entity

the entity for this ACL object

role Acl.Role

the role to associate to the entity object

Returns
Type Description
Acl

Methods

equals(Object obj)

  public 
  
 boolean 
  
 equals 
 ( 
 Object 
  
 obj 
 ) 
 
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getEntity()

  public 
  
 Acl 
 . 
 Entity 
  
 getEntity 
 () 
 

Returns the entity for this ACL object.

Returns
Type Description
Acl.Entity

getEtag()

  public 
  
 String 
  
 getEtag 
 () 
 

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

Returns
Type Description
String

getId()

  public 
  
 String 
  
 getId 
 () 
 

Returns the ID of the ACL entry.

Returns
Type Description
String

getRole()

  public 
  
 Acl 
 . 
 Role 
  
 getRole 
 () 
 

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

Returns
Type Description
Acl.Role

hashCode()

  public 
  
 int 
  
 hashCode 
 () 
 
Returns
Type Description
int
Overrides

toBuilder()

  public 
  
 Acl 
 . 
 Builder 
  
 toBuilder 
 () 
 

Returns a builder for this Acl object.

Returns
Type Description
Acl.Builder

toString()

  public 
  
 String 
  
 toString 
 () 
 
Returns
Type Description
String
Overrides
Design a Mobile Site
View Site in Mobile | Classic
Share by: