Interface BatchExecuteStatementResponse.Builder

  • Method Details

    • id

      The identifier of the SQL statement whose results are to be fetched. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. This identifier is returned by BatchExecuteStatment.

      Parameters:
      id - The identifier of the SQL statement whose results are to be fetched. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. This identifier is returned by BatchExecuteStatment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • clusterIdentifier

      BatchExecuteStatementResponse.Builder clusterIdentifier(String clusterIdentifier)

      The cluster identifier. This element is not returned when connecting to a serverless workgroup.

      Parameters:
      clusterIdentifier - The cluster identifier. This element is not returned when connecting to a serverless workgroup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbUser

      The database user name.

      Parameters:
      dbUser - The database user name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbGroups

      A list of colon (:) separated names of database groups.

      Parameters:
      dbGroups - A list of colon (:) separated names of database groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbGroups

      A list of colon (:) separated names of database groups.

      Parameters:
      dbGroups - A list of colon (:) separated names of database groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • database

      The name of the database.

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

      The name or ARN of the secret that enables access to the database.

      Parameters:
      secretArn - The name or 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.
    • workgroupName

      BatchExecuteStatementResponse.Builder workgroupName(String workgroupName)

      The serverless workgroup name or Amazon Resource Name (ARN). This element is not returned when connecting to a provisioned cluster.

      Parameters:
      workgroupName - The serverless workgroup name or Amazon Resource Name (ARN). This element is not returned when connecting to a provisioned cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionId

      The session identifier of the query.

      Parameters:
      sessionId - The session identifier of the query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the SQL statement. Status values are defined as follows:

      • ABORTED - The query run was stopped by the user.

      • FAILED - The query run failed.

      • FINISHED - The query has finished running.

      • PICKED - The query has been chosen to be run.

      • STARTED - The query run has started.

      • SUBMITTED - The query was submitted, but not yet processed.

      Parameters:
      status - The status of the SQL statement. Status values are defined as follows:

      • ABORTED - The query run was stopped by the user.

      • FAILED - The query run failed.

      • FINISHED - The query has finished running.

      • PICKED - The query has been chosen to be run.

      • STARTED - The query run has started.

      • SUBMITTED - The query was submitted, but not yet processed.

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

      The status of the SQL statement. Status values are defined as follows:

      • ABORTED - The query run was stopped by the user.

      • FAILED - The query run failed.

      • FINISHED - The query has finished running.

      • PICKED - The query has been chosen to be run.

      • STARTED - The query run has started.

      • SUBMITTED - The query was submitted, but not yet processed.

      Parameters:
      status - The status of the SQL statement. Status values are defined as follows:

      • ABORTED - The query run was stopped by the user.

      • FAILED - The query run failed.

      • FINISHED - The query has finished running.

      • PICKED - The query has been chosen to be run.

      • STARTED - The query run has started.

      • SUBMITTED - The query was submitted, but not yet processed.

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

      BatchExecuteStatementResponse.Builder redshiftPid(Long redshiftPid)

      The process identifier from Amazon Redshift.

      Parameters:
      redshiftPid - The process identifier from Amazon Redshift.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hasResultSet

      BatchExecuteStatementResponse.Builder hasResultSet(Boolean hasResultSet)

      A value that indicates whether the statement has a result set. The result set can be empty. The value is true for an empty result set. The value is true if any substatement returns a result set.

      Parameters:
      hasResultSet - A value that indicates whether the statement has a result set. The result set can be empty. The value is true for an empty result set. The value is true if any substatement returns a result set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.