@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExecutionStatus extends Object implements Serializable, Cloneable, StructuredPojo
The status of an anomaly detector run.
Constructor and Description |
---|
ExecutionStatus() |
Modifier and Type | Method and Description |
---|---|
ExecutionStatus |
clone() |
boolean |
equals(Object obj) |
String |
getFailureReason()
The reason that the run failed, if applicable.
|
String |
getStatus()
The run's status.
|
String |
getTimestamp()
The run's timestamp.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFailureReason(String failureReason)
The reason that the run failed, if applicable.
|
void |
setStatus(String status)
The run's status.
|
void |
setTimestamp(String timestamp)
The run's timestamp.
|
String |
toString()
Returns a string representation of this object.
|
ExecutionStatus |
withFailureReason(String failureReason)
The reason that the run failed, if applicable.
|
ExecutionStatus |
withStatus(AnomalyDetectionTaskStatus status)
The run's status.
|
ExecutionStatus |
withStatus(String status)
The run's status.
|
ExecutionStatus |
withTimestamp(String timestamp)
The run's timestamp.
|
public void setTimestamp(String timestamp)
The run's timestamp.
timestamp
- The run's timestamp.public String getTimestamp()
The run's timestamp.
public ExecutionStatus withTimestamp(String timestamp)
The run's timestamp.
timestamp
- The run's timestamp.public void setStatus(String status)
The run's status.
status
- The run's status.AnomalyDetectionTaskStatus
public String getStatus()
The run's status.
AnomalyDetectionTaskStatus
public ExecutionStatus withStatus(String status)
The run's status.
status
- The run's status.AnomalyDetectionTaskStatus
public ExecutionStatus withStatus(AnomalyDetectionTaskStatus status)
The run's status.
status
- The run's status.AnomalyDetectionTaskStatus
public void setFailureReason(String failureReason)
The reason that the run failed, if applicable.
failureReason
- The reason that the run failed, if applicable.public String getFailureReason()
The reason that the run failed, if applicable.
public ExecutionStatus withFailureReason(String failureReason)
The reason that the run failed, if applicable.
failureReason
- The reason that the run failed, if applicable.public String toString()
toString
in class Object
Object.toString()
public ExecutionStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.