Interface UpdateTestCaseRequest.Builder
- All Superinterfaces:
AppTestRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateTestCaseRequest.Builder,
,UpdateTestCaseRequest> SdkBuilder<UpdateTestCaseRequest.Builder,
,UpdateTestCaseRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateTestCaseRequest
@Mutable
@NotThreadSafe
public static interface UpdateTestCaseRequest.Builder
extends AppTestRequest.Builder, SdkPojo, CopyableBuilder<UpdateTestCaseRequest.Builder,UpdateTestCaseRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The description 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 of the test case.steps
(Consumer<Step.Builder>... steps) The steps of the test case.The steps of the test case.testCaseId
(String testCaseId) The test case ID 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 Details
-
testCaseId
The test case ID of the test case.
- Parameters:
testCaseId
- The test case ID 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 of the test case.
- Parameters:
steps
- The steps of the test case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
The steps of the test case.
- Parameters:
steps
- The steps of the test case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
The steps of 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:
-
overrideConfiguration
UpdateTestCaseRequest.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
UpdateTestCaseRequest.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.
-