@Generated(value="software.amazon.awssdk:codegen") public final class Problem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Problem.Builder,Problem>
Represents a specific warning or failure.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Problem.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Problem.Builder |
builder() |
Device |
device()
Information about the associated device.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ProblemDetail |
job()
Information about the associated job.
|
String |
message()
A message about the problem's result.
|
ExecutionResult |
result()
The problem's result.
|
String |
resultAsString()
The problem's result.
|
ProblemDetail |
run()
Information about the associated run.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Problem.Builder> |
serializableBuilderClass() |
ProblemDetail |
suite()
Information about the associated suite.
|
ProblemDetail |
test()
Information about the associated test.
|
Problem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ProblemDetail run()
Information about the associated run.
public final ProblemDetail job()
Information about the associated job.
public final ProblemDetail suite()
Information about the associated suite.
public final ProblemDetail test()
Information about the associated test.
public final Device device()
Information about the associated device.
public final ExecutionResult result()
The problem's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
If the service returns an enum value that is not available in the current SDK version, result will
return ExecutionResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resultAsString().
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResultpublic final String resultAsString()
The problem's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
If the service returns an enum value that is not available in the current SDK version, result will
return ExecutionResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resultAsString().
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResultpublic final String message()
A message about the problem's result.
public Problem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Problem.Builder,Problem>public static Problem.Builder builder()
public static Class<? extends Problem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.