@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDeviceInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListDeviceInstancesResult() |
Modifier and Type | Method and Description |
---|---|
ListDeviceInstancesResult |
clone() |
boolean |
equals(Object obj) |
List<DeviceInstance> |
getDeviceInstances()
An object that contains information about your device instances.
|
String |
getNextToken()
An identifier that can be used in the next call to this operation to return the next set of items in the list.
|
int |
hashCode() |
void |
setDeviceInstances(Collection<DeviceInstance> deviceInstances)
An object that contains information about your device instances.
|
void |
setNextToken(String nextToken)
An identifier that can be used in the next call to this operation to return the next set of items in the list.
|
String |
toString()
Returns a string representation of this object.
|
ListDeviceInstancesResult |
withDeviceInstances(Collection<DeviceInstance> deviceInstances)
An object that contains information about your device instances.
|
ListDeviceInstancesResult |
withDeviceInstances(DeviceInstance... deviceInstances)
An object that contains information about your device instances.
|
ListDeviceInstancesResult |
withNextToken(String nextToken)
An identifier that can be used in the next call to this operation to return the next set of items in the list.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DeviceInstance> getDeviceInstances()
An object that contains information about your device instances.
public void setDeviceInstances(Collection<DeviceInstance> deviceInstances)
An object that contains information about your device instances.
deviceInstances
- An object that contains information about your device instances.public ListDeviceInstancesResult withDeviceInstances(DeviceInstance... deviceInstances)
An object that contains information about your device instances.
NOTE: This method appends the values to the existing list (if any). Use
setDeviceInstances(java.util.Collection)
or withDeviceInstances(java.util.Collection)
if you
want to override the existing values.
deviceInstances
- An object that contains information about your device instances.public ListDeviceInstancesResult withDeviceInstances(Collection<DeviceInstance> deviceInstances)
An object that contains information about your device instances.
deviceInstances
- An object that contains information about your device instances.public void setNextToken(String nextToken)
An identifier that can be used in the next call to this operation to return the next set of items in the list.
nextToken
- An identifier that can be used in the next call to this operation to return the next set of items in the
list.public String getNextToken()
An identifier that can be used in the next call to this operation to return the next set of items in the list.
public ListDeviceInstancesResult withNextToken(String nextToken)
An identifier that can be used in the next call to this operation to return the next set of items in the list.
nextToken
- An identifier that can be used in the next call to this operation to return the next set of items in the
list.public String toString()
toString
in class Object
Object.toString()
public ListDeviceInstancesResult clone()