Class SavingsPlansCoverageData
- java.lang.Object
-
- software.amazon.awssdk.services.costexplorer.model.SavingsPlansCoverageData
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SavingsPlansCoverageData.Builder,SavingsPlansCoverageData>
@Generated("software.amazon.awssdk:codegen") public final class SavingsPlansCoverageData extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SavingsPlansCoverageData.Builder,SavingsPlansCoverageData>
Specific coverage percentage, On-Demand costs, and spend covered by Savings Plans, and total Savings Plans costs for an account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSavingsPlansCoverageData.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SavingsPlansCoverageData.Builderbuilder()StringcoveragePercentage()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).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringonDemandCost()The cost of your Amazon Web Services usage at the public On-Demand rate.List<SdkField<?>>sdkFields()static Class<? extends SavingsPlansCoverageData.Builder>serializableBuilderClass()StringspendCoveredBySavingsPlans()The amount of your Amazon Web Services usage that's covered by a Savings Plans.SavingsPlansCoverageData.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtotalCost()The total cost of your Amazon Web Services usage, regardless of your purchase option.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
spendCoveredBySavingsPlans
public final String spendCoveredBySavingsPlans()
The amount of your Amazon Web Services usage that's covered by a Savings Plans.
- Returns:
- The amount of your Amazon Web Services usage that's covered by a Savings Plans.
-
onDemandCost
public final String onDemandCost()
The cost of your Amazon Web Services usage at the public On-Demand rate.
- Returns:
- The cost of your Amazon Web Services usage at the public On-Demand rate.
-
totalCost
public final String totalCost()
The total cost of your Amazon Web Services usage, regardless of your purchase option.
- Returns:
- The total cost of your Amazon Web Services usage, regardless of your purchase option.
-
coveragePercentage
public final 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).
- Returns:
- 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).
-
toBuilder
public SavingsPlansCoverageData.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SavingsPlansCoverageData.Builder,SavingsPlansCoverageData>
-
builder
public static SavingsPlansCoverageData.Builder builder()
-
serializableBuilderClass
public static Class<? extends SavingsPlansCoverageData.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-