Class CfnVocabularyMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnVocabularyMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVocabularyMixinProps>
- Enclosing interface:
CfnVocabularyMixinProps
@Stability(Stable)
public static final class CfnVocabularyMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVocabularyMixinProps>
A builder for
CfnVocabularyMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnVocabularyMixinProps.getContent()instanceId(String instanceId) Sets the value ofCfnVocabularyMixinProps.getInstanceId()languageCode(String languageCode) Sets the value ofCfnVocabularyMixinProps.getLanguageCode()Sets the value ofCfnVocabularyMixinProps.getTags()vocabularyName(String vocabularyName) Sets the value ofCfnVocabularyMixinProps.getVocabularyName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
content
Sets the value ofCfnVocabularyMixinProps.getContent()- Parameters:
content- The content of the custom vocabulary in plain-text format with a table of values.- Returns:
this
-
instanceId
Sets the value ofCfnVocabularyMixinProps.getInstanceId()- Parameters:
instanceId- The identifier of the Amazon Connect instance.- Returns:
this
-
languageCode
Sets the value ofCfnVocabularyMixinProps.getLanguageCode()- Parameters:
languageCode- The language code of the vocabulary entries.- Returns:
this
-
tags
Sets the value ofCfnVocabularyMixinProps.getTags()- Parameters:
tags- The tags used to organize, track, or control access for this resource.- Returns:
this
-
vocabularyName
Sets the value ofCfnVocabularyMixinProps.getVocabularyName()- Parameters:
vocabularyName- A unique name of the custom vocabulary.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVocabularyMixinProps>- Returns:
- a new instance of
CfnVocabularyMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-