Class Problem
- java.lang.Object
-
- software.amazon.awssdk.services.devicefarm.model.Problem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Problem.Builder,Problem>
@Generated("software.amazon.awssdk:codegen") public final class Problem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Problem.Builder,Problem>
Represents a specific warning or failure.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceProblem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Problem.Builderbuilder()Devicedevice()Information about the associated device.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ProblemDetailjob()Information about the associated job.Stringmessage()A message about the problem's result.ExecutionResultresult()The problem's result.StringresultAsString()The problem's result.ProblemDetailrun()Information about the associated run.List<SdkField<?>>sdkFields()static Class<? extends Problem.Builder>serializableBuilderClass()ProblemDetailsuite()Information about the associated suite.ProblemDetailtest()Information about the associated test.Problem.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
run
public final ProblemDetail run()
Information about the associated run.
- Returns:
- Information about the associated run.
-
job
public final ProblemDetail job()
Information about the associated job.
- Returns:
- Information about the associated job.
-
suite
public final ProblemDetail suite()
Information about the associated suite.
- Returns:
- Information about the associated suite.
-
test
public final ProblemDetail test()
Information about the associated test.
- Returns:
- Information about the associated test.
-
device
public final Device device()
Information about the associated device.
- Returns:
- Information about the associated device.
-
result
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,
resultwill returnExecutionResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresultAsString().- Returns:
- The problem's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
-
- See Also:
ExecutionResult
-
-
resultAsString
public 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,
resultwill returnExecutionResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresultAsString().- Returns:
- The problem's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
-
- See Also:
ExecutionResult
-
-
message
public final String message()
A message about the problem's result.
- Returns:
- A message about the problem's result.
-
toBuilder
public Problem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Problem.Builder,Problem>
-
builder
public static Problem.Builder builder()
-
serializableBuilderClass
public static Class<? extends Problem.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-