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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeStackResourcesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeStackResourcesResult
clone()
boolean
equals(Object obj)
List<StackResource>
getStackResources()
A list ofStackResource
structures.int
hashCode()
void
setStackResources(Collection<StackResource> stackResources)
A list ofStackResource
structures.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeStackResourcesResult
withStackResources(StackResource... stackResources)
A list ofStackResource
structures.DescribeStackResourcesResult
withStackResources(Collection<StackResource> stackResources)
A list ofStackResource
structures.
-
-
-
Method Detail
-
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 ofStackResource
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)
orwithStackResources(java.util.Collection)
if you want to override the existing values.- Parameters:
stackResources
- A list ofStackResource
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 ofStackResource
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeStackResourcesResult clone()
-
-