@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FailureInfo extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains the failure details about a job.
| Constructor and Description |
|---|
FailureInfo() |
| Modifier and Type | Method and Description |
|---|---|
FailureInfo |
clone() |
boolean |
equals(Object obj) |
String |
getErrorMessage()
A message about why the job failed.
|
String |
getFailedRecordsS3Url()
An Amazon S3 pre-signed URL that contains all the failed records and related information.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setErrorMessage(String errorMessage)
A message about why the job failed.
|
void |
setFailedRecordsS3Url(String failedRecordsS3Url)
An Amazon S3 pre-signed URL that contains all the failed records and related information.
|
String |
toString()
Returns a string representation of this object.
|
FailureInfo |
withErrorMessage(String errorMessage)
A message about why the job failed.
|
FailureInfo |
withFailedRecordsS3Url(String failedRecordsS3Url)
An Amazon S3 pre-signed URL that contains all the failed records and related information.
|
public void setFailedRecordsS3Url(String failedRecordsS3Url)
An Amazon S3 pre-signed URL that contains all the failed records and related information.
failedRecordsS3Url - An Amazon S3 pre-signed URL that contains all the failed records and related information.public String getFailedRecordsS3Url()
An Amazon S3 pre-signed URL that contains all the failed records and related information.
public FailureInfo withFailedRecordsS3Url(String failedRecordsS3Url)
An Amazon S3 pre-signed URL that contains all the failed records and related information.
failedRecordsS3Url - An Amazon S3 pre-signed URL that contains all the failed records and related information.public void setErrorMessage(String errorMessage)
A message about why the job failed.
errorMessage - A message about why the job failed.public String getErrorMessage()
A message about why the job failed.
public FailureInfo withErrorMessage(String errorMessage)
A message about why the job failed.
errorMessage - A message about why the job failed.public String toString()
toString in class ObjectObject.toString()public FailureInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.