@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudFormationCostEstimationResourceCollectionFilter extends Object implements Serializable, Cloneable, StructuredPojo
Information about an Amazon Web Services CloudFormation stack used to create a monthly cost estimate for DevOps Guru to analyze Amazon Web Services resources. The maximum number of stacks you can specify for a cost estimate is one. The estimate created is for the cost to analyze the Amazon Web Services resources defined by the stack. For more information, see Stacks in the Amazon Web Services CloudFormation User Guide.
Constructor and Description |
---|
CloudFormationCostEstimationResourceCollectionFilter() |
Modifier and Type | Method and Description |
---|---|
CloudFormationCostEstimationResourceCollectionFilter |
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.
|
CloudFormationCostEstimationResourceCollectionFilter |
withStackNames(Collection<String> stackNames)
An array of CloudFormation stack names.
|
CloudFormationCostEstimationResourceCollectionFilter |
withStackNames(String... stackNames)
An array of CloudFormation stack names.
|
public CloudFormationCostEstimationResourceCollectionFilter()
public List<String> getStackNames()
An array of CloudFormation stack names. Its size is fixed at 1 item.
public void setStackNames(Collection<String> stackNames)
An array of CloudFormation stack names. Its size is fixed at 1 item.
stackNames
- An array of CloudFormation stack names. Its size is fixed at 1 item.public CloudFormationCostEstimationResourceCollectionFilter withStackNames(String... stackNames)
An array of CloudFormation stack names. Its size is fixed at 1 item.
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. Its size is fixed at 1 item.public CloudFormationCostEstimationResourceCollectionFilter withStackNames(Collection<String> stackNames)
An array of CloudFormation stack names. Its size is fixed at 1 item.
stackNames
- An array of CloudFormation stack names. Its size is fixed at 1 item.public String toString()
toString
in class Object
Object.toString()
public CloudFormationCostEstimationResourceCollectionFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.