@Generated(value="software.amazon.awssdk:codegen") public final class JobSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobSummary.Builder,JobSummary>
Describes the summary for an execution job for an Amplify app.
| Modifier and Type | Class and Description |
|---|---|
static interface |
JobSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static JobSummary.Builder |
builder() |
String |
commitId()
The commit ID from a third-party repository provider for the job.
|
String |
commitMessage()
The commit message from a third-party repository provider for the job.
|
Instant |
commitTime()
The commit date and time for the job.
|
Instant |
endTime()
The end date and time for the job.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
jobArn()
The Amazon Resource Name (ARN) for the job.
|
String |
jobId()
The unique ID for the job.
|
JobType |
jobType()
The type for the job.
|
String |
jobTypeAsString()
The type for the job.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends JobSummary.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The start date and time for the job.
|
JobStatus |
status()
The current status for the job.
|
String |
statusAsString()
The current status for the job.
|
JobSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String jobArn()
The Amazon Resource Name (ARN) for the job.
public final String jobId()
The unique ID for the job.
public final String commitId()
The commit ID from a third-party repository provider for the job.
public final String commitMessage()
The commit message from a third-party repository provider for the job.
public final Instant commitTime()
The commit date and time for the job.
public final Instant startTime()
The start date and time for the job.
public final JobStatus status()
The current status for 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 for 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 Instant endTime()
The end date and time for the job.
public final JobType jobType()
The type for the job. If the value is RELEASE, the job was manually released from its source by
using the StartJob API. If the value is RETRY, the job was manually retried using the
StartJob API. If the value is WEB_HOOK, the job was automatically triggered by
webhooks.
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().
RELEASE, the job was manually released from its source
by using the StartJob API. If the value is RETRY, the job was manually retried
using the StartJob API. If the value is WEB_HOOK, the job was automatically
triggered by webhooks.JobTypepublic final String jobTypeAsString()
The type for the job. If the value is RELEASE, the job was manually released from its source by
using the StartJob API. If the value is RETRY, the job was manually retried using the
StartJob API. If the value is WEB_HOOK, the job was automatically triggered by
webhooks.
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().
RELEASE, the job was manually released from its source
by using the StartJob API. If the value is RETRY, the job was manually retried
using the StartJob API. If the value is WEB_HOOK, the job was automatically
triggered by webhooks.JobTypepublic 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 © 2022. All rights reserved.