@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateGrantVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateGrantVersionRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateGrantVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAllowedOperations()
Allowed operations for the grant.
|
String |
getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getGrantArn()
Amazon Resource Name (ARN) of the grant.
|
String |
getGrantName()
Grant name.
|
Options |
getOptions()
The options specified for the grant.
|
String |
getSourceVersion()
Current version of the grant.
|
String |
getStatus()
Grant status.
|
String |
getStatusReason()
Grant status reason.
|
int |
hashCode() |
void |
setAllowedOperations(Collection<String> allowedOperations)
Allowed operations for the grant.
|
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setGrantArn(String grantArn)
Amazon Resource Name (ARN) of the grant.
|
void |
setGrantName(String grantName)
Grant name.
|
void |
setOptions(Options options)
The options specified for the grant.
|
void |
setSourceVersion(String sourceVersion)
Current version of the grant.
|
void |
setStatus(String status)
Grant status.
|
void |
setStatusReason(String statusReason)
Grant status reason.
|
String |
toString()
Returns a string representation of this object.
|
CreateGrantVersionRequest |
withAllowedOperations(AllowedOperation... allowedOperations)
Allowed operations for the grant.
|
CreateGrantVersionRequest |
withAllowedOperations(Collection<String> allowedOperations)
Allowed operations for the grant.
|
CreateGrantVersionRequest |
withAllowedOperations(String... allowedOperations)
Allowed operations for the grant.
|
CreateGrantVersionRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateGrantVersionRequest |
withGrantArn(String grantArn)
Amazon Resource Name (ARN) of the grant.
|
CreateGrantVersionRequest |
withGrantName(String grantName)
Grant name.
|
CreateGrantVersionRequest |
withOptions(Options options)
The options specified for the grant.
|
CreateGrantVersionRequest |
withSourceVersion(String sourceVersion)
Current version of the grant.
|
CreateGrantVersionRequest |
withStatus(GrantStatus status)
Grant status.
|
CreateGrantVersionRequest |
withStatus(String status)
Grant status.
|
CreateGrantVersionRequest |
withStatusReason(String statusReason)
Grant status reason.
|
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 setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public CreateGrantVersionRequest withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.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 CreateGrantVersionRequest withGrantArn(String grantArn)
Amazon Resource Name (ARN) of the grant.
grantArn - Amazon Resource Name (ARN) of the grant.public void setGrantName(String grantName)
Grant name.
grantName - Grant name.public String getGrantName()
Grant name.
public CreateGrantVersionRequest withGrantName(String grantName)
Grant name.
grantName - Grant name.public List<String> getAllowedOperations()
Allowed operations for the grant.
AllowedOperationpublic void setAllowedOperations(Collection<String> allowedOperations)
Allowed operations for the grant.
allowedOperations - Allowed operations for the grant.AllowedOperationpublic CreateGrantVersionRequest withAllowedOperations(String... allowedOperations)
Allowed operations for the grant.
NOTE: This method appends the values to the existing list (if any). Use
setAllowedOperations(java.util.Collection) or withAllowedOperations(java.util.Collection) if
you want to override the existing values.
allowedOperations - Allowed operations for the grant.AllowedOperationpublic CreateGrantVersionRequest withAllowedOperations(Collection<String> allowedOperations)
Allowed operations for the grant.
allowedOperations - Allowed operations for the grant.AllowedOperationpublic CreateGrantVersionRequest withAllowedOperations(AllowedOperation... allowedOperations)
Allowed operations for the grant.
allowedOperations - Allowed operations for the grant.AllowedOperationpublic void setStatus(String status)
Grant status.
status - Grant status.GrantStatuspublic String getStatus()
Grant status.
GrantStatuspublic CreateGrantVersionRequest withStatus(String status)
Grant status.
status - Grant status.GrantStatuspublic CreateGrantVersionRequest withStatus(GrantStatus status)
Grant status.
status - Grant status.GrantStatuspublic void setStatusReason(String statusReason)
Grant status reason.
statusReason - Grant status reason.public String getStatusReason()
Grant status reason.
public CreateGrantVersionRequest withStatusReason(String statusReason)
Grant status reason.
statusReason - Grant status reason.public void setSourceVersion(String sourceVersion)
Current version of the grant.
sourceVersion - Current version of the grant.public String getSourceVersion()
Current version of the grant.
public CreateGrantVersionRequest withSourceVersion(String sourceVersion)
Current version of the grant.
sourceVersion - Current version of the grant.public void setOptions(Options options)
The options specified for the grant.
options - The options specified for the grant.public Options getOptions()
The options specified for the grant.
public CreateGrantVersionRequest withOptions(Options options)
The options specified for the grant.
options - The options specified for the grant.public String toString()
toString in class ObjectObject.toString()public CreateGrantVersionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()