@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAppInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAppInstancesResult() |
Modifier and Type | Method and Description |
---|---|
ListAppInstancesResult |
clone() |
boolean |
equals(Object obj) |
List<AppInstanceSummary> |
getAppInstances()
The information for each
AppInstance . |
String |
getNextToken()
The token passed by previous API requests until the maximum number of
AppInstance s is reached. |
int |
hashCode() |
void |
setAppInstances(Collection<AppInstanceSummary> appInstances)
The information for each
AppInstance . |
void |
setNextToken(String nextToken)
The token passed by previous API requests until the maximum number of
AppInstance s is reached. |
String |
toString()
Returns a string representation of this object.
|
ListAppInstancesResult |
withAppInstances(AppInstanceSummary... appInstances)
The information for each
AppInstance . |
ListAppInstancesResult |
withAppInstances(Collection<AppInstanceSummary> appInstances)
The information for each
AppInstance . |
ListAppInstancesResult |
withNextToken(String nextToken)
The token passed by previous API requests until the maximum number of
AppInstance s is reached. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AppInstanceSummary> getAppInstances()
The information for each AppInstance
.
AppInstance
.public void setAppInstances(Collection<AppInstanceSummary> appInstances)
The information for each AppInstance
.
appInstances
- The information for each AppInstance
.public ListAppInstancesResult withAppInstances(AppInstanceSummary... appInstances)
The information for each AppInstance
.
NOTE: This method appends the values to the existing list (if any). Use
setAppInstances(java.util.Collection)
or withAppInstances(java.util.Collection)
if you want to
override the existing values.
appInstances
- The information for each AppInstance
.public ListAppInstancesResult withAppInstances(Collection<AppInstanceSummary> appInstances)
The information for each AppInstance
.
appInstances
- The information for each AppInstance
.public void setNextToken(String nextToken)
The token passed by previous API requests until the maximum number of AppInstance
s is reached.
nextToken
- The token passed by previous API requests until the maximum number of AppInstance
s is
reached.public String getNextToken()
The token passed by previous API requests until the maximum number of AppInstance
s is reached.
AppInstance
s is
reached.public ListAppInstancesResult withNextToken(String nextToken)
The token passed by previous API requests until the maximum number of AppInstance
s is reached.
nextToken
- The token passed by previous API requests until the maximum number of AppInstance
s is
reached.public String toString()
toString
in class Object
Object.toString()
public ListAppInstancesResult clone()