Class ListStacksRequest

    • Constructor Detail

      • ListStacksRequest

        public ListStacksRequest()
    • Method Detail

      • 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:
        StackStatus
      • 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:
        StackStatus
      • 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:
        StackStatus
      • 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:
        StackStatus
      • 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:
        StackStatus
      • 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