Interface ExecuteStatementResponse.Builder

    • Method Detail

      • clusterIdentifier

        ExecuteStatementResponse.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.
      • createdAt

        ExecuteStatementResponse.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.
      • database

        ExecuteStatementResponse.Builder database​(String 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.
      • dbUser

        ExecuteStatementResponse.Builder dbUser​(String 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.
      • id

        ExecuteStatementResponse.Builder id​(String 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.

        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • secretArn

        ExecuteStatementResponse.Builder secretArn​(String 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

        ExecuteStatementResponse.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.