Interface Problem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Problem.Builder,
,Problem> SdkBuilder<Problem.Builder,
,Problem> SdkPojo
- Enclosing class:
Problem
-
Method Summary
Modifier and TypeMethodDescriptiondefault Problem.Builder
device
(Consumer<Device.Builder> device) Information about the associated device.Information about the associated device.default Problem.Builder
job
(Consumer<ProblemDetail.Builder> job) Information about the associated job.job
(ProblemDetail job) Information about the associated job.A message about the problem's result.The problem's result.result
(ExecutionResult result) The problem's result.default Problem.Builder
run
(Consumer<ProblemDetail.Builder> run) Information about the associated run.run
(ProblemDetail run) Information about the associated run.default Problem.Builder
suite
(Consumer<ProblemDetail.Builder> suite) Information about the associated suite.suite
(ProblemDetail suite) Information about the associated suite.default Problem.Builder
test
(Consumer<ProblemDetail.Builder> test) Information about the associated test.test
(ProblemDetail test) Information about the associated test.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, sdkFields
-
Method Details
-
run
Information about the associated run.
- Parameters:
run
- Information about the associated run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
run
Information about the associated run.
This is a convenience method that creates an instance of theProblemDetail.Builder
avoiding the need to create one manually viaProblemDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torun(ProblemDetail)
.- Parameters:
run
- a consumer that will call methods onProblemDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
job
Information about the associated job.
- Parameters:
job
- Information about the associated job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
job
Information about the associated job.
This is a convenience method that creates an instance of theProblemDetail.Builder
avoiding the need to create one manually viaProblemDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojob(ProblemDetail)
.- Parameters:
job
- a consumer that will call methods onProblemDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
suite
Information about the associated suite.
- Parameters:
suite
- Information about the associated suite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suite
Information about the associated suite.
This is a convenience method that creates an instance of theProblemDetail.Builder
avoiding the need to create one manually viaProblemDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosuite(ProblemDetail)
.- Parameters:
suite
- a consumer that will call methods onProblemDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
test
Information about the associated test.
- Parameters:
test
- Information about the associated test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
test
Information about the associated test.
This is a convenience method that creates an instance of theProblemDetail.Builder
avoiding the need to create one manually viaProblemDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totest(ProblemDetail)
.- Parameters:
test
- a consumer that will call methods onProblemDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
device
Information about the associated device.
- Parameters:
device
- Information about the associated device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
device
Information about the associated device.
This is a convenience method that creates an instance of theDevice.Builder
avoiding the need to create one manually viaDevice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todevice(Device)
.- Parameters:
device
- a consumer that will call methods onDevice.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
result
The problem's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
- Parameters:
result
- The problem's result.Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
result
The problem's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
- Parameters:
result
- The problem's result.Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
message
A message about the problem's result.
- Parameters:
message
- A message about the problem's result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-