Class ListStackResourcesResult

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

public class ListStackResourcesResult extends Object implements Serializable, Cloneable

The output for a ListStackResources action.

See Also:
  • Constructor Details

    • ListStackResourcesResult

      public ListStackResourcesResult()
  • Method Details

    • getStackResourceSummaries

      public List<StackResourceSummary> getStackResourceSummaries()

      A list of StackResourceSummary structures.

      Returns:
      A list of StackResourceSummary structures.
    • setStackResourceSummaries

      public void setStackResourceSummaries(Collection<StackResourceSummary> stackResourceSummaries)

      A list of StackResourceSummary structures.

      Parameters:
      stackResourceSummaries - A list of StackResourceSummary structures.
    • withStackResourceSummaries

      public ListStackResourcesResult withStackResourceSummaries(StackResourceSummary... stackResourceSummaries)

      A list of StackResourceSummary structures.

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

      Parameters:
      stackResourceSummaries - A list of StackResourceSummary structures.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withStackResourceSummaries

      public ListStackResourcesResult withStackResourceSummaries(Collection<StackResourceSummary> stackResourceSummaries)

      A list of StackResourceSummary structures.

      Parameters:
      stackResourceSummaries - A list of StackResourceSummary structures.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNextToken

      public void setNextToken(String nextToken)

      If the output exceeds 1 MB, a string that identifies the next page of stack resources. If no additional page exists, this value is null.

      Parameters:
      nextToken - If the output exceeds 1 MB, a string that identifies the next page of stack resources. If no additional page exists, this value is null.
    • getNextToken

      public String getNextToken()

      If the output exceeds 1 MB, a string that identifies the next page of stack resources. If no additional page exists, this value is null.

      Returns:
      If the output exceeds 1 MB, a string that identifies the next page of stack resources. If no additional page exists, this value is null.
    • withNextToken

      public ListStackResourcesResult withNextToken(String nextToken)

      If the output exceeds 1 MB, a string that identifies the next page of stack resources. If no additional page exists, this value is null.

      Parameters:
      nextToken - If the output exceeds 1 MB, a string that identifies the next page of stack resources. If no additional page exists, this value is null.
      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

      public ListStackResourcesResult clone()
      Overrides:
      clone in class Object