Class CfnTopicRule.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnTopicRule.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicRule>
- Enclosing class:
CfnTopicRule
@Stability(Stable)
public static final class CfnTopicRule.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicRule>
A fluent builder for
CfnTopicRule.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnTopicRule.BuilderThe name of the rule.Metadata which can be used to manage the topic rule.topicRulePayload(IResolvable topicRulePayload) The rule payload.topicRulePayload(CfnTopicRule.TopicRulePayloadProperty topicRulePayload) The rule payload.
-
Method Details
-
create
@Stability(Stable) public static CfnTopicRule.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnTopicRule.Builder.
-
topicRulePayload
The rule payload.- Parameters:
topicRulePayload- The rule payload. This parameter is required.- Returns:
this- See Also:
-
topicRulePayload
@Stability(Stable) public CfnTopicRule.Builder topicRulePayload(CfnTopicRule.TopicRulePayloadProperty topicRulePayload) The rule payload.- Parameters:
topicRulePayload- The rule payload. This parameter is required.- Returns:
this- See Also:
-
ruleName
The name of the rule.- Parameters:
ruleName- The name of the rule. This parameter is required.- Returns:
this- See Also:
-
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..."
- Parameters:
tags- Metadata which can be used to manage the topic rule. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTopicRule>- Returns:
- a newly built instance of
CfnTopicRule.
-