@Generated(value="software.amazon.awssdk:codegen") public final class ClusterSnapshotCopyStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClusterSnapshotCopyStatus.Builder,ClusterSnapshotCopyStatus>
Returns the destination region and retention period that are configured for cross-region snapshot copy.
Modifier and Type | Class and Description |
---|---|
static interface |
ClusterSnapshotCopyStatus.Builder |
Modifier and Type | Method and Description |
---|---|
static ClusterSnapshotCopyStatus.Builder |
builder() |
String |
destinationRegion()
The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
manualSnapshotRetentionPeriod()
The number of days that automated snapshots are retained in the destination region after they are copied from a
source region.
|
Long |
retentionPeriod()
The number of days that automated snapshots are retained in the destination region after they are copied from a
source region.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ClusterSnapshotCopyStatus.Builder> |
serializableBuilderClass() |
String |
snapshotCopyGrantName()
The name of the snapshot copy grant.
|
ClusterSnapshotCopyStatus.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String destinationRegion()
The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.
public Long retentionPeriod()
The number of days that automated snapshots are retained in the destination region after they are copied from a source region.
public Integer manualSnapshotRetentionPeriod()
The number of days that automated snapshots are retained in the destination region after they are copied from a source region. 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 value must be either -1 or an integer between 1 and 3,653.
public String snapshotCopyGrantName()
The name of the snapshot copy grant.
public ClusterSnapshotCopyStatus.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ClusterSnapshotCopyStatus.Builder,ClusterSnapshotCopyStatus>
public static ClusterSnapshotCopyStatus.Builder builder()
public static Class<? extends ClusterSnapshotCopyStatus.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.