Class Metrics
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.global_catalog.v1.model.Metrics
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Metrics extends com.ibm.cloud.sdk.core.service.model.GenericModelPlan-specific cost metrics information.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()Gets the additionalProperties.java.util.List<Amount>getAmounts()Gets the amounts.java.lang.StringgetChargeUnit()Gets the chargeUnit.java.lang.StringgetChargeUnitDisplayName()Gets the chargeUnitDisplayName.java.lang.StringgetChargeUnitName()Gets the chargeUnitName.java.lang.LonggetChargeUnitQuantity()Gets the chargeUnitQuantity.java.lang.LonggetDisplayCap()Gets the displayCap.java.util.DategetEffectiveFrom()Gets the effectiveFrom.java.util.DategetEffectiveUntil()Gets the effectiveUntil.java.lang.StringgetMetricId()Gets the metricId.java.lang.StringgetPartRef()Gets the partRef.java.lang.StringgetResourceDisplayName()Gets the resourceDisplayName.java.lang.StringgetTierModel()Gets the tierModel.java.lang.LonggetUsageCapQty()Gets the usageCapQty.
-
-
-
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
-
-