@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchModifyClusterSnapshotsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
BatchModifyClusterSnapshotsRequest() |
Modifier and Type | Method and Description |
---|---|
BatchModifyClusterSnapshotsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getForce()
A boolean value indicating whether to override an exception if the retention period has passed.
|
Integer |
getManualSnapshotRetentionPeriod()
The number of days that a manual snapshot is retained.
|
List<String> |
getSnapshotIdentifierList()
A list of snapshot identifiers you want to modify.
|
int |
hashCode() |
Boolean |
isForce()
A boolean value indicating whether to override an exception if the retention period has passed.
|
void |
setForce(Boolean force)
A boolean value indicating whether to override an exception if the retention period has passed.
|
void |
setManualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)
The number of days that a manual snapshot is retained.
|
void |
setSnapshotIdentifierList(Collection<String> snapshotIdentifierList)
A list of snapshot identifiers you want to modify.
|
String |
toString()
Returns a string representation of this object.
|
BatchModifyClusterSnapshotsRequest |
withForce(Boolean force)
A boolean value indicating whether to override an exception if the retention period has passed.
|
BatchModifyClusterSnapshotsRequest |
withManualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)
The number of days that a manual snapshot is retained.
|
BatchModifyClusterSnapshotsRequest |
withSnapshotIdentifierList(Collection<String> snapshotIdentifierList)
A list of snapshot identifiers you want to modify.
|
BatchModifyClusterSnapshotsRequest |
withSnapshotIdentifierList(String... snapshotIdentifierList)
A list of snapshot identifiers 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 List<String> getSnapshotIdentifierList()
A list of snapshot identifiers you want to modify.
public void setSnapshotIdentifierList(Collection<String> snapshotIdentifierList)
A list of snapshot identifiers you want to modify.
snapshotIdentifierList
- A list of snapshot identifiers you want to modify.public BatchModifyClusterSnapshotsRequest withSnapshotIdentifierList(String... snapshotIdentifierList)
A list of snapshot identifiers you want to modify.
NOTE: This method appends the values to the existing list (if any). Use
setSnapshotIdentifierList(java.util.Collection)
or
withSnapshotIdentifierList(java.util.Collection)
if you want to override the existing values.
snapshotIdentifierList
- A list of snapshot identifiers you want to modify.public BatchModifyClusterSnapshotsRequest withSnapshotIdentifierList(Collection<String> snapshotIdentifierList)
A list of snapshot identifiers you want to modify.
snapshotIdentifierList
- A list of snapshot identifiers you want to modify.public void setManualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)
The number of days that a manual snapshot is retained. If you specify the value -1, the manual snapshot is retained indefinitely.
The number must be either -1 or an integer between 1 and 3,653.
If you decrease the manual snapshot retention period from its current value, existing manual snapshots that fall outside of the new retention period will return an error. If you want to suppress the errors and delete the snapshots, use the force option.
manualSnapshotRetentionPeriod
- The number of days that a manual snapshot is retained. If you specify the value -1, the manual snapshot is
retained indefinitely.
The number must be either -1 or an integer between 1 and 3,653.
If you decrease the manual snapshot retention period from its current value, existing manual snapshots that fall outside of the new retention period will return an error. If you want to suppress the errors and delete the snapshots, use the force option.
public Integer getManualSnapshotRetentionPeriod()
The number of days that a manual snapshot is retained. If you specify the value -1, the manual snapshot is retained indefinitely.
The number must be either -1 or an integer between 1 and 3,653.
If you decrease the manual snapshot retention period from its current value, existing manual snapshots that fall outside of the new retention period will return an error. If you want to suppress the errors and delete the snapshots, use the force option.
The number must be either -1 or an integer between 1 and 3,653.
If you decrease the manual snapshot retention period from its current value, existing manual snapshots that fall outside of the new retention period will return an error. If you want to suppress the errors and delete the snapshots, use the force option.
public BatchModifyClusterSnapshotsRequest withManualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)
The number of days that a manual snapshot is retained. If you specify the value -1, the manual snapshot is retained indefinitely.
The number must be either -1 or an integer between 1 and 3,653.
If you decrease the manual snapshot retention period from its current value, existing manual snapshots that fall outside of the new retention period will return an error. If you want to suppress the errors and delete the snapshots, use the force option.
manualSnapshotRetentionPeriod
- The number of days that a manual snapshot is retained. If you specify the value -1, the manual snapshot is
retained indefinitely.
The number must be either -1 or an integer between 1 and 3,653.
If you decrease the manual snapshot retention period from its current value, existing manual snapshots that fall outside of the new retention period will return an error. If you want to suppress the errors and delete the snapshots, use the force option.
public void setForce(Boolean force)
A boolean value indicating whether to override an exception if the retention period has passed.
force
- A boolean value indicating whether to override an exception if the retention period has passed.public Boolean getForce()
A boolean value indicating whether to override an exception if the retention period has passed.
public BatchModifyClusterSnapshotsRequest withForce(Boolean force)
A boolean value indicating whether to override an exception if the retention period has passed.
force
- A boolean value indicating whether to override an exception if the retention period has passed.public Boolean isForce()
A boolean value indicating whether to override an exception if the retention period has passed.
public String toString()
toString
in class Object
Object.toString()
public BatchModifyClusterSnapshotsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()