public static class ComputeCostEstimation.Builder extends Object
Constructor and Description |
---|
Builder() |
public ComputeCostEstimation.Builder ocpuPerHour(BigDecimal ocpuPerHour)
OCPU per hour
ocpuPerHour
- the value to setpublic ComputeCostEstimation.Builder ocpuPerHourBySubscription(BigDecimal ocpuPerHourBySubscription)
OCPU per hour by subscription
ocpuPerHourBySubscription
- the value to setpublic ComputeCostEstimation.Builder memoryGbPerHour(BigDecimal memoryGbPerHour)
Gigabyte per hour
memoryGbPerHour
- the value to setpublic ComputeCostEstimation.Builder memoryGbPerHourBySubscription(BigDecimal memoryGbPerHourBySubscription)
Gigabyte per hour by subscription
memoryGbPerHourBySubscription
- the value to setpublic ComputeCostEstimation.Builder gpuPerHour(BigDecimal gpuPerHour)
GPU per hour
gpuPerHour
- the value to setpublic ComputeCostEstimation.Builder gpuPerHourBySubscription(BigDecimal gpuPerHourBySubscription)
GPU per hour by subscription
gpuPerHourBySubscription
- the value to setpublic ComputeCostEstimation.Builder totalPerHour(BigDecimal totalPerHour)
Total per hour
totalPerHour
- the value to setpublic ComputeCostEstimation.Builder totalPerHourBySubscription(BigDecimal totalPerHourBySubscription)
Total usage per hour by subscription
totalPerHourBySubscription
- the value to setpublic ComputeCostEstimation.Builder ocpuCount(BigDecimal ocpuCount)
Total number of OCPUs
ocpuCount
- the value to setpublic ComputeCostEstimation.Builder memoryAmountGb(BigDecimal memoryAmountGb)
Total usage of memory
memoryAmountGb
- the value to setpublic ComputeCostEstimation.Builder gpuCount(BigDecimal gpuCount)
Total number of GPU
gpuCount
- the value to setpublic ComputeCostEstimation build()
public ComputeCostEstimation.Builder copy(ComputeCostEstimation model)
Copyright © 2016–2024. All rights reserved.