Class CfnFunction.IoTRuleEventProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.CfnFunction.IoTRuleEventProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunction.IoTRuleEventProperty>
- Enclosing interface:
CfnFunction.IoTRuleEventProperty
@Stability(Stable)
public static final class CfnFunction.IoTRuleEventProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunction.IoTRuleEventProperty>
A builder for
CfnFunction.IoTRuleEventProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsIotSqlVersion(String awsIotSqlVersion) Sets the value ofCfnFunction.IoTRuleEventProperty.getAwsIotSqlVersion()build()Builds the configured instance.Sets the value ofCfnFunction.IoTRuleEventProperty.getSql()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sql
Sets the value ofCfnFunction.IoTRuleEventProperty.getSql()- Parameters:
sql- the value to be set. This parameter is required.- Returns:
this
-
awsIotSqlVersion
@Stability(Stable) public CfnFunction.IoTRuleEventProperty.Builder awsIotSqlVersion(String awsIotSqlVersion) Sets the value ofCfnFunction.IoTRuleEventProperty.getAwsIotSqlVersion()- Parameters:
awsIotSqlVersion- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunction.IoTRuleEventProperty>- Returns:
- a new instance of
CfnFunction.IoTRuleEventProperty - Throws:
NullPointerException- if any required attribute was not provided
-