public static final class CreateDesktopsRequest.BundleModels.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
CreateDesktopsRequest.BundleModels.Builder |
amount(Integer amount)
The number of cloud computers that you want to create.
|
CreateDesktopsRequest.BundleModels |
build() |
CreateDesktopsRequest.BundleModels.Builder |
bundleId(String bundleId)
The ID of a cloud computer template.
|
CreateDesktopsRequest.BundleModels.Builder |
desktopName(String desktopName)
The name of the cloud computer.
|
CreateDesktopsRequest.BundleModels.Builder |
endUserIds(List<String> endUserIds)
The IDs of the end users to whom the cloud computer are assigned.
|
CreateDesktopsRequest.BundleModels.Builder |
hostname(String hostname)
The custom hostnames of the cloud computers.
|
CreateDesktopsRequest.BundleModels.Builder |
volumeEncryptionEnabled(Boolean volumeEncryptionEnabled)
Specifies whether to enable disk encryption.
|
CreateDesktopsRequest.BundleModels.Builder |
volumeEncryptionKey(String volumeEncryptionKey)
The ID of the Key Management Service (KMS) key that is used when disk encryption is enabled.
|
public CreateDesktopsRequest.BundleModels.Builder amount(Integer amount)
public CreateDesktopsRequest.BundleModels.Builder bundleId(String bundleId)
public CreateDesktopsRequest.BundleModels.Builder desktopName(String desktopName)
* The name must be 1 to 64 characters in length. * The name must start with a letter but cannot start with `http://` or `https://`. * The name can only contain letters, digits, colons (:), underscores (\_), periods (.), and hyphens (-).
public CreateDesktopsRequest.BundleModels.Builder endUserIds(List<String> endUserIds)
public CreateDesktopsRequest.BundleModels.Builder hostname(String hostname)
The hostnames must meet the following requirements: * The hostnames must be 2 to 15 characters in length. * The hostnames can contain only letters, digits, and hyphens (-). The hostnames cannot start or end with a hyphen (-), contain consecutive hyphens (-), or contain only digits. When you create multiple cloud computers, you can use the `name_prefix[begin_number,bits]name_suffix` naming format to name the cloud computers. For example, if you set the value of the Hostname parameter to ecd-\[1,4]-test, the hostname of the first cloud computer is ecd-0001-test, the hostname of the second cloud computer is ecd-0002-test, and so on. * `name_prefix`: the prefix of the hostname. * `[begin_number,bits]`: the sequential number in the hostname. The `begin_number` value is the starting digit. Valid values of begin_number: 0 to 999999. Default value: 0. The `bits` value is the number of digits. Valid values: 1 to 6. Default value: 6. * `name_suffix`: the suffix of the hostname.
public CreateDesktopsRequest.BundleModels.Builder volumeEncryptionEnabled(Boolean volumeEncryptionEnabled)
public CreateDesktopsRequest.BundleModels.Builder volumeEncryptionKey(String volumeEncryptionKey)
public CreateDesktopsRequest.BundleModels build()
Copyright © 2024. All rights reserved.