@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListInstancesResult() |
Modifier and Type | Method and Description |
---|---|
ListInstancesResult |
clone() |
boolean |
equals(Object obj) |
List<InstanceSummary> |
getInstanceSummaryList()
Information about the instances.
|
String |
getNextToken()
If there are additional results, this is the token for the next set of results.
|
int |
hashCode() |
void |
setInstanceSummaryList(Collection<InstanceSummary> instanceSummaryList)
Information about the instances.
|
void |
setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListInstancesResult |
withInstanceSummaryList(Collection<InstanceSummary> instanceSummaryList)
Information about the instances.
|
ListInstancesResult |
withInstanceSummaryList(InstanceSummary... instanceSummaryList)
Information about the instances.
|
ListInstancesResult |
withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<InstanceSummary> getInstanceSummaryList()
Information about the instances.
public void setInstanceSummaryList(Collection<InstanceSummary> instanceSummaryList)
Information about the instances.
instanceSummaryList
- Information about the instances.public ListInstancesResult withInstanceSummaryList(InstanceSummary... instanceSummaryList)
Information about the instances.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceSummaryList(java.util.Collection)
or withInstanceSummaryList(java.util.Collection)
if you want to override the existing values.
instanceSummaryList
- Information about the instances.public ListInstancesResult withInstanceSummaryList(Collection<InstanceSummary> instanceSummaryList)
Information about the instances.
instanceSummaryList
- Information about the instances.public void setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public String getNextToken()
If there are additional results, this is the token for the next set of results.
public ListInstancesResult withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListInstancesResult clone()