Interface GetSuiteRunResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetSuiteRunResponse.Builder,
,GetSuiteRunResponse> IotDeviceAdvisorResponse.Builder
,SdkBuilder<GetSuiteRunResponse.Builder,
,GetSuiteRunResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetSuiteRunResponse
-
Method Summary
Modifier and TypeMethodDescriptionDate (in Unix epoch time) when the test suite run ended.errorReason
(String errorReason) Error reason for any test suite run failure.Date (in Unix epoch time) when the test suite run started.Status for the test suite run.status
(SuiteRunStatus status) Status for the test suite run.suiteDefinitionId
(String suiteDefinitionId) Suite definition ID for the test suite run.suiteDefinitionVersion
(String suiteDefinitionVersion) Suite definition version for the test suite run.suiteRunArn
(String suiteRunArn) The ARN of the suite run.default GetSuiteRunResponse.Builder
suiteRunConfiguration
(Consumer<SuiteRunConfiguration.Builder> suiteRunConfiguration) Suite run configuration for the test suite run.suiteRunConfiguration
(SuiteRunConfiguration suiteRunConfiguration) Suite run configuration for the test suite run.suiteRunId
(String suiteRunId) Suite run ID for the test suite run.The tags attached to the suite run.default GetSuiteRunResponse.Builder
testResult
(Consumer<TestResult.Builder> testResult) Test results for the test suite run.testResult
(TestResult testResult) Test results for the test suite run.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotdeviceadvisor.model.IotDeviceAdvisorResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
suiteDefinitionId
Suite definition ID for the test suite run.
- Parameters:
suiteDefinitionId
- Suite definition ID for the test suite run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suiteDefinitionVersion
Suite definition version for the test suite run.
- Parameters:
suiteDefinitionVersion
- Suite definition version for the test suite run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suiteRunId
Suite run ID for the test suite run.
- Parameters:
suiteRunId
- Suite run ID for the test suite run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suiteRunArn
The ARN of the suite run.
- Parameters:
suiteRunArn
- The ARN of the suite run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suiteRunConfiguration
Suite run configuration for the test suite run.
- Parameters:
suiteRunConfiguration
- Suite run configuration for the test suite run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suiteRunConfiguration
default GetSuiteRunResponse.Builder suiteRunConfiguration(Consumer<SuiteRunConfiguration.Builder> suiteRunConfiguration) Suite run configuration for the test suite run.
This is a convenience method that creates an instance of theSuiteRunConfiguration.Builder
avoiding the need to create one manually viaSuiteRunConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosuiteRunConfiguration(SuiteRunConfiguration)
.- Parameters:
suiteRunConfiguration
- a consumer that will call methods onSuiteRunConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
testResult
Test results for the test suite run.
- Parameters:
testResult
- Test results for the test suite run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testResult
Test results for the test suite run.
This is a convenience method that creates an instance of theTestResult.Builder
avoiding the need to create one manually viaTestResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totestResult(TestResult)
.- Parameters:
testResult
- a consumer that will call methods onTestResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
Date (in Unix epoch time) when the test suite run started.
- Parameters:
startTime
- Date (in Unix epoch time) when the test suite run started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
Date (in Unix epoch time) when the test suite run ended.
- Parameters:
endTime
- Date (in Unix epoch time) when the test suite run ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Status for the test suite run.
- Parameters:
status
- Status for the test suite run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Status for the test suite run.
- Parameters:
status
- Status for the test suite run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorReason
Error reason for any test suite run failure.
- Parameters:
errorReason
- Error reason for any test suite run failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags attached to the suite run.
- Parameters:
tags
- The tags attached to the suite run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-