@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; useful for testing and debugging.
|
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: 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.
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.
ExecutionResult
public String getResult()
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 Problem withResult(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.
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.
ExecutionResult
public void setResult(ExecutionResult 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.
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.
ExecutionResult
public Problem withResult(ExecutionResult 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.
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.
ExecutionResult
public 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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.