Class CfnTopicMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnTopicMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicMixinProps>
- Enclosing interface:
CfnTopicMixinProps
@Stability(Stable)
public static final class CfnTopicMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicMixinProps>
A builder for
CfnTopicMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) Sets the value ofCfnTopicMixinProps.getAwsAccountId()build()Builds the configured instance.configOptions(CfnTopicPropsMixin.TopicConfigOptionsProperty configOptions) Sets the value ofCfnTopicMixinProps.getConfigOptions()configOptions(IResolvable configOptions) Sets the value ofCfnTopicMixinProps.getConfigOptions()customInstructions(CfnTopicPropsMixin.CustomInstructionsProperty customInstructions) Sets the value ofCfnTopicMixinProps.getCustomInstructions()customInstructions(IResolvable customInstructions) Sets the value ofCfnTopicMixinProps.getCustomInstructions()Sets the value ofCfnTopicMixinProps.getDataSets()dataSets(IResolvable dataSets) Sets the value ofCfnTopicMixinProps.getDataSets()description(String description) Sets the value ofCfnTopicMixinProps.getDescription()folderArns(List<String> folderArns) Sets the value ofCfnTopicMixinProps.getFolderArns()Sets the value ofCfnTopicMixinProps.getName()Sets the value ofCfnTopicMixinProps.getTags()Sets the value ofCfnTopicMixinProps.getTopicId()userExperienceVersion(String userExperienceVersion) Sets the value ofCfnTopicMixinProps.getUserExperienceVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsAccountId
Sets the value ofCfnTopicMixinProps.getAwsAccountId()- Parameters:
awsAccountId- The ID of the AWS account that you want to create a topic in.- Returns:
this
-
configOptions
Sets the value ofCfnTopicMixinProps.getConfigOptions()- Parameters:
configOptions- Configuration options for aTopic.- Returns:
this
-
configOptions
@Stability(Stable) public CfnTopicMixinProps.Builder configOptions(CfnTopicPropsMixin.TopicConfigOptionsProperty configOptions) Sets the value ofCfnTopicMixinProps.getConfigOptions()- Parameters:
configOptions- Configuration options for aTopic.- Returns:
this
-
customInstructions
@Stability(Stable) public CfnTopicMixinProps.Builder customInstructions(IResolvable customInstructions) Sets the value ofCfnTopicMixinProps.getCustomInstructions()- Parameters:
customInstructions- the value to be set.- Returns:
this
-
customInstructions
@Stability(Stable) public CfnTopicMixinProps.Builder customInstructions(CfnTopicPropsMixin.CustomInstructionsProperty customInstructions) Sets the value ofCfnTopicMixinProps.getCustomInstructions()- Parameters:
customInstructions- the value to be set.- Returns:
this
-
dataSets
Sets the value ofCfnTopicMixinProps.getDataSets()- Parameters:
dataSets- The data sets that the topic is associated with.- Returns:
this
-
dataSets
Sets the value ofCfnTopicMixinProps.getDataSets()- Parameters:
dataSets- The data sets that the topic is associated with.- Returns:
this
-
description
Sets the value ofCfnTopicMixinProps.getDescription()- Parameters:
description- The description of the topic.- Returns:
this
-
folderArns
Sets the value ofCfnTopicMixinProps.getFolderArns()- Parameters:
folderArns- the value to be set.- Returns:
this
-
name
Sets the value ofCfnTopicMixinProps.getName()- Parameters:
name- The name of the topic.- Returns:
this
-
tags
Sets the value ofCfnTopicMixinProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
topicId
Sets the value ofCfnTopicMixinProps.getTopicId()- Parameters:
topicId- The ID for the topic. This ID is unique per AWS Region for each AWS account.- Returns:
this
-
userExperienceVersion
@Stability(Stable) public CfnTopicMixinProps.Builder userExperienceVersion(String userExperienceVersion) Sets the value ofCfnTopicMixinProps.getUserExperienceVersion()- Parameters:
userExperienceVersion- The user experience version of the topic.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTopicMixinProps>- Returns:
- a new instance of
CfnTopicMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-