@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Problem extends Object implements Serializable, Cloneable, StructuredPojo
Represents a specific warning or failure.
| Constructor and Description |
|---|
Problem() |
| Modifier and Type | Method and Description |
|---|---|
Problem |
clone() |
boolean |
equals(Object obj) |
Device |
getDevice()
Information about the associated device.
|
ProblemDetail |
getJob()
Information about the associated job.
|
String |
getMessage()
A message about the problem's result.
|
String |
getResult()
The problem's result.
|
ProblemDetail |
getRun()
Information about the associated run.
|
ProblemDetail |
getSuite()
Information about the associated suite.
|
ProblemDetail |
getTest()
Information about the associated test.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDevice(Device device)
Information about the associated device.
|
void |
setJob(ProblemDetail job)
Information about the associated job.
|
void |
setMessage(String message)
A message about the problem's result.
|
void |
setResult(ExecutionResult result)
The problem's result.
|
void |
setResult(String result)
The problem's result.
|
void |
setRun(ProblemDetail run)
Information about the associated run.
|
void |
setSuite(ProblemDetail suite)
Information about the associated suite.
|
void |
setTest(ProblemDetail test)
Information about the associated test.
|
String |
toString()
Returns a string representation of this object.
|
Problem |
withDevice(Device device)
Information about the associated device.
|
Problem |
withJob(ProblemDetail job)
Information about the associated job.
|
Problem |
withMessage(String message)
A message about the problem's result.
|
Problem |
withResult(ExecutionResult result)
The problem's result.
|
Problem |
withResult(String result)
The problem's result.
|
Problem |
withRun(ProblemDetail run)
Information about the associated run.
|
Problem |
withSuite(ProblemDetail suite)
Information about the associated suite.
|
Problem |
withTest(ProblemDetail test)
Information about the associated test.
|
public void setRun(ProblemDetail run)
Information about the associated run.
run - Information about the associated run.public ProblemDetail getRun()
Information about the associated run.
public Problem withRun(ProblemDetail run)
Information about the associated run.
run - Information about the associated run.public void setJob(ProblemDetail job)
Information about the associated job.
job - Information about the associated job.public ProblemDetail getJob()
Information about the associated job.
public Problem withJob(ProblemDetail job)
Information about the associated job.
job - Information about the associated job.public void setSuite(ProblemDetail suite)
Information about the associated suite.
suite - Information about the associated suite.public ProblemDetail getSuite()
Information about the associated suite.
public Problem withSuite(ProblemDetail suite)
Information about the associated suite.
suite - Information about the associated suite.public void setTest(ProblemDetail test)
Information about the associated test.
test - Information about the associated test.public ProblemDetail getTest()
Information about the associated test.
public Problem withTest(ProblemDetail test)
Information about the associated test.
test - Information about the associated test.public void setDevice(Device device)
Information about the associated device.
device - Information about the associated device.public Device getDevice()
Information about the associated device.
public Problem withDevice(Device device)
Information about the associated device.
device - Information about the associated device.public void setResult(String result)
The problem's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
result - The problem's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResultpublic String getResult()
The problem's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResultpublic Problem withResult(String result)
The problem's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
result - The problem's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResultpublic void setResult(ExecutionResult result)
The problem's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
result - The problem's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResultpublic Problem withResult(ExecutionResult result)
The problem's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
result - The problem's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResultpublic void setMessage(String message)
A message about the problem's result.
message - A message about the problem's result.public String getMessage()
A message about the problem's result.
public Problem withMessage(String message)
A message about the problem's result.
message - A message about the problem's result.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.