@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetDefaultPermissionVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SetDefaultPermissionVersionRequest() |
Modifier and Type | Method and Description |
---|---|
SetDefaultPermissionVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getPermissionArn()
Specifies the Amazon
Resource Name (ARN) of the customer managed permission whose default version you want to change.
|
Integer |
getPermissionVersion()
Specifies the version number that you want to designate as the default for customer managed permission.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setPermissionArn(String permissionArn)
Specifies the Amazon
Resource Name (ARN) of the customer managed permission whose default version you want to change.
|
void |
setPermissionVersion(Integer permissionVersion)
Specifies the version number that you want to designate as the default for customer managed permission.
|
String |
toString()
Returns a string representation of this object.
|
SetDefaultPermissionVersionRequest |
withClientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
SetDefaultPermissionVersionRequest |
withPermissionArn(String permissionArn)
Specifies the Amazon
Resource Name (ARN) of the customer managed permission whose default version you want to change.
|
SetDefaultPermissionVersionRequest |
withPermissionVersion(Integer permissionVersion)
Specifies the version number that you want to designate as the default for customer managed permission.
|
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 setPermissionArn(String permissionArn)
Specifies the Amazon Resource Name (ARN) of the customer managed permission whose default version you want to change.
permissionArn
- Specifies the Amazon
Resource Name (ARN) of the customer managed permission whose default version you want to change.public String getPermissionArn()
Specifies the Amazon Resource Name (ARN) of the customer managed permission whose default version you want to change.
public SetDefaultPermissionVersionRequest withPermissionArn(String permissionArn)
Specifies the Amazon Resource Name (ARN) of the customer managed permission whose default version you want to change.
permissionArn
- Specifies the Amazon
Resource Name (ARN) of the customer managed permission whose default version you want to change.public void setPermissionVersion(Integer permissionVersion)
Specifies the version number that you want to designate as the default for customer managed permission. To see a list of all available version numbers, use ListPermissionVersions.
permissionVersion
- Specifies the version number that you want to designate as the default for customer managed permission. To
see a list of all available version numbers, use ListPermissionVersions.public Integer getPermissionVersion()
Specifies the version number that you want to designate as the default for customer managed permission. To see a list of all available version numbers, use ListPermissionVersions.
public SetDefaultPermissionVersionRequest withPermissionVersion(Integer permissionVersion)
Specifies the version number that you want to designate as the default for customer managed permission. To see a list of all available version numbers, use ListPermissionVersions.
permissionVersion
- Specifies the version number that you want to designate as the default for customer managed permission. To
see a list of all available version numbers, use ListPermissionVersions.public void setClientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the retry fails
with an IdempotentParameterMismatch
error.
clientToken
- Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
This lets you safely retry the request without accidentally performing the same operation a second time.
Passing the same value to a later call to an operation requires that you also pass the same value for all
other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the
retry fails with an IdempotentParameterMismatch
error.
public String getClientToken()
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the retry fails
with an IdempotentParameterMismatch
error.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the
retry fails with an IdempotentParameterMismatch
error.
public SetDefaultPermissionVersionRequest withClientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the retry fails
with an IdempotentParameterMismatch
error.
clientToken
- Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
This lets you safely retry the request without accidentally performing the same operation a second time.
Passing the same value to a later call to an operation requires that you also pass the same value for all
other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the
retry fails with an IdempotentParameterMismatch
error.
public String toString()
toString
in class Object
Object.toString()
public SetDefaultPermissionVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()