@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobSummary extends Object implements Serializable, Cloneable, StructuredPojo
The job summary.
Constructor and Description |
---|
JobSummary() |
Modifier and Type | Method and Description |
---|---|
JobSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCompletedAt()
The time, in seconds since the epoch, when the job completed.
|
Date |
getCreatedAt()
The time, in seconds since the epoch, when the job was created.
|
Boolean |
getIsConcurrent()
Indicates whether a job is concurrent.
|
String |
getJobArn()
The job ARN.
|
String |
getJobId()
The unique identifier you assigned to this job when it was created.
|
Date |
getLastUpdatedAt()
The time, in seconds since the epoch, when the job was last updated.
|
String |
getStatus()
The job summary status.
|
String |
getTargetSelection()
Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified
as targets have completed the job (SNAPSHOT).
|
String |
getThingGroupId()
The ID of the thing group.
|
int |
hashCode() |
Boolean |
isConcurrent()
Indicates whether a job is concurrent.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCompletedAt(Date completedAt)
The time, in seconds since the epoch, when the job completed.
|
void |
setCreatedAt(Date createdAt)
The time, in seconds since the epoch, when the job was created.
|
void |
setIsConcurrent(Boolean isConcurrent)
Indicates whether a job is concurrent.
|
void |
setJobArn(String jobArn)
The job ARN.
|
void |
setJobId(String jobId)
The unique identifier you assigned to this job when it was created.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
The time, in seconds since the epoch, when the job was last updated.
|
void |
setStatus(String status)
The job summary status.
|
void |
setTargetSelection(String targetSelection)
Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified
as targets have completed the job (SNAPSHOT).
|
void |
setThingGroupId(String thingGroupId)
The ID of the thing group.
|
String |
toString()
Returns a string representation of this object.
|
JobSummary |
withCompletedAt(Date completedAt)
The time, in seconds since the epoch, when the job completed.
|
JobSummary |
withCreatedAt(Date createdAt)
The time, in seconds since the epoch, when the job was created.
|
JobSummary |
withIsConcurrent(Boolean isConcurrent)
Indicates whether a job is concurrent.
|
JobSummary |
withJobArn(String jobArn)
The job ARN.
|
JobSummary |
withJobId(String jobId)
The unique identifier you assigned to this job when it was created.
|
JobSummary |
withLastUpdatedAt(Date lastUpdatedAt)
The time, in seconds since the epoch, when the job was last updated.
|
JobSummary |
withStatus(JobStatus status)
The job summary status.
|
JobSummary |
withStatus(String status)
The job summary status.
|
JobSummary |
withTargetSelection(String targetSelection)
Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified
as targets have completed the job (SNAPSHOT).
|
JobSummary |
withTargetSelection(TargetSelection targetSelection)
Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified
as targets have completed the job (SNAPSHOT).
|
JobSummary |
withThingGroupId(String thingGroupId)
The ID of the thing group.
|
public void setJobArn(String jobArn)
The job ARN.
jobArn
- The job ARN.public String getJobArn()
The job ARN.
public JobSummary withJobArn(String jobArn)
The job ARN.
jobArn
- The job ARN.public void setJobId(String jobId)
The unique identifier you assigned to this job when it was created.
jobId
- The unique identifier you assigned to this job when it was created.public String getJobId()
The unique identifier you assigned to this job when it was created.
public JobSummary withJobId(String jobId)
The unique identifier you assigned to this job when it was created.
jobId
- The unique identifier you assigned to this job when it was created.public void setThingGroupId(String thingGroupId)
The ID of the thing group.
thingGroupId
- The ID of the thing group.public String getThingGroupId()
The ID of the thing group.
public JobSummary withThingGroupId(String thingGroupId)
The ID of the thing group.
thingGroupId
- The ID of the thing group.public void setTargetSelection(String targetSelection)
Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.
We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
targetSelection
- Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things
specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing
when a change is detected in a target. For example, a job will run on a thing when the thing is added to a
target group, even after the job was completed by all things originally in the group. We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
TargetSelection
public String getTargetSelection()
Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.
We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
TargetSelection
public JobSummary withTargetSelection(String targetSelection)
Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.
We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
targetSelection
- Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things
specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing
when a change is detected in a target. For example, a job will run on a thing when the thing is added to a
target group, even after the job was completed by all things originally in the group. We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
TargetSelection
public JobSummary withTargetSelection(TargetSelection targetSelection)
Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.
We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
targetSelection
- Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things
specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing
when a change is detected in a target. For example, a job will run on a thing when the thing is added to a
target group, even after the job was completed by all things originally in the group. We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
TargetSelection
public void setStatus(String status)
The job summary status.
status
- The job summary status.JobStatus
public String getStatus()
The job summary status.
JobStatus
public JobSummary withStatus(String status)
The job summary status.
status
- The job summary status.JobStatus
public JobSummary withStatus(JobStatus status)
The job summary status.
status
- The job summary status.JobStatus
public void setCreatedAt(Date createdAt)
The time, in seconds since the epoch, when the job was created.
createdAt
- The time, in seconds since the epoch, when the job was created.public Date getCreatedAt()
The time, in seconds since the epoch, when the job was created.
public JobSummary withCreatedAt(Date createdAt)
The time, in seconds since the epoch, when the job was created.
createdAt
- The time, in seconds since the epoch, when the job was created.public void setLastUpdatedAt(Date lastUpdatedAt)
The time, in seconds since the epoch, when the job was last updated.
lastUpdatedAt
- The time, in seconds since the epoch, when the job was last updated.public Date getLastUpdatedAt()
The time, in seconds since the epoch, when the job was last updated.
public JobSummary withLastUpdatedAt(Date lastUpdatedAt)
The time, in seconds since the epoch, when the job was last updated.
lastUpdatedAt
- The time, in seconds since the epoch, when the job was last updated.public void setCompletedAt(Date completedAt)
The time, in seconds since the epoch, when the job completed.
completedAt
- The time, in seconds since the epoch, when the job completed.public Date getCompletedAt()
The time, in seconds since the epoch, when the job completed.
public JobSummary withCompletedAt(Date completedAt)
The time, in seconds since the epoch, when the job completed.
completedAt
- The time, in seconds since the epoch, when the job completed.public void setIsConcurrent(Boolean isConcurrent)
Indicates whether a job is concurrent. Will be true when a job is rolling out new job executions or canceling previously created executions, otherwise false.
isConcurrent
- Indicates whether a job is concurrent. Will be true when a job is rolling out new job executions or
canceling previously created executions, otherwise false.public Boolean getIsConcurrent()
Indicates whether a job is concurrent. Will be true when a job is rolling out new job executions or canceling previously created executions, otherwise false.
public JobSummary withIsConcurrent(Boolean isConcurrent)
Indicates whether a job is concurrent. Will be true when a job is rolling out new job executions or canceling previously created executions, otherwise false.
isConcurrent
- Indicates whether a job is concurrent. Will be true when a job is rolling out new job executions or
canceling previously created executions, otherwise false.public Boolean isConcurrent()
Indicates whether a job is concurrent. Will be true when a job is rolling out new job executions or canceling previously created executions, otherwise false.
public String toString()
toString
in class Object
Object.toString()
public JobSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.