public static final class ModifyDesktopGroupRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ModifyDesktopGroupRequest.Builder |
allowAutoSetup(Integer allowAutoSetup)
Specifies whether cloud computers can be automatically created in the subscription cloud computer pool.
|
ModifyDesktopGroupRequest.Builder |
allowBufferCount(Integer allowBufferCount)
The number of cloud computers that can be reserved in the pay-as-you-go cloud computer pool.
|
ModifyDesktopGroupRequest.Builder |
bindAmount(Long bindAmount)
The number of concurrent sessions that is allowed for each cloud computer in a multi-session cloud computer pool.
|
ModifyDesktopGroupRequest |
build() |
ModifyDesktopGroupRequest.Builder |
buyDesktopsCount(Integer buyDesktopsCount)
* This parameter has different meanings based on the billing method of the cloud computer pool.
|
ModifyDesktopGroupRequest.Builder |
classify(String classify)
The role that uses the cloud computer pool.
|
ModifyDesktopGroupRequest.Builder |
comments(String comments)
The remarks.
|
ModifyDesktopGroupRequest.Builder |
connectDuration(Long connectDuration)
The maximum period of time during which the session is connected.
|
ModifyDesktopGroupRequest.Builder |
desktopGroupId(String desktopGroupId)
The ID of the cloud computer pool.
|
ModifyDesktopGroupRequest.Builder |
desktopGroupName(String desktopGroupName)
The name of the cloud computer pool.
|
ModifyDesktopGroupRequest.Builder |
disableSessionConfig(Boolean disableSessionConfig)
Specifies whether to disable session management.
|
ModifyDesktopGroupRequest.Builder |
fileSystemId(String fileSystemId)
The ID of the Apsara File Storage NAS (NAS) file system for the user data roaming feature.
|
ModifyDesktopGroupRequest.Builder |
idleDisconnectDuration(Long idleDisconnectDuration)
After an end user connects to a cloud computer, the session is established.
|
ModifyDesktopGroupRequest.Builder |
imageId(String imageId)
The IDs of the images.
|
ModifyDesktopGroupRequest.Builder |
keepDuration(Long keepDuration)
The retention period of a session after it is disconnected.
|
ModifyDesktopGroupRequest.Builder |
loadPolicy(Long loadPolicy)
The load balancing policy of the multi-session cloud computer pool.
|
ModifyDesktopGroupRequest.Builder |
maxDesktopsCount(Integer maxDesktopsCount)
The maximum number of cloud computers that can be housed in the pay-as-you-go cloud computer pool.
|
ModifyDesktopGroupRequest.Builder |
minDesktopsCount(Integer minDesktopsCount)
The maximum number of cloud computers that can be automatically created in the subscription cloud computer pool.
|
ModifyDesktopGroupRequest.Builder |
ownBundleId(String ownBundleId)
The ID of the cloud computer template.
|
ModifyDesktopGroupRequest.Builder |
policyGroupId(String policyGroupId)
The ID of the security policy.
|
ModifyDesktopGroupRequest.Builder |
policyGroupIds(List<String> policyGroupIds)
The IDs of policy groups.
|
ModifyDesktopGroupRequest.Builder |
profileFollowSwitch(Boolean profileFollowSwitch)
Specifies whether to enable user data roaming.
|
ModifyDesktopGroupRequest.Builder |
ratioThreshold(Float ratioThreshold)
The threshold for the ratio of connected sessions.
|
ModifyDesktopGroupRequest.Builder |
regionId(String regionId)
The region ID.
|
ModifyDesktopGroupRequest.Builder |
resetType(Long resetType)
The disk reset type of cloud computers.
|
ModifyDesktopGroupRequest.Builder |
scaleStrategyId(String scaleStrategyId)
The ID of the scaling policy group.
|
ModifyDesktopGroupRequest.Builder |
stopDuration(Long stopDuration)
The period of time before the idle cloud computer enters the Stopped state.
|
public ModifyDesktopGroupRequest.Builder allowAutoSetup(Integer allowAutoSetup)
Valid values: * 0: false * 1: true
public ModifyDesktopGroupRequest.Builder allowBufferCount(Integer allowBufferCount)
* 0: does not allow the system to reserve cloud computers. * N: allows the system to reserve N cloud computers (1≤ N ≤ 100). > If you set this parameter to 0, the system must create and start cloud computers and then assign the cloud computers to end users when the end users request cloud computers. This process is time-consuming. To improve user experience, we recommend that you reserve a specific number of cloud computers.
public ModifyDesktopGroupRequest.Builder bindAmount(Long bindAmount)
> This parameter is unavailable.
public ModifyDesktopGroupRequest.Builder buyDesktopsCount(Integer buyDesktopsCount)
* For a pay-as-you-go pool, this parameter specifies the minimum number of cloud computers to create in the pool. Default value: 1. Valid values: 0 to `MaxDesktopsCount`.
public ModifyDesktopGroupRequest.Builder classify(String classify)
> This parameter is unavailable. Valid values: * teacher * student
public ModifyDesktopGroupRequest.Builder comments(String comments)
public ModifyDesktopGroupRequest.Builder connectDuration(Long connectDuration)
public ModifyDesktopGroupRequest.Builder desktopGroupId(String desktopGroupId)
public ModifyDesktopGroupRequest.Builder desktopGroupName(String desktopGroupName)
public ModifyDesktopGroupRequest.Builder disableSessionConfig(Boolean disableSessionConfig)
public ModifyDesktopGroupRequest.Builder fileSystemId(String fileSystemId)
> This parameter is unavailable.
public ModifyDesktopGroupRequest.Builder idleDisconnectDuration(Long idleDisconnectDuration)
End users can receive a prompt to save data before sessions are disconnected. The system sends the prompt 30 seconds before the specified period of time is reached. To prevent data loss, end users must save the data of the sessions. > This parameter is suitable only for cloud computers whose image version is v1.0.2 or later.
public ModifyDesktopGroupRequest.Builder imageId(String imageId)
public ModifyDesktopGroupRequest.Builder keepDuration(Long keepDuration)
When a session is disconnected, take note of the following situations: If an end user does not resume the session within the specified duration, the session is closed and all unsaved data is cleared. If the end user resumes the session within the specified duration, the end user can continue to access data of the session.
public ModifyDesktopGroupRequest.Builder loadPolicy(Long loadPolicy)
> This parameter is unavailable. Valid values: * 0: depth-first * 1: breadth-first
public ModifyDesktopGroupRequest.Builder maxDesktopsCount(Integer maxDesktopsCount)
public ModifyDesktopGroupRequest.Builder minDesktopsCount(Integer minDesktopsCount)
public ModifyDesktopGroupRequest.Builder ownBundleId(String ownBundleId)
public ModifyDesktopGroupRequest.Builder policyGroupId(String policyGroupId)
public ModifyDesktopGroupRequest.Builder policyGroupIds(List<String> policyGroupIds)
public ModifyDesktopGroupRequest.Builder profileFollowSwitch(Boolean profileFollowSwitch)
> This parameter is unavailable.
public ModifyDesktopGroupRequest.Builder ratioThreshold(Float ratioThreshold)
`Ratio of connected sessions = Number of connected sessions/(Total number of cloud computers × Maximum number of sessions allowed for each cloud computer) × 100%` If the ratio of connected sessions is greater than the specified value, new cloud computers are created. If the ratio of connected sessions is smaller than the specified value, idle cloud computers are deleted. > This parameter is unavailable.
public ModifyDesktopGroupRequest.Builder regionId(String regionId)
public ModifyDesktopGroupRequest.Builder resetType(Long resetType)
Valid values: * 0: does not reset disks. * 1: resets only the system disks. * 2: resets only the user disks. * 3: resets the system disks and user disks.
public ModifyDesktopGroupRequest.Builder scaleStrategyId(String scaleStrategyId)
> This parameter is unavailable.
public ModifyDesktopGroupRequest.Builder stopDuration(Long stopDuration)
public ModifyDesktopGroupRequest build()
Copyright © 2024. All rights reserved.