public class GrantListEntry extends Object implements Serializable
Contains information about each entry in the grant list.
| Constructor and Description |
|---|
GrantListEntry() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
GrantConstraints |
getConstraints()
Specifies the conditions under which the actions specified by the
Operations parameter are allowed. |
String |
getGranteePrincipal()
The principal that receives the grant permission.
|
String |
getGrantId()
Unique grant identifier.
|
String |
getIssuingAccount()
The account under which the grant was issued.
|
List<String> |
getOperations()
List of operations permitted by the grant.
|
String |
getRetiringPrincipal()
The principal that can retire the account.
|
int |
hashCode() |
void |
setConstraints(GrantConstraints constraints)
Specifies the conditions under which the actions specified by the
Operations parameter are allowed. |
void |
setGranteePrincipal(String granteePrincipal)
The principal that receives the grant permission.
|
void |
setGrantId(String grantId)
Unique grant identifier.
|
void |
setIssuingAccount(String issuingAccount)
The account under which the grant was issued.
|
void |
setOperations(Collection<String> operations)
List of operations permitted by the grant.
|
void |
setRetiringPrincipal(String retiringPrincipal)
The principal that can retire the account.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GrantListEntry |
withConstraints(GrantConstraints constraints)
Specifies the conditions under which the actions specified by the
Operations parameter are allowed. |
GrantListEntry |
withGranteePrincipal(String granteePrincipal)
The principal that receives the grant permission.
|
GrantListEntry |
withGrantId(String grantId)
Unique grant identifier.
|
GrantListEntry |
withIssuingAccount(String issuingAccount)
The account under which the grant was issued.
|
GrantListEntry |
withOperations(Collection<String> operations)
List of operations permitted by the grant.
|
GrantListEntry |
withOperations(GrantOperation... operations)
List of operations permitted by the grant.
|
GrantListEntry |
withOperations(String... operations)
List of operations permitted by the grant.
|
GrantListEntry |
withRetiringPrincipal(String retiringPrincipal)
The principal that can retire the account.
|
public String getGrantId()
Constraints:
Length: 1 - 128
public void setGrantId(String grantId)
Constraints:
Length: 1 - 128
grantId - Unique grant identifier.public GrantListEntry withGrantId(String grantId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
grantId - Unique grant identifier.public String getGranteePrincipal()
Constraints:
Length: 1 - 256
public void setGranteePrincipal(String granteePrincipal)
Constraints:
Length: 1 - 256
granteePrincipal - The principal that receives the grant permission.public GrantListEntry withGranteePrincipal(String granteePrincipal)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
granteePrincipal - The principal that receives the grant permission.public String getRetiringPrincipal()
Constraints:
Length: 1 - 256
public void setRetiringPrincipal(String retiringPrincipal)
Constraints:
Length: 1 - 256
retiringPrincipal - The principal that can retire the account.public GrantListEntry withRetiringPrincipal(String retiringPrincipal)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
retiringPrincipal - The principal that can retire the account.public String getIssuingAccount()
Constraints:
Length: 1 - 256
public void setIssuingAccount(String issuingAccount)
Constraints:
Length: 1 - 256
issuingAccount - The account under which the grant was issued.public GrantListEntry withIssuingAccount(String issuingAccount)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
issuingAccount - The account under which the grant was issued.public List<String> getOperations()
public void setOperations(Collection<String> operations)
operations - List of operations permitted by the grant. This can be any combination
of one or more of the following values: public GrantListEntry withOperations(String... operations)
Returns a reference to this object so that method calls can be chained together.
operations - List of operations permitted by the grant. This can be any combination
of one or more of the following values: public GrantListEntry withOperations(Collection<String> operations)
Returns a reference to this object so that method calls can be chained together.
operations - List of operations permitted by the grant. This can be any combination
of one or more of the following values: public GrantListEntry withOperations(GrantOperation... operations)
Returns a reference to this object so that method calls can be chained together.
operations - List of operations permitted by the grant. This can be any combination
of one or more of the following values: public GrantConstraints getConstraints()
Operations parameter are allowed.Operations parameter are allowed.public void setConstraints(GrantConstraints constraints)
Operations parameter are allowed.constraints - Specifies the conditions under which the actions specified by the
Operations parameter are allowed.public GrantListEntry withConstraints(GrantConstraints constraints)
Operations parameter are allowed.
Returns a reference to this object so that method calls can be chained together.
constraints - Specifies the conditions under which the actions specified by the
Operations parameter are allowed.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.