Interface ConnectionConfiguration.Builder

    • Method Detail

      • databaseHost

        ConnectionConfiguration.Builder databaseHost​(String databaseHost)

        The name of the host for the database. Can be either a string (host.subdomain.domain.tld) or an IPv4 or IPv6 address.

        Parameters:
        databaseHost - The name of the host for the database. Can be either a string (host.subdomain.domain.tld) or an IPv4 or IPv6 address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • databasePort

        ConnectionConfiguration.Builder databasePort​(Integer databasePort)

        The port that the database uses for connections.

        Parameters:
        databasePort - The port that the database uses for connections.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • databaseName

        ConnectionConfiguration.Builder databaseName​(String databaseName)

        The name of the database containing the document data.

        Parameters:
        databaseName - The name of the database containing the document data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tableName

        ConnectionConfiguration.Builder tableName​(String tableName)

        The name of the table that contains the document data.

        Parameters:
        tableName - The name of the table that contains the document data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • secretArn

        ConnectionConfiguration.Builder secretArn​(String secretArn)

        The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. For more information, see Using a Database Data Source. For more information about Secrets Manager, see What Is Secrets Manager in the Secrets Manager user guide.

        Parameters:
        secretArn - The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. For more information, see Using a Database Data Source. For more information about Secrets Manager, see What Is Secrets Manager in the Secrets Manager user guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.