@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDeploymentInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output of a ListDeploymentInstances operation.
Constructor and Description |
---|
ListDeploymentInstancesResult() |
Modifier and Type | Method and Description |
---|---|
ListDeploymentInstancesResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getInstancesList()
A list of instance IDs.
|
String |
getNextToken()
If a large amount of information is returned, an identifier is also returned.
|
int |
hashCode() |
void |
setInstancesList(Collection<String> instancesList)
A list of instance IDs.
|
void |
setNextToken(String nextToken)
If a large amount of information is returned, an identifier is also returned.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListDeploymentInstancesResult |
withInstancesList(Collection<String> instancesList)
A list of instance IDs.
|
ListDeploymentInstancesResult |
withInstancesList(String... instancesList)
A list of instance IDs.
|
ListDeploymentInstancesResult |
withNextToken(String nextToken)
If a large amount of information is returned, an identifier is also returned.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getInstancesList()
A list of instance IDs.
public void setInstancesList(Collection<String> instancesList)
A list of instance IDs.
instancesList
- A list of instance IDs.public ListDeploymentInstancesResult withInstancesList(String... instancesList)
A list of instance IDs.
NOTE: This method appends the values to the existing list (if any). Use
setInstancesList(java.util.Collection)
or withInstancesList(java.util.Collection)
if you want
to override the existing values.
instancesList
- A list of instance IDs.public ListDeploymentInstancesResult withInstancesList(Collection<String> instancesList)
A list of instance IDs.
instancesList
- A list of instance IDs.public void setNextToken(String nextToken)
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment instances call to return the next set of deployment instances in the list.
nextToken
- If a large amount of information is returned, an identifier is also returned. It can be used in a
subsequent list deployment instances call to return the next set of deployment instances in the list.public String getNextToken()
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment instances call to return the next set of deployment instances in the list.
public ListDeploymentInstancesResult withNextToken(String nextToken)
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment instances call to return the next set of deployment instances in the list.
nextToken
- If a large amount of information is returned, an identifier is also returned. It can be used in a
subsequent list deployment instances call to return the next set of deployment instances in the list.public String toString()
toString
in class Object
Object.toString()
public ListDeploymentInstancesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.