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.Builder
The 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
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnTopicRule.Builder
.
-
topicRulePayload
The rule payload.- Parameters:
topicRulePayload
- The rule payload. This parameter is required.- Returns:
this
-
topicRulePayload
@Stability(Stable) public CfnTopicRule.Builder topicRulePayload(CfnTopicRule.TopicRulePayloadProperty topicRulePayload) The rule payload.- Parameters:
topicRulePayload
- The rule payload. This parameter is required.- Returns:
this
-
ruleName
The name of the rule.- Parameters:
ruleName
- The name of the rule. This parameter is required.- Returns:
this
-
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
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTopicRule>
- Returns:
- a newly built instance of
CfnTopicRule
.
-