@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.
|
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() |
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 |
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 |
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.
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.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.
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.
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.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.
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.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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.