public static final class CreateScalingConfigurationRequest.SystemDisk.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
public CreateScalingConfigurationRequest.SystemDisk.Builder autoSnapshotPolicyId(String autoSnapshotPolicyId)
public CreateScalingConfigurationRequest.SystemDisk.Builder burstingEnabled(Boolean burstingEnabled)
* true * false > This parameter is available only if you set `SystemDisk.Category` to `cloud_auto`.
public CreateScalingConfigurationRequest.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) * cloud_auto: ESSD AutoPL disk If you specify SystemDisk.Category, you cannot specify `SystemDiskCategories`. If you do not specify SystemDisk.Category or `SystemDiskCategories`, the default value of SystemDisk.Category is used. * For I/O optimized instances, the default value is cloud_efficiency. * For non-I/O optimized instances, the default value is cloud.
public CreateScalingConfigurationRequest.SystemDisk.Builder description(String description)
public CreateScalingConfigurationRequest.SystemDisk.Builder diskName(String diskName)
public CreateScalingConfigurationRequest.SystemDisk.Builder encryptAlgorithm(String encryptAlgorithm)
* AES-256 * SM4-128 Default value: AES-256
public CreateScalingConfigurationRequest.SystemDisk.Builder encrypted(Boolean encrypted)
* true * false Default value: false
public CreateScalingConfigurationRequest.SystemDisk.Builder KMSKeyId(String KMSKeyId)
public CreateScalingConfigurationRequest.SystemDisk.Builder performanceLevel(String performanceLevel)
* PL0: An ESSD can provide up to 10,000 random read/write IOPS. * PL1: An ESSD can provide up to 50,000 random read/write IOPS. * PL2: An ESSD can provide up to 100,000 random read/write IOPS. * PL3: An ESSD can provide up to 1,000,000 random read/write IOPS. Default value: PL1.
public CreateScalingConfigurationRequest.SystemDisk.Builder provisionedIops(Long provisionedIops)
> IOPS measures the number of read and write operations that an EBS device can process per second.
public CreateScalingConfigurationRequest.SystemDisk.Builder size(Integer size)
* If you set SystemDisk.Category cloud: 20 to 500. * If you set SystemDisk.Category to cloud_efficiency: 20 to 500. * If you set SystemDisk.Category to cloud_ssd: 20 to 500. * If you set SystemDisk.Category to cloud_essd: 20 to 500. * If you set SystemDisk.Category to cloud_essd: 20 to 500. The value of SystemDisk.Size must be greater than or equal to the value of max{20, ImageSize}. Default value: 40 or the size of the image, whichever is greater.
public CreateScalingConfigurationRequest.SystemDisk build()
Copyright © 2024. All rights reserved.