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