public static final class UpdatePublishCronRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdatePublishCronRequest |
build() |
UpdatePublishCronRequest.Builder |
cron(String cron)
The cron expression that is used to specify the start time of the upgrade.
|
UpdatePublishCronRequest.Builder |
cronDay(String cronDay)
The day of a week on which you want to perform the upgrade.
|
UpdatePublishCronRequest.Builder |
cronTime(Long cronTime)
The start timestamp.
|
UpdatePublishCronRequest.Builder |
cronType(String cronType)
The type of the upgrade cycle.
|
UpdatePublishCronRequest.Builder |
duration(Integer duration)
The duration of the upgrade.
|
public UpdatePublishCronRequest.Builder cron(String cron)
The cron expression that is used to specify the start time of the upgrade.
This parameter is required.
example:0 5 10 * * ?
public UpdatePublishCronRequest.Builder cronDay(String cronDay)
The day of a week on which you want to perform the upgrade. Valid values:
SUN
public UpdatePublishCronRequest.Builder cronTime(Long cronTime)
The start timestamp. Unit: milliseconds.
example:1657407600000
public UpdatePublishCronRequest.Builder cronType(String cronType)
The type of the upgrade cycle. Valid values:
day
public UpdatePublishCronRequest.Builder duration(Integer duration)
The duration of the upgrade. Unit: hours.
This parameter is required.
example:24
public UpdatePublishCronRequest build()
Copyright © 2026. All rights reserved.