Interface StatementData.Builder

    • Method Detail

      • createdAt

        StatementData.Builder createdAt​(Instant createdAt)

        The date and time (UTC) the statement was created.

        Parameters:
        createdAt - The date and time (UTC) the statement was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        StatementData.Builder id​(String id)

        The SQL statement identifier. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.

        Parameters:
        id - The SQL statement identifier. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isBatchStatement

        StatementData.Builder isBatchStatement​(Boolean isBatchStatement)

        A value that indicates whether the statement is a batch query request.

        Parameters:
        isBatchStatement - A value that indicates whether the statement is a batch query request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queryParameters

        StatementData.Builder queryParameters​(Collection<SqlParameter> queryParameters)

        The parameters used in a SQL statement.

        Parameters:
        queryParameters - The parameters used in a SQL statement.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queryParameters

        StatementData.Builder queryParameters​(SqlParameter... queryParameters)

        The parameters used in a SQL statement.

        Parameters:
        queryParameters - The parameters used in a SQL statement.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queryString

        StatementData.Builder queryString​(String queryString)

        The SQL statement.

        Parameters:
        queryString - The SQL statement.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queryStrings

        StatementData.Builder queryStrings​(Collection<String> queryStrings)

        One or more SQL statements. Each query string in the array corresponds to one of the queries in a batch query request.

        Parameters:
        queryStrings - One or more SQL statements. Each query string in the array corresponds to one of the queries in a batch query request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queryStrings

        StatementData.Builder queryStrings​(String... queryStrings)

        One or more SQL statements. Each query string in the array corresponds to one of the queries in a batch query request.

        Parameters:
        queryStrings - One or more SQL statements. Each query string in the array corresponds to one of the queries in a batch query request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • secretArn

        StatementData.Builder secretArn​(String secretArn)

        The name or Amazon Resource Name (ARN) of the secret that enables access to the database.

        Parameters:
        secretArn - The name or Amazon Resource Name (ARN) of the secret that enables access to the database.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statementName

        StatementData.Builder statementName​(String statementName)

        The name of the SQL statement.

        Parameters:
        statementName - The name of the SQL statement.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        StatementData.Builder status​(String status)

        The status of the SQL statement. An example is the that the SQL statement finished.

        Parameters:
        status - The status of the SQL statement. An example is the that the SQL statement finished.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StatusString, StatusString
      • status

        StatementData.Builder status​(StatusString status)

        The status of the SQL statement. An example is the that the SQL statement finished.

        Parameters:
        status - The status of the SQL statement. An example is the that the SQL statement finished.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StatusString, StatusString
      • updatedAt

        StatementData.Builder updatedAt​(Instant updatedAt)

        The date and time (UTC) that the statement metadata was last updated.

        Parameters:
        updatedAt - The date and time (UTC) that the statement metadata was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.