Class CfnPreparedStatementPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.athena.CfnPreparedStatementPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPreparedStatementPropsMixin>
- Enclosing class:
CfnPreparedStatementPropsMixin
@Stability(Stable)
public static final class CfnPreparedStatementPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPreparedStatementPropsMixin>
A fluent builder for
CfnPreparedStatementPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) description(String description) The description of the prepared statement.queryStatement(String queryStatement) The query string for the prepared statement.statementName(String statementName) The name of the prepared statement.The workgroup to which the prepared statement belongs.workGroup(IWorkGroupRef workGroup) The workgroup to which the prepared statement belongs.
-
Method Details
-
create
@Stability(Stable) public static CfnPreparedStatementPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnPreparedStatementPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnPreparedStatementPropsMixin.Builder.
-
description
The description of the prepared statement.- Parameters:
description- The description of the prepared statement. This parameter is required.- Returns:
this- See Also:
-
queryStatement
@Stability(Stable) public CfnPreparedStatementPropsMixin.Builder queryStatement(String queryStatement) The query string for the prepared statement.- Parameters:
queryStatement- The query string for the prepared statement. This parameter is required.- Returns:
this- See Also:
-
statementName
@Stability(Stable) public CfnPreparedStatementPropsMixin.Builder statementName(String statementName) The name of the prepared statement.- Parameters:
statementName- The name of the prepared statement. This parameter is required.- Returns:
this- See Also:
-
workGroup
The workgroup to which the prepared statement belongs.- Parameters:
workGroup- The workgroup to which the prepared statement belongs. This parameter is required.- Returns:
this- See Also:
-
workGroup
The workgroup to which the prepared statement belongs.- Parameters:
workGroup- The workgroup to which the prepared statement belongs. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPreparedStatementPropsMixin>- Returns:
- a newly built instance of
CfnPreparedStatementPropsMixin.
-