public static interface Snapshot.Builder extends SdkPojo, CopyableBuilder<Snapshot.Builder,Snapshot>
| Modifier and Type | Method and Description |
|---|---|
Snapshot.Builder |
arn(String arn)
The ARN (Amazon Resource Name) of the snapshot.
|
Snapshot.Builder |
clusterConfiguration(ClusterConfiguration clusterConfiguration)
The configuration of the cluster from which the snapshot was taken
|
default Snapshot.Builder |
clusterConfiguration(Consumer<ClusterConfiguration.Builder> clusterConfiguration)
The configuration of the cluster from which the snapshot was taken
|
Snapshot.Builder |
dataTiering(DataTieringStatus dataTiering)
Enables data tiering.
|
Snapshot.Builder |
dataTiering(String dataTiering)
Enables data tiering.
|
Snapshot.Builder |
kmsKeyId(String kmsKeyId)
The ID of the KMS key used to encrypt the snapshot.
|
Snapshot.Builder |
name(String name)
The name of the snapshot
|
Snapshot.Builder |
source(String source)
Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).
|
Snapshot.Builder |
status(String status)
The status of the snapshot.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSnapshot.Builder name(String name)
The name of the snapshot
name - The name of the snapshotSnapshot.Builder status(String status)
The status of the snapshot. Valid values: creating | available | restoring | copying | deleting.
status - The status of the snapshot. Valid values: creating | available | restoring | copying | deleting.Snapshot.Builder source(String source)
Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).
source - Indicates whether the snapshot is from an automatic backup (automated) or was created manually
(manual).Snapshot.Builder kmsKeyId(String kmsKeyId)
The ID of the KMS key used to encrypt the snapshot.
kmsKeyId - The ID of the KMS key used to encrypt the snapshot.Snapshot.Builder arn(String arn)
The ARN (Amazon Resource Name) of the snapshot.
arn - The ARN (Amazon Resource Name) of the snapshot.Snapshot.Builder clusterConfiguration(ClusterConfiguration clusterConfiguration)
The configuration of the cluster from which the snapshot was taken
clusterConfiguration - The configuration of the cluster from which the snapshot was takendefault Snapshot.Builder clusterConfiguration(Consumer<ClusterConfiguration.Builder> clusterConfiguration)
The configuration of the cluster from which the snapshot was taken
This is a convenience method that creates an instance of theClusterConfiguration.Builder avoiding
the need to create one manually via ClusterConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to clusterConfiguration(ClusterConfiguration).
clusterConfiguration - a consumer that will call methods on ClusterConfiguration.BuilderclusterConfiguration(ClusterConfiguration)Snapshot.Builder dataTiering(String dataTiering)
Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This parameter must be set when using r6gd nodes. For more information, see Data tiering.
dataTiering - Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This
parameter must be set when using r6gd nodes. For more information, see Data tiering.DataTieringStatus,
DataTieringStatusSnapshot.Builder dataTiering(DataTieringStatus dataTiering)
Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This parameter must be set when using r6gd nodes. For more information, see Data tiering.
dataTiering - Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This
parameter must be set when using r6gd nodes. For more information, see Data tiering.DataTieringStatus,
DataTieringStatusCopyright © 2023. All rights reserved.