public static final class CreateDesktopsRequest.DesktopTimers.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
CreateDesktopsRequest.DesktopTimers.Builder |
allowClientSetting(Boolean allowClientSetting)
Specifies whether to allow the end user to configure the scheduled task.
|
CreateDesktopsRequest.DesktopTimers |
build() |
CreateDesktopsRequest.DesktopTimers.Builder |
cronExpression(String cronExpression)
The cron expression for the scheduled task.
|
CreateDesktopsRequest.DesktopTimers.Builder |
enforce(Boolean enforce)
Specifies whether to forcibly execute the scheduled task.
|
CreateDesktopsRequest.DesktopTimers.Builder |
interval(Integer interval)
The interval at which cloud computers are created.
|
CreateDesktopsRequest.DesktopTimers.Builder |
operationType(String operationType)
The operations that scheduled tasks support.
|
CreateDesktopsRequest.DesktopTimers.Builder |
resetType(String resetType)
The reset type of the cloud computers.
|
CreateDesktopsRequest.DesktopTimers.Builder |
timerType(String timerType)
The type of the scheduled task.
|
public CreateDesktopsRequest.DesktopTimers.Builder allowClientSetting(Boolean allowClientSetting)
public CreateDesktopsRequest.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 CreateDesktopsRequest.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 CreateDesktopsRequest.DesktopTimers.Builder interval(Integer interval)
public CreateDesktopsRequest.DesktopTimers.Builder operationType(String operationType)
Valid values: * Hibernate: hibernates the cloud computers. * Shutdown: stops the cloud computers.
public CreateDesktopsRequest.DesktopTimers.Builder resetType(String resetType)
Valid values: * RESET_TYPE_SYSTEM: resets the system disks. * RESET_TYPE_BOTH: resets the system disks and data disks.
public CreateDesktopsRequest.DesktopTimers.Builder timerType(String timerType)
public CreateDesktopsRequest.DesktopTimers build()
Copyright © 2024. All rights reserved.