public class ListDeploymentInstancesResult extends Object implements Serializable, Cloneable
Represents the output of a list deployment instances operation.
Constructor and Description |
---|
ListDeploymentInstancesResult() |
Modifier and Type | Method and Description |
---|---|
ListDeploymentInstancesResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getInstancesList()
A list of instances IDs.
|
String |
getNextToken()
If the amount of information that is returned is significantly large, an
identifier will also be returned, which can be used in a subsequent list
deployment instances call to return the next set of deployment instances
in the list.
|
int |
hashCode() |
void |
setInstancesList(Collection<String> instancesList)
A list of instances IDs.
|
void |
setNextToken(String nextToken)
If the amount of information that is returned is significantly large, an
identifier will also be returned, which can be used in a subsequent list
deployment instances call to return the next set of deployment instances
in the list.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListDeploymentInstancesResult |
withInstancesList(Collection<String> instancesList)
A list of instances IDs.
|
ListDeploymentInstancesResult |
withInstancesList(String... instancesList)
A list of instances IDs.
|
ListDeploymentInstancesResult |
withNextToken(String nextToken)
If the amount of information that is returned is significantly large, an
identifier will also be returned, which can be used in a subsequent list
deployment instances call to return the next set of deployment instances
in the list.
|
public List<String> getInstancesList()
A list of instances IDs.
public void setInstancesList(Collection<String> instancesList)
A list of instances IDs.
instancesList
- A list of instances IDs.public ListDeploymentInstancesResult withInstancesList(String... instancesList)
A list of instances 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 instances IDs.public ListDeploymentInstancesResult withInstancesList(Collection<String> instancesList)
A list of instances IDs.
instancesList
- A list of instances IDs.public void setNextToken(String nextToken)
If the amount of information that is returned is significantly large, an identifier will also be returned, which can be used in a subsequent list deployment instances call to return the next set of deployment instances in the list.
nextToken
- If the amount of information that is returned is significantly
large, an identifier will also be returned, which 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 the amount of information that is returned is significantly large, an identifier will also be returned, which 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 the amount of information that is returned is significantly large, an identifier will also be returned, which can be used in a subsequent list deployment instances call to return the next set of deployment instances in the list.
nextToken
- If the amount of information that is returned is significantly
large, an identifier will also be returned, which 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 © 2015. All rights reserved.