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.Builder
builder()
final String
commitId()
The commit ID from a third-party repository provider for the job.final String
The commit message from a third-party repository provider for the job.final Instant
The commit date and time for the job.final Instant
endTime()
The end date and time for the job.final boolean
final boolean
equalsBySdkFields
(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 int
hashCode()
final String
jobArn()
The Amazon Resource Name (ARN) for the job.final String
jobId()
The unique ID for the job.final JobType
jobType()
The type for the job.final String
The type for the job.static Class
<? extends JobSummary.Builder> final String
The source URL for the files to deploy.final SourceUrlType
The type of source specified by thesourceURL
.final String
The type of source specified by thesourceURL
.final Instant
The start date and time for the job.final JobStatus
status()
The current status for the job.final String
The current status for the job.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
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,
status
will 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,
status
will 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 theStartJob
API. This value is available only for apps that are connected to a repository.If the value is
RETRY
, the job was manually retried using theStartJob
API. 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,
jobType
will 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 theStartJob
API. This value is available only for apps that are connected to a repository.If the value is
RETRY
, the job was manually retried using theStartJob
API. 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 theStartJob
API. This value is available only for apps that are connected to a repository.If the value is
RETRY
, the job was manually retried using theStartJob
API. 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,
jobType
will 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 theStartJob
API. This value is available only for apps that are connected to a repository.If the value is
RETRY
, the job was manually retried using theStartJob
API. 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,
sourceUrlType
will 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,
sourceUrlType
will 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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<JobSummary.Builder,
JobSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-