public class CreateOTAUpdateResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
CreateOTAUpdateResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAwsIotJobArn()
The AWS IoT job ARN associated with the OTA update.
|
java.lang.String |
getAwsIotJobId()
The AWS IoT job ID associated with the OTA update.
|
java.lang.String |
getOtaUpdateArn()
The OTA update ARN.
|
java.lang.String |
getOtaUpdateId()
The OTA update ID.
|
java.lang.String |
getOtaUpdateStatus()
The OTA update status.
|
int |
hashCode() |
void |
setAwsIotJobArn(java.lang.String awsIotJobArn)
The AWS IoT job ARN associated with the OTA update.
|
void |
setAwsIotJobId(java.lang.String awsIotJobId)
The AWS IoT job ID associated with the OTA update.
|
void |
setOtaUpdateArn(java.lang.String otaUpdateArn)
The OTA update ARN.
|
void |
setOtaUpdateId(java.lang.String otaUpdateId)
The OTA update ID.
|
void |
setOtaUpdateStatus(OTAUpdateStatus otaUpdateStatus)
The OTA update status.
|
void |
setOtaUpdateStatus(java.lang.String otaUpdateStatus)
The OTA update status.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateOTAUpdateResult |
withAwsIotJobArn(java.lang.String awsIotJobArn)
The AWS IoT job ARN associated with the OTA update.
|
CreateOTAUpdateResult |
withAwsIotJobId(java.lang.String awsIotJobId)
The AWS IoT job ID associated with the OTA update.
|
CreateOTAUpdateResult |
withOtaUpdateArn(java.lang.String otaUpdateArn)
The OTA update ARN.
|
CreateOTAUpdateResult |
withOtaUpdateId(java.lang.String otaUpdateId)
The OTA update ID.
|
CreateOTAUpdateResult |
withOtaUpdateStatus(OTAUpdateStatus otaUpdateStatus)
The OTA update status.
|
CreateOTAUpdateResult |
withOtaUpdateStatus(java.lang.String otaUpdateStatus)
The OTA update status.
|
public java.lang.String getOtaUpdateId()
The OTA update ID.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
The OTA update ID.
public void setOtaUpdateId(java.lang.String otaUpdateId)
The OTA update ID.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
otaUpdateId
- The OTA update ID.
public CreateOTAUpdateResult withOtaUpdateId(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String getOtaUpdateArn()
The OTA update ARN.
The OTA update ARN.
public void setOtaUpdateArn(java.lang.String otaUpdateArn)
The OTA update ARN.
otaUpdateArn
- The OTA update ARN.
public CreateOTAUpdateResult withOtaUpdateArn(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String getOtaUpdateStatus()
The OTA update status.
Constraints:
Allowed Values: CREATE_PENDING, CREATE_IN_PROGRESS,
CREATE_COMPLETE, CREATE_FAILED
The OTA update status.
OTAUpdateStatus
public void setOtaUpdateStatus(java.lang.String otaUpdateStatus)
The OTA update status.
Constraints:
Allowed Values: CREATE_PENDING, CREATE_IN_PROGRESS,
CREATE_COMPLETE, CREATE_FAILED
otaUpdateStatus
- The OTA update status.
OTAUpdateStatus
public CreateOTAUpdateResult withOtaUpdateStatus(java.lang.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.
OTAUpdateStatus
public 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.
OTAUpdateStatus
public 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.
OTAUpdateStatus
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.