@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplacePermissionAssociationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ReplacePermissionAssociationsRequest() |
Modifier and Type | Method and Description |
---|---|
ReplacePermissionAssociationsRequest |
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 |
getFromPermissionArn()
Specifies the Amazon
Resource Name (ARN) of the managed permission that you want to replace.
|
Integer |
getFromPermissionVersion()
Specifies that you want to updated the permissions for only those resource shares that use the specified version
of the managed permission.
|
String |
getToPermissionArn()
Specifies the ARN of the managed permission that you want to associate with resource shares in place of the one
specified by
fromPerssionArn and fromPermissionVersion . |
int |
hashCode() |
void |
setClientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setFromPermissionArn(String fromPermissionArn)
Specifies the Amazon
Resource Name (ARN) of the managed permission that you want to replace.
|
void |
setFromPermissionVersion(Integer fromPermissionVersion)
Specifies that you want to updated the permissions for only those resource shares that use the specified version
of the managed permission.
|
void |
setToPermissionArn(String toPermissionArn)
Specifies the ARN of the managed permission that you want to associate with resource shares in place of the one
specified by
fromPerssionArn and fromPermissionVersion . |
String |
toString()
Returns a string representation of this object.
|
ReplacePermissionAssociationsRequest |
withClientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
ReplacePermissionAssociationsRequest |
withFromPermissionArn(String fromPermissionArn)
Specifies the Amazon
Resource Name (ARN) of the managed permission that you want to replace.
|
ReplacePermissionAssociationsRequest |
withFromPermissionVersion(Integer fromPermissionVersion)
Specifies that you want to updated the permissions for only those resource shares that use the specified version
of the managed permission.
|
ReplacePermissionAssociationsRequest |
withToPermissionArn(String toPermissionArn)
Specifies the ARN of the managed permission that you want to associate with resource shares in place of the one
specified by
fromPerssionArn and fromPermissionVersion . |
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 ReplacePermissionAssociationsRequest()
public void setFromPermissionArn(String fromPermissionArn)
Specifies the Amazon Resource Name (ARN) of the managed permission that you want to replace.
fromPermissionArn
- Specifies the Amazon
Resource Name (ARN) of the managed permission that you want to replace.public String getFromPermissionArn()
Specifies the Amazon Resource Name (ARN) of the managed permission that you want to replace.
public ReplacePermissionAssociationsRequest withFromPermissionArn(String fromPermissionArn)
Specifies the Amazon Resource Name (ARN) of the managed permission that you want to replace.
fromPermissionArn
- Specifies the Amazon
Resource Name (ARN) of the managed permission that you want to replace.public void setFromPermissionVersion(Integer fromPermissionVersion)
Specifies that you want to updated the permissions for only those resource shares that use the specified version of the managed permission.
fromPermissionVersion
- Specifies that you want to updated the permissions for only those resource shares that use the specified
version of the managed permission.public Integer getFromPermissionVersion()
Specifies that you want to updated the permissions for only those resource shares that use the specified version of the managed permission.
public ReplacePermissionAssociationsRequest withFromPermissionVersion(Integer fromPermissionVersion)
Specifies that you want to updated the permissions for only those resource shares that use the specified version of the managed permission.
fromPermissionVersion
- Specifies that you want to updated the permissions for only those resource shares that use the specified
version of the managed permission.public void setToPermissionArn(String toPermissionArn)
Specifies the ARN of the managed permission that you want to associate with resource shares in place of the one
specified by fromPerssionArn
and fromPermissionVersion
.
The operation always associates the version that is currently the default for the specified managed permission.
toPermissionArn
- Specifies the ARN of the managed permission that you want to associate with resource shares in place of
the one specified by fromPerssionArn
and fromPermissionVersion
.
The operation always associates the version that is currently the default for the specified managed permission.
public String getToPermissionArn()
Specifies the ARN of the managed permission that you want to associate with resource shares in place of the one
specified by fromPerssionArn
and fromPermissionVersion
.
The operation always associates the version that is currently the default for the specified managed permission.
fromPerssionArn
and fromPermissionVersion
.
The operation always associates the version that is currently the default for the specified managed permission.
public ReplacePermissionAssociationsRequest withToPermissionArn(String toPermissionArn)
Specifies the ARN of the managed permission that you want to associate with resource shares in place of the one
specified by fromPerssionArn
and fromPermissionVersion
.
The operation always associates the version that is currently the default for the specified managed permission.
toPermissionArn
- Specifies the ARN of the managed permission that you want to associate with resource shares in place of
the one specified by fromPerssionArn
and fromPermissionVersion
.
The operation always associates the version that is currently the default for the specified managed permission.
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 ReplacePermissionAssociationsRequest 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 ReplacePermissionAssociationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()