Interface ListPreparedStatementsResponse.Builder
- All Superinterfaces:
AthenaResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ListPreparedStatementsResponse.Builder,
,ListPreparedStatementsResponse> SdkBuilder<ListPreparedStatementsResponse.Builder,
,ListPreparedStatementsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListPreparedStatementsResponse
public static interface ListPreparedStatementsResponse.Builder
extends AthenaResponse.Builder, SdkPojo, CopyableBuilder<ListPreparedStatementsResponse.Builder,ListPreparedStatementsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token generated by the Athena service that specifies where to continue pagination if a previous request was truncated.preparedStatements
(Collection<PreparedStatementSummary> preparedStatements) The list of prepared statements for the workgroup.preparedStatements
(Consumer<PreparedStatementSummary.Builder>... preparedStatements) The list of prepared statements for the workgroup.preparedStatements
(PreparedStatementSummary... preparedStatements) The list of prepared statements for the workgroup.Methods inherited from interface software.amazon.awssdk.services.athena.model.AthenaResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
preparedStatements
ListPreparedStatementsResponse.Builder preparedStatements(Collection<PreparedStatementSummary> preparedStatements) The list of prepared statements for the workgroup.
- Parameters:
preparedStatements
- The list of prepared statements for the workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preparedStatements
ListPreparedStatementsResponse.Builder preparedStatements(PreparedStatementSummary... preparedStatements) The list of prepared statements for the workgroup.
- Parameters:
preparedStatements
- The list of prepared statements for the workgroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preparedStatements
ListPreparedStatementsResponse.Builder preparedStatements(Consumer<PreparedStatementSummary.Builder>... preparedStatements) The list of prepared statements for the workgroup.
This is a convenience method that creates an instance of thePreparedStatementSummary.Builder
avoiding the need to create one manually viaPreparedStatementSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topreparedStatements(List<PreparedStatementSummary>)
.- Parameters:
preparedStatements
- a consumer that will call methods onPreparedStatementSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the
NextToken
from the response object of the previous page call.- Parameters:
nextToken
- A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in theNextToken
from the response object of the previous page call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-