Class JobSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<JobSummary.Builder,JobSummary>
Describes the summary for an execution job for an Amplify app.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic JobSummary.Builderbuilder()final StringcommitId()The commit ID from a third-party repository provider for the job.final StringThe commit message from a third-party repository provider for the job.final InstantThe commit date and time for the job.final InstantendTime()The end date and time for the job.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringjobArn()The Amazon Resource Name (ARN) for the job.final StringjobId()The unique ID for the job.final JobTypejobType()The type for the job.final StringThe type for the job.static Class<? extends JobSummary.Builder> final StringThe source URL for the files to deploy.final SourceUrlTypeThe type of source specified by thesourceURL.final StringThe type of source specified by thesourceURL.final InstantThe start date and time for the job.final JobStatusstatus()The current status for the job.final StringThe current status for the job.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
jobArn
The Amazon Resource Name (ARN) for the job.
- Returns:
- The Amazon Resource Name (ARN) for the job.
-
jobId
-
commitId
The commit ID from a third-party repository provider for the job.
- Returns:
- The commit ID from a third-party repository provider for the job.
-
commitMessage
The commit message from a third-party repository provider for the job.
- Returns:
- The commit message from a third-party repository provider for the job.
-
commitTime
The commit date and time for the job.
- Returns:
- The commit date and time for the job.
-
startTime
The start date and time for the job.
- Returns:
- The start date and time for the job.
-
status
The current status for the job.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status for the job.
- See Also:
-
statusAsString
The current status for the job.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status for the job.
- See Also:
-
endTime
The end date and time for the job.
- Returns:
- The end date and time for the job.
-
jobType
The type for the job. If the value is
RELEASE, the job was manually released from its source by using theStartJobAPI. This value is available only for apps that are connected to a repository.If the value is
RETRY, the job was manually retried using theStartJobAPI. If the value isWEB_HOOK, the job was automatically triggered by webhooks. If the value isMANUAL, the job is for a manually deployed app. Manually deployed apps are not connected to a Git repository.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 for the job. If the value is
RELEASE, the job was manually released from its source by using theStartJobAPI. This value is available only for apps that are connected to a repository.If the value is
RETRY, the job was manually retried using theStartJobAPI. If the value isWEB_HOOK, the job was automatically triggered by webhooks. If the value isMANUAL, the job is for a manually deployed app. Manually deployed apps are not connected to a Git repository. - See Also:
-
jobTypeAsString
The type for the job. If the value is
RELEASE, the job was manually released from its source by using theStartJobAPI. This value is available only for apps that are connected to a repository.If the value is
RETRY, the job was manually retried using theStartJobAPI. If the value isWEB_HOOK, the job was automatically triggered by webhooks. If the value isMANUAL, the job is for a manually deployed app. Manually deployed apps are not connected to a Git repository.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 for the job. If the value is
RELEASE, the job was manually released from its source by using theStartJobAPI. This value is available only for apps that are connected to a repository.If the value is
RETRY, the job was manually retried using theStartJobAPI. If the value isWEB_HOOK, the job was automatically triggered by webhooks. If the value isMANUAL, the job is for a manually deployed app. Manually deployed apps are not connected to a Git repository. - See Also:
-
sourceUrl
The source URL for the files to deploy. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.
- Returns:
- The source URL for the files to deploy. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.
-
sourceUrlType
The type of source specified by the
sourceURL. If the value isZIP, the source is a .zip file. If the value isBUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default isZIP.If the service returns an enum value that is not available in the current SDK version,
sourceUrlTypewill returnSourceUrlType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceUrlTypeAsString().- Returns:
- The type of source specified by the
sourceURL. If the value isZIP, the source is a .zip file. If the value isBUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default isZIP. - See Also:
-
sourceUrlTypeAsString
The type of source specified by the
sourceURL. If the value isZIP, the source is a .zip file. If the value isBUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default isZIP.If the service returns an enum value that is not available in the current SDK version,
sourceUrlTypewill returnSourceUrlType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceUrlTypeAsString().- Returns:
- The type of source specified by the
sourceURL. If the value isZIP, the source is a .zip file. If the value isBUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default isZIP. - See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<JobSummary.Builder,JobSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-