Interface CreateVocabularyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<CreateVocabularyRequest.Builder,CreateVocabularyRequest>,SdkBuilder<CreateVocabularyRequest.Builder,CreateVocabularyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateVocabularyRequest
public static interface CreateVocabularyRequest.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<CreateVocabularyRequest.Builder,CreateVocabularyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateVocabularyRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.CreateVocabularyRequest.Buildercontent(String content)The content of the custom vocabulary in plain-text format with a table of values.CreateVocabularyRequest.BuilderinstanceId(String instanceId)The identifier of the Amazon Connect instance.CreateVocabularyRequest.BuilderlanguageCode(String languageCode)The language code of the vocabulary entries.CreateVocabularyRequest.BuilderlanguageCode(VocabularyLanguageCode languageCode)The language code of the vocabulary entries.CreateVocabularyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateVocabularyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateVocabularyRequest.Buildertags(Map<String,String> tags)The tags used to organize, track, or control access for this resource.CreateVocabularyRequest.BuildervocabularyName(String vocabularyName)A unique name of the custom vocabulary.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
clientToken
CreateVocabularyRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. If a create request is received more than once with same client token, subsequent requests return the previous response without creating a vocabulary again.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. If a create request is received more than once with same client token, subsequent requests return the previous response without creating a vocabulary again.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
CreateVocabularyRequest.Builder instanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId- The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vocabularyName
CreateVocabularyRequest.Builder vocabularyName(String vocabularyName)
A unique name of the custom vocabulary.
- Parameters:
vocabularyName- A unique name of the custom vocabulary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
languageCode
CreateVocabularyRequest.Builder languageCode(String languageCode)
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
- Parameters:
languageCode- The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VocabularyLanguageCode,VocabularyLanguageCode
-
languageCode
CreateVocabularyRequest.Builder languageCode(VocabularyLanguageCode languageCode)
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
- Parameters:
languageCode- The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VocabularyLanguageCode,VocabularyLanguageCode
-
content
CreateVocabularyRequest.Builder content(String content)
The content of the custom vocabulary in plain-text format with a table of values. Each row in the table represents a word or a phrase, described with
Phrase,IPA,SoundsLike, andDisplayAsfields. Separate the fields with TAB characters. The size limit is 50KB. For more information, see Create a custom vocabulary using a table.- Parameters:
content- The content of the custom vocabulary in plain-text format with a table of values. Each row in the table represents a word or a phrase, described withPhrase,IPA,SoundsLike, andDisplayAsfields. Separate the fields with TAB characters. The size limit is 50KB. For more information, see Create a custom vocabulary using a table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateVocabularyRequest.Builder tags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- Parameters:
tags- The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateVocabularyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateVocabularyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-