@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FailStepMetadata extends Object implements Serializable, Cloneable, StructuredPojo
The container for the metadata for Fail step.
Constructor and Description |
---|
FailStepMetadata() |
Modifier and Type | Method and Description |
---|---|
FailStepMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getErrorMessage()
A message that you define and then is processed and rendered by the Fail step when the error occurs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorMessage(String errorMessage)
A message that you define and then is processed and rendered by the Fail step when the error occurs.
|
String |
toString()
Returns a string representation of this object.
|
FailStepMetadata |
withErrorMessage(String errorMessage)
A message that you define and then is processed and rendered by the Fail step when the error occurs.
|
public void setErrorMessage(String errorMessage)
A message that you define and then is processed and rendered by the Fail step when the error occurs.
errorMessage
- A message that you define and then is processed and rendered by the Fail step when the error occurs.public String getErrorMessage()
A message that you define and then is processed and rendered by the Fail step when the error occurs.
public FailStepMetadata withErrorMessage(String errorMessage)
A message that you define and then is processed and rendered by the Fail step when the error occurs.
errorMessage
- A message that you define and then is processed and rendered by the Fail step when the error occurs.public String toString()
toString
in class Object
Object.toString()
public FailStepMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.