public static interface Problem.Builder extends CopyableBuilder<Problem.Builder,Problem>
Modifier and Type | Method and Description |
---|---|
default Problem.Builder |
device(Consumer<Device.Builder> device)
Information about the associated device.
|
Problem.Builder |
device(Device device)
Information about the associated device.
|
default Problem.Builder |
job(Consumer<ProblemDetail.Builder> job)
Information about the associated job.
|
Problem.Builder |
job(ProblemDetail job)
Information about the associated job.
|
Problem.Builder |
message(String message)
A message about the problem's result.
|
Problem.Builder |
result(ExecutionResult result)
The problem's result.
|
Problem.Builder |
result(String result)
The problem's result.
|
default Problem.Builder |
run(Consumer<ProblemDetail.Builder> run)
Information about the associated run.
|
Problem.Builder |
run(ProblemDetail run)
Information about the associated run.
|
default Problem.Builder |
suite(Consumer<ProblemDetail.Builder> suite)
Information about the associated suite.
|
Problem.Builder |
suite(ProblemDetail suite)
Information about the associated suite.
|
default Problem.Builder |
test(Consumer<ProblemDetail.Builder> test)
Information about the associated test.
|
Problem.Builder |
test(ProblemDetail test)
Information about the associated test.
|
copy
apply, build
Problem.Builder run(ProblemDetail run)
Information about the associated run.
run
- Information about the associated run.default Problem.Builder run(Consumer<ProblemDetail.Builder> run)
Information about the associated run.
This is a convenience that creates an instance of theProblemDetail.Builder
avoiding the need to
create one manually via ProblemDetail.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to run(ProblemDetail)
.run
- a consumer that will call methods on ProblemDetail.Builder
run(ProblemDetail)
Problem.Builder job(ProblemDetail job)
Information about the associated job.
job
- Information about the associated job.default Problem.Builder job(Consumer<ProblemDetail.Builder> job)
Information about the associated job.
This is a convenience that creates an instance of theProblemDetail.Builder
avoiding the need to
create one manually via ProblemDetail.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to job(ProblemDetail)
.job
- a consumer that will call methods on ProblemDetail.Builder
job(ProblemDetail)
Problem.Builder suite(ProblemDetail suite)
Information about the associated suite.
suite
- Information about the associated suite.default Problem.Builder suite(Consumer<ProblemDetail.Builder> suite)
Information about the associated suite.
This is a convenience that creates an instance of theProblemDetail.Builder
avoiding the need to
create one manually via ProblemDetail.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to suite(ProblemDetail)
.suite
- a consumer that will call methods on ProblemDetail.Builder
suite(ProblemDetail)
Problem.Builder test(ProblemDetail test)
Information about the associated test.
test
- Information about the associated test.default Problem.Builder test(Consumer<ProblemDetail.Builder> test)
Information about the associated test.
This is a convenience that creates an instance of theProblemDetail.Builder
avoiding the need to
create one manually via ProblemDetail.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to test(ProblemDetail)
.test
- a consumer that will call methods on ProblemDetail.Builder
test(ProblemDetail)
Problem.Builder device(Device device)
Information about the associated device.
device
- Information about the associated device.default Problem.Builder device(Consumer<Device.Builder> device)
Information about the associated device.
This is a convenience that creates an instance of theDevice.Builder
avoiding the need to create one
manually via Device.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to device(Device)
.device
- a consumer that will call methods on Device.Builder
device(Device)
Problem.Builder result(String result)
The problem's result.
Allowed values include:
PENDING: A pending condition.
PASSED: A passing condition.
WARNED: A warning condition.
FAILED: A failed condition.
SKIPPED: A skipped condition.
ERRORED: An error condition.
STOPPED: A stopped condition.
result
- The problem's result.
Allowed values include:
PENDING: A pending condition.
PASSED: A passing condition.
WARNED: A warning condition.
FAILED: A failed condition.
SKIPPED: A skipped condition.
ERRORED: An error condition.
STOPPED: A stopped condition.
ExecutionResult
,
ExecutionResult
Problem.Builder result(ExecutionResult result)
The problem's result.
Allowed values include:
PENDING: A pending condition.
PASSED: A passing condition.
WARNED: A warning condition.
FAILED: A failed condition.
SKIPPED: A skipped condition.
ERRORED: An error condition.
STOPPED: A stopped condition.
result
- The problem's result.
Allowed values include:
PENDING: A pending condition.
PASSED: A passing condition.
WARNED: A warning condition.
FAILED: A failed condition.
SKIPPED: A skipped condition.
ERRORED: An error condition.
STOPPED: A stopped condition.
ExecutionResult
,
ExecutionResult
Problem.Builder message(String message)
A message about the problem's result.
message
- A message about the problem's result.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.