@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobLogs extends Object implements Serializable, Cloneable, StructuredPojo
Contains job logs. Whenever a Snow device is used to import data into or export data out of Amazon S3, you'll have
the option of downloading a PDF job report. Job logs are returned as a part of the response syntax of the
DescribeJob
action in the JobMetadata
data type. The job logs can be accessed for up to 60
minutes after this request has been made. To access any of the job logs after 60 minutes have passed, you'll have to
make another call to the DescribeJob
action.
For import jobs, the PDF job report becomes available at the end of the import process. For export jobs, your job report typically becomes available while the Snow device for your job part is being delivered to you.
The job report provides you insight into the state of your Amazon S3 data transfer. The report includes details about your job or job part for your records.
For deeper visibility into the status of your transferred objects, you can look at the two associated logs: a success log and a failure log. The logs are saved in comma-separated value (CSV) format, and the name of each log includes the ID of the job or job part that the log describes.
Constructor and Description |
---|
JobLogs() |
Modifier and Type | Method and Description |
---|---|
JobLogs |
clone() |
boolean |
equals(Object obj) |
String |
getJobCompletionReportURI()
A link to an Amazon S3 presigned URL where the job completion report is located.
|
String |
getJobFailureLogURI()
A link to an Amazon S3 presigned URL where the job failure log is located.
|
String |
getJobSuccessLogURI()
A link to an Amazon S3 presigned URL where the job success log is located.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setJobCompletionReportURI(String jobCompletionReportURI)
A link to an Amazon S3 presigned URL where the job completion report is located.
|
void |
setJobFailureLogURI(String jobFailureLogURI)
A link to an Amazon S3 presigned URL where the job failure log is located.
|
void |
setJobSuccessLogURI(String jobSuccessLogURI)
A link to an Amazon S3 presigned URL where the job success log is located.
|
String |
toString()
Returns a string representation of this object.
|
JobLogs |
withJobCompletionReportURI(String jobCompletionReportURI)
A link to an Amazon S3 presigned URL where the job completion report is located.
|
JobLogs |
withJobFailureLogURI(String jobFailureLogURI)
A link to an Amazon S3 presigned URL where the job failure log is located.
|
JobLogs |
withJobSuccessLogURI(String jobSuccessLogURI)
A link to an Amazon S3 presigned URL where the job success log is located.
|
public void setJobCompletionReportURI(String jobCompletionReportURI)
A link to an Amazon S3 presigned URL where the job completion report is located.
jobCompletionReportURI
- A link to an Amazon S3 presigned URL where the job completion report is located.public String getJobCompletionReportURI()
A link to an Amazon S3 presigned URL where the job completion report is located.
public JobLogs withJobCompletionReportURI(String jobCompletionReportURI)
A link to an Amazon S3 presigned URL where the job completion report is located.
jobCompletionReportURI
- A link to an Amazon S3 presigned URL where the job completion report is located.public void setJobSuccessLogURI(String jobSuccessLogURI)
A link to an Amazon S3 presigned URL where the job success log is located.
jobSuccessLogURI
- A link to an Amazon S3 presigned URL where the job success log is located.public String getJobSuccessLogURI()
A link to an Amazon S3 presigned URL where the job success log is located.
public JobLogs withJobSuccessLogURI(String jobSuccessLogURI)
A link to an Amazon S3 presigned URL where the job success log is located.
jobSuccessLogURI
- A link to an Amazon S3 presigned URL where the job success log is located.public void setJobFailureLogURI(String jobFailureLogURI)
A link to an Amazon S3 presigned URL where the job failure log is located.
jobFailureLogURI
- A link to an Amazon S3 presigned URL where the job failure log is located.public String getJobFailureLogURI()
A link to an Amazon S3 presigned URL where the job failure log is located.
public JobLogs withJobFailureLogURI(String jobFailureLogURI)
A link to an Amazon S3 presigned URL where the job failure log is located.
jobFailureLogURI
- A link to an Amazon S3 presigned URL where the job failure log is located.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.