Class ClusterSnapshotCopyStatus
- java.lang.Object
-
- software.amazon.awssdk.services.redshift.model.ClusterSnapshotCopyStatus
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ClusterSnapshotCopyStatus.Builder,ClusterSnapshotCopyStatus>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ClusterSnapshotCopyStatus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
boolean
equalsBySdkFields(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()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
destinationRegion
public final String destinationRegion()
The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.
- Returns:
- The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.
-
retentionPeriod
public final Long retentionPeriod()
The number of days that automated snapshots are retained in the destination region after they are copied from a source region.
- Returns:
- The number of days that automated snapshots are retained in the destination region after they are copied from a source region.
-
manualSnapshotRetentionPeriod
public final 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.
- Returns:
- 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.
-
snapshotCopyGrantName
public final String snapshotCopyGrantName()
The name of the snapshot copy grant.
- Returns:
- The name of the snapshot copy grant.
-
toBuilder
public ClusterSnapshotCopyStatus.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ClusterSnapshotCopyStatus.Builder,ClusterSnapshotCopyStatus>
-
builder
public static ClusterSnapshotCopyStatus.Builder builder()
-
serializableBuilderClass
public static Class<? extends ClusterSnapshotCopyStatus.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-