Interface CreateDbSnapshotRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateDbSnapshotRequest.Builder,CreateDbSnapshotRequest>, RdsRequest.Builder, SdkBuilder<CreateDbSnapshotRequest.Builder,CreateDbSnapshotRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateDbSnapshotRequest

public static interface CreateDbSnapshotRequest.Builder extends RdsRequest.Builder, SdkPojo, CopyableBuilder<CreateDbSnapshotRequest.Builder,CreateDbSnapshotRequest>
  • Method Details

    • dbSnapshotIdentifier

      CreateDbSnapshotRequest.Builder dbSnapshotIdentifier(String dbSnapshotIdentifier)

      The identifier for the DB snapshot.

      Constraints:

      • Can't be null, empty, or blank

      • Must contain from 1 to 255 letters, numbers, or hyphens

      • First character must be a letter

      • Can't end with a hyphen or contain two consecutive hyphens

      Example: my-snapshot-id

      Parameters:
      dbSnapshotIdentifier - The identifier for the DB snapshot.

      Constraints:

      • Can't be null, empty, or blank

      • Must contain from 1 to 255 letters, numbers, or hyphens

      • First character must be a letter

      • Can't end with a hyphen or contain two consecutive hyphens

      Example: my-snapshot-id

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbInstanceIdentifier

      CreateDbSnapshotRequest.Builder dbInstanceIdentifier(String dbInstanceIdentifier)

      The identifier of the DB instance that you want to create the snapshot of.

      Constraints:

      • Must match the identifier of an existing DBInstance.

      Parameters:
      dbInstanceIdentifier - The identifier of the DB instance that you want to create the snapshot of.

      Constraints:

      • Must match the identifier of an existing DBInstance.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Sets the value of the Tags property for this object.
      Parameters:
      tags - The new value for the Tags property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Sets the value of the Tags property for this object.
      Parameters:
      tags - The new value for the Tags property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Sets the value of the Tags property for this object. This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CreateDbSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.