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 CostEstimation
build()
CostEstimation.Builder
compute(ComputeCostEstimation compute)
CostEstimation.Builder
copy(CostEstimation model)
CostEstimation.Builder
currencyCode(String currencyCode)
Currency code in the ISO format.CostEstimation.Builder
osImage(OsImageEstimation osImage)
CostEstimation.Builder
storage(StorageCostEstimation storage)
CostEstimation.Builder
subscriptionId(String subscriptionId)
Subscription IDCostEstimation.Builder
totalEstimationPerMonth(BigDecimal totalEstimationPerMonth)
Total estimation per monthCostEstimation.Builder
totalEstimationPerMonthBySubscription(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)
-
-