Class JobListEntry
- java.lang.Object
-
- software.amazon.awssdk.services.snowball.model.JobListEntry
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<JobListEntry.Builder,JobListEntry>
@Generated("software.amazon.awssdk:codegen") public final class JobListEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobListEntry.Builder,JobListEntry>
Each
JobListEntryobject 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.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJobListEntry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JobListEntry.Builderbuilder()InstantcreationDate()The creation date for this job.Stringdescription()The optional description of this specific job, for exampleImportant Photos 2016-08-11.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanisMaster()A value that indicates that this job is a main job.StringjobId()The automatically generated ID for a job, for exampleJID123e4567-e89b-12d3-a456-426655440000.JobStatejobState()The current state of this job.StringjobStateAsString()The current state of this job.JobTypejobType()The type of job.StringjobTypeAsString()The type of job.List<SdkField<?>>sdkFields()static Class<? extends JobListEntry.Builder>serializableBuilderClass()SnowballTypesnowballType()The type of device used with this job.StringsnowballTypeAsString()The type of device used with this job.JobListEntry.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
-
jobId
public final String jobId()
The automatically generated ID for a job, for example
JID123e4567-e89b-12d3-a456-426655440000.- Returns:
- The automatically generated ID for a job, for example
JID123e4567-e89b-12d3-a456-426655440000.
-
jobState
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,
jobStatewill returnJobState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromjobStateAsString().- Returns:
- The current state of this job.
- See Also:
JobState
-
jobStateAsString
public 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,
jobStatewill returnJobState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromjobStateAsString().- Returns:
- The current state of this job.
- See Also:
JobState
-
isMaster
public 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.
- Returns:
- 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.
-
jobType
public final JobType jobType()
The type of job.
If the service returns an enum value that is not available in the current SDK version,
jobTypewill returnJobType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromjobTypeAsString().- Returns:
- The type of job.
- See Also:
JobType
-
jobTypeAsString
public final String jobTypeAsString()
The type of job.
If the service returns an enum value that is not available in the current SDK version,
jobTypewill returnJobType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromjobTypeAsString().- Returns:
- The type of job.
- See Also:
JobType
-
snowballType
public 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,
snowballTypewill returnSnowballType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsnowballTypeAsString().- Returns:
- The type of device used with this job.
- See Also:
SnowballType
-
snowballTypeAsString
public 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,
snowballTypewill returnSnowballType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsnowballTypeAsString().- Returns:
- The type of device used with this job.
- See Also:
SnowballType
-
creationDate
public final Instant creationDate()
The creation date for this job.
- Returns:
- The creation date for this job.
-
description
public final String description()
The optional description of this specific job, for example
Important Photos 2016-08-11.- Returns:
- The optional description of this specific job, for example
Important Photos 2016-08-11.
-
toBuilder
public JobListEntry.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<JobListEntry.Builder,JobListEntry>
-
builder
public static JobListEntry.Builder builder()
-
serializableBuilderClass
public static Class<? extends JobListEntry.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.
-
-