Interface IntentLevelSlotResolutionTestResults.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IntentLevelSlotResolutionTestResults.Builder,,IntentLevelSlotResolutionTestResults> SdkBuilder<IntentLevelSlotResolutionTestResults.Builder,,IntentLevelSlotResolutionTestResults> SdkPojo
- Enclosing class:
IntentLevelSlotResolutionTestResults
@Mutable
@NotThreadSafe
public static interface IntentLevelSlotResolutionTestResults.Builder
extends SdkPojo, CopyableBuilder<IntentLevelSlotResolutionTestResults.Builder,IntentLevelSlotResolutionTestResults>
-
Method Summary
Modifier and TypeMethodDescriptionIndicates the items for the slot level resolution for the intents.Indicates the items for the slot level resolution for the intents.items(IntentLevelSlotResolutionTestResultItem... items) Indicates the items for the slot level resolution for the intents.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
-
items
IntentLevelSlotResolutionTestResults.Builder items(Collection<IntentLevelSlotResolutionTestResultItem> items) Indicates the items for the slot level resolution for the intents.
- Parameters:
items- Indicates the items for the slot level resolution for the intents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
IntentLevelSlotResolutionTestResults.Builder items(IntentLevelSlotResolutionTestResultItem... items) Indicates the items for the slot level resolution for the intents.
- Parameters:
items- Indicates the items for the slot level resolution for the intents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
IntentLevelSlotResolutionTestResults.Builder items(Consumer<IntentLevelSlotResolutionTestResultItem.Builder>... items) Indicates the items for the slot level resolution for the intents.
This is a convenience method that creates an instance of theIntentLevelSlotResolutionTestResultItem.Builderavoiding the need to create one manually viaIntentLevelSlotResolutionTestResultItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<IntentLevelSlotResolutionTestResultItem>).- Parameters:
items- a consumer that will call methods onIntentLevelSlotResolutionTestResultItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-