Interface UpdateTestCaseRequest.Builder
- All Superinterfaces:
AppTestRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateTestCaseRequest.Builder,,UpdateTestCaseRequest> SdkBuilder<UpdateTestCaseRequest.Builder,,UpdateTestCaseRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateTestCaseRequest
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
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
-
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.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:
-
overrideConfiguration
UpdateTestCaseRequest.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
UpdateTestCaseRequest.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.
-