Interface DescribeVocabularyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectResponse.Builder
,CopyableBuilder<DescribeVocabularyResponse.Builder,
,DescribeVocabularyResponse> SdkBuilder<DescribeVocabularyResponse.Builder,
,DescribeVocabularyResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeVocabularyResponse
@Mutable
@NotThreadSafe
public static interface DescribeVocabularyResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<DescribeVocabularyResponse.Builder,DescribeVocabularyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionvocabulary
(Consumer<Vocabulary.Builder> vocabulary) A list of specific words that you want Contact Lens for Amazon Connect to recognize in your audio input.vocabulary
(Vocabulary vocabulary) A list of specific words that you want Contact Lens for Amazon Connect to recognize in your audio input.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadata
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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
vocabulary
A list of specific words that you want Contact Lens for Amazon Connect to recognize in your audio input. They are generally domain-specific words and phrases, words that Contact Lens is not recognizing, or proper nouns.
- Parameters:
vocabulary
- A list of specific words that you want Contact Lens for Amazon Connect to recognize in your audio input. They are generally domain-specific words and phrases, words that Contact Lens is not recognizing, or proper nouns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vocabulary
A list of specific words that you want Contact Lens for Amazon Connect to recognize in your audio input. They are generally domain-specific words and phrases, words that Contact Lens is not recognizing, or proper nouns.
This is a convenience method that creates an instance of theVocabulary.Builder
avoiding the need to create one manually viaVocabulary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovocabulary(Vocabulary)
.- Parameters:
vocabulary
- a consumer that will call methods onVocabulary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-