Class Metrics

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class Metrics
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Plan-specific cost metrics information.
    • Method Detail

      • getPartRef

        public java.lang.String getPartRef()
        Gets the partRef. The reference guid for the part.
        Returns:
        the partRef
      • getMetricId

        public java.lang.String getMetricId()
        Gets the metricId. The metric ID or part number.
        Returns:
        the metricId
      • getTierModel

        public java.lang.String getTierModel()
        Gets the tierModel. The pricing tier type used to calculate the marginal unit price. Follows simple, graduated or block tier styles.
        Returns:
        the tierModel
      • getChargeUnit

        public java.lang.String getChargeUnit()
        Gets the chargeUnit. The unit to be charged under this metric.
        Returns:
        the chargeUnit
      • getChargeUnitName

        public java.lang.String getChargeUnitName()
        Gets the chargeUnitName. The name associated with a charge unit to provide context.
        Returns:
        the chargeUnitName
      • getChargeUnitQuantity

        public java.lang.Long getChargeUnitQuantity()
        Gets the chargeUnitQuantity. The quantity associated with the charge unit to determine price change intervals.
        Returns:
        the chargeUnitQuantity
      • getResourceDisplayName

        public java.lang.String getResourceDisplayName()
        Gets the resourceDisplayName. The display name of the resource tied to the charge unit of this metric.
        Returns:
        the resourceDisplayName
      • getChargeUnitDisplayName

        public java.lang.String getChargeUnitDisplayName()
        Gets the chargeUnitDisplayName. Display name of the charge unit to be rendered human readable by the UI.
        Returns:
        the chargeUnitDisplayName
      • getUsageCapQty

        public java.lang.Long getUsageCapQty()
        Gets the usageCapQty. Upper bound for the usage under the parent metric.
        Returns:
        the usageCapQty
      • getDisplayCap

        public java.lang.Long getDisplayCap()
        Gets the displayCap. The display capacity for the UI.
        Returns:
        the displayCap
      • getEffectiveFrom

        public java.util.Date getEffectiveFrom()
        Gets the effectiveFrom. The end date-time indicating when this metric is no longer in effect.
        Returns:
        the effectiveFrom
      • getEffectiveUntil

        public java.util.Date getEffectiveUntil()
        Gets the effectiveUntil. The start date-time indicating when this metric takes effect.
        Returns:
        the effectiveUntil
      • getAmounts

        public java.util.List<Amount> getAmounts()
        Gets the amounts. The pricing per metric by country and currency.
        Returns:
        the amounts
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
        Gets the additionalProperties. A property-bag like extension to metric metadata.
        Returns:
        the additionalProperties