Interface Snapshot.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Snapshot.Builder,
,Snapshot> SdkBuilder<Snapshot.Builder,
,Snapshot> SdkPojo
- Enclosing class:
Snapshot
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN (Amazon Resource Name) of the snapshot.default Snapshot.Builder
clusterConfiguration
(Consumer<ClusterConfiguration.Builder> clusterConfiguration) The configuration of the cluster from which the snapshot was takenclusterConfiguration
(ClusterConfiguration clusterConfiguration) The configuration of the cluster from which the snapshot was takendataTiering
(String dataTiering) Enables data tiering.dataTiering
(DataTieringStatus dataTiering) Enables data tiering.The ID of the KMS key used to encrypt the snapshot.The name of the snapshotIndicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).The status of the snapshot.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the snapshot
- Parameters:
name
- The name of the snapshot- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the snapshot. Valid values: creating | available | restoring | copying | deleting.
- Parameters:
status
- The status of the snapshot. Valid values: creating | available | restoring | copying | deleting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).
- Parameters:
source
- Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
The ID of the KMS key used to encrypt the snapshot.
- Parameters:
kmsKeyId
- The ID of the KMS key used to encrypt the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN (Amazon Resource Name) of the snapshot.
- Parameters:
arn
- The ARN (Amazon Resource Name) of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterConfiguration
The configuration of the cluster from which the snapshot was taken
- Parameters:
clusterConfiguration
- The configuration of the cluster from which the snapshot was taken- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterConfiguration
default 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 viaClusterConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclusterConfiguration(ClusterConfiguration)
.- Parameters:
clusterConfiguration
- a consumer that will call methods onClusterConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-