@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCoreDevicesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListCoreDevicesResult() |
Modifier and Type | Method and Description |
---|---|
ListCoreDevicesResult |
clone() |
boolean |
equals(Object obj) |
List<CoreDevice> |
getCoreDevices()
A list that summarizes each core device.
|
String |
getNextToken()
The token for the next set of results, or null if there are no additional results.
|
int |
hashCode() |
void |
setCoreDevices(Collection<CoreDevice> coreDevices)
A list that summarizes each core device.
|
void |
setNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
|
String |
toString()
Returns a string representation of this object.
|
ListCoreDevicesResult |
withCoreDevices(Collection<CoreDevice> coreDevices)
A list that summarizes each core device.
|
ListCoreDevicesResult |
withCoreDevices(CoreDevice... coreDevices)
A list that summarizes each core device.
|
ListCoreDevicesResult |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<CoreDevice> getCoreDevices()
A list that summarizes each core device.
public void setCoreDevices(Collection<CoreDevice> coreDevices)
A list that summarizes each core device.
coreDevices
- A list that summarizes each core device.public ListCoreDevicesResult withCoreDevices(CoreDevice... coreDevices)
A list that summarizes each core device.
NOTE: This method appends the values to the existing list (if any). Use
setCoreDevices(java.util.Collection)
or withCoreDevices(java.util.Collection)
if you want to
override the existing values.
coreDevices
- A list that summarizes each core device.public ListCoreDevicesResult withCoreDevices(Collection<CoreDevice> coreDevices)
A list that summarizes each core device.
coreDevices
- A list that summarizes each core device.public void setNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
nextToken
- The token for the next set of results, or null if there are no additional results.public String getNextToken()
The token for the next set of results, or null if there are no additional results.
public ListCoreDevicesResult withNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
nextToken
- The token for the next set of results, or null if there are no additional results.public String toString()
toString
in class Object
Object.toString()
public ListCoreDevicesResult clone()