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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPreparedStatementsResponse.BuildernextToken(String nextToken)A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated.ListPreparedStatementsResponse.BuilderpreparedStatements(Collection<PreparedStatementSummary> preparedStatements)The list of prepared statements for the workgroup.ListPreparedStatementsResponse.BuilderpreparedStatements(Consumer<PreparedStatementSummary.Builder>... preparedStatements)The list of prepared statements for the workgroup.ListPreparedStatementsResponse.BuilderpreparedStatements(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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 to#preparedStatements(List.) - 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:
#preparedStatements(java.util.Collection)
-
nextToken
ListPreparedStatementsResponse.Builder nextToken(String 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.
-
-