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