@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RetireGrantRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RetireGrantRequest() |
Modifier and Type | Method and Description |
---|---|
RetireGrantRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getGrantId()
Unique identifier of the grant to retire.
|
String |
getGrantToken()
Token that identifies the grant to be retired.
|
String |
getKeyId()
The Amazon Resource Name (ARN) of the CMK associated with the grant.
|
int |
hashCode() |
void |
setGrantId(String grantId)
Unique identifier of the grant to retire.
|
void |
setGrantToken(String grantToken)
Token that identifies the grant to be retired.
|
void |
setKeyId(String keyId)
The Amazon Resource Name (ARN) of the CMK 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 retire.
|
RetireGrantRequest |
withGrantToken(String grantToken)
Token that identifies the grant to be retired.
|
RetireGrantRequest |
withKeyId(String keyId)
The Amazon Resource Name (ARN) of the CMK associated with the grant.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setGrantToken(String grantToken)
Token that identifies the grant to be retired.
grantToken
- Token that identifies the grant to be retired.public String getGrantToken()
Token that identifies the grant to be retired.
public RetireGrantRequest withGrantToken(String grantToken)
Token that identifies the grant to be retired.
grantToken
- Token that identifies the grant to be retired.public void setKeyId(String keyId)
The Amazon Resource Name (ARN) of the CMK associated with the grant.
For example: arn:aws:kms:us-east-2:444455556666:key/1234abcd-12ab-34cd-56ef-1234567890ab
keyId
- The Amazon Resource Name (ARN) of the CMK associated with the grant.
For example: arn:aws:kms:us-east-2:444455556666:key/1234abcd-12ab-34cd-56ef-1234567890ab
public String getKeyId()
The Amazon Resource Name (ARN) of the CMK associated with the grant.
For example: arn:aws:kms:us-east-2:444455556666:key/1234abcd-12ab-34cd-56ef-1234567890ab
For example: arn:aws:kms:us-east-2:444455556666:key/1234abcd-12ab-34cd-56ef-1234567890ab
public RetireGrantRequest withKeyId(String keyId)
The Amazon Resource Name (ARN) of the CMK associated with the grant.
For example: arn:aws:kms:us-east-2:444455556666:key/1234abcd-12ab-34cd-56ef-1234567890ab
keyId
- The Amazon Resource Name (ARN) of the CMK associated with the grant.
For example: arn:aws:kms:us-east-2:444455556666:key/1234abcd-12ab-34cd-56ef-1234567890ab
public void setGrantId(String grantId)
Unique identifier of the grant to retire. The grant ID is returned in the response to a CreateGrant
operation.
Grant ID Example - 0123456789012345678901234567890123456789012345678901234567890123
grantId
- Unique identifier of the grant to retire. The grant ID is returned in the response to a
CreateGrant
operation.
Grant ID Example - 0123456789012345678901234567890123456789012345678901234567890123
public String getGrantId()
Unique identifier of the grant to retire. The grant ID is returned in the response to a CreateGrant
operation.
Grant ID Example - 0123456789012345678901234567890123456789012345678901234567890123
CreateGrant
operation.
Grant ID Example - 0123456789012345678901234567890123456789012345678901234567890123
public RetireGrantRequest withGrantId(String grantId)
Unique identifier of the grant to retire. The grant ID is returned in the response to a CreateGrant
operation.
Grant ID Example - 0123456789012345678901234567890123456789012345678901234567890123
grantId
- Unique identifier of the grant to retire. The grant ID is returned in the response to a
CreateGrant
operation.
Grant ID Example - 0123456789012345678901234567890123456789012345678901234567890123
public String toString()
toString
in class Object
Object.toString()
public RetireGrantRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.