@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListApplicationInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListApplicationInstancesResult() |
Modifier and Type | Method and Description |
---|---|
ListApplicationInstancesResult |
clone() |
boolean |
equals(Object obj) |
List<ApplicationInstance> |
getApplicationInstances()
A list of application instances.
|
String |
getNextToken()
A pagination token that's included if more results are available.
|
int |
hashCode() |
void |
setApplicationInstances(Collection<ApplicationInstance> applicationInstances)
A list of application instances.
|
void |
setNextToken(String nextToken)
A pagination token that's included if more results are available.
|
String |
toString()
Returns a string representation of this object.
|
ListApplicationInstancesResult |
withApplicationInstances(ApplicationInstance... applicationInstances)
A list of application instances.
|
ListApplicationInstancesResult |
withApplicationInstances(Collection<ApplicationInstance> applicationInstances)
A list of application instances.
|
ListApplicationInstancesResult |
withNextToken(String nextToken)
A pagination token that's included if more results are available.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ApplicationInstance> getApplicationInstances()
A list of application instances.
public void setApplicationInstances(Collection<ApplicationInstance> applicationInstances)
A list of application instances.
applicationInstances
- A list of application instances.public ListApplicationInstancesResult withApplicationInstances(ApplicationInstance... applicationInstances)
A list of application instances.
NOTE: This method appends the values to the existing list (if any). Use
setApplicationInstances(java.util.Collection)
or withApplicationInstances(java.util.Collection)
if you want to override the existing values.
applicationInstances
- A list of application instances.public ListApplicationInstancesResult withApplicationInstances(Collection<ApplicationInstance> applicationInstances)
A list of application instances.
applicationInstances
- A list of application instances.public void setNextToken(String nextToken)
A pagination token that's included if more results are available.
nextToken
- A pagination token that's included if more results are available.public String getNextToken()
A pagination token that's included if more results are available.
public ListApplicationInstancesResult withNextToken(String nextToken)
A pagination token that's included if more results are available.
nextToken
- A pagination token that's included if more results are available.public String toString()
toString
in class Object
Object.toString()
public ListApplicationInstancesResult clone()