Interface Problem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Problem.Builder,Problem>,SdkBuilder<Problem.Builder,Problem>,SdkPojo
- Enclosing class:
- Problem
public static interface Problem.Builder extends SdkPojo, CopyableBuilder<Problem.Builder,Problem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Problem.Builderdevice(Consumer<Device.Builder> device)Information about the associated device.Problem.Builderdevice(Device device)Information about the associated device.default Problem.Builderjob(Consumer<ProblemDetail.Builder> job)Information about the associated job.Problem.Builderjob(ProblemDetail job)Information about the associated job.Problem.Buildermessage(String message)A message about the problem's result.Problem.Builderresult(String result)The problem's result.Problem.Builderresult(ExecutionResult result)The problem's result.default Problem.Builderrun(Consumer<ProblemDetail.Builder> run)Information about the associated run.Problem.Builderrun(ProblemDetail run)Information about the associated run.default Problem.Buildersuite(Consumer<ProblemDetail.Builder> suite)Information about the associated suite.Problem.Buildersuite(ProblemDetail suite)Information about the associated suite.default Problem.Buildertest(Consumer<ProblemDetail.Builder> test)Information about the associated test.Problem.Buildertest(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 Detail
-
run
Problem.Builder run(ProblemDetail 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
default Problem.Builder run(Consumer<ProblemDetail.Builder> run)
Information about the associated run.
This is a convenience method that creates an instance of theProblemDetail.Builderavoiding the need to create one manually viaProblemDetail.builder().When the
Consumercompletes,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:
run(ProblemDetail)
-
job
Problem.Builder job(ProblemDetail 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
default Problem.Builder job(Consumer<ProblemDetail.Builder> job)
Information about the associated job.
This is a convenience method that creates an instance of theProblemDetail.Builderavoiding the need to create one manually viaProblemDetail.builder().When the
Consumercompletes,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:
job(ProblemDetail)
-
suite
Problem.Builder suite(ProblemDetail 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
default Problem.Builder suite(Consumer<ProblemDetail.Builder> suite)
Information about the associated suite.
This is a convenience method that creates an instance of theProblemDetail.Builderavoiding the need to create one manually viaProblemDetail.builder().When the
Consumercompletes,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:
suite(ProblemDetail)
-
test
Problem.Builder test(ProblemDetail 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
default Problem.Builder test(Consumer<ProblemDetail.Builder> test)
Information about the associated test.
This is a convenience method that creates an instance of theProblemDetail.Builderavoiding the need to create one manually viaProblemDetail.builder().When the
Consumercompletes,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:
test(ProblemDetail)
-
device
Problem.Builder device(Device 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
default Problem.Builder device(Consumer<Device.Builder> device)
Information about the associated device.
This is a convenience method that creates an instance of theDevice.Builderavoiding the need to create one manually viaDevice.builder().When the
Consumercompletes,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:
device(Device)
-
result
Problem.Builder result(String 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:
ExecutionResult,ExecutionResult
-
-
result
Problem.Builder result(ExecutionResult 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:
ExecutionResult,ExecutionResult
-
-
message
Problem.Builder message(String 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.
-
-