public static class UpdateServiceCronScalerRequest.UpdateServiceCronScalerRequestScaleJobs
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
name
The name of the CronHPA job.
|
String |
schedule
The cron expression that is used to configure the execution time of the CronHPA job.
|
Integer |
targetSize
The number of instances that you want to configure for the CronHPA job.
|
| 构造器和说明 |
|---|
UpdateServiceCronScalerRequestScaleJobs() |
@NameInMap(value="Name") public String name
The name of the CronHPA job.
example:scale-job-1
@NameInMap(value="Schedule") public String schedule
The cron expression that is used to configure the execution time of the CronHPA job. For more information about how to configure cron expressions, see Description of special characters in this topic.
This parameter is required.
example:0 18 * * * *
@NameInMap(value="TargetSize") public Integer targetSize
The number of instances that you want to configure for the CronHPA job.
This parameter is required.
example:2
public static UpdateServiceCronScalerRequest.UpdateServiceCronScalerRequestScaleJobs build(Map<String,?> map) throws Exception
Exceptionpublic UpdateServiceCronScalerRequest.UpdateServiceCronScalerRequestScaleJobs setName(String name)
public String getName()
public UpdateServiceCronScalerRequest.UpdateServiceCronScalerRequestScaleJobs setSchedule(String schedule)
public String getSchedule()
public UpdateServiceCronScalerRequest.UpdateServiceCronScalerRequestScaleJobs setTargetSize(Integer targetSize)
public Integer getTargetSize()
Copyright © 2024. All rights reserved.