Interface CfnSnapshot.SnapshotProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSnapshot.SnapshotProperty.Jsii$Proxy
- Enclosing class:
CfnSnapshot
@Stability(Stable)
public static interface CfnSnapshot.SnapshotProperty
extends software.amazon.jsii.JsiiSerializable
A snapshot object that contains databases.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.redshiftserverless.*; SnapshotProperty snapshotProperty = SnapshotProperty.builder() .adminUsername("adminUsername") .kmsKeyId("kmsKeyId") .namespaceArn("namespaceArn") .namespaceName("namespaceName") .ownerAccount("ownerAccount") .retentionPeriod(123) .snapshotArn("snapshotArn") .snapshotCreateTime("snapshotCreateTime") .snapshotName("snapshotName") .status("status") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnSnapshot.SnapshotProperty
static final class
An implementation forCfnSnapshot.SnapshotProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The username of the database within a snapshot.default String
The unique identifier of the KMS key used to encrypt the snapshot.default String
The Amazon Resource Name (ARN) of the namespace the snapshot was created from.default String
The name of the namepsace.default String
The owner AWS ;default Number
The retention period of the snapshot created by the scheduled action.default String
The Amazon Resource Name (ARN) of the snapshot.default String
The timestamp of when the snapshot was created.default String
The name of the snapshot.default String
The status of the snapshot.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAdminUsername
The username of the database within a snapshot.- See Also:
-
getKmsKeyId
The unique identifier of the KMS key used to encrypt the snapshot.- See Also:
-
getNamespaceArn
The Amazon Resource Name (ARN) of the namespace the snapshot was created from.- See Also:
-
getNamespaceName
The name of the namepsace.- See Also:
-
getOwnerAccount
The owner AWS ;account of the snapshot.
- See Also:
-
getRetentionPeriod
The retention period of the snapshot created by the scheduled action.- See Also:
-
getSnapshotArn
The Amazon Resource Name (ARN) of the snapshot.- See Also:
-
getSnapshotCreateTime
The timestamp of when the snapshot was created.- See Also:
-
getSnapshotName
The name of the snapshot.- See Also:
-
getStatus
The status of the snapshot.- See Also:
-
builder
-