public class JobExecutionSummary
extends java.lang.Object
implements java.io.Serializable
The job execution summary.
Constructor and Description |
---|
JobExecutionSummary() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getExecutionNumber()
A string (consisting of the digits "0" through "9") which identifies this
particular job execution on this particular device.
|
java.util.Date |
getLastUpdatedAt()
The time, in seconds since the epoch, when the job execution was last
updated.
|
java.util.Date |
getQueuedAt()
The time, in seconds since the epoch, when the job execution was queued.
|
java.util.Date |
getStartedAt()
The time, in seconds since the epoch, when the job execution started.
|
java.lang.String |
getStatus()
The status of the job execution.
|
int |
hashCode() |
void |
setExecutionNumber(java.lang.Long executionNumber)
A string (consisting of the digits "0" through "9") which identifies this
particular job execution on this particular device.
|
void |
setLastUpdatedAt(java.util.Date lastUpdatedAt)
The time, in seconds since the epoch, when the job execution was last
updated.
|
void |
setQueuedAt(java.util.Date queuedAt)
The time, in seconds since the epoch, when the job execution was queued.
|
void |
setStartedAt(java.util.Date startedAt)
The time, in seconds since the epoch, when the job execution started.
|
void |
setStatus(JobExecutionStatus status)
The status of the job execution.
|
void |
setStatus(java.lang.String status)
The status of the job execution.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
JobExecutionSummary |
withExecutionNumber(java.lang.Long executionNumber)
A string (consisting of the digits "0" through "9") which identifies this
particular job execution on this particular device.
|
JobExecutionSummary |
withLastUpdatedAt(java.util.Date lastUpdatedAt)
The time, in seconds since the epoch, when the job execution was last
updated.
|
JobExecutionSummary |
withQueuedAt(java.util.Date queuedAt)
The time, in seconds since the epoch, when the job execution was queued.
|
JobExecutionSummary |
withStartedAt(java.util.Date startedAt)
The time, in seconds since the epoch, when the job execution started.
|
JobExecutionSummary |
withStatus(JobExecutionStatus status)
The status of the job execution.
|
JobExecutionSummary |
withStatus(java.lang.String status)
The status of the job execution.
|
public java.lang.String getStatus()
The status of the job execution.
Constraints:
Allowed Values: QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT,
REJECTED, REMOVED, CANCELED
The status of the job execution.
JobExecutionStatus
public void setStatus(java.lang.String status)
The status of the job execution.
Constraints:
Allowed Values: QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT,
REJECTED, REMOVED, CANCELED
status
- The status of the job execution.
JobExecutionStatus
public JobExecutionSummary withStatus(java.lang.String status)
The status of the job execution.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT,
REJECTED, REMOVED, CANCELED
status
- The status of the job execution.
JobExecutionStatus
public void setStatus(JobExecutionStatus status)
The status of the job execution.
Constraints:
Allowed Values: QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT,
REJECTED, REMOVED, CANCELED
status
- The status of the job execution.
JobExecutionStatus
public JobExecutionSummary withStatus(JobExecutionStatus status)
The status of the job execution.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT,
REJECTED, REMOVED, CANCELED
status
- The status of the job execution.
JobExecutionStatus
public java.util.Date getQueuedAt()
The time, in seconds since the epoch, when the job execution was queued.
The time, in seconds since the epoch, when the job execution was queued.
public void setQueuedAt(java.util.Date queuedAt)
The time, in seconds since the epoch, when the job execution was queued.
queuedAt
- The time, in seconds since the epoch, when the job execution was queued.
public JobExecutionSummary withQueuedAt(java.util.Date queuedAt)
The time, in seconds since the epoch, when the job execution was queued.
Returns a reference to this object so that method calls can be chained together.
queuedAt
- The time, in seconds since the epoch, when the job execution was queued.
public java.util.Date getStartedAt()
The time, in seconds since the epoch, when the job execution started.
The time, in seconds since the epoch, when the job execution started.
public void setStartedAt(java.util.Date startedAt)
The time, in seconds since the epoch, when the job execution started.
startedAt
- The time, in seconds since the epoch, when the job execution started.
public JobExecutionSummary withStartedAt(java.util.Date startedAt)
The time, in seconds since the epoch, when the job execution started.
Returns a reference to this object so that method calls can be chained together.
startedAt
- The time, in seconds since the epoch, when the job execution started.
public java.util.Date getLastUpdatedAt()
The time, in seconds since the epoch, when the job execution was last updated.
The time, in seconds since the epoch, when the job execution was last updated.
public void setLastUpdatedAt(java.util.Date lastUpdatedAt)
The time, in seconds since the epoch, when the job execution was last updated.
lastUpdatedAt
- The time, in seconds since the epoch, when the job execution was last updated.
public JobExecutionSummary withLastUpdatedAt(java.util.Date lastUpdatedAt)
The time, in seconds since the epoch, when the job execution was last updated.
Returns a reference to this object so that method calls can be chained together.
lastUpdatedAt
- The time, in seconds since the epoch, when the job execution was last updated.
public java.lang.Long getExecutionNumber()
A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used later in commands which return or update job execution information.
A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used later in commands which return or update job execution information.
public void setExecutionNumber(java.lang.Long executionNumber)
A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used later in commands which return or update job execution information.
executionNumber
- A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used later in commands which return or update job execution information.
public JobExecutionSummary withExecutionNumber(java.lang.Long executionNumber)
A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used later in commands which return or update job execution information.
Returns a reference to this object so that method calls can be chained together.
executionNumber
- A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used later in commands which return or update job execution information.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.