Interface RelationalDatabaseSnapshot.Builder

    • Method Detail

      • name

        RelationalDatabaseSnapshot.Builder name​(String 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

        RelationalDatabaseSnapshot.Builder arn​(String 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

        RelationalDatabaseSnapshot.Builder createdAt​(Instant 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

        RelationalDatabaseSnapshot.Builder location​(ResourceLocation 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.
      • engine

        RelationalDatabaseSnapshot.Builder engine​(String 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

        RelationalDatabaseSnapshot.Builder sizeInGb​(Integer 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

        RelationalDatabaseSnapshot.Builder state​(String 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.