Interface GrammarSlotTypeSetting.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GrammarSlotTypeSetting.Builder,GrammarSlotTypeSetting>,SdkBuilder<GrammarSlotTypeSetting.Builder,GrammarSlotTypeSetting>,SdkPojo
- Enclosing class:
- GrammarSlotTypeSetting
public static interface GrammarSlotTypeSetting.Builder extends SdkPojo, CopyableBuilder<GrammarSlotTypeSetting.Builder,GrammarSlotTypeSetting>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GrammarSlotTypeSetting.Buildersource(Consumer<GrammarSlotTypeSource.Builder> source)The source of the grammar used to create the slot type.GrammarSlotTypeSetting.Buildersource(GrammarSlotTypeSource source)The source of the grammar used to create the slot type.-
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 Detail
-
source
GrammarSlotTypeSetting.Builder source(GrammarSlotTypeSource source)
The source of the grammar used to create the slot type.
- Parameters:
source- The source of the grammar used to create the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
default GrammarSlotTypeSetting.Builder source(Consumer<GrammarSlotTypeSource.Builder> source)
The source of the grammar used to create the slot type.
This is a convenience method that creates an instance of theGrammarSlotTypeSource.Builderavoiding the need to create one manually viaGrammarSlotTypeSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(GrammarSlotTypeSource).- Parameters:
source- a consumer that will call methods onGrammarSlotTypeSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
source(GrammarSlotTypeSource)
-
-