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 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
The unique ID for the job.
- Returns:
- The unique ID for the job.
-
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. If the value isRETRY
, the job was manually retried using theStartJob
API. If the value isWEB_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 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. If the value isRETRY
, the job was manually retried using theStartJob
API. If the value isWEB_HOOK
, the job was automatically triggered by webhooks. - 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. If the value isRETRY
, the job was manually retried using theStartJob
API. If the value isWEB_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 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. If the value isRETRY
, the job was manually retried using theStartJob
API. If the value isWEB_HOOK
, the job was automatically triggered by webhooks. - 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
public final int 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
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. -
getValueForField
-
sdkFields
-