public static final class DescribePriceRequest.SystemDisk.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
DescribePriceRequest.SystemDisk |
build() |
DescribePriceRequest.SystemDisk.Builder |
category(String category)
The category of the system disk.
|
DescribePriceRequest.SystemDisk.Builder |
performanceLevel(String performanceLevel)
The performance level of the system disk when the disk is an ESSD.
|
DescribePriceRequest.SystemDisk.Builder |
size(Integer size)
The size of the system disk.
|
public DescribePriceRequest.SystemDisk.Builder category(String category)
* cloud: basic disk * cloud_efficiency: ultra disk * cloud_ssd: standard SSD * ephemeral_ssd: local SSD * cloud_essd: enhanced SSD (ESSD) Description of the default values: * When the InstanceType parameter is set to a retired instance type and the `IoOptimized` parameter is set to `none`, the default value of this parameter is `cloud`. * In other cases, the default value of this parameter is `cloud_efficiency`. > When you query the prices of system disks, you must also specify the `ImageId` parameter.
public DescribePriceRequest.SystemDisk.Builder performanceLevel(String performanceLevel)
PL0 PL1 PL2 PL3
public DescribePriceRequest.SystemDisk.Builder size(Integer size)
Default value: 20 or the image size, whichever is greater.
public DescribePriceRequest.SystemDisk build()
Copyright © 2023. All rights reserved.