Interface BatchGetPreparedStatementResponse.Builder
- All Superinterfaces:
AthenaResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetPreparedStatementResponse.Builder,,BatchGetPreparedStatementResponse> SdkBuilder<BatchGetPreparedStatementResponse.Builder,,BatchGetPreparedStatementResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetPreparedStatementResponse
public static interface BatchGetPreparedStatementResponse.Builder
extends AthenaResponse.Builder, SdkPojo, CopyableBuilder<BatchGetPreparedStatementResponse.Builder,BatchGetPreparedStatementResponse>
-
Method Summary
Modifier and TypeMethodDescriptionpreparedStatements(Collection<PreparedStatement> preparedStatements) The list of prepared statements returned.preparedStatements(Consumer<PreparedStatement.Builder>... preparedStatements) The list of prepared statements returned.preparedStatements(PreparedStatement... preparedStatements) The list of prepared statements returned.unprocessedPreparedStatementNames(Collection<UnprocessedPreparedStatementName> unprocessedPreparedStatementNames) A list of one or more prepared statements that were requested but could not be returned.unprocessedPreparedStatementNames(Consumer<UnprocessedPreparedStatementName.Builder>... unprocessedPreparedStatementNames) A list of one or more prepared statements that were requested but could not be returned.unprocessedPreparedStatementNames(UnprocessedPreparedStatementName... unprocessedPreparedStatementNames) A list of one or more prepared statements that were requested but could not be returned.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
preparedStatements
BatchGetPreparedStatementResponse.Builder preparedStatements(Collection<PreparedStatement> preparedStatements) The list of prepared statements returned.
- Parameters:
preparedStatements- The list of prepared statements returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preparedStatements
BatchGetPreparedStatementResponse.Builder preparedStatements(PreparedStatement... preparedStatements) The list of prepared statements returned.
- Parameters:
preparedStatements- The list of prepared statements returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preparedStatements
BatchGetPreparedStatementResponse.Builder preparedStatements(Consumer<PreparedStatement.Builder>... preparedStatements) The list of prepared statements returned.
This is a convenience method that creates an instance of thePreparedStatement.Builderavoiding the need to create one manually viaPreparedStatement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topreparedStatements(List<PreparedStatement>).- Parameters:
preparedStatements- a consumer that will call methods onPreparedStatement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unprocessedPreparedStatementNames
BatchGetPreparedStatementResponse.Builder unprocessedPreparedStatementNames(Collection<UnprocessedPreparedStatementName> unprocessedPreparedStatementNames) A list of one or more prepared statements that were requested but could not be returned.
- Parameters:
unprocessedPreparedStatementNames- A list of one or more prepared statements that were requested but could not be returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unprocessedPreparedStatementNames
BatchGetPreparedStatementResponse.Builder unprocessedPreparedStatementNames(UnprocessedPreparedStatementName... unprocessedPreparedStatementNames) A list of one or more prepared statements that were requested but could not be returned.
- Parameters:
unprocessedPreparedStatementNames- A list of one or more prepared statements that were requested but could not be returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unprocessedPreparedStatementNames
BatchGetPreparedStatementResponse.Builder unprocessedPreparedStatementNames(Consumer<UnprocessedPreparedStatementName.Builder>... unprocessedPreparedStatementNames) A list of one or more prepared statements that were requested but could not be returned.
This is a convenience method that creates an instance of theUnprocessedPreparedStatementName.Builderavoiding the need to create one manually viaUnprocessedPreparedStatementName.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tounprocessedPreparedStatementNames(List<UnprocessedPreparedStatementName>).- Parameters:
unprocessedPreparedStatementNames- a consumer that will call methods onUnprocessedPreparedStatementName.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-