Class CurrentMonthlyCost.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudmigrations.model.CurrentMonthlyCost.Builder
-
- Enclosing class:
- CurrentMonthlyCost
public static class CurrentMonthlyCost.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CurrentMonthlyCost.BuilderassetCount(Integer assetCount)Number of assets used in this calculation.CurrentMonthlyCostbuild()CurrentMonthlyCost.BuildercomputeAmount(BigDecimal computeAmount)Current monthly compute costs.CurrentMonthlyCost.Buildercopy(CurrentMonthlyCost model)CurrentMonthlyCost.BuildercurrencyCode(String currencyCode)Currency code as defined by ISO-4217.CurrentMonthlyCost.BuilderstorageAmount(BigDecimal storageAmount)Current monthly storage costs.
-
-
-
Method Detail
-
computeAmount
public CurrentMonthlyCost.Builder computeAmount(BigDecimal computeAmount)
Current monthly compute costs.- Parameters:
computeAmount- the value to set- Returns:
- this builder
-
storageAmount
public CurrentMonthlyCost.Builder storageAmount(BigDecimal storageAmount)
Current monthly storage costs.- Parameters:
storageAmount- the value to set- Returns:
- this builder
-
currencyCode
public CurrentMonthlyCost.Builder currencyCode(String currencyCode)
Currency code as defined by ISO-4217.- Parameters:
currencyCode- the value to set- Returns:
- this builder
-
assetCount
public CurrentMonthlyCost.Builder assetCount(Integer assetCount)
Number of assets used in this calculation.- Parameters:
assetCount- the value to set- Returns:
- this builder
-
build
public CurrentMonthlyCost build()
-
copy
public CurrentMonthlyCost.Builder copy(CurrentMonthlyCost model)
-
-