Class CfnPreparedStatement.Builder
java.lang.Object
software.amazon.awscdk.services.athena.CfnPreparedStatement.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPreparedStatement>
- Enclosing class:
CfnPreparedStatement
@Stability(Stable)
public static final class CfnPreparedStatement.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPreparedStatement>
A fluent builder for
CfnPreparedStatement
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnPreparedStatement.Builder
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.
-
Method Details
-
create
@Stability(Stable) public static CfnPreparedStatement.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnPreparedStatement.Builder
.
-
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
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:
-
description
The description of the prepared statement.- Parameters:
description
- The description of the prepared statement. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPreparedStatement>
- Returns:
- a newly built instance of
CfnPreparedStatement
.
-