public class DescribeStackResourcesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The output for a DescribeStackResources action.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<StackResource> |
stackResources
A list of
StackResource structures. |
Constructor and Description |
---|
DescribeStackResourcesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeStackResourcesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<StackResource> |
getStackResources()
A list of
StackResource structures. |
int |
hashCode() |
void |
setStackResources(java.util.Collection<StackResource> stackResources)
A list of
StackResource structures. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeStackResourcesResult |
withStackResources(java.util.Collection<StackResource> stackResources)
A list of
StackResource structures. |
DescribeStackResourcesResult |
withStackResources(StackResource... stackResources)
A list of
StackResource structures. |
private SdkInternalList<StackResource> stackResources
A list of StackResource
structures.
public java.util.List<StackResource> getStackResources()
A list of StackResource
structures.
StackResource
structures.public void setStackResources(java.util.Collection<StackResource> stackResources)
A list of StackResource
structures.
stackResources
- A list of StackResource
structures.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.
stackResources
- A list of StackResource
structures.public DescribeStackResourcesResult withStackResources(java.util.Collection<StackResource> stackResources)
A list of StackResource
structures.
stackResources
- A list of StackResource
structures.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeStackResourcesResult clone()
clone
in class java.lang.Object