Interface CreateTestSuiteRequest.Builder
- All Superinterfaces:
AppTestRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateTestSuiteRequest.Builder,,CreateTestSuiteRequest> SdkBuilder<CreateTestSuiteRequest.Builder,,CreateTestSuiteRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateTestSuiteRequest
-
Method Summary
Modifier and TypeMethodDescriptionafterSteps(Collection<Step> afterSteps) The after steps of the test suite.afterSteps(Consumer<Step.Builder>... afterSteps) The after steps of the test suite.afterSteps(Step... afterSteps) The after steps of the test suite.beforeSteps(Collection<Step> beforeSteps) The before steps of the test suite.beforeSteps(Consumer<Step.Builder>... beforeSteps) The before steps of the test suite.beforeSteps(Step... beforeSteps) The before steps of the test suite.clientToken(String clientToken) The client token of the test suite.description(String description) The description of the test suite.The name of the test suite.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The tags of the test suite.default CreateTestSuiteRequest.BuildertestCases(Consumer<TestCases.Builder> testCases) The test cases in the test suite.The test cases in the test suite.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 suite.
- Parameters:
name- The name of the test suite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the test suite.
- Parameters:
description- The description of the test suite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
beforeSteps
The before steps of the test suite.
- Parameters:
beforeSteps- The before steps of the test suite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
beforeSteps
The before steps of the test suite.
- Parameters:
beforeSteps- The before steps of the test suite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
beforeSteps
The before steps of the test suite.
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 tobeforeSteps(List<Step>).- Parameters:
beforeSteps- 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:
-
afterSteps
The after steps of the test suite.
- Parameters:
afterSteps- The after steps of the test suite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
afterSteps
The after steps of the test suite.
- Parameters:
afterSteps- The after steps of the test suite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
afterSteps
The after steps of the test suite.
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 toafterSteps(List<Step>).- Parameters:
afterSteps- 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:
-
testCases
The test cases in the test suite.
- Parameters:
testCases- The test cases in the test suite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testCases
The test cases in the test suite.
This is a convenience method that creates an instance of theTestCases.Builderavoiding the need to create one manually viaTestCases.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totestCases(TestCases).- Parameters:
testCases- a consumer that will call methods onTestCases.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 suite.
- Parameters:
clientToken- The client token of the test suite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags of the test suite.
- Parameters:
tags- The tags of the test suite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateTestSuiteRequest.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
CreateTestSuiteRequest.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.
-