@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 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 String sourceSnapshotClusterIdentifier()
The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user 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 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 AWS 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 AWS account that is making the request.
public 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 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.