Package com.oracle.bmc.self.model
Class PricingRate.Builder
- java.lang.Object
-
- com.oracle.bmc.self.model.PricingRate.Builder
-
- Enclosing class:
- PricingRate
public static class PricingRate.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PricingRatebuild()PricingRate.Buildercopy(PricingRate model)PricingRate.Buildercurrency(String currency)The currency supported, in the format specified by ISO-4217PricingRate.Builderrate(Float rate)The amount charged for the plan in the specified currency.
-
-
-
Method Detail
-
currency
public PricingRate.Builder currency(String currency)
The currency supported, in the format specified by ISO-4217- Parameters:
currency- the value to set- Returns:
- this builder
-
rate
public PricingRate.Builder rate(Float rate)
The amount charged for the plan in the specified currency.- Parameters:
rate- the value to set- Returns:
- this builder
-
build
public PricingRate build()
-
copy
public PricingRate.Builder copy(PricingRate model)
-
-