Class CfnTopicRuleMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnTopicRuleMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicRuleMixinProps>
- Enclosing interface:
CfnTopicRuleMixinProps
@Stability(Stable)
public static final class CfnTopicRuleMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicRuleMixinProps>
A builder for
CfnTopicRuleMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTopicRuleMixinProps.getRuleName()Sets the value ofCfnTopicRuleMixinProps.getTags()topicRulePayload(CfnTopicRulePropsMixin.TopicRulePayloadProperty topicRulePayload) Sets the value ofCfnTopicRuleMixinProps.getTopicRulePayload()topicRulePayload(IResolvable topicRulePayload) Sets the value ofCfnTopicRuleMixinProps.getTopicRulePayload()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ruleName
Sets the value ofCfnTopicRuleMixinProps.getRuleName()- Parameters:
ruleName- The name of the rule.- Returns:
this
-
tags
Sets the value ofCfnTopicRuleMixinProps.getTags()- Parameters:
tags- Metadata which can be used to manage the topic rule.For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: --tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
- Returns:
this
-
topicRulePayload
@Stability(Stable) public CfnTopicRuleMixinProps.Builder topicRulePayload(IResolvable topicRulePayload) Sets the value ofCfnTopicRuleMixinProps.getTopicRulePayload()- Parameters:
topicRulePayload- The rule payload.- Returns:
this
-
topicRulePayload
@Stability(Stable) public CfnTopicRuleMixinProps.Builder topicRulePayload(CfnTopicRulePropsMixin.TopicRulePayloadProperty topicRulePayload) Sets the value ofCfnTopicRuleMixinProps.getTopicRulePayload()- Parameters:
topicRulePayload- The rule payload.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTopicRuleMixinProps>- Returns:
- a new instance of
CfnTopicRuleMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-