Class AwsRedshiftClusterClusterSnapshotCopyStatus
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsRedshiftClusterClusterSnapshotCopyStatus
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsRedshiftClusterClusterSnapshotCopyStatus.Builder,AwsRedshiftClusterClusterSnapshotCopyStatus>
@Generated("software.amazon.awssdk:codegen") public final class AwsRedshiftClusterClusterSnapshotCopyStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsRedshiftClusterClusterSnapshotCopyStatus.Builder,AwsRedshiftClusterClusterSnapshotCopyStatus>
You can configure Amazon Redshift to copy snapshots for a cluster to another Amazon Web Services Region. This parameter provides information about a cross-Region snapshot copy.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsRedshiftClusterClusterSnapshotCopyStatus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsRedshiftClusterClusterSnapshotCopyStatus.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 manual snapshots are retained in the destination Region after they are copied from a source Region.IntegerretentionPeriod()The number of days to retain automated snapshots in the destination Region after they are copied from a source Region.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AwsRedshiftClusterClusterSnapshotCopyStatus.Builder>serializableBuilderClass()StringsnapshotCopyGrantName()The name of the snapshot copy grant.AwsRedshiftClusterClusterSnapshotCopyStatus.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.
-
manualSnapshotRetentionPeriod
public final Integer manualSnapshotRetentionPeriod()
The number of days that manual snapshots are retained in the destination Region after they are copied from a source Region.
If the value is
-1, then the manual snapshot is retained indefinitely.Valid values: Either
-1or an integer between 1 and 3,653- Returns:
- The number of days that manual snapshots are retained in the destination Region after they are copied
from a source Region.
If the value is
-1, then the manual snapshot is retained indefinitely.Valid values: Either
-1or an integer between 1 and 3,653
-
retentionPeriod
public final Integer retentionPeriod()
The number of days to retain automated snapshots in the destination Region after they are copied from a source Region.
- Returns:
- The number of days to retain automated snapshots in the destination Region after they are copied from a source Region.
-
snapshotCopyGrantName
public final String snapshotCopyGrantName()
The name of the snapshot copy grant.
- Returns:
- The name of the snapshot copy grant.
-
toBuilder
public AwsRedshiftClusterClusterSnapshotCopyStatus.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsRedshiftClusterClusterSnapshotCopyStatus.Builder,AwsRedshiftClusterClusterSnapshotCopyStatus>
-
builder
public static AwsRedshiftClusterClusterSnapshotCopyStatus.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsRedshiftClusterClusterSnapshotCopyStatus.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-