@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceCostCalculation extends Object implements Serializable, Cloneable, StructuredPojo
Cost impact of the resource recommendation.
Constructor and Description |
---|
ResourceCostCalculation() |
Modifier and Type | Method and Description |
---|---|
ResourceCostCalculation |
clone() |
boolean |
equals(Object obj) |
ResourcePricing |
getPricing()
Pricing details of the resource recommendation.
|
List<Usage> |
getUsages()
Usage details of the resource recommendation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPricing(ResourcePricing pricing)
Pricing details of the resource recommendation.
|
void |
setUsages(Collection<Usage> usages)
Usage details of the resource recommendation.
|
String |
toString()
Returns a string representation of this object.
|
ResourceCostCalculation |
withPricing(ResourcePricing pricing)
Pricing details of the resource recommendation.
|
ResourceCostCalculation |
withUsages(Collection<Usage> usages)
Usage details of the resource recommendation.
|
ResourceCostCalculation |
withUsages(Usage... usages)
Usage details of the resource recommendation.
|
public List<Usage> getUsages()
Usage details of the resource recommendation.
public void setUsages(Collection<Usage> usages)
Usage details of the resource recommendation.
usages
- Usage details of the resource recommendation.public ResourceCostCalculation withUsages(Usage... usages)
Usage details of the resource recommendation.
NOTE: This method appends the values to the existing list (if any). Use
setUsages(java.util.Collection)
or withUsages(java.util.Collection)
if you want to override the
existing values.
usages
- Usage details of the resource recommendation.public ResourceCostCalculation withUsages(Collection<Usage> usages)
Usage details of the resource recommendation.
usages
- Usage details of the resource recommendation.public void setPricing(ResourcePricing pricing)
Pricing details of the resource recommendation.
pricing
- Pricing details of the resource recommendation.public ResourcePricing getPricing()
Pricing details of the resource recommendation.
public ResourceCostCalculation withPricing(ResourcePricing pricing)
Pricing details of the resource recommendation.
pricing
- Pricing details of the resource recommendation.public String toString()
toString
in class Object
Object.toString()
public ResourceCostCalculation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.