@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()
The next token used for paginated responses.
|
int |
hashCode() |
void |
setInstances(Collection<Instance> instances)
An array that contains instance objects.
|
void |
setNextToken(String nextToken)
The next token used for paginated responses.
|
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)
The next token used for paginated responses.
|
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)
The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
nextToken
- The next token used for paginated responses. When this field isn't empty, there are additional elements
that the service hasn't included in this request. Use this token with the next request to retrieve
additional objects.public String getNextToken()
The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
public ListLinuxSubscriptionInstancesResult withNextToken(String nextToken)
The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
nextToken
- The next token used for paginated responses. When this field isn't empty, there are additional elements
that the service hasn't included in this request. Use this token with the next request to retrieve
additional objects.public String toString()
toString
in class Object
Object.toString()
public ListLinuxSubscriptionInstancesResult clone()