Class PreparedStatementReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.athena.PreparedStatementReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PreparedStatementReference>
- Enclosing interface:
PreparedStatementReference
@Stability(Stable)
public static final class PreparedStatementReference.Builder
extends Object
implements software.amazon.jsii.Builder<PreparedStatementReference>
A builder for
PreparedStatementReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.statementName(String statementName) Sets the value ofPreparedStatementReference.getStatementName()Sets the value ofPreparedStatementReference.getWorkGroup()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
statementName
Sets the value ofPreparedStatementReference.getStatementName()- Parameters:
statementName- The StatementName of the PreparedStatement resource. This parameter is required.- Returns:
this
-
workGroup
Sets the value ofPreparedStatementReference.getWorkGroup()- Parameters:
workGroup- The WorkGroup of the PreparedStatement resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PreparedStatementReference>- Returns:
- a new instance of
PreparedStatementReference - Throws:
NullPointerException- if any required attribute was not provided
-