Class ComputeCostEstimation.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudmigrations.model.ComputeCostEstimation.Builder
-
- Enclosing class:
- ComputeCostEstimation
public static class ComputeCostEstimation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
ocpuPerHour
public ComputeCostEstimation.Builder ocpuPerHour(BigDecimal ocpuPerHour)
OCPU per hour- Parameters:
ocpuPerHour
- the value to set- Returns:
- this builder
-
ocpuPerHourBySubscription
public ComputeCostEstimation.Builder ocpuPerHourBySubscription(BigDecimal ocpuPerHourBySubscription)
OCPU per hour by subscription- Parameters:
ocpuPerHourBySubscription
- the value to set- Returns:
- this builder
-
memoryGbPerHour
public ComputeCostEstimation.Builder memoryGbPerHour(BigDecimal memoryGbPerHour)
Gigabyte per hour- Parameters:
memoryGbPerHour
- the value to set- Returns:
- this builder
-
memoryGbPerHourBySubscription
public ComputeCostEstimation.Builder memoryGbPerHourBySubscription(BigDecimal memoryGbPerHourBySubscription)
Gigabyte per hour by subscription- Parameters:
memoryGbPerHourBySubscription
- the value to set- Returns:
- this builder
-
gpuPerHour
public ComputeCostEstimation.Builder gpuPerHour(BigDecimal gpuPerHour)
GPU per hour- Parameters:
gpuPerHour
- the value to set- Returns:
- this builder
-
gpuPerHourBySubscription
public ComputeCostEstimation.Builder gpuPerHourBySubscription(BigDecimal gpuPerHourBySubscription)
GPU per hour by subscription- Parameters:
gpuPerHourBySubscription
- the value to set- Returns:
- this builder
-
totalPerHour
public ComputeCostEstimation.Builder totalPerHour(BigDecimal totalPerHour)
Total per hour- Parameters:
totalPerHour
- the value to set- Returns:
- this builder
-
totalPerHourBySubscription
public ComputeCostEstimation.Builder totalPerHourBySubscription(BigDecimal totalPerHourBySubscription)
Total usage per hour by subscription- Parameters:
totalPerHourBySubscription
- the value to set- Returns:
- this builder
-
ocpuCount
public ComputeCostEstimation.Builder ocpuCount(BigDecimal ocpuCount)
Total number of OCPUs- Parameters:
ocpuCount
- the value to set- Returns:
- this builder
-
memoryAmountGb
public ComputeCostEstimation.Builder memoryAmountGb(BigDecimal memoryAmountGb)
Total usage of memory- Parameters:
memoryAmountGb
- the value to set- Returns:
- this builder
-
gpuCount
public ComputeCostEstimation.Builder gpuCount(BigDecimal gpuCount)
Total number of GPU- Parameters:
gpuCount
- the value to set- Returns:
- this builder
-
build
public ComputeCostEstimation build()
-
copy
public ComputeCostEstimation.Builder copy(ComputeCostEstimation model)
-
-