public class RetireGrantRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
RetireGrant operation.
Retires a grant. You can retire a grant when you're done using it to clean up. You should revoke a grant when you intend to actively deny operations that depend on it. The following are permitted to call this API:
RetiringPrincipal , if presentGranteePrincipal , if RetireGrant
is a grantee operationCreateGrant function.
NOOP| Constructor and Description |
|---|
RetireGrantRequest() |
| Modifier and Type | Method and Description |
|---|---|
RetireGrantRequest |
clone() |
boolean |
equals(Object obj) |
String |
getGrantId()
Unique identifier of the grant to be retired.
|
String |
getGrantToken()
Token that identifies the grant to be retired.
|
String |
getKeyId()
A unique identifier for the customer master key associated with the
grant.
|
int |
hashCode() |
void |
setGrantId(String grantId)
Unique identifier of the grant to be retired.
|
void |
setGrantToken(String grantToken)
Token that identifies the grant to be retired.
|
void |
setKeyId(String keyId)
A unique identifier for the customer master key associated with the
grant.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RetireGrantRequest |
withGrantId(String grantId)
Unique identifier of the grant to be retired.
|
RetireGrantRequest |
withGrantToken(String grantToken)
Token that identifies the grant to be retired.
|
RetireGrantRequest |
withKeyId(String keyId)
A unique identifier for the customer master key associated with the
grant.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getGrantToken()
Constraints:
Length: 1 - 8192
public void setGrantToken(String grantToken)
Constraints:
Length: 1 - 8192
grantToken - Token that identifies the grant to be retired.public RetireGrantRequest withGrantToken(String grantToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 8192
grantToken - Token that identifies the grant to be retired.public String getKeyId()
Constraints:
Length: 1 - 256
public void setKeyId(String keyId)
Constraints:
Length: 1 - 256
keyId - A unique identifier for the customer master key associated with the
grant. This value can be a globally unique identifier or a fully
specified ARN of the key. public RetireGrantRequest withKeyId(String keyId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
keyId - A unique identifier for the customer master key associated with the
grant. This value can be a globally unique identifier or a fully
specified ARN of the key. public String getGrantId()
CreateGrant function.
Constraints:
Length: 1 - 128
CreateGrant function. public void setGrantId(String grantId)
CreateGrant function.
Constraints:
Length: 1 - 128
grantId - Unique identifier of the grant to be retired. The grant ID is returned
by the CreateGrant function. public RetireGrantRequest withGrantId(String grantId)
CreateGrant function. Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
grantId - Unique identifier of the grant to be retired. The grant ID is returned
by the CreateGrant function. public String toString()
toString in class ObjectObject.toString()public RetireGrantRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.