Class ListStacksResult
- java.lang.Object
-
- com.amazonaws.services.cloudformation.model.ListStacksResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListStacksResult extends Object implements Serializable, Cloneable
The output for ListStacks action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListStacksResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListStacksResult
clone()
boolean
equals(Object obj)
String
getNextToken()
If the output exceeds 1 MB in size, a string that identifies the next page of stacks.List<StackSummary>
getStackSummaries()
A list ofStackSummary
structures containing information about the specified stacks.int
hashCode()
void
setNextToken(String nextToken)
If the output exceeds 1 MB in size, a string that identifies the next page of stacks.void
setStackSummaries(Collection<StackSummary> stackSummaries)
A list ofStackSummary
structures containing information about the specified stacks.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListStacksResult
withNextToken(String nextToken)
If the output exceeds 1 MB in size, a string that identifies the next page of stacks.ListStacksResult
withStackSummaries(StackSummary... stackSummaries)
A list ofStackSummary
structures containing information about the specified stacks.ListStacksResult
withStackSummaries(Collection<StackSummary> stackSummaries)
A list ofStackSummary
structures containing information about the specified stacks.
-
-
-
Method Detail
-
getStackSummaries
public List<StackSummary> getStackSummaries()
A list of
StackSummary
structures containing information about the specified stacks.- Returns:
- A list of
StackSummary
structures containing information about the specified stacks.
-
setStackSummaries
public void setStackSummaries(Collection<StackSummary> stackSummaries)
A list of
StackSummary
structures containing information about the specified stacks.- Parameters:
stackSummaries
- A list ofStackSummary
structures containing information about the specified stacks.
-
withStackSummaries
public ListStacksResult withStackSummaries(StackSummary... stackSummaries)
A list of
StackSummary
structures containing information about the specified stacks.NOTE: This method appends the values to the existing list (if any). Use
setStackSummaries(java.util.Collection)
orwithStackSummaries(java.util.Collection)
if you want to override the existing values.- Parameters:
stackSummaries
- A list ofStackSummary
structures containing information about the specified stacks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withStackSummaries
public ListStacksResult withStackSummaries(Collection<StackSummary> stackSummaries)
A list of
StackSummary
structures containing information about the specified stacks.- Parameters:
stackSummaries
- A list ofStackSummary
structures containing information about the specified stacks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null.
- Parameters:
nextToken
- If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null.
-
getNextToken
public String getNextToken()
If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null.
- Returns:
- If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null.
-
withNextToken
public ListStacksResult withNextToken(String nextToken)
If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null.
- Parameters:
nextToken
- If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListStacksResult clone()
-
-