@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActivityScheduleFailedEventDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about an activity schedule failure that occurred during an execution.
Constructor and Description |
---|
ActivityScheduleFailedEventDetails() |
Modifier and Type | Method and Description |
---|---|
ActivityScheduleFailedEventDetails |
clone() |
boolean |
equals(Object obj) |
String |
getCause()
A more detailed explanation of the cause of the failure.
|
String |
getError()
The error code of the 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 failure.
|
String |
toString()
Returns a string representation of this object.
|
ActivityScheduleFailedEventDetails |
withCause(String cause)
A more detailed explanation of the cause of the failure.
|
ActivityScheduleFailedEventDetails |
withError(String error)
The error code of the failure.
|
public void setError(String error)
The error code of the failure.
error
- The error code of the failure.public String getError()
The error code of the failure.
public ActivityScheduleFailedEventDetails withError(String error)
The error code of the failure.
error
- The error code of the 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 ActivityScheduleFailedEventDetails 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 ActivityScheduleFailedEventDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.