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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateTestCaseRequest.BuilderclientToken(String clientToken)The client token of the test case.CreateTestCaseRequest.Builderdescription(String description)The description of the test case.CreateTestCaseRequest.Buildername(String name)The name of the test case.CreateTestCaseRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateTestCaseRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateTestCaseRequest.Buildersteps(Collection<Step> steps)The steps in the test case.CreateTestCaseRequest.Buildersteps(Consumer<Step.Builder>... steps)The steps in the test case.CreateTestCaseRequest.Buildersteps(Step... steps)The steps in the test case.CreateTestCaseRequest.Buildertags(Map<String,String> tags)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
CreateTestCaseRequest.Builder name(String 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
CreateTestCaseRequest.Builder description(String 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
CreateTestCaseRequest.Builder steps(Collection<Step> 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
CreateTestCaseRequest.Builder steps(Step... 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
CreateTestCaseRequest.Builder steps(Consumer<Step.Builder>... 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 to#steps(List.) - 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:
#steps(java.util.Collection)
-
clientToken
CreateTestCaseRequest.Builder clientToken(String 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
CreateTestCaseRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateTestCaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-