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
-
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
-CfnFunction.IoTRuleEventProperty.Sql
. This parameter is required.- Returns:
this
-
awsIotSqlVersion
@Stability(Stable) public CfnFunction.IoTRuleEventProperty.Builder awsIotSqlVersion(String awsIotSqlVersion) Sets the value ofCfnFunction.IoTRuleEventProperty.getAwsIotSqlVersion()
- Parameters:
awsIotSqlVersion
-CfnFunction.IoTRuleEventProperty.AwsIotSqlVersion
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFunction.IoTRuleEventProperty>
- Returns:
- a new instance of
CfnFunction.IoTRuleEventProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-