@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeviceJob extends Object implements Serializable, Cloneable, StructuredPojo
A job that runs on a device.
Constructor and Description |
---|
DeviceJob() |
Modifier and Type | Method and Description |
---|---|
DeviceJob |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedTime()
When the job was created.
|
String |
getDeviceId()
The ID of the target device.
|
String |
getDeviceName()
The name of the target device
|
String |
getJobId()
The job's ID.
|
String |
getJobType()
The job's type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedTime(Date createdTime)
When the job was created.
|
void |
setDeviceId(String deviceId)
The ID of the target device.
|
void |
setDeviceName(String deviceName)
The name of the target device
|
void |
setJobId(String jobId)
The job's ID.
|
void |
setJobType(String jobType)
The job's type.
|
String |
toString()
Returns a string representation of this object.
|
DeviceJob |
withCreatedTime(Date createdTime)
When the job was created.
|
DeviceJob |
withDeviceId(String deviceId)
The ID of the target device.
|
DeviceJob |
withDeviceName(String deviceName)
The name of the target device
|
DeviceJob |
withJobId(String jobId)
The job's ID.
|
DeviceJob |
withJobType(JobType jobType)
The job's type.
|
DeviceJob |
withJobType(String jobType)
The job's type.
|
public void setCreatedTime(Date createdTime)
When the job was created.
createdTime
- When the job was created.public Date getCreatedTime()
When the job was created.
public DeviceJob withCreatedTime(Date createdTime)
When the job was created.
createdTime
- When the job was created.public void setDeviceId(String deviceId)
The ID of the target device.
deviceId
- The ID of the target device.public String getDeviceId()
The ID of the target device.
public DeviceJob withDeviceId(String deviceId)
The ID of the target device.
deviceId
- The ID of the target device.public void setDeviceName(String deviceName)
The name of the target device
deviceName
- The name of the target devicepublic String getDeviceName()
The name of the target device
public DeviceJob withDeviceName(String deviceName)
The name of the target device
deviceName
- The name of the target devicepublic void setJobId(String jobId)
The job's ID.
jobId
- The job's ID.public String getJobId()
The job's ID.
public DeviceJob withJobId(String jobId)
The job's ID.
jobId
- The job's ID.public void setJobType(String jobType)
The job's type.
jobType
- The job's type.JobType
public DeviceJob withJobType(String jobType)
The job's type.
jobType
- The job's type.JobType
public DeviceJob withJobType(JobType jobType)
The job's type.
jobType
- The job's type.JobType
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.