Interface LexiconDescription.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LexiconDescription.Builder,,LexiconDescription> SdkBuilder<LexiconDescription.Builder,,LexiconDescription> SdkPojo
- Enclosing class:
LexiconDescription
@Mutable
@NotThreadSafe
public static interface LexiconDescription.Builder
extends SdkPojo, CopyableBuilder<LexiconDescription.Builder,LexiconDescription>
-
Method Summary
Modifier and TypeMethodDescriptiondefault LexiconDescription.Builderattributes(Consumer<LexiconAttributes.Builder> attributes) Provides lexicon metadata.attributes(LexiconAttributes attributes) Provides lexicon metadata.Name of the lexicon.Methods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
name
Name of the lexicon.
- Parameters:
name- Name of the lexicon.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Provides lexicon metadata.
- Parameters:
attributes- Provides lexicon metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Provides lexicon metadata.
This is a convenience method that creates an instance of theLexiconAttributes.Builderavoiding the need to create one manually viaLexiconAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributes(LexiconAttributes).- Parameters:
attributes- a consumer that will call methods onLexiconAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-