public static final class DescribeLaunchTemplateVersionsResponseBody.DataDisk.Builder extends Object
构造器和说明 |
---|
Builder() |
public DescribeLaunchTemplateVersionsResponseBody.DataDisk.Builder autoSnapshotPolicyId(String autoSnapshotPolicyId)
public DescribeLaunchTemplateVersionsResponseBody.DataDisk.Builder burstingEnabled(Boolean burstingEnabled)
* true * false
public DescribeLaunchTemplateVersionsResponseBody.DataDisk.Builder category(String category)
public DescribeLaunchTemplateVersionsResponseBody.DataDisk.Builder deleteWithInstance(Boolean deleteWithInstance)
public DescribeLaunchTemplateVersionsResponseBody.DataDisk.Builder description(String description)
public DescribeLaunchTemplateVersionsResponseBody.DataDisk.Builder device(String device)
* 1st to 25th data disks: /dev/xvd`[b-z]`. * From the 26th data disk on: /dev/xvd`[aa-zz]`. For example, the 26th data disk is named /dev/xvdaa, the 27th data disk is named /dev/xvdab, and so on. > This parameter is applicable to scenarios in which a full image is used to create instances. A full image is an image that contains an operating system, application software, and business data. For these scenarios, you can set the parameter to the mount point of data disk N contained in the full image and modify `DataDisk.N.Size` and `DataDisk.N.Category` to change the category and size of data disk N created based on the image.
public DescribeLaunchTemplateVersionsResponseBody.DataDisk.Builder diskName(String diskName)
public DescribeLaunchTemplateVersionsResponseBody.DataDisk.Builder encrypted(String encrypted)
public DescribeLaunchTemplateVersionsResponseBody.DataDisk.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.
public DescribeLaunchTemplateVersionsResponseBody.DataDisk.Builder provisionedIops(Long provisionedIops)
Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. > This parameter is available only if you set DataDisk.N.Category to cloud_auto. For more information, see [ESSD AutoPL disks](~~368372~~) and [Modify the performance configurations of an ESSD AutoPL disk](~~413275~~).
public DescribeLaunchTemplateVersionsResponseBody.DataDisk.Builder size(Integer size)
public DescribeLaunchTemplateVersionsResponseBody.DataDisk.Builder snapshotId(String snapshotId)
public DescribeLaunchTemplateVersionsResponseBody.DataDisk build()
Copyright © 2024. All rights reserved.