@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListLinuxSubscriptionInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListLinuxSubscriptionInstancesResult() |
Modifier and Type | Method and Description |
---|---|
ListLinuxSubscriptionInstancesResult |
clone() |
boolean |
equals(Object obj) |
List<Instance> |
getInstances()
An array that contains instance objects.
|
String |
getNextToken()
Token for the next set of results.
|
int |
hashCode() |
void |
setInstances(Collection<Instance> instances)
An array that contains instance objects.
|
void |
setNextToken(String nextToken)
Token for the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListLinuxSubscriptionInstancesResult |
withInstances(Collection<Instance> instances)
An array that contains instance objects.
|
ListLinuxSubscriptionInstancesResult |
withInstances(Instance... instances)
An array that contains instance objects.
|
ListLinuxSubscriptionInstancesResult |
withNextToken(String nextToken)
Token for the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListLinuxSubscriptionInstancesResult()
public List<Instance> getInstances()
An array that contains instance objects.
public void setInstances(Collection<Instance> instances)
An array that contains instance objects.
instances
- An array that contains instance objects.public ListLinuxSubscriptionInstancesResult withInstances(Instance... instances)
An array that contains instance objects.
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
- An array that contains instance objects.public ListLinuxSubscriptionInstancesResult withInstances(Collection<Instance> instances)
An array that contains instance objects.
instances
- An array that contains instance objects.public void setNextToken(String nextToken)
Token for the next set of results.
nextToken
- Token for the next set of results.public String getNextToken()
Token for the next set of results.
public ListLinuxSubscriptionInstancesResult withNextToken(String nextToken)
Token for the next set of results.
nextToken
- Token for the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListLinuxSubscriptionInstancesResult clone()