com.amazonaws.services.cloudformation.model
Class ListStacksRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.cloudformation.model.ListStacksRequest

public class ListStacksRequest
extends AmazonWebServiceRequest

Container for the parameters to the ListStacks operation.

Returns the summary information for stacks whose status matches the specified StackStatusFilter. Summary information for stacks that have been deleted is kept for 90 days after the stack is deleted. If no StackStatusFilter is specified, summary information for all stacks is returned (including existing stacks and stacks that have been deleted).

See Also:
AmazonCloudFormation.listStacks(ListStacksRequest)

Constructor Summary
ListStacksRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getNextToken()
          Returns the value of the NextToken property for this object.
 List<String> getStackStatusFilters()
          Returns the value of the StackStatusFilters property for this object.
 int hashCode()
           
 void setNextToken(String nextToken)
          Sets the value of the NextToken property for this object.
 void setStackStatusFilters(Collection<String> stackStatusFilters)
          Sets the value of the StackStatusFilters property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ListStacksRequest withNextToken(String nextToken)
          Sets the value of the NextToken property for this object.
 ListStacksRequest withStackStatusFilters(Collection<String> stackStatusFilters)
          Sets the value of the StackStatusFilters property for this object.
 ListStacksRequest withStackStatusFilters(String... stackStatusFilters)
          Sets the value of the StackStatusFilters property for this object.
 
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

ListStacksRequest

public ListStacksRequest()
Method Detail

getNextToken

public String getNextToken()
Returns the value of the NextToken property for this object.

Constraints:
Length: 1 - 1024

Returns:
The value of the NextToken property for this object.

setNextToken

public void setNextToken(String nextToken)
Sets the value of the NextToken property for this object.

Constraints:
Length: 1 - 1024

Parameters:
nextToken - The new value for the NextToken property for this object.

withNextToken

public ListStacksRequest withNextToken(String nextToken)
Sets the value of the NextToken property for this object.

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

Constraints:
Length: 1 - 1024

Parameters:
nextToken - The new value for the NextToken property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getStackStatusFilters

public List<String> getStackStatusFilters()
Returns the value of the StackStatusFilters property for this object.

Returns:
The value of the StackStatusFilters property for this object.

setStackStatusFilters

public void setStackStatusFilters(Collection<String> stackStatusFilters)
Sets the value of the StackStatusFilters property for this object.

Parameters:
stackStatusFilters - The new value for the StackStatusFilters property for this object.

withStackStatusFilters

public ListStacksRequest withStackStatusFilters(String... stackStatusFilters)
Sets the value of the StackStatusFilters property for this object.

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

Parameters:
stackStatusFilters - The new value for the StackStatusFilters property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withStackStatusFilters

public ListStacksRequest withStackStatusFilters(Collection<String> stackStatusFilters)
Sets the value of the StackStatusFilters property for this object.

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

Parameters:
stackStatusFilters - The new value for the StackStatusFilters property for this object.
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.