Interface CreateTestCaseRequest.Builder
- All Superinterfaces:
AppTestRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateTestCaseRequest.Builder,
,CreateTestCaseRequest> SdkBuilder<CreateTestCaseRequest.Builder,
,CreateTestCaseRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateTestCaseRequest
public static interface CreateTestCaseRequest.Builder
extends AppTestRequest.Builder, SdkPojo, CopyableBuilder<CreateTestCaseRequest.Builder,CreateTestCaseRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) The client token of the test case.description
(String description) The description of the test case.The name of the test case.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.steps
(Collection<Step> steps) The steps in the test case.steps
(Consumer<Step.Builder>... steps) The steps in the test case.The steps in the test case.The specified tags of the test case.Methods inherited from interface software.amazon.awssdk.services.apptest.model.AppTestRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
-
name
The name of the test case.
- Parameters:
name
- The name of the test case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the test case.
- Parameters:
description
- The description of the test case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
The steps in the test case.
- Parameters:
steps
- The steps in the test case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
The steps in the test case.
- Parameters:
steps
- The steps in the test case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
The steps in the test case.
This is a convenience method that creates an instance of theStep.Builder
avoiding the need to create one manually viaStep.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosteps(List<Step>)
.- Parameters:
steps
- a consumer that will call methods onStep.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
The client token of the test case.
- Parameters:
clientToken
- The client token of the test case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The specified tags of the test case.
- Parameters:
tags
- The specified tags of the test case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateTestCaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateTestCaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-