Interface Slot.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Slot.Builder,
,Slot> SdkBuilder<Slot.Builder,
,Slot> SdkPojo
- Enclosing class:
Slot
-
Method Summary
Modifier and TypeMethodDescriptionWhen theshape
value isList
, it indicates that thevalues
field contains a list of slot values.When theshape
value isList
, it indicates that thevalues
field contains a list of slot values.The constituent sub slots of a composite slot.default Slot.Builder
value
(Consumer<Value.Builder> value) The current value of the slot.The current value of the slot.values
(Collection<Slot> values) A list of one or more values that the user provided for the slot.values
(Consumer<Slot.Builder>... values) A list of one or more values that the user provided for the slot.A list of one or more values that the user provided for the 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, sdkFields
-
Method Details
-
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 theValue.Builder
avoiding the need to create one manually viaValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalue(Value)
.- Parameters:
value
- a consumer that will call methods onValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
shape
When the
shape
value isList
, it indicates that thevalues
field contains a list of slot values. When the value isScalar
, it indicates that thevalue
field contains a single value.- Parameters:
shape
- When theshape
value isList
, it indicates that thevalues
field contains a list of slot values. When the value isScalar
, it indicates that thevalue
field 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 isList
, it indicates that thevalues
field contains a list of slot values. When the value isScalar
, it indicates that thevalue
field contains a single value.- Parameters:
shape
- When theshape
value isList
, it indicates that thevalues
field contains a list of slot values. When the value isScalar
, it indicates that thevalue
field contains a single value.- 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, if a 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, if a 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, if a 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, if a 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, if a for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."
This is a convenience method that creates an instance of theSlot.Builder
avoiding the need to create one manually viaSlot.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalues(List<Slot>)
.- Parameters:
values
- a consumer that will call methods onSlot.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subSlots
The constituent sub slots of a composite slot.
- Parameters:
subSlots
- The constituent sub slots of a composite slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-