Class DescribeStacksResult
- java.lang.Object
-
- com.amazonaws.services.cloudformation.model.DescribeStacksResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeStacksResult extends Object implements Serializable, Cloneable
The output for a DescribeStacks action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeStacksResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeStacksResult
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<Stack>
getStacks()
A list of stack structures.int
hashCode()
void
setNextToken(String nextToken)
If the output exceeds 1 MB in size, a string that identifies the next page of stacks.void
setStacks(Collection<Stack> stacks)
A list of stack structures.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeStacksResult
withNextToken(String nextToken)
If the output exceeds 1 MB in size, a string that identifies the next page of stacks.DescribeStacksResult
withStacks(Stack... stacks)
A list of stack structures.DescribeStacksResult
withStacks(Collection<Stack> stacks)
A list of stack structures.
-
-
-
Method Detail
-
getStacks
public List<Stack> getStacks()
A list of stack structures.
- Returns:
- A list of stack structures.
-
setStacks
public void setStacks(Collection<Stack> stacks)
A list of stack structures.
- Parameters:
stacks
- A list of stack structures.
-
withStacks
public DescribeStacksResult withStacks(Stack... stacks)
A list of stack structures.
NOTE: This method appends the values to the existing list (if any). Use
setStacks(java.util.Collection)
orwithStacks(java.util.Collection)
if you want to override the existing values.- Parameters:
stacks
- A list of stack structures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withStacks
public DescribeStacksResult withStacks(Collection<Stack> stacks)
A list of stack structures.
- Parameters:
stacks
- A list of stack structures.- 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 DescribeStacksResult 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 DescribeStacksResult clone()
-
-