Interface GetTestCaseResponse.Builder
-
- All Superinterfaces:
AppTestResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetTestCaseResponse.Builder,GetTestCaseResponse>,SdkBuilder<GetTestCaseResponse.Builder,GetTestCaseResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetTestCaseResponse
public static interface GetTestCaseResponse.Builder extends AppTestResponse.Builder, SdkPojo, CopyableBuilder<GetTestCaseResponse.Builder,GetTestCaseResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetTestCaseResponse.BuildercreationTime(Instant creationTime)The creation time of the test case.GetTestCaseResponse.Builderdescription(String description)The description of the test case.GetTestCaseResponse.BuilderlastUpdateTime(Instant lastUpdateTime)The last update time of the test case.default GetTestCaseResponse.BuilderlatestVersion(Consumer<TestCaseLatestVersion.Builder> latestVersion)The latest version of the test case.GetTestCaseResponse.BuilderlatestVersion(TestCaseLatestVersion latestVersion)The latest version of the test case.GetTestCaseResponse.Buildername(String name)The name of the test case.GetTestCaseResponse.Builderstatus(String status)The status of the test case.GetTestCaseResponse.Builderstatus(TestCaseLifecycle status)The status of the test case.GetTestCaseResponse.BuilderstatusReason(String statusReason)The status reason of the test case.GetTestCaseResponse.Buildersteps(Collection<Step> steps)The steps of the test case.GetTestCaseResponse.Buildersteps(Consumer<Step.Builder>... steps)The steps of the test case.GetTestCaseResponse.Buildersteps(Step... steps)The steps of the test case.GetTestCaseResponse.Buildertags(Map<String,String> tags)The tags of the test case.GetTestCaseResponse.BuildertestCaseArn(String testCaseArn)The Amazon Resource Name (ARN) of the test case.GetTestCaseResponse.BuildertestCaseId(String testCaseId)The response test ID of the test case.GetTestCaseResponse.BuildertestCaseVersion(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 Detail
-
testCaseId
GetTestCaseResponse.Builder testCaseId(String 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
GetTestCaseResponse.Builder testCaseArn(String 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
GetTestCaseResponse.Builder name(String 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
GetTestCaseResponse.Builder description(String 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
GetTestCaseResponse.Builder latestVersion(TestCaseLatestVersion 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.Builderavoiding the need to create one manually viaTestCaseLatestVersion.builder().When the
Consumercompletes,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:
latestVersion(TestCaseLatestVersion)
-
testCaseVersion
GetTestCaseResponse.Builder testCaseVersion(Integer 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
GetTestCaseResponse.Builder status(String 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:
TestCaseLifecycle,TestCaseLifecycle
-
status
GetTestCaseResponse.Builder status(TestCaseLifecycle 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:
TestCaseLifecycle,TestCaseLifecycle
-
statusReason
GetTestCaseResponse.Builder statusReason(String 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
GetTestCaseResponse.Builder creationTime(Instant 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
GetTestCaseResponse.Builder lastUpdateTime(Instant 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
GetTestCaseResponse.Builder steps(Collection<Step> 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
GetTestCaseResponse.Builder steps(Step... 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
GetTestCaseResponse.Builder steps(Consumer<Step.Builder>... 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 to#steps(List.) - 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:
#steps(java.util.Collection)
-
tags
GetTestCaseResponse.Builder tags(Map<String,String> 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.
-
-