@Generated(value="software.amazon.awssdk:codegen") public final class JobSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobSummary.Builder,JobSummary>
An object containing the JobId, Status, StartTime, and EndTime of
a job.
| Modifier and Type | Class and Description |
|---|---|
static interface |
JobSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static JobSummary.Builder |
builder() |
Instant |
endTime()
The time at which the job has finished.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
jobId()
The ID of the job.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends JobSummary.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The time at which the job was started.
|
JobStatus |
status()
The current status of the job.
|
String |
statusAsString()
The current status of the job.
|
JobSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant endTime()
The time at which the job has finished.
public final String jobId()
The ID of the job.
public final Instant startTime()
The time at which the job was started.
public final JobStatus status()
The current status of the job.
If the service returns an enum value that is not available in the current SDK version, status will
return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
JobStatuspublic final String statusAsString()
The current status of the job.
If the service returns an enum value that is not available in the current SDK version, status will
return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
JobStatuspublic JobSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<JobSummary.Builder,JobSummary>public static JobSummary.Builder builder()
public static Class<? extends JobSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.