public class RevokeGrantRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
RevokeGrant operation.
Revokes a grant. You can revoke a grant to actively deny operations that depend on it.
NOOP| Constructor and Description |
|---|
RevokeGrantRequest() |
| Modifier and Type | Method and Description |
|---|---|
RevokeGrantRequest |
clone() |
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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 the fully
specified ARN to a key. public RevokeGrantRequest 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 the fully
specified ARN to a key. public String getGrantId()
Constraints:
Length: 1 - 128
public void setGrantId(String grantId)
Constraints:
Length: 1 - 128
grantId - Identifier of the grant to be revoked.public RevokeGrantRequest withGrantId(String grantId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
grantId - Identifier of the grant to be revoked.public String toString()
toString in class ObjectObject.toString()public RevokeGrantRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.