public class RetireGrantRequest extends AmazonWebServiceRequest implements Serializable
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.
NOOP| Constructor and Description |
|---|
RetireGrantRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getGrantToken()
Token that identifies the grant to be retired.
|
int |
hashCode() |
void |
setGrantToken(String grantToken)
Token that identifies the grant to be retired.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RetireGrantRequest |
withGrantToken(String grantToken)
Token that identifies the grant to be retired.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, 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 toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.