@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SavingsPlansCoverageData extends Object implements Serializable, Cloneable, StructuredPojo
Specific coverage percentage, On-Demand costs, and spend covered by Savings Plans, and total Savings Plans costs for an account.
Constructor and Description |
---|
SavingsPlansCoverageData() |
Modifier and Type | Method and Description |
---|---|
SavingsPlansCoverageData |
clone() |
boolean |
equals(Object obj) |
String |
getCoveragePercentage()
The percentage of your existing Savings Plans covered usage, divided by all of your eligible Savings Plans usage
in an account (or set of accounts).
|
String |
getOnDemandCost()
The cost of your Amazon Web Services usage at the public On-Demand rate.
|
String |
getSpendCoveredBySavingsPlans()
The amount of your Amazon Web Services usage that is covered by a Savings Plans.
|
String |
getTotalCost()
The total cost of your Amazon Web Services usage, regardless of your purchase option.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCoveragePercentage(String coveragePercentage)
The percentage of your existing Savings Plans covered usage, divided by all of your eligible Savings Plans usage
in an account (or set of accounts).
|
void |
setOnDemandCost(String onDemandCost)
The cost of your Amazon Web Services usage at the public On-Demand rate.
|
void |
setSpendCoveredBySavingsPlans(String spendCoveredBySavingsPlans)
The amount of your Amazon Web Services usage that is covered by a Savings Plans.
|
void |
setTotalCost(String totalCost)
The total cost of your Amazon Web Services usage, regardless of your purchase option.
|
String |
toString()
Returns a string representation of this object.
|
SavingsPlansCoverageData |
withCoveragePercentage(String coveragePercentage)
The percentage of your existing Savings Plans covered usage, divided by all of your eligible Savings Plans usage
in an account (or set of accounts).
|
SavingsPlansCoverageData |
withOnDemandCost(String onDemandCost)
The cost of your Amazon Web Services usage at the public On-Demand rate.
|
SavingsPlansCoverageData |
withSpendCoveredBySavingsPlans(String spendCoveredBySavingsPlans)
The amount of your Amazon Web Services usage that is covered by a Savings Plans.
|
SavingsPlansCoverageData |
withTotalCost(String totalCost)
The total cost of your Amazon Web Services usage, regardless of your purchase option.
|
public void setSpendCoveredBySavingsPlans(String spendCoveredBySavingsPlans)
The amount of your Amazon Web Services usage that is covered by a Savings Plans.
spendCoveredBySavingsPlans
- The amount of your Amazon Web Services usage that is covered by a Savings Plans.public String getSpendCoveredBySavingsPlans()
The amount of your Amazon Web Services usage that is covered by a Savings Plans.
public SavingsPlansCoverageData withSpendCoveredBySavingsPlans(String spendCoveredBySavingsPlans)
The amount of your Amazon Web Services usage that is covered by a Savings Plans.
spendCoveredBySavingsPlans
- The amount of your Amazon Web Services usage that is covered by a Savings Plans.public void setOnDemandCost(String onDemandCost)
The cost of your Amazon Web Services usage at the public On-Demand rate.
onDemandCost
- The cost of your Amazon Web Services usage at the public On-Demand rate.public String getOnDemandCost()
The cost of your Amazon Web Services usage at the public On-Demand rate.
public SavingsPlansCoverageData withOnDemandCost(String onDemandCost)
The cost of your Amazon Web Services usage at the public On-Demand rate.
onDemandCost
- The cost of your Amazon Web Services usage at the public On-Demand rate.public void setTotalCost(String totalCost)
The total cost of your Amazon Web Services usage, regardless of your purchase option.
totalCost
- The total cost of your Amazon Web Services usage, regardless of your purchase option.public String getTotalCost()
The total cost of your Amazon Web Services usage, regardless of your purchase option.
public SavingsPlansCoverageData withTotalCost(String totalCost)
The total cost of your Amazon Web Services usage, regardless of your purchase option.
totalCost
- The total cost of your Amazon Web Services usage, regardless of your purchase option.public void setCoveragePercentage(String coveragePercentage)
The percentage of your existing Savings Plans covered usage, divided by all of your eligible Savings Plans usage in an account (or set of accounts).
coveragePercentage
- The percentage of your existing Savings Plans covered usage, divided by all of your eligible Savings Plans
usage in an account (or set of accounts).public String getCoveragePercentage()
The percentage of your existing Savings Plans covered usage, divided by all of your eligible Savings Plans usage in an account (or set of accounts).
public SavingsPlansCoverageData withCoveragePercentage(String coveragePercentage)
The percentage of your existing Savings Plans covered usage, divided by all of your eligible Savings Plans usage in an account (or set of accounts).
coveragePercentage
- The percentage of your existing Savings Plans covered usage, divided by all of your eligible Savings Plans
usage in an account (or set of accounts).public String toString()
toString
in class Object
Object.toString()
public SavingsPlansCoverageData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.