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