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.configOptions(IResolvable configOptions) Sets the value ofCfnTopicProps.getConfigOptions()configOptions(CfnTopic.TopicConfigOptionsProperty configOptions) Sets the value ofCfnTopicProps.getConfigOptions()customInstructions(IResolvable customInstructions) Sets the value ofCfnTopicProps.getCustomInstructions()customInstructions(CfnTopic.CustomInstructionsProperty customInstructions) Sets the value ofCfnTopicProps.getCustomInstructions()Sets the value ofCfnTopicProps.getDataSets()dataSets(IResolvable dataSets) Sets the value ofCfnTopicProps.getDataSets()description(String description) Sets the value ofCfnTopicProps.getDescription()folderArns(List<String> folderArns) Sets the value ofCfnTopicProps.getFolderArns()Sets the value ofCfnTopicProps.getName()Sets the value ofCfnTopicProps.getTags()Sets the value ofCfnTopicProps.getTopicId()userExperienceVersion(String userExperienceVersion) Sets the value ofCfnTopicProps.getUserExperienceVersion()
-
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
-
configOptions
Sets the value ofCfnTopicProps.getConfigOptions()- Parameters:
configOptions- Configuration options for aTopic.- Returns:
this
-
configOptions
@Stability(Stable) public CfnTopicProps.Builder configOptions(CfnTopic.TopicConfigOptionsProperty configOptions) Sets the value ofCfnTopicProps.getConfigOptions()- Parameters:
configOptions- Configuration options for aTopic.- Returns:
this
-
customInstructions
Sets the value ofCfnTopicProps.getCustomInstructions()- Parameters:
customInstructions- the value to be set.- Returns:
this
-
customInstructions
@Stability(Stable) public CfnTopicProps.Builder customInstructions(CfnTopic.CustomInstructionsProperty customInstructions) Sets the value ofCfnTopicProps.getCustomInstructions()- Parameters:
customInstructions- the value to be set.- 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
-
folderArns
Sets the value ofCfnTopicProps.getFolderArns()- Parameters:
folderArns- the value to be set.- Returns:
this
-
name
Sets the value ofCfnTopicProps.getName()- Parameters:
name- The name of the topic.- Returns:
this
-
tags
Sets the value ofCfnTopicProps.getTags()- Parameters:
tags- the value to be set.- 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
-
userExperienceVersion
Sets the value ofCfnTopicProps.getUserExperienceVersion()- Parameters:
userExperienceVersion- The user experience version of the topic.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTopicProps>- Returns:
- a new instance of
CfnTopicProps - Throws:
NullPointerException- if any required attribute was not provided
-