@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobSummary extends Object implements Serializable, Cloneable, StructuredPojo
Describes the summary for an execution job for an Amplify app.
| Constructor and Description |
|---|
JobSummary() |
| Modifier and Type | Method and Description |
|---|---|
JobSummary |
clone() |
boolean |
equals(Object obj) |
String |
getCommitId()
The commit ID from a third-party repository provider for the job.
|
String |
getCommitMessage()
The commit message from a third-party repository provider for the job.
|
Date |
getCommitTime()
The commit date and time for the job.
|
Date |
getEndTime()
The end date and time for the job.
|
String |
getJobArn()
The Amazon Resource Name (ARN) for the job.
|
String |
getJobId()
The unique ID for the job.
|
String |
getJobType()
The type for the job.
|
Date |
getStartTime()
The start date and time for the job.
|
String |
getStatus()
The current status for the job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCommitId(String commitId)
The commit ID from a third-party repository provider for the job.
|
void |
setCommitMessage(String commitMessage)
The commit message from a third-party repository provider for the job.
|
void |
setCommitTime(Date commitTime)
The commit date and time for the job.
|
void |
setEndTime(Date endTime)
The end date and time for the job.
|
void |
setJobArn(String jobArn)
The Amazon Resource Name (ARN) for the job.
|
void |
setJobId(String jobId)
The unique ID for the job.
|
void |
setJobType(String jobType)
The type for the job.
|
void |
setStartTime(Date startTime)
The start date and time for the job.
|
void |
setStatus(String status)
The current status for the job.
|
String |
toString()
Returns a string representation of this object.
|
JobSummary |
withCommitId(String commitId)
The commit ID from a third-party repository provider for the job.
|
JobSummary |
withCommitMessage(String commitMessage)
The commit message from a third-party repository provider for the job.
|
JobSummary |
withCommitTime(Date commitTime)
The commit date and time for the job.
|
JobSummary |
withEndTime(Date endTime)
The end date and time for the job.
|
JobSummary |
withJobArn(String jobArn)
The Amazon Resource Name (ARN) for the job.
|
JobSummary |
withJobId(String jobId)
The unique ID for the job.
|
JobSummary |
withJobType(JobType jobType)
The type for the job.
|
JobSummary |
withJobType(String jobType)
The type for the job.
|
JobSummary |
withStartTime(Date startTime)
The start date and time for the job.
|
JobSummary |
withStatus(JobStatus status)
The current status for the job.
|
JobSummary |
withStatus(String status)
The current status for the job.
|
public void setJobArn(String jobArn)
The Amazon Resource Name (ARN) for the job.
jobArn - The Amazon Resource Name (ARN) for the job.public String getJobArn()
The Amazon Resource Name (ARN) for the job.
public JobSummary withJobArn(String jobArn)
The Amazon Resource Name (ARN) for the job.
jobArn - The Amazon Resource Name (ARN) for the job.public void setJobId(String jobId)
The unique ID for the job.
jobId - The unique ID for the job.public String getJobId()
The unique ID for the job.
public JobSummary withJobId(String jobId)
The unique ID for the job.
jobId - The unique ID for the job.public void setCommitId(String commitId)
The commit ID from a third-party repository provider for the job.
commitId - The commit ID from a third-party repository provider for the job.public String getCommitId()
The commit ID from a third-party repository provider for the job.
public JobSummary withCommitId(String commitId)
The commit ID from a third-party repository provider for the job.
commitId - The commit ID from a third-party repository provider for the job.public void setCommitMessage(String commitMessage)
The commit message from a third-party repository provider for the job.
commitMessage - The commit message from a third-party repository provider for the job.public String getCommitMessage()
The commit message from a third-party repository provider for the job.
public JobSummary withCommitMessage(String commitMessage)
The commit message from a third-party repository provider for the job.
commitMessage - The commit message from a third-party repository provider for the job.public void setCommitTime(Date commitTime)
The commit date and time for the job.
commitTime - The commit date and time for the job.public Date getCommitTime()
The commit date and time for the job.
public JobSummary withCommitTime(Date commitTime)
The commit date and time for the job.
commitTime - The commit date and time for the job.public void setStartTime(Date startTime)
The start date and time for the job.
startTime - The start date and time for the job.public Date getStartTime()
The start date and time for the job.
public JobSummary withStartTime(Date startTime)
The start date and time for the job.
startTime - The start date and time for the job.public void setStatus(String status)
The current status for the job.
status - The current status for the job.JobStatuspublic String getStatus()
The current status for the job.
JobStatuspublic JobSummary withStatus(String status)
The current status for the job.
status - The current status for the job.JobStatuspublic JobSummary withStatus(JobStatus status)
The current status for the job.
status - The current status for the job.JobStatuspublic void setEndTime(Date endTime)
The end date and time for the job.
endTime - The end date and time for the job.public Date getEndTime()
The end date and time for the job.
public JobSummary withEndTime(Date endTime)
The end date and time for the job.
endTime - The end date and time for the job.public void setJobType(String 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.
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.JobTypepublic String getJobType()
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.
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 withJobType(String 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.
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.JobTypepublic JobSummary withJobType(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.
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.JobTypepublic String toString()
toString in class ObjectObject.toString()public JobSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.