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 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

      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

      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 the ClusterConfiguration.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).

      Parameters:
      clusterConfiguration - a consumer that will call methods on ClusterConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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:
    • 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: