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()
Unique identifier of the key associated with the grant.
|
int |
hashCode() |
void |
setGrantId(String grantId)
Identifier of the grant to be revoked.
|
void |
setKeyId(String keyId)
Unique identifier of the 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)
Unique identifier of the key associated with the grant.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getKeyId()
Constraints:
Length: 1 - 256
public void setKeyId(String keyId)
Constraints:
Length: 1 - 256
keyId - Unique identifier of the key associated with the grant.public RevokeGrantRequest withKeyId(String keyId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
keyId - Unique identifier of the key associated with the grant.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.