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