public static final class GetDesktopGroupDetailResponseBody.ScaleTimerInfos.Builder extends Object
构造器和说明 |
---|
Builder() |
public GetDesktopGroupDetailResponseBody.ScaleTimerInfos.Builder buyResAmount(Integer buyResAmount)
public GetDesktopGroupDetailResponseBody.ScaleTimerInfos.Builder cron(String cron)
public GetDesktopGroupDetailResponseBody.ScaleTimerInfos.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 still access data of the session.
public GetDesktopGroupDetailResponseBody.ScaleTimerInfos.Builder loadPolicy(Integer loadPolicy)
Valid values: * 0: depth-first * 1: breadth-first
public GetDesktopGroupDetailResponseBody.ScaleTimerInfos.Builder maxResAmount(Integer maxResAmount)
public GetDesktopGroupDetailResponseBody.ScaleTimerInfos.Builder minResAmount(Integer minResAmount)
public GetDesktopGroupDetailResponseBody.ScaleTimerInfos.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.
public GetDesktopGroupDetailResponseBody.ScaleTimerInfos.Builder type(String type)
Valid values: * drop: decline policy * normal: normal policy * peak: peak hour policy * rise: rise policy
public GetDesktopGroupDetailResponseBody.ScaleTimerInfos build()
Copyright © 2024. All rights reserved.