@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FailureDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains error details for a failed batch job.
Constructor and Description |
---|
FailureDetails() |
Modifier and Type | Method and Description |
---|---|
FailureDetails |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
A description of the error that caused the batch job failure.
|
Integer |
getStatusCode()
An HTTP status code representing the nature of the error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessage(String message)
A description of the error that caused the batch job failure.
|
void |
setStatusCode(Integer statusCode)
An HTTP status code representing the nature of the error.
|
String |
toString()
Returns a string representation of this object.
|
FailureDetails |
withMessage(String message)
A description of the error that caused the batch job failure.
|
FailureDetails |
withStatusCode(Integer statusCode)
An HTTP status code representing the nature of the error.
|
public void setMessage(String message)
A description of the error that caused the batch job failure.
message
- A description of the error that caused the batch job failure.public String getMessage()
A description of the error that caused the batch job failure.
public FailureDetails withMessage(String message)
A description of the error that caused the batch job failure.
message
- A description of the error that caused the batch job failure.public void setStatusCode(Integer statusCode)
An HTTP status code representing the nature of the error.
statusCode
- An HTTP status code representing the nature of the error.public Integer getStatusCode()
An HTTP status code representing the nature of the error.
public FailureDetails withStatusCode(Integer statusCode)
An HTTP status code representing the nature of the error.
statusCode
- An HTTP status code representing the nature of the error.public String toString()
toString
in class Object
Object.toString()
public FailureDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.