Class IotSqlConfig.Builder
java.lang.Object
software.amazon.awscdk.services.iot.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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionawsIotSqlVersion
(String awsIotSqlVersion) Sets the value ofIotSqlConfig.getAwsIotSqlVersion()
build()
Builds the configured instance.Sets the value ofIotSqlConfig.getSql()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsIotSqlVersion
Sets the value ofIotSqlConfig.getAwsIotSqlVersion()
- Parameters:
awsIotSqlVersion
- The version of the SQL rules engine to use when evaluating the rule. This parameter is required.- Returns:
this
-
sql
Sets the value ofIotSqlConfig.getSql()
- Parameters:
sql
- The SQL statement used to query the topic. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<IotSqlConfig>
- Returns:
- a new instance of
IotSqlConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-