public static class ComputedUsageAggregation.Builder extends Object
Constructor and Description |
---|
Builder() |
public ComputedUsageAggregation.Builder quantity(String quantity)
Total Quantity that was used for computation
quantity
- the value to setpublic ComputedUsageAggregation.Builder product(Product product)
public ComputedUsageAggregation.Builder dataCenter(String dataCenter)
Data Center Attribute as sent by MQS to SPM.
dataCenter
- the value to setpublic ComputedUsageAggregation.Builder timeMeteredOn(Date timeMeteredOn)
Metered Service date , expressed in RFC 3339 timestamp format.
timeMeteredOn
- the value to setpublic ComputedUsageAggregation.Builder netUnitPrice(String netUnitPrice)
Net Unit Price for the product in consideration.
netUnitPrice
- the value to setpublic ComputedUsageAggregation.Builder costUnrounded(String costUnrounded)
Sum of Computed Line Amount unrounded
costUnrounded
- the value to setpublic ComputedUsageAggregation.Builder cost(String cost)
Sum of Computed Line Amount rounded
cost
- the value to setpublic ComputedUsageAggregation.Builder type(ComputedUsageAggregation.Type type)
Usage compute type in SPM.
type
- the value to setpublic ComputedUsageAggregation build()
public ComputedUsageAggregation.Builder copy(ComputedUsageAggregation model)
Copyright © 2016–2024. All rights reserved.