Interface DescribeVocabularyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<DescribeVocabularyResponse.Builder,,DescribeVocabularyResponse> SdkBuilder<DescribeVocabularyResponse.Builder,,DescribeVocabularyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeVocabularyResponse
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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaVocabulary.builder().When the
Consumercompletes,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:
-