Interface GetPreparedStatementResponse.Builder
-
- All Superinterfaces:
AthenaResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetPreparedStatementResponse.Builder,GetPreparedStatementResponse>,SdkBuilder<GetPreparedStatementResponse.Builder,GetPreparedStatementResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetPreparedStatementResponse
public static interface GetPreparedStatementResponse.Builder extends AthenaResponse.Builder, SdkPojo, CopyableBuilder<GetPreparedStatementResponse.Builder,GetPreparedStatementResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetPreparedStatementResponse.BuilderpreparedStatement(Consumer<PreparedStatement.Builder> preparedStatement)The name of the prepared statement that was retrieved.GetPreparedStatementResponse.BuilderpreparedStatement(PreparedStatement preparedStatement)The name of the prepared statement that was retrieved.-
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
-
preparedStatement
GetPreparedStatementResponse.Builder preparedStatement(PreparedStatement preparedStatement)
The name of the prepared statement that was retrieved.
- Parameters:
preparedStatement- The name of the prepared statement that was retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preparedStatement
default GetPreparedStatementResponse.Builder preparedStatement(Consumer<PreparedStatement.Builder> preparedStatement)
The name of the prepared statement that was retrieved.
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 topreparedStatement(PreparedStatement).- Parameters:
preparedStatement- 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:
preparedStatement(PreparedStatement)
-
-