Package com.oracle.bmc.ccdoffers.model
Class Prices.Builder
- java.lang.Object
-
- com.oracle.bmc.ccdoffers.model.Prices.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pricesbuild()Prices.Buildercopy(Prices model)Prices.Buildermodel(Prices.Model model)Pricing model.Prices.BuilderrangeMax(String rangeMax)The maximum quantity for tier pricing (inclusive).Prices.BuilderrangeMin(String rangeMin)The minimum quantity for tier pricing (exclusive).Prices.BuilderrangeUnit(String rangeUnit)The rangeMin and rangeMax unit of measurement (for example, “GB” or “TB”).Prices.Buildervalue(String value)Currency value.
-
-
-
Method Detail
-
model
public Prices.Builder model(Prices.Model model)
Pricing model.- Parameters:
model- the value to set- Returns:
- this builder
-
value
public Prices.Builder value(String value)
Currency value.- Parameters:
value- the value to set- Returns:
- this builder
-
rangeMin
public Prices.Builder rangeMin(String rangeMin)
The minimum quantity for tier pricing (exclusive).Only applicable for products that support range-based pricing.
- Parameters:
rangeMin- the value to set- Returns:
- this builder
-
rangeMax
public Prices.Builder rangeMax(String rangeMax)
The maximum quantity for tier pricing (inclusive).Only applicable for products that support range-based pricing.
- Parameters:
rangeMax- the value to set- Returns:
- this builder
-
rangeUnit
public Prices.Builder rangeUnit(String rangeUnit)
The rangeMin and rangeMax unit of measurement (for example, “GB” or “TB”).- Parameters:
rangeUnit- the value to set- Returns:
- this builder
-
build
public Prices build()
-
copy
public Prices.Builder copy(Prices model)
-
-