Class SupportedCurrencySummary.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplacepublisher.model.SupportedCurrencySummary.Builder
-
- Enclosing class:
- SupportedCurrencySummary
public static class SupportedCurrencySummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SupportedCurrencySummary
build()
SupportedCurrencySummary.Builder
copy(SupportedCurrencySummary model)
SupportedCurrencySummary.Builder
currencyCode(String currencyCode)
The currency code, in the format specified by ISO-4217.SupportedCurrencySummary.Builder
exchangeRate(Float exchangeRate)
Oracle exchange rate for the currency in USD.SupportedCurrencySummary.Builder
lifecycleState(SupportedCurrencySummary.LifecycleState lifecycleState)
The current state for the currency.
-
-
-
Method Detail
-
currencyCode
public SupportedCurrencySummary.Builder currencyCode(String currencyCode)
The currency code, in the format specified by ISO-4217.- Parameters:
currencyCode
- the value to set- Returns:
- this builder
-
exchangeRate
public SupportedCurrencySummary.Builder exchangeRate(Float exchangeRate)
Oracle exchange rate for the currency in USD.- Parameters:
exchangeRate
- the value to set- Returns:
- this builder
-
lifecycleState
public SupportedCurrencySummary.Builder lifecycleState(SupportedCurrencySummary.LifecycleState lifecycleState)
The current state for the currency.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
build
public SupportedCurrencySummary build()
-
copy
public SupportedCurrencySummary.Builder copy(SupportedCurrencySummary model)
-
-