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
DescribeJobaction in theJobMetadatadata 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 theDescribeJobaction.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJobLogs.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JobLogs.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringjobCompletionReportURI()A link to an Amazon S3 presigned URL where the job completion report is located.StringjobFailureLogURI()A link to an Amazon S3 presigned URL where the job failure log is located.StringjobSuccessLogURI()A link to an Amazon S3 presigned URL where the job success log is located.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends JobLogs.Builder>serializableBuilderClass()JobLogs.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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.
-
toBuilder
public JobLogs.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<JobLogs.Builder,JobLogs>
-
builder
public static JobLogs.Builder builder()
-
serializableBuilderClass
public static Class<? extends JobLogs.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-