Interface LexiconDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LexiconDescription.Builder,
,LexiconDescription> SdkBuilder<LexiconDescription.Builder,
,LexiconDescription> SdkPojo
- Enclosing class:
LexiconDescription
public static interface LexiconDescription.Builder
extends SdkPojo, CopyableBuilder<LexiconDescription.Builder,LexiconDescription>
-
Method Summary
Modifier and TypeMethodDescriptiondefault LexiconDescription.Builder
attributes
(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
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 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.Builder
avoiding the need to create one manually viaLexiconAttributes.builder()
.When the
Consumer
completes,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:
-