public static final class RebuildDesktopsRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
RebuildDesktopsRequest |
build() |
RebuildDesktopsRequest.Builder |
desktopId(List<String> desktopId)
The cloud computer IDs.
|
RebuildDesktopsRequest.Builder |
imageId(String imageId)
The ID of the new image.
|
RebuildDesktopsRequest.Builder |
language(String language)
The OS language.
|
RebuildDesktopsRequest.Builder |
operateType(String operateType)
The operation type on the data disk.
|
RebuildDesktopsRequest.Builder |
regionId(String regionId)
The region ID.
|
public RebuildDesktopsRequest.Builder desktopId(List<String> desktopId)
public RebuildDesktopsRequest.Builder imageId(String imageId)
public RebuildDesktopsRequest.Builder language(String language)
Valid values: * en-US: English * zh-HK: Traditional Chinese (Hong Kong, China) * zh-CN: Simplified Chinese * ja-JP: Japanese
public RebuildDesktopsRequest.Builder operateType(String operateType)
> This parameter is empty by default regardless of whether data disks are attached to the cloud computer. * No data disks are attached to the cloud computer:\ No operation is performed on the data disks of the cloud computer regardless of the value of this parameter. * Data disks are attached to the cloud computer: 1. The OS of the cloud computer is the same as the OS of the destination image: * If you set the OperateType parameter to `replace`, the data in the data disks of the cloud computer is replaced. * If you leave the OperateType parameter empty, the data in the data disks of the cloud computer is retained. 2. The OS of the cloud computer is different from the OS of the destination image: * If you set the OperateType parameter to `replace`, the data in the data disks of the cloud computer is replaced. * If you leave the OperateType parameter empty, the data in the data disks of the cloud computer is cleared.
public RebuildDesktopsRequest.Builder regionId(String regionId)
public RebuildDesktopsRequest build()
Copyright © 2024. All rights reserved.