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.Builder
testCases
(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
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
-
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.Builder
avoiding the need to create one manually viaStep.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaStep.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaTestCases.builder()
.When the
Consumer
completes,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.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
CreateTestSuiteRequest.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.
-