Interface RelationalDatabaseSnapshot.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RelationalDatabaseSnapshot.Builder,RelationalDatabaseSnapshot>, SdkBuilder<RelationalDatabaseSnapshot.Builder,RelationalDatabaseSnapshot>, SdkPojo
Enclosing class:
RelationalDatabaseSnapshot

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

    • name

      The name of the database snapshot.

      Parameters:
      name - The name of the database snapshot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of the database snapshot.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the database snapshot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportCode

      RelationalDatabaseSnapshot.Builder supportCode(String supportCode)

      The support code for the database snapshot. Include this code in your email to support when you have questions about a database snapshot in Lightsail. This code enables our support team to look up your Lightsail information more easily.

      Parameters:
      supportCode - The support code for the database snapshot. Include this code in your email to support when you have questions about a database snapshot in Lightsail. This code enables our support team to look up your Lightsail information more easily.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      The timestamp when the database snapshot was created.

      Parameters:
      createdAt - The timestamp when the database snapshot was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • location

      The Region name and Availability Zone where the database snapshot is located.

      Parameters:
      location - The Region name and Availability Zone where the database snapshot is located.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • location

      The Region name and Availability Zone where the database snapshot is located.

      This is a convenience method that creates an instance of the ResourceLocation.Builder avoiding the need to create one manually via ResourceLocation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to location(ResourceLocation).

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

      RelationalDatabaseSnapshot.Builder resourceType(String resourceType)

      The Lightsail resource type.

      Parameters:
      resourceType - The Lightsail resource type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceType

      The Lightsail resource type.

      Parameters:
      resourceType - The Lightsail resource type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

      Parameters:
      tags - The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

      Parameters:
      tags - The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

      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:
    • engine

      The software of the database snapshot (for example, MySQL)

      Parameters:
      engine - The software of the database snapshot (for example, MySQL)
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • engineVersion

      RelationalDatabaseSnapshot.Builder engineVersion(String engineVersion)

      The database engine version for the database snapshot (for example, 5.7.23).

      Parameters:
      engineVersion - The database engine version for the database snapshot (for example, 5.7.23).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sizeInGb

      The size of the disk in GB (for example, 32) for the database snapshot.

      Parameters:
      sizeInGb - The size of the disk in GB (for example, 32) for the database snapshot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The state of the database snapshot.

      Parameters:
      state - The state of the database snapshot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fromRelationalDatabaseName

      RelationalDatabaseSnapshot.Builder fromRelationalDatabaseName(String fromRelationalDatabaseName)

      The name of the source database from which the database snapshot was created.

      Parameters:
      fromRelationalDatabaseName - The name of the source database from which the database snapshot was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fromRelationalDatabaseArn

      RelationalDatabaseSnapshot.Builder fromRelationalDatabaseArn(String fromRelationalDatabaseArn)

      The Amazon Resource Name (ARN) of the database from which the database snapshot was created.

      Parameters:
      fromRelationalDatabaseArn - The Amazon Resource Name (ARN) of the database from which the database snapshot was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fromRelationalDatabaseBundleId

      RelationalDatabaseSnapshot.Builder fromRelationalDatabaseBundleId(String fromRelationalDatabaseBundleId)

      The bundle ID of the database from which the database snapshot was created.

      Parameters:
      fromRelationalDatabaseBundleId - The bundle ID of the database from which the database snapshot was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fromRelationalDatabaseBlueprintId

      RelationalDatabaseSnapshot.Builder fromRelationalDatabaseBlueprintId(String fromRelationalDatabaseBlueprintId)

      The blueprint ID of the database from which the database snapshot was created. A blueprint describes the major engine version of a database.

      Parameters:
      fromRelationalDatabaseBlueprintId - The blueprint ID of the database from which the database snapshot was created. A blueprint describes the major engine version of a database.
      Returns:
      Returns a reference to this object so that method calls can be chained together.