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