@Generated(value="software.amazon.awssdk:codegen") public final class ModifyClusterSnapshotRequest extends RedshiftRequest implements ToCopyableBuilder<ModifyClusterSnapshotRequest.Builder,ModifyClusterSnapshotRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ModifyClusterSnapshotRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ModifyClusterSnapshotRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Boolean |
force()
A Boolean option to override an exception if the retention period has already passed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
manualSnapshotRetentionPeriod()
The number of days that a manual snapshot is retained.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ModifyClusterSnapshotRequest.Builder> |
serializableBuilderClass() |
String |
snapshotIdentifier()
The identifier of the snapshot whose setting you want to modify.
|
ModifyClusterSnapshotRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String snapshotIdentifier()
The identifier of the snapshot whose setting you want to modify.
public 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.
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 Boolean force()
A Boolean option to override an exception if the retention period has already passed.
public ModifyClusterSnapshotRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ModifyClusterSnapshotRequest.Builder,ModifyClusterSnapshotRequest>toBuilder in class RedshiftRequestpublic static ModifyClusterSnapshotRequest.Builder builder()
public static Class<? extends ModifyClusterSnapshotRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.