@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListOTAUpdatesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListOTAUpdatesResult() |
Modifier and Type | Method and Description |
---|---|
ListOTAUpdatesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token to use to get the next set of results.
|
List<OTAUpdateSummary> |
getOtaUpdates()
A list of OTA update jobs.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token to use to get the next set of results.
|
void |
setOtaUpdates(Collection<OTAUpdateSummary> otaUpdates)
A list of OTA update jobs.
|
String |
toString()
Returns a string representation of this object.
|
ListOTAUpdatesResult |
withNextToken(String nextToken)
A token to use to get the next set of results.
|
ListOTAUpdatesResult |
withOtaUpdates(Collection<OTAUpdateSummary> otaUpdates)
A list of OTA update jobs.
|
ListOTAUpdatesResult |
withOtaUpdates(OTAUpdateSummary... otaUpdates)
A list of OTA update jobs.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<OTAUpdateSummary> getOtaUpdates()
A list of OTA update jobs.
public void setOtaUpdates(Collection<OTAUpdateSummary> otaUpdates)
A list of OTA update jobs.
otaUpdates
- A list of OTA update jobs.public ListOTAUpdatesResult withOtaUpdates(OTAUpdateSummary... otaUpdates)
A list of OTA update jobs.
NOTE: This method appends the values to the existing list (if any). Use
setOtaUpdates(java.util.Collection)
or withOtaUpdates(java.util.Collection)
if you want to
override the existing values.
otaUpdates
- A list of OTA update jobs.public ListOTAUpdatesResult withOtaUpdates(Collection<OTAUpdateSummary> otaUpdates)
A list of OTA update jobs.
otaUpdates
- A list of OTA update jobs.public void setNextToken(String nextToken)
A token to use to get the next set of results.
nextToken
- A token to use to get the next set of results.public String getNextToken()
A token to use to get the next set of results.
public ListOTAUpdatesResult withNextToken(String nextToken)
A token to use to get the next set of results.
nextToken
- A token to use to get the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListOTAUpdatesResult clone()