@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeClassicLinkInstancesResult extends AmazonWebServiceResult<ResponseMetadata> 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 include in another request to get the next page 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 include in another request to get the next page of items.
|
String |
toString()
Returns a string representation of this object.
|
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 include in another request to get the next page of items.
|
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 include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String getNextToken()
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
null
when there are no more items to return.public DescribeClassicLinkInstancesResult withNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String toString()
toString
in class Object
Object.toString()
public DescribeClassicLinkInstancesResult clone()