public static final class ModifyDesktopTimerRequest.DesktopTimers.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
ModifyDesktopTimerRequest.DesktopTimers.Builder |
allowClientSetting(Boolean allowClientSetting)
Specifies whether to allow end users to configure the scheduled task.
|
ModifyDesktopTimerRequest.DesktopTimers |
build() |
ModifyDesktopTimerRequest.DesktopTimers.Builder |
cronExpression(String cronExpression)
The cron expression of the schedule.
|
ModifyDesktopTimerRequest.DesktopTimers.Builder |
enforce(Boolean enforce)
Specifies whether to forcibly execute the scheduled task.
|
ModifyDesktopTimerRequest.DesktopTimers.Builder |
interval(Integer interval)
The interval at which the scheduled task is executed.
|
ModifyDesktopTimerRequest.DesktopTimers.Builder |
operationType(String operationType)
The operations that scheduled tasks support.
|
ModifyDesktopTimerRequest.DesktopTimers.Builder |
resetType(String resetType)
The reset type of the cloud computers.
|
ModifyDesktopTimerRequest.DesktopTimers.Builder |
timerType(String timerType)
The type of the scheduled task.
|
public ModifyDesktopTimerRequest.DesktopTimers.Builder allowClientSetting(Boolean allowClientSetting)
public ModifyDesktopTimerRequest.DesktopTimers.Builder cronExpression(String cronExpression)
> The time must be in UTC. For example, for 24:00 (UTC+8), you must set the value to 0 0 16 ? \* 1,2,3,4,5,6,7
public ModifyDesktopTimerRequest.DesktopTimers.Builder enforce(Boolean enforce)
Valid values: * true: forcibly executes the scheduled task regardless of the status and connection of the cloud computers. * false: does not forcibly execute the scheduled task.
public ModifyDesktopTimerRequest.DesktopTimers.Builder interval(Integer interval)
public ModifyDesktopTimerRequest.DesktopTimers.Builder operationType(String operationType)
Valid values: * Hibernate: hibernates the cloud computers. * Shutdown: stops the cloud computers.
public ModifyDesktopTimerRequest.DesktopTimers.Builder resetType(String resetType)
Valid values: * RESET_TYPE_SYSTE: resets the system disk. * RESET_TYPE_BOTH: resets data and user disks.
public ModifyDesktopTimerRequest.DesktopTimers.Builder timerType(String timerType)
Valid values: * NoOperationDisconnect: Disconnects the cloud computers without performing operations on the cloud computers. * LogoutShutdown: Stops the cloud computers when end users log out Alibaba Cloud Workspace clients. * NoConnect: Disconnects the cloud computers when end users perform one of the actions that is specified by the OperationType parameter. * TimerBoot: Starts the cloud computers on schedule. * TimerReset: Resets the cloud computers on schedule. * LoginAutoConnect: automatically connects to the cloud computers when end users log on to Alibaba Cloud Workspace clients. * NoOperationShutdown: Stops the cloud computers without performing operations on the cloud computers. * TimerShutdown: Stops the cloud computers on schedule. * NoOperationReboot: Restarts the cloud computers without performing operations on the cloud computers. * TimerReboot: Restarts the cloud computers on schedule.
public ModifyDesktopTimerRequest.DesktopTimers build()
Copyright © 2024. All rights reserved.