public class CreateOTAUpdateResult extends Object implements Serializable
| Constructor and Description |
|---|
CreateOTAUpdateResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAwsIotJobArn()
The AWS IoT job ARN associated with the OTA update.
|
String |
getAwsIotJobId()
The AWS IoT job ID associated with the OTA update.
|
String |
getOtaUpdateArn()
The OTA update ARN.
|
String |
getOtaUpdateId()
The OTA update ID.
|
String |
getOtaUpdateStatus()
The OTA update status.
|
int |
hashCode() |
void |
setAwsIotJobArn(String awsIotJobArn)
The AWS IoT job ARN associated with the OTA update.
|
void |
setAwsIotJobId(String awsIotJobId)
The AWS IoT job ID associated with the OTA update.
|
void |
setOtaUpdateArn(String otaUpdateArn)
The OTA update ARN.
|
void |
setOtaUpdateId(String otaUpdateId)
The OTA update ID.
|
void |
setOtaUpdateStatus(OTAUpdateStatus otaUpdateStatus)
The OTA update status.
|
void |
setOtaUpdateStatus(String otaUpdateStatus)
The OTA update status.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateOTAUpdateResult |
withAwsIotJobArn(String awsIotJobArn)
The AWS IoT job ARN associated with the OTA update.
|
CreateOTAUpdateResult |
withAwsIotJobId(String awsIotJobId)
The AWS IoT job ID associated with the OTA update.
|
CreateOTAUpdateResult |
withOtaUpdateArn(String otaUpdateArn)
The OTA update ARN.
|
CreateOTAUpdateResult |
withOtaUpdateId(String otaUpdateId)
The OTA update ID.
|
CreateOTAUpdateResult |
withOtaUpdateStatus(OTAUpdateStatus otaUpdateStatus)
The OTA update status.
|
CreateOTAUpdateResult |
withOtaUpdateStatus(String otaUpdateStatus)
The OTA update status.
|
public String getOtaUpdateId()
The OTA update ID.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
The OTA update ID.
public void setOtaUpdateId(String otaUpdateId)
The OTA update ID.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
otaUpdateId - The OTA update ID.
public CreateOTAUpdateResult withOtaUpdateId(String otaUpdateId)
The OTA update ID.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
otaUpdateId - The OTA update ID.
public String getAwsIotJobId()
The AWS IoT job ID associated with the OTA update.
The AWS IoT job ID associated with the OTA update.
public void setAwsIotJobId(String awsIotJobId)
The AWS IoT job ID associated with the OTA update.
awsIotJobId - The AWS IoT job ID associated with the OTA update.
public CreateOTAUpdateResult withAwsIotJobId(String awsIotJobId)
The AWS IoT job ID associated with the OTA update.
Returns a reference to this object so that method calls can be chained together.
awsIotJobId - The AWS IoT job ID associated with the OTA update.
public String getOtaUpdateArn()
The OTA update ARN.
The OTA update ARN.
public void setOtaUpdateArn(String otaUpdateArn)
The OTA update ARN.
otaUpdateArn - The OTA update ARN.
public CreateOTAUpdateResult withOtaUpdateArn(String otaUpdateArn)
The OTA update ARN.
Returns a reference to this object so that method calls can be chained together.
otaUpdateArn - The OTA update ARN.
public String getAwsIotJobArn()
The AWS IoT job ARN associated with the OTA update.
The AWS IoT job ARN associated with the OTA update.
public void setAwsIotJobArn(String awsIotJobArn)
The AWS IoT job ARN associated with the OTA update.
awsIotJobArn - The AWS IoT job ARN associated with the OTA update.
public CreateOTAUpdateResult withAwsIotJobArn(String awsIotJobArn)
The AWS IoT job ARN associated with the OTA update.
Returns a reference to this object so that method calls can be chained together.
awsIotJobArn - The AWS IoT job ARN associated with the OTA update.
public String getOtaUpdateStatus()
The OTA update status.
Constraints:
Allowed Values: CREATE_PENDING, CREATE_IN_PROGRESS,
CREATE_COMPLETE, CREATE_FAILED
The OTA update status.
OTAUpdateStatuspublic void setOtaUpdateStatus(String otaUpdateStatus)
The OTA update status.
Constraints:
Allowed Values: CREATE_PENDING, CREATE_IN_PROGRESS,
CREATE_COMPLETE, CREATE_FAILED
otaUpdateStatus - The OTA update status.
OTAUpdateStatuspublic CreateOTAUpdateResult withOtaUpdateStatus(String otaUpdateStatus)
The OTA update status.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATE_PENDING, CREATE_IN_PROGRESS,
CREATE_COMPLETE, CREATE_FAILED
otaUpdateStatus - The OTA update status.
OTAUpdateStatuspublic void setOtaUpdateStatus(OTAUpdateStatus otaUpdateStatus)
The OTA update status.
Constraints:
Allowed Values: CREATE_PENDING, CREATE_IN_PROGRESS,
CREATE_COMPLETE, CREATE_FAILED
otaUpdateStatus - The OTA update status.
OTAUpdateStatuspublic CreateOTAUpdateResult withOtaUpdateStatus(OTAUpdateStatus otaUpdateStatus)
The OTA update status.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATE_PENDING, CREATE_IN_PROGRESS,
CREATE_COMPLETE, CREATE_FAILED
otaUpdateStatus - The OTA update status.
OTAUpdateStatuspublic String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.