@Generated(value="software.amazon.awssdk:codegen") public class JobListEntry extends Object implements StructuredPojo, ToCopyableBuilder<JobListEntry.Builder,JobListEntry>
Each JobListEntry object contains a job's state, a job's ID, and a value that indicates whether the job
is a job part, in the case of an export job.
| Modifier and Type | Class and Description |
|---|---|
static interface |
JobListEntry.Builder |
| Modifier and Type | Method and Description |
|---|---|
static JobListEntry.Builder |
builder() |
Instant |
creationDate()
The creation date for this job.
|
String |
description()
The optional description of this specific job, for example
Important Photos 2016-08-11. |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isMaster()
A value that indicates that this job is a master job.
|
String |
jobId()
The automatically generated ID for a job, for example
JID123e4567-e89b-12d3-a456-426655440000. |
JobState |
jobState()
The current state of this job.
|
String |
jobStateAsString()
The current state of this job.
|
JobType |
jobType()
The type of job.
|
String |
jobTypeAsString()
The type of job.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends JobListEntry.Builder> |
serializableBuilderClass() |
SnowballType |
snowballType()
The type of appliance used with this job.
|
String |
snowballTypeAsString()
The type of appliance used with this job.
|
JobListEntry.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String jobId()
The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000.
JID123e4567-e89b-12d3-a456-426655440000.public JobState jobState()
The current state of this job.
If the service returns an enum value that is not available in the current SDK version, jobState will
return JobState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
jobStateAsString().
JobStatepublic String jobStateAsString()
The current state of this job.
If the service returns an enum value that is not available in the current SDK version, jobState will
return JobState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
jobStateAsString().
JobStatepublic Boolean isMaster()
A value that indicates that this job is a master job. A master job represents a successful request to create an export job. Master jobs aren't associated with any Snowballs. Instead, each master job will have at least one job part, and each job part is associated with a Snowball. It might take some time before the job parts associated with a particular master job are listed, because they are created after the master job is created.
public JobType jobType()
The type of job.
If the service returns an enum value that is not available in the current SDK version, jobType will
return JobType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
jobTypeAsString().
JobTypepublic String jobTypeAsString()
The type of job.
If the service returns an enum value that is not available in the current SDK version, jobType will
return JobType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
jobTypeAsString().
JobTypepublic SnowballType snowballType()
The type of appliance used with this job.
If the service returns an enum value that is not available in the current SDK version, snowballType will
return SnowballType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
snowballTypeAsString().
SnowballTypepublic String snowballTypeAsString()
The type of appliance used with this job.
If the service returns an enum value that is not available in the current SDK version, snowballType will
return SnowballType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
snowballTypeAsString().
SnowballTypepublic Instant creationDate()
The creation date for this job.
public String description()
The optional description of this specific job, for example Important Photos 2016-08-11.
Important Photos 2016-08-11.public JobListEntry.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<JobListEntry.Builder,JobListEntry>public static JobListEntry.Builder builder()
public static Class<? extends JobListEntry.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.