Class Resource
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.usage_reports.v4.model.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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Double
getBillableCost()
Gets the billableCost.java.lang.Double
getBillableRatedCost()
Gets the billableRatedCost.java.lang.String
getCatalogId()
Gets the catalogId.java.util.List<Discount>
getDiscounts()
Gets the discounts.java.lang.Double
getNonBillableCost()
Gets the nonBillableCost.java.lang.Double
getNonBillableRatedCost()
Gets the nonBillableRatedCost.java.util.List<Plan>
getPlans()
Gets the plans.java.lang.String
getResourceId()
Gets the resourceId.java.lang.String
getResourceName()
Gets the resourceName.
-
-
-
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
-
-