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 Details

    • create

      @Stability(Stable) public static CfnPreparedStatement.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnPreparedStatement.Builder.
    • queryStatement

      @Stability(Stable) public CfnPreparedStatement.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
    • statementName

      @Stability(Stable) public CfnPreparedStatement.Builder statementName(String statementName)
      The name of the prepared statement.

      Parameters:
      statementName - The name of the prepared statement. This parameter is required.
      Returns:
      this
    • workGroup

      @Stability(Stable) public CfnPreparedStatement.Builder workGroup(String 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
    • description

      @Stability(Stable) public CfnPreparedStatement.Builder description(String description)
      The description of the prepared statement.

      Parameters:
      description - The description of the prepared statement. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnPreparedStatement build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnPreparedStatement>
      Returns:
      a newly built instance of CfnPreparedStatement.