Class SnapshotCopyConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.redshiftserverless.model.SnapshotCopyConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SnapshotCopyConfiguration.Builder,SnapshotCopyConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class SnapshotCopyConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SnapshotCopyConfiguration.Builder,SnapshotCopyConfiguration>
The object that you configure to copy snapshots from one namespace to a namespace in another Amazon Web Services Region.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSnapshotCopyConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SnapshotCopyConfiguration.Builderbuilder()StringdestinationKmsKeyId()The ID of the KMS key to use to encrypt your snapshots in the destination Amazon Web Services Region.StringdestinationRegion()The destination Amazon Web Services Region to copy snapshots to.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringnamespaceName()The name of the namespace to copy snapshots from in the source Amazon Web Services Region.List<SdkField<?>>sdkFields()static Class<? extends SnapshotCopyConfiguration.Builder>serializableBuilderClass()StringsnapshotCopyConfigurationArn()The ARN of the snapshot copy configuration object.StringsnapshotCopyConfigurationId()The ID of the snapshot copy configuration object.IntegersnapshotRetentionPeriod()The retention period of snapshots that are copied to the destination Amazon Web Services Region.SnapshotCopyConfiguration.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
-
destinationKmsKeyId
public final String destinationKmsKeyId()
The ID of the KMS key to use to encrypt your snapshots in the destination Amazon Web Services Region.
- Returns:
- The ID of the KMS key to use to encrypt your snapshots in the destination Amazon Web Services Region.
-
destinationRegion
public final String destinationRegion()
The destination Amazon Web Services Region to copy snapshots to.
- Returns:
- The destination Amazon Web Services Region to copy snapshots to.
-
namespaceName
public final String namespaceName()
The name of the namespace to copy snapshots from in the source Amazon Web Services Region.
- Returns:
- The name of the namespace to copy snapshots from in the source Amazon Web Services Region.
-
snapshotCopyConfigurationArn
public final String snapshotCopyConfigurationArn()
The ARN of the snapshot copy configuration object.
- Returns:
- The ARN of the snapshot copy configuration object.
-
snapshotCopyConfigurationId
public final String snapshotCopyConfigurationId()
The ID of the snapshot copy configuration object.
- Returns:
- The ID of the snapshot copy configuration object.
-
snapshotRetentionPeriod
public final Integer snapshotRetentionPeriod()
The retention period of snapshots that are copied to the destination Amazon Web Services Region.
- Returns:
- The retention period of snapshots that are copied to the destination Amazon Web Services Region.
-
toBuilder
public SnapshotCopyConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SnapshotCopyConfiguration.Builder,SnapshotCopyConfiguration>
-
builder
public static SnapshotCopyConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends SnapshotCopyConfiguration.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.
-
-