@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ErrorInfo extends Object implements Serializable, Cloneable, StructuredPojo
Provides details in the event of a failed flow, including the error type and the related error message.
Constructor and Description |
---|
ErrorInfo() |
Modifier and Type | Method and Description |
---|---|
ErrorInfo |
clone() |
boolean |
equals(Object obj) |
String |
getErrorMessage()
Specifies the error message that appears if a flow fails.
|
String |
getErrorType()
Specifies the type of error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorMessage(String errorMessage)
Specifies the error message that appears if a flow fails.
|
void |
setErrorType(String errorType)
Specifies the type of error.
|
String |
toString()
Returns a string representation of this object.
|
ErrorInfo |
withErrorMessage(String errorMessage)
Specifies the error message that appears if a flow fails.
|
ErrorInfo |
withErrorType(ErrorDetails errorType)
Specifies the type of error.
|
ErrorInfo |
withErrorType(String errorType)
Specifies the type of error.
|
public void setErrorMessage(String errorMessage)
Specifies the error message that appears if a flow fails.
errorMessage
- Specifies the error message that appears if a flow fails.public String getErrorMessage()
Specifies the error message that appears if a flow fails.
public ErrorInfo withErrorMessage(String errorMessage)
Specifies the error message that appears if a flow fails.
errorMessage
- Specifies the error message that appears if a flow fails.public void setErrorType(String errorType)
Specifies the type of error.
errorType
- Specifies the type of error.ErrorDetails
public String getErrorType()
Specifies the type of error.
ErrorDetails
public ErrorInfo withErrorType(String errorType)
Specifies the type of error.
errorType
- Specifies the type of error.ErrorDetails
public ErrorInfo withErrorType(ErrorDetails errorType)
Specifies the type of error.
errorType
- Specifies the type of error.ErrorDetails
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.