Class SavingsPlansCoverageData

    • 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).
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)