public static final class DescribePriceRequest.DataDisk.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
DescribePriceRequest.DataDisk |
build() |
DescribePriceRequest.DataDisk.Builder |
category(String category)
The category of data disk N.
|
DescribePriceRequest.DataDisk.Builder |
performanceLevel(String performanceLevel)
The performance level of data disk N when the disk is an ESSD.
|
DescribePriceRequest.DataDisk.Builder |
size(Long size)
The size of data disk N.
|
public DescribePriceRequest.DataDisk.Builder category(String category)
* cloud: basic disk * cloud_efficiency: ultra disk * cloud_ssd: standard SSD * ephemeral_ssd: local SSD * cloud_essd: ESSD * cloud_auto: ESSD AutoPL disk Valid values of N: 1 to 16.
public DescribePriceRequest.DataDisk.Builder performanceLevel(String performanceLevel)
* PL0 * PL1 (default) * PL2 * PL3 Valid values of N: 1 to 16.
public DescribePriceRequest.DataDisk.Builder size(Long size)
* Valid values when DataDisk.N.Category is set to cloud: 5 to 2000. * Valid values when DataDisk.N.Category is set to cloud_efficiency: 20 to 32768. * Valid values when DataDisk.N.Category is set to cloud_ssd: 20 to 32768. * Valid values when DataDisk.N.Category is set to cloud_auto: 1 to 32768. * Valid values when DataDisk.N.Category is set to cloud_essd: vary based on the value of `DataDisk.N.PerformanceLevel`. * Valid values when DataDisk.N.PerformanceLevel is set to PL0: 1 to 32768. * Valid values when DataDisk.N.PerformanceLevel is set to PL1: 20 to 32768. * Valid values when DataDisk.N.PerformanceLevel is set to PL2: 461 to 32768. * Valid values when DataDisk.N.PerformanceLevel is set to PL3: 1261 to 32768. * Valid values when DataDisk.N.Category is set to ephemeral_ssd: 5 to 800. Valid values of N: 1 to 16.
public DescribePriceRequest.DataDisk build()
Copyright © 2024. All rights reserved.