Class DescribeStackResourcesResult

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

public class DescribeStackResourcesResult extends Object implements Serializable, Cloneable

The output for a DescribeStackResources action.

See Also:
  • Constructor Details

    • DescribeStackResourcesResult

      public DescribeStackResourcesResult()
  • Method Details

    • getStackResources

      public List<StackResource> getStackResources()

      A list of StackResource structures.

      Returns:
      A list of StackResource structures.
    • setStackResources

      public void setStackResources(Collection<StackResource> stackResources)

      A list of StackResource structures.

      Parameters:
      stackResources - A list of StackResource structures.
    • withStackResources

      public DescribeStackResourcesResult withStackResources(StackResource... stackResources)

      A list of StackResource structures.

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

      Parameters:
      stackResources - A list of StackResource structures.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withStackResources

      public DescribeStackResourcesResult withStackResources(Collection<StackResource> stackResources)

      A list of StackResource structures.

      Parameters:
      stackResources - A list of StackResource structures.
      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:
    • equals

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

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

      Overrides:
      clone in class Object