@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetApplicationGrantRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetApplicationGrantRequest() |
Modifier and Type | Method and Description |
---|---|
GetApplicationGrantRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApplicationArn()
Specifies the ARN of the application that contains the grant.
|
String |
getGrantType()
Specifies the type of grant.
|
int |
hashCode() |
void |
setApplicationArn(String applicationArn)
Specifies the ARN of the application that contains the grant.
|
void |
setGrantType(String grantType)
Specifies the type of grant.
|
String |
toString()
Returns a string representation of this object.
|
GetApplicationGrantRequest |
withApplicationArn(String applicationArn)
Specifies the ARN of the application that contains the grant.
|
GetApplicationGrantRequest |
withGrantType(GrantType grantType)
Specifies the type of grant.
|
GetApplicationGrantRequest |
withGrantType(String grantType)
Specifies the type of 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, withSdkRequestTimeout
public void setApplicationArn(String applicationArn)
Specifies the ARN of the application that contains the grant.
applicationArn
- Specifies the ARN of the application that contains the grant.public String getApplicationArn()
Specifies the ARN of the application that contains the grant.
public GetApplicationGrantRequest withApplicationArn(String applicationArn)
Specifies the ARN of the application that contains the grant.
applicationArn
- Specifies the ARN of the application that contains the grant.public void setGrantType(String grantType)
Specifies the type of grant.
grantType
- Specifies the type of grant.GrantType
public String getGrantType()
Specifies the type of grant.
GrantType
public GetApplicationGrantRequest withGrantType(String grantType)
Specifies the type of grant.
grantType
- Specifies the type of grant.GrantType
public GetApplicationGrantRequest withGrantType(GrantType grantType)
Specifies the type of grant.
grantType
- Specifies the type of grant.GrantType
public String toString()
toString
in class Object
Object.toString()
public GetApplicationGrantRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()