public class DescribeStacksResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the response to a DescribeStacks
request.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Stack> |
stacks
An array of
Stack objects that describe the stacks. |
Constructor and Description |
---|
DescribeStacksResult() |
Modifier and Type | Method and Description |
---|---|
DescribeStacksResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Stack> |
getStacks()
An array of
Stack objects that describe the stacks. |
int |
hashCode() |
void |
setStacks(java.util.Collection<Stack> stacks)
An array of
Stack objects that describe the stacks. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeStacksResult |
withStacks(java.util.Collection<Stack> stacks)
An array of
Stack objects that describe the stacks. |
DescribeStacksResult |
withStacks(Stack... stacks)
An array of
Stack objects that describe the stacks. |
private SdkInternalList<Stack> stacks
An array of Stack
objects that describe the stacks.
public java.util.List<Stack> getStacks()
An array of Stack
objects that describe the stacks.
Stack
objects that describe the stacks.public void setStacks(java.util.Collection<Stack> stacks)
An array of Stack
objects that describe the stacks.
stacks
- An array of Stack
objects that describe the stacks.public DescribeStacksResult withStacks(Stack... stacks)
An array of Stack
objects that describe the stacks.
NOTE: This method appends the values to the existing list (if
any). Use setStacks(java.util.Collection)
or
withStacks(java.util.Collection)
if you want to override the
existing values.
stacks
- An array of Stack
objects that describe the stacks.public DescribeStacksResult withStacks(java.util.Collection<Stack> stacks)
An array of Stack
objects that describe the stacks.
stacks
- An array of Stack
objects that describe the stacks.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 DescribeStacksResult clone()
clone
in class java.lang.Object