Interface SlotResolutionTestResultItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SlotResolutionTestResultItem.Builder,
,SlotResolutionTestResultItem> SdkBuilder<SlotResolutionTestResultItem.Builder,
,SlotResolutionTestResultItem> SdkPojo
- Enclosing class:
SlotResolutionTestResultItem
@Mutable
@NotThreadSafe
public static interface SlotResolutionTestResultItem.Builder
extends SdkPojo, CopyableBuilder<SlotResolutionTestResultItem.Builder,SlotResolutionTestResultItem>
-
Method Summary
Modifier and TypeMethodDescriptionresultCounts
(Consumer<SlotResolutionTestResultItemCounts.Builder> resultCounts) A result for slot resolution in the results of a test execution.resultCounts
(SlotResolutionTestResultItemCounts resultCounts) A result for slot resolution in the results of a test execution.The name of 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, sdkFieldNameToField, sdkFields
-
Method Details
-
slotName
The name of the slot.
- Parameters:
slotName
- The name of the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultCounts
A result for slot resolution in the results of a test execution.
- Parameters:
resultCounts
- A result for slot resolution in the results of a test execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultCounts
default SlotResolutionTestResultItem.Builder resultCounts(Consumer<SlotResolutionTestResultItemCounts.Builder> resultCounts) A result for slot resolution in the results of a test execution.
This is a convenience method that creates an instance of theSlotResolutionTestResultItemCounts.Builder
avoiding the need to create one manually viaSlotResolutionTestResultItemCounts.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresultCounts(SlotResolutionTestResultItemCounts)
.- Parameters:
resultCounts
- a consumer that will call methods onSlotResolutionTestResultItemCounts.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-