@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteGrantRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DeleteGrantRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeleteGrantRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getGrantArn()
Amazon Resource Name (ARN) of the grant.
|
String |
getStatusReason()
The Status reason for the delete request.
|
String |
getVersion()
Current version of the grant.
|
int |
hashCode() |
void |
setGrantArn(String grantArn)
Amazon Resource Name (ARN) of the grant.
|
void |
setStatusReason(String statusReason)
The Status reason for the delete request.
|
void |
setVersion(String version)
Current version of the grant.
|
String |
toString()
Returns a string representation of this object.
|
DeleteGrantRequest |
withGrantArn(String grantArn)
Amazon Resource Name (ARN) of the grant.
|
DeleteGrantRequest |
withStatusReason(String statusReason)
The Status reason for the delete request.
|
DeleteGrantRequest |
withVersion(String version)
Current version of 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, withSdkRequestTimeoutpublic void setGrantArn(String grantArn)
Amazon Resource Name (ARN) of the grant.
grantArn - Amazon Resource Name (ARN) of the grant.public String getGrantArn()
Amazon Resource Name (ARN) of the grant.
public DeleteGrantRequest withGrantArn(String grantArn)
Amazon Resource Name (ARN) of the grant.
grantArn - Amazon Resource Name (ARN) of the grant.public void setStatusReason(String statusReason)
The Status reason for the delete request.
statusReason - The Status reason for the delete request.public String getStatusReason()
The Status reason for the delete request.
public DeleteGrantRequest withStatusReason(String statusReason)
The Status reason for the delete request.
statusReason - The Status reason for the delete request.public void setVersion(String version)
Current version of the grant.
version - Current version of the grant.public String getVersion()
Current version of the grant.
public DeleteGrantRequest withVersion(String version)
Current version of the grant.
version - Current version of the grant.public String toString()
toString in class ObjectObject.toString()public DeleteGrantRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()