Class Pricing.Builder
- java.lang.Object
-
- com.ibm.cloud.dph_services.dph.v1.model.Pricing.Builder
-
- Enclosing class:
- Pricing
public static class Pricing.Builder extends java.lang.ObjectBuilder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pricing.Builderamount(java.lang.String amount)Set the amount.Pricingbuild()Builds a Pricing.Pricing.Buildercurrency(java.lang.String currency)Set the currency.Pricing.Builderunit(java.lang.String unit)Set the unit.
-
-
-
Method Detail
-
build
public Pricing build()
Builds a Pricing.- Returns:
- the new Pricing instance
-
amount
public Pricing.Builder amount(java.lang.String amount)
Set the amount.- Parameters:
amount- the amount- Returns:
- the Pricing builder
-
currency
public Pricing.Builder currency(java.lang.String currency)
Set the currency.- Parameters:
currency- the currency- Returns:
- the Pricing builder
-
unit
public Pricing.Builder unit(java.lang.String unit)
Set the unit.- Parameters:
unit- the unit- Returns:
- the Pricing builder
-
-