@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutApplicationGrantRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutApplicationGrantRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutApplicationGrantRequest |
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 to update.
|
Grant |
getGrant()
Specifies a structure that describes the grant to update.
|
String |
getGrantType()
Specifies the type of grant to update.
|
int |
hashCode() |
void |
setApplicationArn(String applicationArn)
Specifies the ARN of the application to update.
|
void |
setGrant(Grant grant)
Specifies a structure that describes the grant to update.
|
void |
setGrantType(String grantType)
Specifies the type of grant to update.
|
String |
toString()
Returns a string representation of this object.
|
PutApplicationGrantRequest |
withApplicationArn(String applicationArn)
Specifies the ARN of the application to update.
|
PutApplicationGrantRequest |
withGrant(Grant grant)
Specifies a structure that describes the grant to update.
|
PutApplicationGrantRequest |
withGrantType(GrantType grantType)
Specifies the type of grant to update.
|
PutApplicationGrantRequest |
withGrantType(String grantType)
Specifies the type of grant to update.
|
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 setApplicationArn(String applicationArn)
Specifies the ARN of the application to update.
applicationArn - Specifies the ARN of the application to update.public String getApplicationArn()
Specifies the ARN of the application to update.
public PutApplicationGrantRequest withApplicationArn(String applicationArn)
Specifies the ARN of the application to update.
applicationArn - Specifies the ARN of the application to update.public void setGrant(Grant grant)
Specifies a structure that describes the grant to update.
grant - Specifies a structure that describes the grant to update.public Grant getGrant()
Specifies a structure that describes the grant to update.
public PutApplicationGrantRequest withGrant(Grant grant)
Specifies a structure that describes the grant to update.
grant - Specifies a structure that describes the grant to update.public void setGrantType(String grantType)
Specifies the type of grant to update.
grantType - Specifies the type of grant to update.GrantTypepublic String getGrantType()
Specifies the type of grant to update.
GrantTypepublic PutApplicationGrantRequest withGrantType(String grantType)
Specifies the type of grant to update.
grantType - Specifies the type of grant to update.GrantTypepublic PutApplicationGrantRequest withGrantType(GrantType grantType)
Specifies the type of grant to update.
grantType - Specifies the type of grant to update.GrantTypepublic String toString()
toString in class ObjectObject.toString()public PutApplicationGrantRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()