@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyClusterSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ModifyClusterSnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyClusterSnapshotRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getForce()
A Boolean option to override an exception if the retention period has already passed.
|
Integer |
getManualSnapshotRetentionPeriod()
The number of days that a manual snapshot is retained.
|
String |
getSnapshotIdentifier()
The identifier of the snapshot whose setting you want to modify.
|
int |
hashCode() |
Boolean |
isForce()
A Boolean option to override an exception if the retention period has already passed.
|
void |
setForce(Boolean force)
A Boolean option to override an exception if the retention period has already passed.
|
void |
setManualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)
The number of days that a manual snapshot is retained.
|
void |
setSnapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot whose setting you want to modify.
|
String |
toString()
Returns a string representation of this object.
|
ModifyClusterSnapshotRequest |
withForce(Boolean force)
A Boolean option to override an exception if the retention period has already passed.
|
ModifyClusterSnapshotRequest |
withManualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)
The number of days that a manual snapshot is retained.
|
ModifyClusterSnapshotRequest |
withSnapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot whose setting you want to modify.
|
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 setSnapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot whose setting you want to modify.
snapshotIdentifier
- The identifier of the snapshot whose setting you want to modify.public String getSnapshotIdentifier()
The identifier of the snapshot whose setting you want to modify.
public ModifyClusterSnapshotRequest withSnapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot whose setting you want to modify.
snapshotIdentifier
- The identifier of the snapshot whose setting you want to modify.public void setManualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)
The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.
If the manual snapshot falls outside of the new retention period, you can specify the force option to immediately delete the snapshot.
The value must be either -1 or an integer between 1 and 3,653.
manualSnapshotRetentionPeriod
- The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained
indefinitely.
If the manual snapshot falls outside of the new retention period, you can specify the force option to immediately delete the snapshot.
The value must be either -1 or an integer between 1 and 3,653.
public Integer getManualSnapshotRetentionPeriod()
The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.
If the manual snapshot falls outside of the new retention period, you can specify the force option to immediately delete the snapshot.
The value must be either -1 or an integer between 1 and 3,653.
If the manual snapshot falls outside of the new retention period, you can specify the force option to immediately delete the snapshot.
The value must be either -1 or an integer between 1 and 3,653.
public ModifyClusterSnapshotRequest withManualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)
The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.
If the manual snapshot falls outside of the new retention period, you can specify the force option to immediately delete the snapshot.
The value must be either -1 or an integer between 1 and 3,653.
manualSnapshotRetentionPeriod
- The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained
indefinitely.
If the manual snapshot falls outside of the new retention period, you can specify the force option to immediately delete the snapshot.
The value must be either -1 or an integer between 1 and 3,653.
public void setForce(Boolean force)
A Boolean option to override an exception if the retention period has already passed.
force
- A Boolean option to override an exception if the retention period has already passed.public Boolean getForce()
A Boolean option to override an exception if the retention period has already passed.
public ModifyClusterSnapshotRequest withForce(Boolean force)
A Boolean option to override an exception if the retention period has already passed.
force
- A Boolean option to override an exception if the retention period has already passed.public Boolean isForce()
A Boolean option to override an exception if the retention period has already passed.
public String toString()
toString
in class Object
Object.toString()
public ModifyClusterSnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()