public class ListDeploymentInstancesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of a list deployment instances operation.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
instancesList
A list of instance IDs.
|
private java.lang.String |
nextToken
If a large amount of information is returned, an identifier is also
returned.
|
Constructor and Description |
---|
ListDeploymentInstancesResult() |
Modifier and Type | Method and Description |
---|---|
ListDeploymentInstancesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getInstancesList()
A list of instance IDs.
|
java.lang.String |
getNextToken()
If a large amount of information is returned, an identifier is also
returned.
|
int |
hashCode() |
void |
setInstancesList(java.util.Collection<java.lang.String> instancesList)
A list of instance IDs.
|
void |
setNextToken(java.lang.String nextToken)
If a large amount of information is returned, an identifier is also
returned.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListDeploymentInstancesResult |
withInstancesList(java.util.Collection<java.lang.String> instancesList)
A list of instance IDs.
|
ListDeploymentInstancesResult |
withInstancesList(java.lang.String... instancesList)
A list of instance IDs.
|
ListDeploymentInstancesResult |
withNextToken(java.lang.String nextToken)
If a large amount of information is returned, an identifier is also
returned.
|
private SdkInternalList<java.lang.String> instancesList
A list of instance IDs.
private java.lang.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.
public java.util.List<java.lang.String> getInstancesList()
A list of instance IDs.
public void setInstancesList(java.util.Collection<java.lang.String> instancesList)
A list of instance IDs.
instancesList
- A list of instance IDs.public ListDeploymentInstancesResult withInstancesList(java.lang.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(java.util.Collection<java.lang.String> instancesList)
A list of instance IDs.
instancesList
- A list of instance IDs.public void setNextToken(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListDeploymentInstancesResult clone()
clone
in class java.lang.Object