Interface CreateDictionaryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDictionaryRequest.Builder,,CreateDictionaryRequest> ElementalInferenceRequest.Builder,SdkBuilder<CreateDictionaryRequest.Builder,,CreateDictionaryRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateDictionaryRequest
@Mutable
@NotThreadSafe
public static interface CreateDictionaryRequest.Builder
extends ElementalInferenceRequest.Builder, SdkPojo, CopyableBuilder<CreateDictionaryRequest.Builder,CreateDictionaryRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe dictionary entries payload.The language of the dictionary entries.language(DictionaryLanguage language) The language of the dictionary entries.A user-friendly name for this dictionary.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Optional tags to associate with the dictionary.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elementalinference.model.ElementalInferenceRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
A user-friendly name for this dictionary.
- Parameters:
name- A user-friendly name for this dictionary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
language
The language of the dictionary entries. Specify the language using an ISO 639-2/T three-letter code. Supported values: eng, fra, ita, deu, spa, por.
- Parameters:
language- The language of the dictionary entries. Specify the language using an ISO 639-2/T three-letter code. Supported values: eng, fra, ita, deu, spa, por.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
language
The language of the dictionary entries. Specify the language using an ISO 639-2/T three-letter code. Supported values: eng, fra, ita, deu, spa, por.
- Parameters:
language- The language of the dictionary entries. Specify the language using an ISO 639-2/T three-letter code. Supported values: eng, fra, ita, deu, spa, por.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entries
The dictionary entries payload. Contains the custom words and phrases for the dictionary. Maximum size is 40,960 characters.
- Parameters:
entries- The dictionary entries payload. Contains the custom words and phrases for the dictionary. Maximum size is 40,960 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Optional tags to associate with the dictionary.
- Parameters:
tags- Optional tags to associate with the dictionary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDictionaryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateDictionaryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-