public static interface Slot.Builder extends SdkPojo, CopyableBuilder<Slot.Builder,Slot>
| Modifier and Type | Method and Description |
|---|---|
Slot.Builder |
shape(Shape shape)
When the
shape value is List, it indicates that the values field
contains a list of slot values. |
Slot.Builder |
shape(String shape)
When the
shape value is List, it indicates that the values field
contains a list of slot values. |
default Slot.Builder |
value(Consumer<Value.Builder> value)
The current value of the slot.
|
Slot.Builder |
value(Value value)
The current value of the slot.
|
Slot.Builder |
values(Collection<Slot> values)
A list of one or more values that the user provided for the slot.
|
Slot.Builder |
values(Consumer<Slot.Builder>... values)
A list of one or more values that the user provided for the slot.
|
Slot.Builder |
values(Slot... values)
A list of one or more values that the user provided for the slot.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSlot.Builder value(Value value)
The current value of the slot.
value - The current value of the slot.default Slot.Builder value(Consumer<Value.Builder> value)
The current value of the slot.
This is a convenience that creates an instance of theValue.Builder avoiding the need to create one
manually via Value.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to value(Value).value - a consumer that will call methods on Value.Buildervalue(Value)Slot.Builder shape(String shape)
When the shape value is List, it indicates that the values field
contains a list of slot values. When the value is Scalar, it indicates that the
value field contains a single value.
shape - When the shape value is List, it indicates that the values
field contains a list of slot values. When the value is Scalar, it indicates that the
value field contains a single value.Shape,
ShapeSlot.Builder shape(Shape shape)
When the shape value is List, it indicates that the values field
contains a list of slot values. When the value is Scalar, it indicates that the
value field contains a single value.
shape - When the shape value is List, it indicates that the values
field contains a list of slot values. When the value is Scalar, it indicates that the
value field contains a single value.Shape,
ShapeSlot.Builder values(Collection<Slot> 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."
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."Slot.Builder values(Slot... 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."
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."Slot.Builder values(Consumer<Slot.Builder>... 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 that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #values(List) .values - a consumer that will call methods on List.Builder #values(List) Copyright © 2022. All rights reserved.