public static final class CreateAutoProvisioningGroupRequest.DataDisk.Builder extends Object
构造器和说明 |
---|
Builder() |
public CreateAutoProvisioningGroupRequest.DataDisk.Builder burstingEnabled(Boolean burstingEnabled)
* true * false > This parameter is available only if you set LaunchConfiguration.DataDisk.N.Category to cloud_auto. For more information, see [ESSD AutoPL disks](~~368372~~).
public CreateAutoProvisioningGroupRequest.DataDisk.Builder category(String category)
* cloud_efficiency: ultra disk. * cloud_ssd: standard SSD. * cloud_essd: ESSD. * cloud: basic disk. For I/O optimized instances, the default value is cloud_efficiency. For non-I/O optimized instances, the default value is cloud. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
public CreateAutoProvisioningGroupRequest.DataDisk.Builder deleteWithInstance(Boolean deleteWithInstance)
* true * false Default value: true. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
public CreateAutoProvisioningGroupRequest.DataDisk.Builder description(String description)
public CreateAutoProvisioningGroupRequest.DataDisk.Builder device(String device)
public CreateAutoProvisioningGroupRequest.DataDisk.Builder diskName(String diskName)
This parameter is left empty by default. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
public CreateAutoProvisioningGroupRequest.DataDisk.Builder encryptAlgorithm(String encryptAlgorithm)
public CreateAutoProvisioningGroupRequest.DataDisk.Builder encrypted(Boolean encrypted)
* true * false Default value: false. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
public CreateAutoProvisioningGroupRequest.DataDisk.Builder kmsKeyId(String kmsKeyId)
public CreateAutoProvisioningGroupRequest.DataDisk.Builder performanceLevel(String performanceLevel)
* PL0: A single ESSD can deliver up to 10,000 random read/write IOPS. * PL1 (default): 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~~). When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
public CreateAutoProvisioningGroupRequest.DataDisk.Builder provisionedIops(Long provisionedIops)
Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. > This parameter is available only if you set LaunchConfiguration.DataDisk.N.Category to cloud_auto. For more information, see [ESSD AutoPL disks](~~368372~~).
public CreateAutoProvisioningGroupRequest.DataDisk.Builder size(Integer size)
* Valid values if you set LaunchConfiguration.DataDisk.N.Category to cloud_efficiency: 20 to 32768. * Valid values if you set LaunchConfiguration.DataDisk.N.Category to cloud_ssd: 20 to 32768. * Valid values if you set LaunchConfiguration.DataDisk.N.Category to cloud_essd: vary based on the `LaunchConfiguration.DataDisk.N.PerformanceLevel` value. * Valid values if you set LaunchConfiguration.DataDisk.N.PerformanceLevel to PL0: 40 to 32768. * Valid values if you set LaunchConfiguration.DataDisk.N.PerformanceLevel to PL1: 20 to 32768. * Valid values if you set LaunchConfiguration.DataDisk.N.PerformanceLevel to PL2: 461 to 32768. * Valid values if you set LaunchConfiguration.DataDisk.N.PerformanceLevel to PL3: 1261 to 32768. * Valid values if you set LaunchConfiguration.DataDisk.N.Category to cloud: 5 to 2000. > The value of this parameter must be greater than or equal to the size of the snapshot specified by `LaunchConfiguration.DataDisk.N.SnapshotId`. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
public CreateAutoProvisioningGroupRequest.DataDisk.Builder snapshotId(String snapshotId)
If you specify this parameter, `LaunchConfiguration.DataDisk.N.Size` is ignored. The size of data disk N is the same as that of the snapshot specified by this parameter. Use snapshots created after July 15, 2013. Otherwise, an error is returned and your request is rejected. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
public CreateAutoProvisioningGroupRequest.DataDisk build()
Copyright © 2024. All rights reserved.