Interface TestExecutionTarget.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TestExecutionTarget.Builder,
,TestExecutionTarget> SdkBuilder<TestExecutionTarget.Builder,
,TestExecutionTarget> SdkPojo
- Enclosing class:
TestExecutionTarget
public static interface TestExecutionTarget.Builder
extends SdkPojo, CopyableBuilder<TestExecutionTarget.Builder,TestExecutionTarget>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TestExecutionTarget.Builder
botAliasTarget
(Consumer<BotAliasTestExecutionTarget.Builder> botAliasTarget) Contains information about the bot alias used for the test execution.botAliasTarget
(BotAliasTestExecutionTarget botAliasTarget) Contains information about the bot alias used for the test execution.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 Details
-
botAliasTarget
Contains information about the bot alias used for the test execution.
- Parameters:
botAliasTarget
- Contains information about the bot alias used for the test execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botAliasTarget
default TestExecutionTarget.Builder botAliasTarget(Consumer<BotAliasTestExecutionTarget.Builder> botAliasTarget) Contains information about the bot alias used for the test execution.
This is a convenience method that creates an instance of theBotAliasTestExecutionTarget.Builder
avoiding the need to create one manually viaBotAliasTestExecutionTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobotAliasTarget(BotAliasTestExecutionTarget)
.- Parameters:
botAliasTarget
- a consumer that will call methods onBotAliasTestExecutionTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-