Class Pricing.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplaceprivateoffer.model.Pricing.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pricing.BuilderbillingCycle(Pricing.BillingCycle billingCycle)The frequency at which the customer is billed for the OfferPricingbuild()Pricing.Buildercopy(Pricing model)Pricing.BuildercurrencyType(String currencyType)The currency supported for a given Offer, in the format specified by ISO-4217Pricing.BuildertotalAmount(Long totalAmount)The total amount an Offer costs
-
-
-
Method Detail
-
currencyType
public Pricing.Builder currencyType(String currencyType)
The currency supported for a given Offer, in the format specified by ISO-4217- Parameters:
currencyType- the value to set- Returns:
- this builder
-
totalAmount
public Pricing.Builder totalAmount(Long totalAmount)
The total amount an Offer costs- Parameters:
totalAmount- the value to set- Returns:
- this builder
-
billingCycle
public Pricing.Builder billingCycle(Pricing.BillingCycle billingCycle)
The frequency at which the customer is billed for the Offer- Parameters:
billingCycle- the value to set- Returns:
- this builder
-
build
public Pricing build()
-
copy
public Pricing.Builder copy(Pricing model)
-
-