@Generated(value="software.amazon.awssdk:codegen") public final class CopyClusterSnapshotRequest extends RedshiftRequest implements ToCopyableBuilder<CopyClusterSnapshotRequest.Builder,CopyClusterSnapshotRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CopyClusterSnapshotRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CopyClusterSnapshotRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<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 CopyClusterSnapshotRequest.Builder> |
serializableBuilderClass() |
String |
sourceSnapshotClusterIdentifier()
The identifier of the cluster the source snapshot was created from.
|
String |
sourceSnapshotIdentifier()
The identifier for the source snapshot.
|
String |
targetSnapshotIdentifier()
The identifier given to the new manual snapshot.
|
CopyClusterSnapshotRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String sourceSnapshotIdentifier()
The identifier for the source snapshot.
Constraints:
Must be the identifier for a valid automated snapshot whose state is available.
Constraints:
Must be the identifier for a valid automated snapshot whose state is available.
public final String sourceSnapshotClusterIdentifier()
The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user or role has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
Constraints:
Must be the identifier for a valid cluster.
Constraints:
Must be the identifier for a valid cluster.
public final String targetSnapshotIdentifier()
The identifier given to the new manual snapshot.
Constraints:
Cannot be null, empty, or blank.
Must contain from 1 to 255 alphanumeric characters or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Must be unique for the Amazon Web Services account that is making the request.
Constraints:
Cannot be null, empty, or blank.
Must contain from 1 to 255 alphanumeric characters or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Must be unique for the Amazon Web Services account that is making the request.
public final Integer manualSnapshotRetentionPeriod()
The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.
The value must be either -1 or an integer between 1 and 3,653.
The default value is -1.
The value must be either -1 or an integer between 1 and 3,653.
The default value is -1.
public CopyClusterSnapshotRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CopyClusterSnapshotRequest.Builder,CopyClusterSnapshotRequest>toBuilder in class RedshiftRequestpublic static CopyClusterSnapshotRequest.Builder builder()
public static Class<? extends CopyClusterSnapshotRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.