Class TopicInlinePolicyReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.sns.TopicInlinePolicyReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TopicInlinePolicyReference>
- Enclosing interface:
TopicInlinePolicyReference
@Stability(Stable)
public static final class TopicInlinePolicyReference.Builder
extends Object
implements software.amazon.jsii.Builder<TopicInlinePolicyReference>
A builder for
TopicInlinePolicyReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofTopicInlinePolicyReference.getTopicArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
topicArn
Sets the value ofTopicInlinePolicyReference.getTopicArn()- Parameters:
topicArn- The TopicArn of the TopicInlinePolicy resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TopicInlinePolicyReference>- Returns:
- a new instance of
TopicInlinePolicyReference - Throws:
NullPointerException- if any required attribute was not provided
-