public final class Acl extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Acl.Builder
Builder for
Acl objects. |
static class |
Acl.Domain
Class for ACL Domain entities.
|
static class |
Acl.Entity
Base class for Access Control List entities.
|
static class |
Acl.Group
Class for ACL Group entities.
|
static class |
Acl.Project
Class for ACL Project entities.
|
static class |
Acl.RawEntity |
static class |
Acl.Role |
static class |
Acl.User
Class for ACL User entities.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Acl.Entity |
getEntity()
Returns the entity for this ACL object.
|
String |
getEtag()
Returns HTTP 1.1 Entity tag for the ACL entry.
|
String |
getId()
Returns the ID of the ACL entry.
|
Acl.Role |
getRole()
Returns the role associated to the entity in this ACL object.
|
int |
hashCode() |
static Acl.Builder |
newBuilder(Acl.Entity entity,
Acl.Role role)
Returns a builder for
Acl objects. |
static Acl |
of(Acl.Entity entity,
Acl.Role role)
Returns an
Acl object. |
Acl.Builder |
toBuilder()
Returns a builder for this
Acl object. |
String |
toString() |
public Acl.Entity getEntity()
public Acl.Role getRole()
public String getId()
public String getEtag()
public Acl.Builder toBuilder()
Acl
object.public static Acl of(Acl.Entity entity, Acl.Role role)
Acl
object.entity
- the entity for this ACL objectrole
- the role to associate to the entity
objectpublic static Acl.Builder newBuilder(Acl.Entity entity, Acl.Role role)
Acl
objects.entity
- the entity for this ACL objectrole
- the role to associate to the entity
objectCopyright © 2023 Google LLC. All rights reserved.