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 interfaceClusterSnapshotCopyStatus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClusterSnapshotCopyStatus.Builderbuilder()StringdestinationRegion()The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermanualSnapshotRetentionPeriod()The number of days that automated snapshots are retained in the destination region after they are copied from a source region.LongretentionPeriod()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()StringsnapshotCopyGrantName()The name of the snapshot copy grant.ClusterSnapshotCopyStatus.BuildertoBuilder()StringtoString()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:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
-