public class RevokeGrantRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
RevokeGrantRequest() |
| Modifier and Type | Method and Description |
|---|---|
RevokeGrantRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getGrantId()
Identifier of the grant to be revoked.
|
String |
getKeyId()
A unique identifier for the customer master key associated with the
grant.
|
int |
hashCode() |
void |
setGrantId(String grantId)
Identifier of the grant to be revoked.
|
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.
|
RevokeGrantRequest |
withGrantId(String grantId)
Identifier of the grant to be revoked.
|
RevokeGrantRequest |
withKeyId(String keyId)
A unique identifier for the customer master key associated with the
grant.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setKeyId(String keyId)
A unique identifier for the customer master key associated with the grant. This value can be a globally unique identifier or the fully specified ARN to a key.
keyId - A unique identifier for the customer master key associated with
the grant. This value can be a globally unique identifier or the
fully specified ARN to a key.
public String getKeyId()
A unique identifier for the customer master key associated with the grant. This value can be a globally unique identifier or the fully specified ARN to a key.
public RevokeGrantRequest withKeyId(String keyId)
A unique identifier for the customer master key associated with the grant. This value can be a globally unique identifier or the fully specified ARN to a key.
keyId - A unique identifier for the customer master key associated with
the grant. This value can be a globally unique identifier or the
fully specified ARN to a key.
public void setGrantId(String grantId)
Identifier of the grant to be revoked.
grantId - Identifier of the grant to be revoked.public String getGrantId()
Identifier of the grant to be revoked.
public RevokeGrantRequest withGrantId(String grantId)
Identifier of the grant to be revoked.
grantId - Identifier of the grant to be revoked.public String toString()
toString in class ObjectObject.toString()public RevokeGrantRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.