Class JobLogs

java.lang.Object
software.amazon.awssdk.services.snowball.model.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:
  • Method Details

    • 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.
    • toBuilder

      public JobLogs.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<JobLogs.Builder,JobLogs>
      Returns:
      a builder for type T
    • builder

      public static JobLogs.Builder builder()
    • 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
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.