public static interface GrammarSlotTypeSetting.Builder extends SdkPojo, CopyableBuilder<GrammarSlotTypeSetting.Builder,GrammarSlotTypeSetting>
| Modifier and Type | Method and Description |
|---|---|
default GrammarSlotTypeSetting.Builder |
source(Consumer<GrammarSlotTypeSource.Builder> source)
The source of the grammar used to create the slot type.
|
GrammarSlotTypeSetting.Builder |
source(GrammarSlotTypeSource source)
The source of the grammar used to create the slot type.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGrammarSlotTypeSetting.Builder source(GrammarSlotTypeSource source)
The source of the grammar used to create the slot type.
source - The source of the grammar used to create the slot type.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.Builder avoiding
the need to create one manually via GrammarSlotTypeSource.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to source(GrammarSlotTypeSource).
source - a consumer that will call methods on GrammarSlotTypeSource.Buildersource(GrammarSlotTypeSource)Copyright © 2022. All rights reserved.