Class CfnPreparedStatementMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.athena.CfnPreparedStatementMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPreparedStatementMixinProps>
- Enclosing interface:
CfnPreparedStatementMixinProps
@Stability(Stable)
public static final class CfnPreparedStatementMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPreparedStatementMixinProps>
A builder for
CfnPreparedStatementMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnPreparedStatementMixinProps.getDescription()queryStatement(String queryStatement) Sets the value ofCfnPreparedStatementMixinProps.getQueryStatement()statementName(String statementName) Sets the value ofCfnPreparedStatementMixinProps.getStatementName()Sets the value ofCfnPreparedStatementMixinProps.getWorkGroup()workGroup(IWorkGroupRef workGroup) Sets the value ofCfnPreparedStatementMixinProps.getWorkGroup()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnPreparedStatementMixinProps.getDescription()- Parameters:
description- The description of the prepared statement.- Returns:
this
-
queryStatement
@Stability(Stable) public CfnPreparedStatementMixinProps.Builder queryStatement(String queryStatement) Sets the value ofCfnPreparedStatementMixinProps.getQueryStatement()- Parameters:
queryStatement- The query string for the prepared statement.- Returns:
this
-
statementName
@Stability(Stable) public CfnPreparedStatementMixinProps.Builder statementName(String statementName) Sets the value ofCfnPreparedStatementMixinProps.getStatementName()- Parameters:
statementName- The name of the prepared statement.- Returns:
this
-
workGroup
Sets the value ofCfnPreparedStatementMixinProps.getWorkGroup()- Parameters:
workGroup- The workgroup to which the prepared statement belongs.- Returns:
this
-
workGroup
Sets the value ofCfnPreparedStatementMixinProps.getWorkGroup()- Parameters:
workGroup- The workgroup to which the prepared statement belongs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPreparedStatementMixinProps>- Returns:
- a new instance of
CfnPreparedStatementMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-