public class DescribeClassicLinkInstancesResult extends Object implements Serializable, Cloneable
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.
|
public List<ClassicLinkInstance> getInstances()
public void setInstances(Collection<ClassicLinkInstance> instances)
instances
- Information about one or more linked EC2-Classic instances.public DescribeClassicLinkInstancesResult withInstances(ClassicLinkInstance... 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.
Returns a reference to this object so that method calls can be chained together.
instances
- Information about one or more linked EC2-Classic instances.public DescribeClassicLinkInstancesResult withInstances(Collection<ClassicLinkInstance> instances)
Returns a reference to this object so that method calls can be chained together.
instances
- Information about one or more linked EC2-Classic instances.public String getNextToken()
null
when there are no more results to return.null
when there are no more results to return.public void setNextToken(String nextToken)
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 DescribeClassicLinkInstancesResult withNextToken(String nextToken)
null
when there are no more results to return.
Returns a reference to this object so that method calls can be chained together.
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 © 2015. All rights reserved.