public static final class CreateLaunchTemplateVersionRequest.SystemDisk.Builder extends Object
构造器和说明 |
---|
Builder() |
public CreateLaunchTemplateVersionRequest.SystemDisk.Builder autoSnapshotPolicyId(String autoSnapshotPolicyId)
public CreateLaunchTemplateVersionRequest.SystemDisk.Builder burstingEnabled(Boolean burstingEnabled)
* true: encrypts the disk. * false: does not enable the performance burst feature.
public CreateLaunchTemplateVersionRequest.SystemDisk.Builder category(String category)
* cloud: basic disk. * cloud_efficiency: ultra disk. * cloud_ssd: standard SSD. * cloud_auto: Enterprise SSD (ESSD) AutoPL disk. * cloud_essd: ESSD. You can use `SystemDisk.PerformanceLevel` to set the performance level of the ESSD to use as the system disk. * cloud_essd_entry: ESSD Entry disk. For non-I/O optimized instances of retired instance types, the default value is cloud. For other types of instances, the default value is cloud_efficiency.
public CreateLaunchTemplateVersionRequest.SystemDisk.Builder deleteWithInstance(Boolean deleteWithInstance)
* true * false Default value: true.
public CreateLaunchTemplateVersionRequest.SystemDisk.Builder description(String description)
public CreateLaunchTemplateVersionRequest.SystemDisk.Builder diskName(String diskName)
public CreateLaunchTemplateVersionRequest.SystemDisk.Builder encrypted(String encrypted)
* true * false Default value: false > You cannot encrypt system disks when you create instances in Hong Kong Zone D or Singapore Zone A.
public CreateLaunchTemplateVersionRequest.SystemDisk.Builder iops(Integer iops)
public CreateLaunchTemplateVersionRequest.SystemDisk.Builder performanceLevel(String performanceLevel)
* PL0: A single ESSD can deliver up to 10,000 random read/write IOPS. * PL1: A single ESSD can deliver up to 50,000 random read/write IOPS. * PL2: A single ESSD can deliver up to 100,000 random read/write IOPS. * PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS. For more information about ESSD performance levels, see [ESSDs](~~122389~~).
public CreateLaunchTemplateVersionRequest.SystemDisk.Builder provisionedIops(Long provisionedIops)
Baseline IOPS = min{1,800 + 50 × Capacity, 50,000} > This parameter is available only if you set the Category parameter to cloud_auto. For more information, see [ESSD AutoPL disks](~~368372~~) and [Modify the performance configurations of an ESSD AutoPL disk](~~413275~~).
public CreateLaunchTemplateVersionRequest.SystemDisk.Builder size(Integer size)
* Valid values if you set SystemDisk.Category to cloud: 20 to 500. * Valid values if you set SystemDisk.Category to other disk categories: 20 to 2048. The value of this parameter must be at least 20 and greater than or equal to the size of the image.
public CreateLaunchTemplateVersionRequest.SystemDisk build()
Copyright © 2024. All rights reserved.