@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MapRunFailedEventDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about a Map Run failure event that occurred during a state machine execution.
Constructor and Description |
---|
MapRunFailedEventDetails() |
Modifier and Type | Method and Description |
---|---|
MapRunFailedEventDetails |
clone() |
boolean |
equals(Object obj) |
String |
getCause()
A more detailed explanation of the cause of the failure.
|
String |
getError()
The error code of the Map Run failure.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCause(String cause)
A more detailed explanation of the cause of the failure.
|
void |
setError(String error)
The error code of the Map Run failure.
|
String |
toString()
Returns a string representation of this object.
|
MapRunFailedEventDetails |
withCause(String cause)
A more detailed explanation of the cause of the failure.
|
MapRunFailedEventDetails |
withError(String error)
The error code of the Map Run failure.
|
public void setError(String error)
The error code of the Map Run failure.
error
- The error code of the Map Run failure.public String getError()
The error code of the Map Run failure.
public MapRunFailedEventDetails withError(String error)
The error code of the Map Run failure.
error
- The error code of the Map Run failure.public void setCause(String cause)
A more detailed explanation of the cause of the failure.
cause
- A more detailed explanation of the cause of the failure.public String getCause()
A more detailed explanation of the cause of the failure.
public MapRunFailedEventDetails withCause(String cause)
A more detailed explanation of the cause of the failure.
cause
- A more detailed explanation of the cause of the failure.public String toString()
toString
in class Object
Object.toString()
public MapRunFailedEventDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.