Interface TestExecutionTarget.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TestExecutionTarget.Builder,,TestExecutionTarget> SdkBuilder<TestExecutionTarget.Builder,,TestExecutionTarget> SdkPojo
- Enclosing class:
TestExecutionTarget
@Mutable
@NotThreadSafe
public static interface TestExecutionTarget.Builder
extends SdkPojo, CopyableBuilder<TestExecutionTarget.Builder,TestExecutionTarget>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TestExecutionTarget.BuilderbotAliasTarget(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
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
-
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.Builderavoiding the need to create one manually viaBotAliasTestExecutionTarget.builder().When the
Consumercompletes,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:
-