Interface GetTestCaseResponse.Builder
- All Superinterfaces:
AppTestResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<GetTestCaseResponse.Builder,
,GetTestCaseResponse> SdkBuilder<GetTestCaseResponse.Builder,
,GetTestCaseResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetTestCaseResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The creation time of the test case.description
(String description) The description of the test case.lastUpdateTime
(Instant lastUpdateTime) The last update time of the test case.default GetTestCaseResponse.Builder
latestVersion
(Consumer<TestCaseLatestVersion.Builder> latestVersion) The latest version of the test case.latestVersion
(TestCaseLatestVersion latestVersion) The latest version of the test case.The name of the test case.The status of the test case.status
(TestCaseLifecycle status) The status of the test case.statusReason
(String statusReason) The status reason of the test case.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.The tags of the test case.testCaseArn
(String testCaseArn) The Amazon Resource Name (ARN) of the test case.testCaseId
(String testCaseId) The response test ID of the test case.testCaseVersion
(Integer testCaseVersion) The case version of the test case.Methods inherited from interface software.amazon.awssdk.services.apptest.model.AppTestResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
testCaseId
The response test ID of the test case.
- Parameters:
testCaseId
- The response test ID of the test case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testCaseArn
The Amazon Resource Name (ARN) of the test case.
- Parameters:
testCaseArn
- The Amazon Resource Name (ARN) of the test case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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.
-
latestVersion
The latest version of the test case.
- Parameters:
latestVersion
- The latest version of the test case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestVersion
default GetTestCaseResponse.Builder latestVersion(Consumer<TestCaseLatestVersion.Builder> latestVersion) The latest version of the test case.
This is a convenience method that creates an instance of theTestCaseLatestVersion.Builder
avoiding the need to create one manually viaTestCaseLatestVersion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolatestVersion(TestCaseLatestVersion)
.- Parameters:
latestVersion
- a consumer that will call methods onTestCaseLatestVersion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
testCaseVersion
The case version of the test case.
- Parameters:
testCaseVersion
- The case version of the test case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the test case.
- Parameters:
status
- The status of the test case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the test case.
- Parameters:
status
- The status of the test case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
The status reason of the test case.
- Parameters:
statusReason
- The status reason of the test case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The creation time of the test case.
- Parameters:
creationTime
- The creation time of the test case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateTime
The last update time of the test case.
- Parameters:
lastUpdateTime
- The last update time 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:
-
tags
The tags of the test case.
- Parameters:
tags
- The tags of the test case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-