@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeClassicLinkInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of DescribeClassicLinkInstances.
Constructor and Description |
---|
DescribeClassicLinkInstancesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeClassicLinkInstancesResult |
clone() |
boolean |
equals(Object obj) |
List<ClassicLinkInstance> |
getInstances()
Information about one or more linked EC2-Classic instances.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setInstances(Collection<ClassicLinkInstance> instances)
Information about one or more linked EC2-Classic instances.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeClassicLinkInstancesResult |
withInstances(ClassicLinkInstance... instances)
Information about one or more linked EC2-Classic instances.
|
DescribeClassicLinkInstancesResult |
withInstances(Collection<ClassicLinkInstance> instances)
Information about one or more linked EC2-Classic instances.
|
DescribeClassicLinkInstancesResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ClassicLinkInstance> getInstances()
Information about one or more linked EC2-Classic instances.
public void setInstances(Collection<ClassicLinkInstance> instances)
Information about one or more linked EC2-Classic instances.
instances
- Information about one or more linked EC2-Classic instances.public DescribeClassicLinkInstancesResult withInstances(ClassicLinkInstance... instances)
Information about one or more linked EC2-Classic instances.
NOTE: This method appends the values to the existing list (if any). Use
setInstances(java.util.Collection)
or withInstances(java.util.Collection)
if you want to
override the existing values.
instances
- Information about one or more linked EC2-Classic instances.public DescribeClassicLinkInstancesResult withInstances(Collection<ClassicLinkInstance> instances)
Information about one or more linked EC2-Classic instances.
instances
- Information about one or more linked EC2-Classic instances.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public DescribeClassicLinkInstancesResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String toString()
toString
in class Object
Object.toString()
public DescribeClassicLinkInstancesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.