@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudFormationCollection extends Object implements Serializable, Cloneable, StructuredPojo
Information about Amazon Web Services CloudFormation stacks. You can use up to 500 stacks to specify which Amazon Web Services resources in your account to analyze. For more information, see Stacks in the Amazon Web Services CloudFormation User Guide.
Constructor and Description |
---|
CloudFormationCollection() |
Modifier and Type | Method and Description |
---|---|
CloudFormationCollection |
clone() |
boolean |
equals(Object obj) |
List<String> |
getStackNames()
An array of CloudFormation stack names.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStackNames(Collection<String> stackNames)
An array of CloudFormation stack names.
|
String |
toString()
Returns a string representation of this object.
|
CloudFormationCollection |
withStackNames(Collection<String> stackNames)
An array of CloudFormation stack names.
|
CloudFormationCollection |
withStackNames(String... stackNames)
An array of CloudFormation stack names.
|
public List<String> getStackNames()
An array of CloudFormation stack names.
public void setStackNames(Collection<String> stackNames)
An array of CloudFormation stack names.
stackNames
- An array of CloudFormation stack names.public CloudFormationCollection withStackNames(String... stackNames)
An array of CloudFormation stack names.
NOTE: This method appends the values to the existing list (if any). Use
setStackNames(java.util.Collection)
or withStackNames(java.util.Collection)
if you want to
override the existing values.
stackNames
- An array of CloudFormation stack names.public CloudFormationCollection withStackNames(Collection<String> stackNames)
An array of CloudFormation stack names.
stackNames
- An array of CloudFormation stack names.public String toString()
toString
in class Object
Object.toString()
public CloudFormationCollection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.