public class DescribeClassicLinkInstancesResult extends Object implements Serializable
| Constructor and Description |
|---|
DescribeClassicLinkInstancesResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<ClassicLinkInstance> |
getInstances()
Information about one or more linked EC2-Classic instances.
|
String |
getNextToken()
The token to use when requesting the next set of items.
|
int |
hashCode() |
void |
setInstances(Collection<ClassicLinkInstance> instances)
Information about one or more linked EC2-Classic instances.
|
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.
|
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 when requesting the next set of items.
|
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)
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()
public void setNextToken(String nextToken)
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 DescribeClassicLinkInstancesResult withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
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 ObjectObject.toString()Copyright © 2015. All rights reserved.