@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateProtectConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateProtectConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateProtectConfigurationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getDeletionProtectionEnabled()
When set to true deletion protection is enabled.
|
String |
getProtectConfigurationId()
The unique identifier for the protect configuration.
|
int |
hashCode() |
Boolean |
isDeletionProtectionEnabled()
When set to true deletion protection is enabled.
|
void |
setDeletionProtectionEnabled(Boolean deletionProtectionEnabled)
When set to true deletion protection is enabled.
|
void |
setProtectConfigurationId(String protectConfigurationId)
The unique identifier for the protect configuration.
|
String |
toString()
Returns a string representation of this object.
|
UpdateProtectConfigurationRequest |
withDeletionProtectionEnabled(Boolean deletionProtectionEnabled)
When set to true deletion protection is enabled.
|
UpdateProtectConfigurationRequest |
withProtectConfigurationId(String protectConfigurationId)
The unique identifier for the protect configuration.
|
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 setProtectConfigurationId(String protectConfigurationId)
The unique identifier for the protect configuration.
protectConfigurationId
- The unique identifier for the protect configuration.public String getProtectConfigurationId()
The unique identifier for the protect configuration.
public UpdateProtectConfigurationRequest withProtectConfigurationId(String protectConfigurationId)
The unique identifier for the protect configuration.
protectConfigurationId
- The unique identifier for the protect configuration.public void setDeletionProtectionEnabled(Boolean deletionProtectionEnabled)
When set to true deletion protection is enabled. By default this is set to false.
deletionProtectionEnabled
- When set to true deletion protection is enabled. By default this is set to false.public Boolean getDeletionProtectionEnabled()
When set to true deletion protection is enabled. By default this is set to false.
public UpdateProtectConfigurationRequest withDeletionProtectionEnabled(Boolean deletionProtectionEnabled)
When set to true deletion protection is enabled. By default this is set to false.
deletionProtectionEnabled
- When set to true deletion protection is enabled. By default this is set to false.public Boolean isDeletionProtectionEnabled()
When set to true deletion protection is enabled. By default this is set to false.
public String toString()
toString
in class Object
Object.toString()
public UpdateProtectConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()