StructuredPojo
, ToCopyableBuilder<Problem.Builder,Problem>
@Generated("software.amazon.awssdk:codegen") public class Problem extends Object implements StructuredPojo, ToCopyableBuilder<Problem.Builder,Problem>
Represents a specific warning or failure.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Problem.Builder |
Modifier and Type | Method | Description |
---|---|---|
static Problem.Builder |
builder() |
|
Device |
device() |
Information about the associated device.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
ProblemDetail |
job() |
Information about the associated job.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
message() |
A message about the problem's result.
|
String |
result() |
The problem's result.
|
ProblemDetail |
run() |
Information about the associated run.
|
static Class<? extends Problem.Builder> |
serializableBuilderClass() |
|
ProblemDetail |
suite() |
Information about the associated suite.
|
ProblemDetail |
test() |
Information about the associated test.
|
Problem.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public ProblemDetail run()
Information about the associated run.
public ProblemDetail job()
Information about the associated job.
public ProblemDetail suite()
Information about the associated suite.
public ProblemDetail test()
Information about the associated test.
public Device device()
Information about the associated device.
public 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.
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
public String message()
A message about the problem's result.
public Problem.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Problem.Builder,Problem>
public static Problem.Builder builder()
public static Class<? extends Problem.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.