Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class DescribeStacksRequest

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

public class DescribeStacksRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeStacks operation.

Requests a description of one or more stacks.

See Also:
AWSOpsWorks.describeStacks(DescribeStacksRequest), Serialized Form

Constructor Summary
DescribeStacksRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getStackIds()
          An array of stack IDs that specify the stacks to be described.
 int hashCode()
           
 void setStackIds(Collection<String> stackIds)
          An array of stack IDs that specify the stacks to be described.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeStacksRequest withStackIds(Collection<String> stackIds)
          An array of stack IDs that specify the stacks to be described.
 DescribeStacksRequest withStackIds(String... stackIds)
          An array of stack IDs that specify the stacks to be described.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeStacksRequest

public DescribeStacksRequest()
Method Detail

getStackIds

public List<String> getStackIds()
An array of stack IDs that specify the stacks to be described. If you omit this parameter, DescribeStacks returns a description of every stack.

Returns:
An array of stack IDs that specify the stacks to be described. If you omit this parameter, DescribeStacks returns a description of every stack.

setStackIds

public void setStackIds(Collection<String> stackIds)
An array of stack IDs that specify the stacks to be described. If you omit this parameter, DescribeStacks returns a description of every stack.

Parameters:
stackIds - An array of stack IDs that specify the stacks to be described. If you omit this parameter, DescribeStacks returns a description of every stack.

withStackIds

public DescribeStacksRequest withStackIds(String... stackIds)
An array of stack IDs that specify the stacks to be described. If you omit this parameter, DescribeStacks returns a description of every stack.

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

Parameters:
stackIds - An array of stack IDs that specify the stacks to be described. If you omit this parameter, DescribeStacks returns a description of every stack.
Returns:
A reference to this updated object so that method calls can be chained together.

withStackIds

public DescribeStacksRequest withStackIds(Collection<String> stackIds)
An array of stack IDs that specify the stacks to be described. If you omit this parameter, DescribeStacks returns a description of every stack.

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

Parameters:
stackIds - An array of stack IDs that specify the stacks to be described. If you omit this parameter, DescribeStacks returns a description of every stack.
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.