Class IotSqlConfig.Builder

java.lang.Object
software.amazon.awscdk.services.iot.alpha.IotSqlConfig.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<IotSqlConfig>
Enclosing interface:
IotSqlConfig

@Stability(Experimental) public static final class IotSqlConfig.Builder extends Object implements software.amazon.jsii.Builder<IotSqlConfig>
A builder for IotSqlConfig
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • awsIotSqlVersion

      @Stability(Experimental) public IotSqlConfig.Builder awsIotSqlVersion(String awsIotSqlVersion)
      Parameters:
      awsIotSqlVersion - The version of the SQL rules engine to use when evaluating the rule. This parameter is required.
      Returns:
      this
    • sql

      @Stability(Experimental) public IotSqlConfig.Builder sql(String sql)
      Sets the value of IotSqlConfig.getSql()
      Parameters:
      sql - The SQL statement used to query the topic. This parameter is required.
      Returns:
      this
    • build

      @Stability(Experimental) public IotSqlConfig build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<IotSqlConfig>
      Returns:
      a new instance of IotSqlConfig
      Throws:
      NullPointerException - if any required attribute was not provided