Class ListingMeter.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplacepublisher.model.ListingMeter.Builder
-
- Enclosing class:
- ListingMeter
public static class ListingMeter.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListingMeterbuild()ListingMeter.Buildercopy(ListingMeter model)ListingMeter.BuilderextendedMetadata(Map<String,String> extendedMetadata)Additional metadata key/value pairs for the listing meter.ListingMeter.Buildername(String name)The meter name, ex - MP_BOBO_AP.ListingMeter.BuilderrateAllocation(Float rateAllocation)rate allocation, these are calculated based on rate information at parent part/sku and listing revision.
-
-
-
Method Detail
-
name
public ListingMeter.Builder name(String name)
The meter name, ex - MP_BOBO_AP.- Parameters:
name- the value to set- Returns:
- this builder
-
rateAllocation
public ListingMeter.Builder rateAllocation(Float rateAllocation)
rate allocation, these are calculated based on rate information at parent part/sku and listing revision.- Parameters:
rateAllocation- the value to set- Returns:
- this builder
-
extendedMetadata
public ListingMeter.Builder extendedMetadata(Map<String,String> extendedMetadata)
Additional metadata key/value pairs for the listing meter.For example:
{"pausedOnInstanceStop": "True","coreSuffixMeter": "_VMWARE", "minimumBillingPeriodInHours": "755", "weight": "1.0" }
- Parameters:
extendedMetadata- the value to set- Returns:
- this builder
-
build
public ListingMeter build()
-
copy
public ListingMeter.Builder copy(ListingMeter model)
-
-