Interface Specifications.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Specifications.Builder,
,Specifications> SdkBuilder<Specifications.Builder,
,Specifications> SdkPojo
- Enclosing class:
Specifications
@Mutable
@NotThreadSafe
public static interface Specifications.Builder
extends SdkPojo, CopyableBuilder<Specifications.Builder,Specifications>
-
Method Summary
Modifier and TypeMethodDescriptionslotTypeId
(String slotTypeId) The unique identifier assigned to the slot type.default Specifications.Builder
valueElicitationSetting
(Consumer<SubSlotValueElicitationSetting.Builder> valueElicitationSetting) Specifies the elicitation setting details for constituent sub slots of a composite slot.valueElicitationSetting
(SubSlotValueElicitationSetting valueElicitationSetting) Specifies the elicitation setting details for constituent sub slots of a composite slot.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, sdkFieldNameToField, sdkFields
-
Method Details
-
slotTypeId
The unique identifier assigned to the slot type.
- Parameters:
slotTypeId
- The unique identifier assigned to the slot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueElicitationSetting
Specifications.Builder valueElicitationSetting(SubSlotValueElicitationSetting valueElicitationSetting) Specifies the elicitation setting details for constituent sub slots of a composite slot.
- Parameters:
valueElicitationSetting
- Specifies the elicitation setting details for constituent sub slots of a composite slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueElicitationSetting
default Specifications.Builder valueElicitationSetting(Consumer<SubSlotValueElicitationSetting.Builder> valueElicitationSetting) Specifies the elicitation setting details for constituent sub slots of a composite slot.
This is a convenience method that creates an instance of theSubSlotValueElicitationSetting.Builder
avoiding the need to create one manually viaSubSlotValueElicitationSetting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalueElicitationSetting(SubSlotValueElicitationSetting)
.- Parameters:
valueElicitationSetting
- a consumer that will call methods onSubSlotValueElicitationSetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-