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 |
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)Copyright © 2022. All rights reserved.