public class DescribeInstanceInformationResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
DescribeInstanceInformationResult() |
Modifier and Type | Method and Description |
---|---|
DescribeInstanceInformationResult |
clone() |
boolean |
equals(Object obj) |
List<InstanceInformation> |
getInstanceInformationList()
The instance information list.
|
String |
getNextToken()
The token to use when requesting the next set of items.
|
int |
hashCode() |
void |
setInstanceInformationList(Collection<InstanceInformation> instanceInformationList)
The instance information list.
|
void |
setNextToken(String nextToken)
The token to use when requesting the next set of items.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeInstanceInformationResult |
withInstanceInformationList(Collection<InstanceInformation> instanceInformationList)
The instance information list.
|
DescribeInstanceInformationResult |
withInstanceInformationList(InstanceInformation... instanceInformationList)
The instance information list.
|
DescribeInstanceInformationResult |
withNextToken(String nextToken)
The token to use when requesting the next set of items.
|
public List<InstanceInformation> getInstanceInformationList()
The instance information list.
public void setInstanceInformationList(Collection<InstanceInformation> instanceInformationList)
The instance information list.
instanceInformationList
- The instance information list.public DescribeInstanceInformationResult withInstanceInformationList(InstanceInformation... instanceInformationList)
The instance information list.
NOTE: This method appends the values to the existing list (if
any). Use setInstanceInformationList(java.util.Collection)
or
withInstanceInformationList(java.util.Collection)
if you want to
override the existing values.
instanceInformationList
- The instance information list.public DescribeInstanceInformationResult withInstanceInformationList(Collection<InstanceInformation> instanceInformationList)
The instance information list.
instanceInformationList
- The instance information list.public void setNextToken(String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
nextToken
- The token to use when requesting the next set of items. If there
are no additional items to return, the string is empty.public String getNextToken()
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
public DescribeInstanceInformationResult withNextToken(String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
nextToken
- The token to use when requesting the next set of items. If there
are no additional items to return, the string is empty.public String toString()
toString
in class Object
Object.toString()
public DescribeInstanceInformationResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.