Class ListStacksRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudformation.model.ListStacksRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class ListStacksRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

The input for ListStacks action.

See Also:
  • Constructor Details

    • ListStacksRequest

      public ListStacksRequest()
  • Method Details

    • setNextToken

      public void setNextToken(String nextToken)

      A string that identifies the next page of stacks that you want to retrieve.

      Parameters:
      nextToken - A string that identifies the next page of stacks that you want to retrieve.
    • getNextToken

      public String getNextToken()

      A string that identifies the next page of stacks that you want to retrieve.

      Returns:
      A string that identifies the next page of stacks that you want to retrieve.
    • withNextToken

      public ListStacksRequest withNextToken(String nextToken)

      A string that identifies the next page of stacks that you want to retrieve.

      Parameters:
      nextToken - A string that identifies the next page of stacks that you want to retrieve.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getStackStatusFilters

      public List<String> getStackStatusFilters()

      Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the StackStatus parameter of the Stack data type.

      Returns:
      Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the StackStatus parameter of the Stack data type.
      See Also:
    • setStackStatusFilters

      public void setStackStatusFilters(Collection<String> stackStatusFilters)

      Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the StackStatus parameter of the Stack data type.

      Parameters:
      stackStatusFilters - Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the StackStatus parameter of the Stack data type.
      See Also:
    • withStackStatusFilters

      public ListStacksRequest withStackStatusFilters(String... stackStatusFilters)

      Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the StackStatus parameter of the Stack data type.

      NOTE: This method appends the values to the existing list (if any). Use setStackStatusFilters(java.util.Collection) or withStackStatusFilters(java.util.Collection) if you want to override the existing values.

      Parameters:
      stackStatusFilters - Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the StackStatus parameter of the Stack data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • withStackStatusFilters

      public ListStacksRequest withStackStatusFilters(Collection<String> stackStatusFilters)

      Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the StackStatus parameter of the Stack data type.

      Parameters:
      stackStatusFilters - Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the StackStatus parameter of the Stack data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • withStackStatusFilters

      public ListStacksRequest withStackStatusFilters(StackStatus... stackStatusFilters)

      Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the StackStatus parameter of the Stack data type.

      Parameters:
      stackStatusFilters - Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the StackStatus parameter of the Stack data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ListStacksRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: