@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDevicesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListDevicesResult() |
Modifier and Type | Method and Description |
---|---|
ListDevicesResult |
clone() |
boolean |
equals(Object obj) |
List<DeviceSummary> |
getDeviceSummaries()
Summary of devices.
|
String |
getNextToken()
The response from the last list when returning a list large enough to need tokening.
|
int |
hashCode() |
void |
setDeviceSummaries(Collection<DeviceSummary> deviceSummaries)
Summary of devices.
|
void |
setNextToken(String nextToken)
The response from the last list when returning a list large enough to need tokening.
|
String |
toString()
Returns a string representation of this object.
|
ListDevicesResult |
withDeviceSummaries(Collection<DeviceSummary> deviceSummaries)
Summary of devices.
|
ListDevicesResult |
withDeviceSummaries(DeviceSummary... deviceSummaries)
Summary of devices.
|
ListDevicesResult |
withNextToken(String nextToken)
The response from the last list when returning a list large enough to need tokening.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DeviceSummary> getDeviceSummaries()
Summary of devices.
public void setDeviceSummaries(Collection<DeviceSummary> deviceSummaries)
Summary of devices.
deviceSummaries
- Summary of devices.public ListDevicesResult withDeviceSummaries(DeviceSummary... deviceSummaries)
Summary of devices.
NOTE: This method appends the values to the existing list (if any). Use
setDeviceSummaries(java.util.Collection)
or withDeviceSummaries(java.util.Collection)
if you
want to override the existing values.
deviceSummaries
- Summary of devices.public ListDevicesResult withDeviceSummaries(Collection<DeviceSummary> deviceSummaries)
Summary of devices.
deviceSummaries
- Summary of devices.public void setNextToken(String nextToken)
The response from the last list when returning a list large enough to need tokening.
nextToken
- The response from the last list when returning a list large enough to need tokening.public String getNextToken()
The response from the last list when returning a list large enough to need tokening.
public ListDevicesResult withNextToken(String nextToken)
The response from the last list when returning a list large enough to need tokening.
nextToken
- The response from the last list when returning a list large enough to need tokening.public String toString()
toString
in class Object
Object.toString()
public ListDevicesResult clone()