Interface SlotValueOverride.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SlotValueOverride.Builder,,SlotValueOverride> SdkBuilder<SlotValueOverride.Builder,,SlotValueOverride> SdkPojo
- Enclosing class:
SlotValueOverride
-
Method Summary
Modifier and TypeMethodDescriptionWhen the shape value isList, it indicates that thevaluesfield contains a list of slot values.When the shape value isList, it indicates that thevaluesfield contains a list of slot values.default SlotValueOverride.Buildervalue(Consumer<SlotValue.Builder> value) The current value of the slot.The current value of the slot.values(Collection<SlotValueOverride> values) A list of one or more values that the user provided for the slot.values(Consumer<SlotValueOverride.Builder>... values) A list of one or more values that the user provided for the slot.values(SlotValueOverride... values) A list of one or more values that the user provided for the slot.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
-
shape
When the shape value is
List, it indicates that thevaluesfield contains a list of slot values. When the value isScalar, it indicates that thevaluefield contains a single value.- Parameters:
shape- When the shape value isList, it indicates that thevaluesfield contains a list of slot values. When the value isScalar, it indicates that thevaluefield contains a single value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
shape
When the shape value is
List, it indicates that thevaluesfield contains a list of slot values. When the value isScalar, it indicates that thevaluefield contains a single value.- Parameters:
shape- When the shape value isList, it indicates that thevaluesfield contains a list of slot values. When the value isScalar, it indicates that thevaluefield contains a single value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
value
The current value of the slot.
- Parameters:
value- The current value of the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The current value of the slot.
This is a convenience method that creates an instance of theSlotValue.Builderavoiding the need to create one manually viaSlotValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalue(SlotValue).- Parameters:
value- a consumer that will call methods onSlotValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
values
A list of one or more values that the user provided for the slot. For example, for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."
- Parameters:
values- A list of one or more values that the user provided for the slot. For example, for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
A list of one or more values that the user provided for the slot. For example, for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."
- Parameters:
values- A list of one or more values that the user provided for the slot. For example, for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
A list of one or more values that the user provided for the slot. For example, for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."
This is a convenience method that creates an instance of theSlotValueOverride.Builderavoiding the need to create one manually viaSlotValueOverride.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalues(List<SlotValueOverride>).- Parameters:
values- a consumer that will call methods onSlotValueOverride.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-