Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class DescribeStacksResult

java.lang.Object
  extended by com.amazonaws.services.opsworks.model.DescribeStacksResult
All Implemented Interfaces:
Serializable

public class DescribeStacksResult
extends Object
implements Serializable

Contains the response to a DescribeStacks request.

See Also:
Serialized Form

Constructor Summary
DescribeStacksResult()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeStacksResult

public DescribeStacksResult()
Method Detail

getStacks

public List<Stack> getStacks()
An array of Stack objects that describe the stacks.

Returns:
An array of Stack objects that describe the stacks.

setStacks

public void setStacks(Collection<Stack> stacks)
An array of Stack objects that describe the stacks.

Parameters:
stacks - An array of Stack objects that describe the stacks.

withStacks

public DescribeStacksResult withStacks(Stack... stacks)
An array of Stack objects that describe the stacks.

Returns a reference to this object so that method calls can be chained together.

Parameters:
stacks - An array of Stack objects that describe the stacks.
Returns:
A reference to this updated object so that method calls can be chained together.

withStacks

public DescribeStacksResult withStacks(Collection<Stack> stacks)
An array of Stack objects that describe the stacks.

Returns a reference to this object so that method calls can be chained together.

Parameters:
stacks - An array of Stack objects that describe the stacks.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.