Interface Snapshot.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Snapshot.Builder,Snapshot>,SdkBuilder<Snapshot.Builder,Snapshot>,SdkPojo
- Enclosing class:
- Snapshot
public static interface Snapshot.Builder extends SdkPojo, CopyableBuilder<Snapshot.Builder,Snapshot>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Snapshot.Builderarn(String arn)The ARN (Amazon Resource Name) of the snapshot.default Snapshot.BuilderclusterConfiguration(Consumer<ClusterConfiguration.Builder> clusterConfiguration)The configuration of the cluster from which the snapshot was takenSnapshot.BuilderclusterConfiguration(ClusterConfiguration clusterConfiguration)The configuration of the cluster from which the snapshot was takenSnapshot.BuilderdataTiering(String dataTiering)Enables data tiering.Snapshot.BuilderdataTiering(DataTieringStatus dataTiering)Enables data tiering.Snapshot.BuilderkmsKeyId(String kmsKeyId)The ID of the KMS key used to encrypt the snapshot.Snapshot.Buildername(String name)The name of the snapshotSnapshot.Buildersource(String source)Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).Snapshot.Builderstatus(String status)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 Detail
-
name
Snapshot.Builder name(String 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
Snapshot.Builder status(String 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
Snapshot.Builder source(String 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
Snapshot.Builder kmsKeyId(String 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
Snapshot.Builder arn(String 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
Snapshot.Builder clusterConfiguration(ClusterConfiguration 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.Builderavoiding the need to create one manually viaClusterConfiguration.builder().When the
Consumercompletes,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:
clusterConfiguration(ClusterConfiguration)
-
dataTiering
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.
- 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:
DataTieringStatus,DataTieringStatus
-
dataTiering
Snapshot.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.
- 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:
DataTieringStatus,DataTieringStatus
-
-