Class CostEstimation.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudmigrations.model.CostEstimation.Builder
-
- Enclosing class:
- CostEstimation
public static class CostEstimation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CostEstimationbuild()CostEstimation.Buildercompute(ComputeCostEstimation compute)CostEstimation.Buildercopy(CostEstimation model)CostEstimation.BuildercurrencyCode(String currencyCode)Currency code in the ISO format.CostEstimation.BuilderosImage(OsImageEstimation osImage)CostEstimation.Builderstorage(StorageCostEstimation storage)CostEstimation.BuildersubscriptionId(String subscriptionId)Subscription IDCostEstimation.BuildertotalEstimationPerMonth(BigDecimal totalEstimationPerMonth)Total estimation per monthCostEstimation.BuildertotalEstimationPerMonthBySubscription(BigDecimal totalEstimationPerMonthBySubscription)Total estimation per month by subscription.
-
-
-
Method Detail
-
compute
public CostEstimation.Builder compute(ComputeCostEstimation compute)
-
storage
public CostEstimation.Builder storage(StorageCostEstimation storage)
-
osImage
public CostEstimation.Builder osImage(OsImageEstimation osImage)
-
currencyCode
public CostEstimation.Builder currencyCode(String currencyCode)
Currency code in the ISO format.- Parameters:
currencyCode- the value to set- Returns:
- this builder
-
totalEstimationPerMonth
public CostEstimation.Builder totalEstimationPerMonth(BigDecimal totalEstimationPerMonth)
Total estimation per month- Parameters:
totalEstimationPerMonth- the value to set- Returns:
- this builder
-
totalEstimationPerMonthBySubscription
public CostEstimation.Builder totalEstimationPerMonthBySubscription(BigDecimal totalEstimationPerMonthBySubscription)
Total estimation per month by subscription.- Parameters:
totalEstimationPerMonthBySubscription- the value to set- Returns:
- this builder
-
subscriptionId
public CostEstimation.Builder subscriptionId(String subscriptionId)
Subscription ID- Parameters:
subscriptionId- the value to set- Returns:
- this builder
-
build
public CostEstimation build()
-
copy
public CostEstimation.Builder copy(CostEstimation model)
-
-