Package com.oracle.bmc.ccdoffers.model
Class CommittedSkuQuantityPriceModel.Builder
- java.lang.Object
-
- com.oracle.bmc.ccdoffers.model.CommittedSkuQuantityPriceModel.Builder
-
- Enclosing class:
- CommittedSkuQuantityPriceModel
public static class CommittedSkuQuantityPriceModel.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommittedSkuQuantityPriceModelbuild()CommittedSkuQuantityPriceModel.Buildercopy(CommittedSkuQuantityPriceModel model)CommittedSkuQuantityPriceModel.BuildercurrencyCodeLocalization(List<CurrencyCodeLocalization> currencyCodeLocalization)The pricing model associated with the currency code.CommittedSkuQuantityPriceModel.BuilderisMainSku(Boolean isMainSku)True if the SKU is the primary SKU of a CCD offer, otheriwse, false.CommittedSkuQuantityPriceModel.Builderquantity(Long quantity)The SKU quantity that’s getting committed.CommittedSkuQuantityPriceModel.Buildersku(String sku)The SKU part number (prefaced with “B”) associated with the committed CCD.CommittedSkuQuantityPriceModel.BuilderskuDisplayName(String skuDisplayName)The canonical SKU display name derived from the associated offer.CommittedSkuQuantityPriceModel.BuilderskuMetric(String skuMetric)The canonical billing metric derived from the associated offer.
-
-
-
Method Detail
-
sku
public CommittedSkuQuantityPriceModel.Builder sku(String sku)
The SKU part number (prefaced with “B”) associated with the committed CCD.- Parameters:
sku- the value to set- Returns:
- this builder
-
skuDisplayName
public CommittedSkuQuantityPriceModel.Builder skuDisplayName(String skuDisplayName)
The canonical SKU display name derived from the associated offer.- Parameters:
skuDisplayName- the value to set- Returns:
- this builder
-
skuMetric
public CommittedSkuQuantityPriceModel.Builder skuMetric(String skuMetric)
The canonical billing metric derived from the associated offer.- Parameters:
skuMetric- the value to set- Returns:
- this builder
-
isMainSku
public CommittedSkuQuantityPriceModel.Builder isMainSku(Boolean isMainSku)
True if the SKU is the primary SKU of a CCD offer, otheriwse, false.- Parameters:
isMainSku- the value to set- Returns:
- this builder
-
quantity
public CommittedSkuQuantityPriceModel.Builder quantity(Long quantity)
The SKU quantity that’s getting committed.- Parameters:
quantity- the value to set- Returns:
- this builder
-
currencyCodeLocalization
public CommittedSkuQuantityPriceModel.Builder currencyCodeLocalization(List<CurrencyCodeLocalization> currencyCodeLocalization)
The pricing model associated with the currency code.- Parameters:
currencyCodeLocalization- the value to set- Returns:
- this builder
-
build
public CommittedSkuQuantityPriceModel build()
-
copy
public CommittedSkuQuantityPriceModel.Builder copy(CommittedSkuQuantityPriceModel model)
-
-