public static class ComputedUsageSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ComputedUsageSummary |
build() |
ComputedUsageSummary.Builder |
commitmentServiceId(String commitmentServiceId)
Subscribed service commitmentId.
|
ComputedUsageSummary.Builder |
computedUsageId(String computedUsageId)
SPM Internal computed usage Id , 32 character string
|
ComputedUsageSummary.Builder |
computeSource(String computeSource)
SPM Internal compute records source .
|
ComputedUsageSummary.Builder |
copy(ComputedUsageSummary model) |
ComputedUsageSummary.Builder |
cost(String cost)
Computed Line Amount not rounded
|
ComputedUsageSummary.Builder |
costRounded(String costRounded)
Computed Line Amount rounded.
|
ComputedUsageSummary.Builder |
currencyCode(String currencyCode)
Currency code
|
ComputedUsageSummary.Builder |
dataCenter(String dataCenter)
Data Center Attribute as sent by MQS to SPM.
|
ComputedUsageSummary.Builder |
isInvoiced(Boolean isInvoiced)
Invoicing status for the aggregated compute usage
|
ComputedUsageSummary.Builder |
mqsMessageId(String mqsMessageId)
MQS Identfier send to SPM , SPM does not transform this attribute and is received as is.
|
ComputedUsageSummary.Builder |
netUnitPrice(String netUnitPrice)
Net Unit Price for the product in consideration, price actual.
|
ComputedUsageSummary.Builder |
originalUsageNumber(String originalUsageNumber)
SPM Internal Original usage Line number identifier in SPM coming from Metered Services
entity.
|
ComputedUsageSummary.Builder |
parentProduct(ComputedUsageProduct parentProduct) |
ComputedUsageSummary.Builder |
parentSubscribedServiceId(String parentSubscribedServiceId)
Subscribed service line parent id
|
ComputedUsageSummary.Builder |
planNumber(String planNumber)
Subscription plan number
|
ComputedUsageSummary.Builder |
product(ComputedUsageProduct product) |
ComputedUsageSummary.Builder |
quantity(String quantity)
Total Quantity that was used for computation
|
ComputedUsageSummary.Builder |
rateCardId(String rateCardId)
Ratecard Id at subscribed service level
|
ComputedUsageSummary.Builder |
rateCardTierdId(String rateCardTierdId)
References the tier in the ratecard for that usage (OCI will be using the same reference
to cross-reference for correctness on the usage csv report), comes from Entity
OBSCNTR_IPT_PRODUCTTIER.
|
ComputedUsageSummary.Builder |
timeCreated(Date timeCreated)
Computed Usage created time, expressed in RFC 3339 timestamp format.
|
ComputedUsageSummary.Builder |
timeMeteredOn(Date timeMeteredOn)
Metered Service date, expressed in RFC 3339 timestamp format.
|
ComputedUsageSummary.Builder |
timeOfArrival(Date timeOfArrival)
Usae computation date, expressed in RFC 3339 timestamp format.
|
ComputedUsageSummary.Builder |
timeUpdated(Date timeUpdated)
Computed Usage updated time, expressed in RFC 3339 timestamp format.
|
ComputedUsageSummary.Builder |
type(ComputedUsageSummary.Type type)
Usage compute type in SPM.
|
ComputedUsageSummary.Builder |
unitOfMeasure(String unitOfMeasure)
Unit of Messure
|
ComputedUsageSummary.Builder |
usageNumber(String usageNumber)
SPM Internal usage Line number identifier in SPM coming from Metered Services entity.
|
public ComputedUsageSummary.Builder timeCreated(Date timeCreated)
Computed Usage created time, expressed in RFC 3339 timestamp format.
timeCreated
- the value to setpublic ComputedUsageSummary.Builder timeUpdated(Date timeUpdated)
Computed Usage updated time, expressed in RFC 3339 timestamp format.
timeUpdated
- the value to setpublic ComputedUsageSummary.Builder parentSubscribedServiceId(String parentSubscribedServiceId)
Subscribed service line parent id
parentSubscribedServiceId
- the value to setpublic ComputedUsageSummary.Builder parentProduct(ComputedUsageProduct parentProduct)
public ComputedUsageSummary.Builder planNumber(String planNumber)
Subscription plan number
planNumber
- the value to setpublic ComputedUsageSummary.Builder currencyCode(String currencyCode)
Currency code
currencyCode
- the value to setpublic ComputedUsageSummary.Builder rateCardTierdId(String rateCardTierdId)
References the tier in the ratecard for that usage (OCI will be using the same reference to cross-reference for correctness on the usage csv report), comes from Entity OBSCNTR_IPT_PRODUCTTIER.
rateCardTierdId
- the value to setpublic ComputedUsageSummary.Builder rateCardId(String rateCardId)
Ratecard Id at subscribed service level
rateCardId
- the value to setpublic ComputedUsageSummary.Builder computeSource(String computeSource)
SPM Internal compute records source .
computeSource
- the value to setpublic ComputedUsageSummary.Builder dataCenter(String dataCenter)
Data Center Attribute as sent by MQS to SPM.
dataCenter
- the value to setpublic ComputedUsageSummary.Builder mqsMessageId(String mqsMessageId)
MQS Identfier send to SPM , SPM does not transform this attribute and is received as is.
mqsMessageId
- the value to setpublic ComputedUsageSummary.Builder computedUsageId(String computedUsageId)
SPM Internal computed usage Id , 32 character string
computedUsageId
- the value to setpublic ComputedUsageSummary.Builder quantity(String quantity)
Total Quantity that was used for computation
quantity
- the value to setpublic ComputedUsageSummary.Builder usageNumber(String usageNumber)
SPM Internal usage Line number identifier in SPM coming from Metered Services entity.
usageNumber
- the value to setpublic ComputedUsageSummary.Builder originalUsageNumber(String originalUsageNumber)
SPM Internal Original usage Line number identifier in SPM coming from Metered Services entity.
originalUsageNumber
- the value to setpublic ComputedUsageSummary.Builder commitmentServiceId(String commitmentServiceId)
Subscribed service commitmentId.
commitmentServiceId
- the value to setpublic ComputedUsageSummary.Builder isInvoiced(Boolean isInvoiced)
Invoicing status for the aggregated compute usage
isInvoiced
- the value to setpublic ComputedUsageSummary.Builder type(ComputedUsageSummary.Type type)
Usage compute type in SPM.
type
- the value to setpublic ComputedUsageSummary.Builder timeOfArrival(Date timeOfArrival)
Usae computation date, expressed in RFC 3339 timestamp format.
timeOfArrival
- the value to setpublic ComputedUsageSummary.Builder timeMeteredOn(Date timeMeteredOn)
Metered Service date, expressed in RFC 3339 timestamp format.
timeMeteredOn
- the value to setpublic ComputedUsageSummary.Builder netUnitPrice(String netUnitPrice)
Net Unit Price for the product in consideration, price actual.
netUnitPrice
- the value to setpublic ComputedUsageSummary.Builder costRounded(String costRounded)
Computed Line Amount rounded.
costRounded
- the value to setpublic ComputedUsageSummary.Builder cost(String cost)
Computed Line Amount not rounded
cost
- the value to setpublic ComputedUsageSummary.Builder product(ComputedUsageProduct product)
public ComputedUsageSummary.Builder unitOfMeasure(String unitOfMeasure)
Unit of Messure
unitOfMeasure
- the value to setpublic ComputedUsageSummary build()
public ComputedUsageSummary.Builder copy(ComputedUsageSummary model)
Copyright © 2016–2024. All rights reserved.