Interface ListPreparedStatementsResponse.Builder
- All Superinterfaces:
AthenaResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListPreparedStatementsResponse.Builder,,ListPreparedStatementsResponse> SdkBuilder<ListPreparedStatementsResponse.Builder,,ListPreparedStatementsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPreparedStatementsResponse
@Mutable
@NotThreadSafe
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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
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.Builderavoiding the need to create one manually viaPreparedStatementSummary.builder().When the
Consumercompletes,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
NextTokenfrom 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 theNextTokenfrom the response object of the previous page call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-