@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListStackInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListStackInstancesResult() |
Modifier and Type | Method and Description |
---|---|
ListStackInstancesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If the request doesn't return all the remaining results,
NextToken is set to a token. |
List<StackInstanceSummary> |
getSummaries()
A list of
StackInstanceSummary structures that contain information about the specified stack
instances. |
int |
hashCode() |
void |
setNextToken(String nextToken)
If the request doesn't return all the remaining results,
NextToken is set to a token. |
void |
setSummaries(Collection<StackInstanceSummary> summaries)
A list of
StackInstanceSummary structures that contain information about the specified stack
instances. |
String |
toString()
Returns a string representation of this object.
|
ListStackInstancesResult |
withNextToken(String nextToken)
If the request doesn't return all the remaining results,
NextToken is set to a token. |
ListStackInstancesResult |
withSummaries(Collection<StackInstanceSummary> summaries)
A list of
StackInstanceSummary structures that contain information about the specified stack
instances. |
ListStackInstancesResult |
withSummaries(StackInstanceSummary... summaries)
A list of
StackInstanceSummary structures that contain information about the specified stack
instances. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<StackInstanceSummary> getSummaries()
A list of StackInstanceSummary
structures that contain information about the specified stack
instances.
StackInstanceSummary
structures that contain information about the specified stack
instances.public void setSummaries(Collection<StackInstanceSummary> summaries)
A list of StackInstanceSummary
structures that contain information about the specified stack
instances.
summaries
- A list of StackInstanceSummary
structures that contain information about the specified stack
instances.public ListStackInstancesResult withSummaries(StackInstanceSummary... summaries)
A list of StackInstanceSummary
structures that contain information about the specified stack
instances.
NOTE: This method appends the values to the existing list (if any). Use
setSummaries(java.util.Collection)
or withSummaries(java.util.Collection)
if you want to
override the existing values.
summaries
- A list of StackInstanceSummary
structures that contain information about the specified stack
instances.public ListStackInstancesResult withSummaries(Collection<StackInstanceSummary> summaries)
A list of StackInstanceSummary
structures that contain information about the specified stack
instances.
summaries
- A list of StackInstanceSummary
structures that contain information about the specified stack
instances.public void setNextToken(String nextToken)
If the request doesn't return all the remaining results, NextToken
is set to a token. To retrieve
the next set of results, call ListStackInstances
again and assign that token to the request object's
NextToken
parameter. If the request returns all results, NextToken
is set to
null
.
nextToken
- If the request doesn't return all the remaining results, NextToken
is set to a token. To
retrieve the next set of results, call ListStackInstances
again and assign that token to the
request object's NextToken
parameter. If the request returns all results,
NextToken
is set to null
.public String getNextToken()
If the request doesn't return all the remaining results, NextToken
is set to a token. To retrieve
the next set of results, call ListStackInstances
again and assign that token to the request object's
NextToken
parameter. If the request returns all results, NextToken
is set to
null
.
NextToken
is set to a token. To
retrieve the next set of results, call ListStackInstances
again and assign that token to the
request object's NextToken
parameter. If the request returns all results,
NextToken
is set to null
.public ListStackInstancesResult withNextToken(String nextToken)
If the request doesn't return all the remaining results, NextToken
is set to a token. To retrieve
the next set of results, call ListStackInstances
again and assign that token to the request object's
NextToken
parameter. If the request returns all results, NextToken
is set to
null
.
nextToken
- If the request doesn't return all the remaining results, NextToken
is set to a token. To
retrieve the next set of results, call ListStackInstances
again and assign that token to the
request object's NextToken
parameter. If the request returns all results,
NextToken
is set to null
.public String toString()
toString
in class Object
Object.toString()
public ListStackInstancesResult clone()