public static final class ModifyDiskDeploymentRequest.Builder extends Object
public ModifyDiskDeploymentRequest.Builder sourceRegionId(String sourceRegionId)
public ModifyDiskDeploymentRequest.Builder diskCategory(String diskCategory)
This parameter is empty by default, which indicates that the disk category is not changed.
public ModifyDiskDeploymentRequest.Builder diskId(String diskId)
public ModifyDiskDeploymentRequest.Builder dryRun(Boolean dryRun)
* true: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, service limits, and unavailable ECS resources. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned. * false: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed. Default value: false.
public ModifyDiskDeploymentRequest.Builder ownerAccount(String ownerAccount)
public ModifyDiskDeploymentRequest.Builder ownerId(Long ownerId)
public ModifyDiskDeploymentRequest.Builder performanceLevel(String performanceLevel)
* PL0: A single ESSD can deliver up to 10000 random read/write IOPS. * PL1: A single ESSD can deliver up to 50000 random read/write IOPS. This parameter is empty by default, which indicates that the performance level is not modified.
public ModifyDiskDeploymentRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ModifyDiskDeploymentRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ModifyDiskDeploymentRequest.Builder storageClusterId(String storageClusterId)
* When you migrate a disk to a dedicated block storage cluster, the StorageClusterId parameter must be specified. * When you migrate a disk to a public block storage cluster, the StorageClusterId parameter must be left empty. This parameter is empty by default, which indicates that the disk is migrated to a public block storage cluster.
public ModifyDiskDeploymentRequest build()
Copyright © 2024. All rights reserved.