Interface BatchGetPreparedStatementResponse.Builder
- All Superinterfaces:
AthenaResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchGetPreparedStatementResponse.Builder,
,BatchGetPreparedStatementResponse> SdkBuilder<BatchGetPreparedStatementResponse.Builder,
,BatchGetPreparedStatementResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchGetPreparedStatementResponse
@Mutable
@NotThreadSafe
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, 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 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.Builder
avoiding the need to create one manually viaPreparedStatement.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaUnprocessedPreparedStatementName.builder()
.When the
Consumer
completes,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:
-