@Generated(value="software.amazon.awssdk:codegen") public final class JobListEntry extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isMaster()
A value that indicates that this job is a main 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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends JobListEntry.Builder> |
serializableBuilderClass() |
SnowballType |
snowballType()
The type of device used with this job.
|
String |
snowballTypeAsString()
The type of device used with this job.
|
JobListEntry.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String jobId()
The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000.
JID123e4567-e89b-12d3-a456-426655440000.public final 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 final 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 final Boolean isMaster()
A value that indicates that this job is a main job. A main job represents a successful request to create an export job. Main jobs aren't associated with any Snowballs. Instead, each main 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 main job are listed, because they are created after the main job is created.
public final 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 final 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 final SnowballType snowballType()
The type of device 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 final String snowballTypeAsString()
The type of device 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 final Instant creationDate()
The creation date for this job.
public final 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()
toBuilder in interface ToCopyableBuilder<JobListEntry.Builder,JobListEntry>public static JobListEntry.Builder builder()
public static Class<? extends JobListEntry.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.