Class CfnTopicProps.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTopicProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicProps>
- Enclosing interface:
- CfnTopicProps
@Stability(Stable)
public static final class CfnTopicProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicProps>
A builder for
CfnTopicProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsAccountId
(String awsAccountId) Sets the value ofCfnTopicProps.getAwsAccountId()
build()
Builds the configured instance.Sets the value ofCfnTopicProps.getDataSets()
dataSets
(IResolvable dataSets) Sets the value ofCfnTopicProps.getDataSets()
description
(String description) Sets the value ofCfnTopicProps.getDescription()
Sets the value ofCfnTopicProps.getName()
Sets the value ofCfnTopicProps.getTopicId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsAccountId
Sets the value ofCfnTopicProps.getAwsAccountId()
- Parameters:
awsAccountId
- The ID of the AWS account that you want to create a topic in.- Returns:
this
-
dataSets
Sets the value ofCfnTopicProps.getDataSets()
- Parameters:
dataSets
- The data sets that the topic is associated with.- Returns:
this
-
dataSets
Sets the value ofCfnTopicProps.getDataSets()
- Parameters:
dataSets
- The data sets that the topic is associated with.- Returns:
this
-
description
Sets the value ofCfnTopicProps.getDescription()
- Parameters:
description
- The description of the topic.- Returns:
this
-
name
Sets the value ofCfnTopicProps.getName()
- Parameters:
name
- The name of the topic.- Returns:
this
-
topicId
Sets the value ofCfnTopicProps.getTopicId()
- Parameters:
topicId
- The ID for the topic. This ID is unique per AWS Region for each AWS account.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTopicProps>
- Returns:
- a new instance of
CfnTopicProps
- Throws:
NullPointerException
- if any required attribute was not provided
-