Class Resource

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

    public class Resource
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The container for all the plans in the resource.
    • Method Detail

      • getResourceId

        public java.lang.String getResourceId()
        Gets the resourceId. The ID of the resource.
        Returns:
        the resourceId
      • getCatalogId

        public java.lang.String getCatalogId()
        Gets the catalogId. The catalog ID of the resource.
        Returns:
        the catalogId
      • getResourceName

        public java.lang.String getResourceName()
        Gets the resourceName. The name of the resource.
        Returns:
        the resourceName
      • getBillableCost

        public java.lang.Double getBillableCost()
        Gets the billableCost. The billable charges for the account.
        Returns:
        the billableCost
      • getBillableRatedCost

        public java.lang.Double getBillableRatedCost()
        Gets the billableRatedCost. The pre-discounted billable charges for the account.
        Returns:
        the billableRatedCost
      • getNonBillableCost

        public java.lang.Double getNonBillableCost()
        Gets the nonBillableCost. The non-billable charges for the account.
        Returns:
        the nonBillableCost
      • getNonBillableRatedCost

        public java.lang.Double getNonBillableRatedCost()
        Gets the nonBillableRatedCost. The pre-discounted non-billable charges for the account.
        Returns:
        the nonBillableRatedCost
      • getPlans

        public java.util.List<Plan> getPlans()
        Gets the plans. All the plans in the resource.
        Returns:
        the plans
      • getDiscounts

        public java.util.List<Discount> getDiscounts()
        Gets the discounts. All the discounts applicable to the resource.
        Returns:
        the discounts