Class DescribeStacksResult

    • 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.

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

        Parameters:
        stacks - An array of Stack objects that describe the stacks.
        Returns:
        Returns a reference to this 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.

        Parameters:
        stacks - An array of Stack objects that describe the stacks.
        Returns:
        Returns a reference to this 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