@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDeviceJobResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeDeviceJobResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDeviceJobResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedTime()
When the job was created.
|
String |
getDeviceArn()
The device's ARN.
|
String |
getDeviceId()
The device's ID.
|
String |
getDeviceName()
The device's name.
|
String |
getDeviceType()
The device's type.
|
String |
getImageVersion()
For an OTA job, the target version of the device software.
|
String |
getJobId()
The job's ID.
|
String |
getJobType()
The job's type.
|
String |
getStatus()
The job's status.
|
int |
hashCode() |
void |
setCreatedTime(Date createdTime)
When the job was created.
|
void |
setDeviceArn(String deviceArn)
The device's ARN.
|
void |
setDeviceId(String deviceId)
The device's ID.
|
void |
setDeviceName(String deviceName)
The device's name.
|
void |
setDeviceType(String deviceType)
The device's type.
|
void |
setImageVersion(String imageVersion)
For an OTA job, the target version of the device software.
|
void |
setJobId(String jobId)
The job's ID.
|
void |
setJobType(String jobType)
The job's type.
|
void |
setStatus(String status)
The job's status.
|
String |
toString()
Returns a string representation of this object.
|
DescribeDeviceJobResult |
withCreatedTime(Date createdTime)
When the job was created.
|
DescribeDeviceJobResult |
withDeviceArn(String deviceArn)
The device's ARN.
|
DescribeDeviceJobResult |
withDeviceId(String deviceId)
The device's ID.
|
DescribeDeviceJobResult |
withDeviceName(String deviceName)
The device's name.
|
DescribeDeviceJobResult |
withDeviceType(DeviceType deviceType)
The device's type.
|
DescribeDeviceJobResult |
withDeviceType(String deviceType)
The device's type.
|
DescribeDeviceJobResult |
withImageVersion(String imageVersion)
For an OTA job, the target version of the device software.
|
DescribeDeviceJobResult |
withJobId(String jobId)
The job's ID.
|
DescribeDeviceJobResult |
withJobType(JobType jobType)
The job's type.
|
DescribeDeviceJobResult |
withJobType(String jobType)
The job's type.
|
DescribeDeviceJobResult |
withStatus(String status)
The job's status.
|
DescribeDeviceJobResult |
withStatus(UpdateProgress status)
The job's status.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 DescribeDeviceJobResult withCreatedTime(Date createdTime)
When the job was created.
createdTime
- When the job was created.public void setDeviceArn(String deviceArn)
The device's ARN.
deviceArn
- The device's ARN.public String getDeviceArn()
The device's ARN.
public DescribeDeviceJobResult withDeviceArn(String deviceArn)
The device's ARN.
deviceArn
- The device's ARN.public void setDeviceId(String deviceId)
The device's ID.
deviceId
- The device's ID.public String getDeviceId()
The device's ID.
public DescribeDeviceJobResult withDeviceId(String deviceId)
The device's ID.
deviceId
- The device's ID.public void setDeviceName(String deviceName)
The device's name.
deviceName
- The device's name.public String getDeviceName()
The device's name.
public DescribeDeviceJobResult withDeviceName(String deviceName)
The device's name.
deviceName
- The device's name.public void setDeviceType(String deviceType)
The device's type.
deviceType
- The device's type.DeviceType
public String getDeviceType()
The device's type.
DeviceType
public DescribeDeviceJobResult withDeviceType(String deviceType)
The device's type.
deviceType
- The device's type.DeviceType
public DescribeDeviceJobResult withDeviceType(DeviceType deviceType)
The device's type.
deviceType
- The device's type.DeviceType
public void setImageVersion(String imageVersion)
For an OTA job, the target version of the device software.
imageVersion
- For an OTA job, the target version of the device software.public String getImageVersion()
For an OTA job, the target version of the device software.
public DescribeDeviceJobResult withImageVersion(String imageVersion)
For an OTA job, the target version of the device software.
imageVersion
- For an OTA job, the target version of the device software.public void setJobId(String jobId)
The job's ID.
jobId
- The job's ID.public String getJobId()
The job's ID.
public DescribeDeviceJobResult 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 DescribeDeviceJobResult withJobType(String jobType)
The job's type.
jobType
- The job's type.JobType
public DescribeDeviceJobResult withJobType(JobType jobType)
The job's type.
jobType
- The job's type.JobType
public void setStatus(String status)
The job's status.
status
- The job's status.UpdateProgress
public String getStatus()
The job's status.
UpdateProgress
public DescribeDeviceJobResult withStatus(String status)
The job's status.
status
- The job's status.UpdateProgress
public DescribeDeviceJobResult withStatus(UpdateProgress status)
The job's status.
status
- The job's status.UpdateProgress
public String toString()
toString
in class Object
Object.toString()
public DescribeDeviceJobResult clone()