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
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, 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.Builderavoiding the need to create one manually viaStep.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-