Class TopicReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.quicksight.TopicReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TopicReference>
- Enclosing interface:
TopicReference
@Stability(Stable)
public static final class TopicReference.Builder
extends Object
implements software.amazon.jsii.Builder<TopicReference>
A builder for
TopicReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) Sets the value ofTopicReference.getAwsAccountId()build()Builds the configured instance.Sets the value ofTopicReference.getTopicArn()Sets the value ofTopicReference.getTopicId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsAccountId
Sets the value ofTopicReference.getAwsAccountId()- Parameters:
awsAccountId- The AwsAccountId of the Topic resource. This parameter is required.- Returns:
this
-
topicArn
Sets the value ofTopicReference.getTopicArn()- Parameters:
topicArn- The ARN of the Topic resource. This parameter is required.- Returns:
this
-
topicId
Sets the value ofTopicReference.getTopicId()- Parameters:
topicId- The TopicId of the Topic resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TopicReference>- Returns:
- a new instance of
TopicReference - Throws:
NullPointerException- if any required attribute was not provided
-