@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDeletionProtectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateDeletionProtectionRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDeletionProtectionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the replication set to update.
|
String |
getClientToken()
A token that ensures that the operation is called only once with the specified details.
|
Boolean |
getDeletionProtected()
Specifies if deletion protection is turned on or off in your account.
|
int |
hashCode() |
Boolean |
isDeletionProtected()
Specifies if deletion protection is turned on or off in your account.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the replication set to update.
|
void |
setClientToken(String clientToken)
A token that ensures that the operation is called only once with the specified details.
|
void |
setDeletionProtected(Boolean deletionProtected)
Specifies if deletion protection is turned on or off in your account.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDeletionProtectionRequest |
withArn(String arn)
The Amazon Resource Name (ARN) of the replication set to update.
|
UpdateDeletionProtectionRequest |
withClientToken(String clientToken)
A token that ensures that the operation is called only once with the specified details.
|
UpdateDeletionProtectionRequest |
withDeletionProtected(Boolean deletionProtected)
Specifies if deletion protection is turned on or off in your account.
|
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 setArn(String arn)
The Amazon Resource Name (ARN) of the replication set to update.
arn
- The Amazon Resource Name (ARN) of the replication set to update.public String getArn()
The Amazon Resource Name (ARN) of the replication set to update.
public UpdateDeletionProtectionRequest withArn(String arn)
The Amazon Resource Name (ARN) of the replication set to update.
arn
- The Amazon Resource Name (ARN) of the replication set to update.public void setClientToken(String clientToken)
A token that ensures that the operation is called only once with the specified details.
clientToken
- A token that ensures that the operation is called only once with the specified details.public String getClientToken()
A token that ensures that the operation is called only once with the specified details.
public UpdateDeletionProtectionRequest withClientToken(String clientToken)
A token that ensures that the operation is called only once with the specified details.
clientToken
- A token that ensures that the operation is called only once with the specified details.public void setDeletionProtected(Boolean deletionProtected)
Specifies if deletion protection is turned on or off in your account.
deletionProtected
- Specifies if deletion protection is turned on or off in your account.public Boolean getDeletionProtected()
Specifies if deletion protection is turned on or off in your account.
public UpdateDeletionProtectionRequest withDeletionProtected(Boolean deletionProtected)
Specifies if deletion protection is turned on or off in your account.
deletionProtected
- Specifies if deletion protection is turned on or off in your account.public Boolean isDeletionProtected()
Specifies if deletion protection is turned on or off in your account.
public String toString()
toString
in class Object
Object.toString()
public UpdateDeletionProtectionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()