Interface SlotResolutionTestResultItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SlotResolutionTestResultItem.Builder,SlotResolutionTestResultItem>,SdkBuilder<SlotResolutionTestResultItem.Builder,SlotResolutionTestResultItem>,SdkPojo
- Enclosing class:
- SlotResolutionTestResultItem
public static interface SlotResolutionTestResultItem.Builder extends SdkPojo, CopyableBuilder<SlotResolutionTestResultItem.Builder,SlotResolutionTestResultItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SlotResolutionTestResultItem.BuilderresultCounts(Consumer<SlotResolutionTestResultItemCounts.Builder> resultCounts)A result for slot resolution in the results of a test execution.SlotResolutionTestResultItem.BuilderresultCounts(SlotResolutionTestResultItemCounts resultCounts)A result for slot resolution in the results of a test execution.SlotResolutionTestResultItem.BuilderslotName(String slotName)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, sdkFields
-
-
-
-
Method Detail
-
slotName
SlotResolutionTestResultItem.Builder slotName(String 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
SlotResolutionTestResultItem.Builder resultCounts(SlotResolutionTestResultItemCounts 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.Builderavoiding the need to create one manually viaSlotResolutionTestResultItemCounts.builder().When the
Consumercompletes,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:
resultCounts(SlotResolutionTestResultItemCounts)
-
-