@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetGrantRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetGrantRequest() |
Modifier and Type | Method and Description |
---|---|
GetGrantRequest |
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 |
getVersion()
Grant version.
|
int |
hashCode() |
void |
setGrantArn(String grantArn)
Amazon Resource Name (ARN) of the grant.
|
void |
setVersion(String version)
Grant version.
|
String |
toString()
Returns a string representation of this object.
|
GetGrantRequest |
withGrantArn(String grantArn)
Amazon Resource Name (ARN) of the grant.
|
GetGrantRequest |
withVersion(String version)
Grant version.
|
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 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 GetGrantRequest withGrantArn(String grantArn)
Amazon Resource Name (ARN) of the grant.
grantArn
- Amazon Resource Name (ARN) of the grant.public void setVersion(String version)
Grant version.
version
- Grant version.public String getVersion()
Grant version.
public GetGrantRequest withVersion(String version)
Grant version.
version
- Grant version.public String toString()
toString
in class Object
Object.toString()
public GetGrantRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()