Class TopicRuleReference.Builder
java.lang.Object
software.amazon.awscdk.services.iot.TopicRuleReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TopicRuleReference>
- Enclosing interface:
TopicRuleReference
@Stability(Stable)
public static final class TopicRuleReference.Builder
extends Object
implements software.amazon.jsii.Builder<TopicRuleReference>
A builder for
TopicRuleReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofTopicRuleReference.getRuleName()
topicRuleArn
(String topicRuleArn) Sets the value ofTopicRuleReference.getTopicRuleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ruleName
Sets the value ofTopicRuleReference.getRuleName()
- Parameters:
ruleName
- The RuleName of the TopicRule resource. This parameter is required.- Returns:
this
-
topicRuleArn
Sets the value ofTopicRuleReference.getTopicRuleArn()
- Parameters:
topicRuleArn
- The ARN of the TopicRule resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<TopicRuleReference>
- Returns:
- a new instance of
TopicRuleReference
- Throws:
NullPointerException
- if any required attribute was not provided
-