Interface BatchExecuteStatementResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchExecuteStatementResponse.Builder,,BatchExecuteStatementResponse> RedshiftDataResponse.Builder,SdkBuilder<BatchExecuteStatementResponse.Builder,,BatchExecuteStatementResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchExecuteStatementResponse
-
Method Summary
Modifier and TypeMethodDescriptionclusterIdentifier(String clusterIdentifier) The cluster identifier.The date and time (UTC) the statement was created.The name of the database.A list of colon (:) separated names of database groups.dbGroups(Collection<String> dbGroups) A list of colon (:) separated names of database groups.The database user name.hasResultSet(Boolean hasResultSet) A value that indicates whether the statement has a result set.The identifier of the SQL statement whose results are to be fetched.redshiftPid(Long redshiftPid) The process identifier from Amazon Redshift.The name or ARN of the secret that enables access to the database.The session identifier of the query.The status of the SQL statement.status(StatementStatusString status) The status of the SQL statement.workgroupName(String workgroupName) The serverless workgroup name or Amazon Resource Name (ARN).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshiftdata.model.RedshiftDataResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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 byBatchExecuteStatment.- 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
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
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
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
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.
-