@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeStacksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the response to a DescribeStacks
request.
Constructor and Description |
---|
DescribeStacksResult() |
Modifier and Type | Method and Description |
---|---|
DescribeStacksResult |
clone() |
boolean |
equals(Object obj) |
List<Stack> |
getStacks()
An array of
Stack objects that describe the stacks. |
int |
hashCode() |
void |
setStacks(Collection<Stack> stacks)
An array of
Stack objects that describe the stacks. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeStacksResult |
withStacks(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. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Stack> getStacks()
An array of Stack
objects that describe the stacks.
Stack
objects that describe the stacks.public void setStacks(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(Collection<Stack> stacks)
An array of Stack
objects that describe the stacks.
stacks
- An array of Stack
objects that describe the stacks.public String toString()
toString
in class Object
Object.toString()
public DescribeStacksResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.