Class JobLogs

  • All Implemented Interfaces:
    Serializable, SdkPojo, ToCopyableBuilder<JobLogs.Builder,​JobLogs>

    @Generated("software.amazon.awssdk:codegen")
    public final class JobLogs
    extends Object
    implements SdkPojo, Serializable, ToCopyableBuilder<JobLogs.Builder,​JobLogs>

    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.

    See Also:
    Serialized Form
    • Method Detail

      • jobCompletionReportURI

        public final String jobCompletionReportURI()

        A link to an Amazon S3 presigned URL where the job completion report is located.

        Returns:
        A link to an Amazon S3 presigned URL where the job completion report is located.
      • jobSuccessLogURI

        public final String jobSuccessLogURI()

        A link to an Amazon S3 presigned URL where the job success log is located.

        Returns:
        A link to an Amazon S3 presigned URL where the job success log is located.
      • jobFailureLogURI

        public final String jobFailureLogURI()

        A link to an Amazon S3 presigned URL where the job failure log is located.

        Returns:
        A link to an Amazon S3 presigned URL where the job failure log is located.
      • serializableBuilderClass

        public static Class<? extends JobLogs.Builder> serializableBuilderClass()
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)