Interface Slot.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Slot.Builder,,Slot> SdkBuilder<Slot.Builder,,Slot> SdkPojo
- Enclosing class:
Slot
-
Method Summary
Modifier and TypeMethodDescriptionWhen theshapevalue isList, it indicates that thevaluesfield contains a list of slot values.When theshapevalue isList, it indicates that thevaluesfield contains a list of slot values.The constituent sub slots of a composite slot.default Slot.Buildervalue(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
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
-
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.Builderavoiding the need to create one manually viaValue.builder().When the
Consumercompletes,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
shapevalue isList, 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 theshapevalue 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
shapevalue isList, 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 theshapevalue 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:
-
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.Builderavoiding the need to create one manually viaSlot.builder().When the
Consumercompletes,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.
-