public class ListOTAUpdatesRequest extends AmazonWebServiceRequest implements Serializable
Lists OTA updates.
| Constructor and Description |
|---|
ListOTAUpdatesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results to return at one time.
|
String |
getNextToken()
A token used to retrieve the next set of results.
|
String |
getOtaUpdateStatus()
The OTA update job status.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return at one time.
|
void |
setNextToken(String nextToken)
A token used to retrieve the next set of results.
|
void |
setOtaUpdateStatus(OTAUpdateStatus otaUpdateStatus)
The OTA update job status.
|
void |
setOtaUpdateStatus(String otaUpdateStatus)
The OTA update job status.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListOTAUpdatesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return at one time.
|
ListOTAUpdatesRequest |
withNextToken(String nextToken)
A token used to retrieve the next set of results.
|
ListOTAUpdatesRequest |
withOtaUpdateStatus(OTAUpdateStatus otaUpdateStatus)
The OTA update job status.
|
ListOTAUpdatesRequest |
withOtaUpdateStatus(String otaUpdateStatus)
The OTA update job status.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic Integer getMaxResults()
The maximum number of results to return at one time.
Constraints:
Range: 1 - 250
The maximum number of results to return at one time.
public void setMaxResults(Integer maxResults)
The maximum number of results to return at one time.
Constraints:
Range: 1 - 250
maxResults - The maximum number of results to return at one time.
public ListOTAUpdatesRequest withMaxResults(Integer maxResults)
The maximum number of results to return at one time.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 250
maxResults - The maximum number of results to return at one time.
public String getNextToken()
A token used to retrieve the next set of results.
A token used to retrieve the next set of results.
public void setNextToken(String nextToken)
A token used to retrieve the next set of results.
nextToken - A token used to retrieve the next set of results.
public ListOTAUpdatesRequest withNextToken(String nextToken)
A token used to retrieve the next set of results.
Returns a reference to this object so that method calls can be chained together.
nextToken - A token used to retrieve the next set of results.
public String getOtaUpdateStatus()
The OTA update job status.
Constraints:
Allowed Values: CREATE_PENDING, CREATE_IN_PROGRESS,
CREATE_COMPLETE, CREATE_FAILED
The OTA update job status.
OTAUpdateStatuspublic void setOtaUpdateStatus(String otaUpdateStatus)
The OTA update job status.
Constraints:
Allowed Values: CREATE_PENDING, CREATE_IN_PROGRESS,
CREATE_COMPLETE, CREATE_FAILED
otaUpdateStatus - The OTA update job status.
OTAUpdateStatuspublic ListOTAUpdatesRequest withOtaUpdateStatus(String otaUpdateStatus)
The OTA update job 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 job status.
OTAUpdateStatuspublic void setOtaUpdateStatus(OTAUpdateStatus otaUpdateStatus)
The OTA update job status.
Constraints:
Allowed Values: CREATE_PENDING, CREATE_IN_PROGRESS,
CREATE_COMPLETE, CREATE_FAILED
otaUpdateStatus - The OTA update job status.
OTAUpdateStatuspublic ListOTAUpdatesRequest withOtaUpdateStatus(OTAUpdateStatus otaUpdateStatus)
The OTA update job 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 job status.
OTAUpdateStatuspublic String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.