public static class CreateServiceCronScalerRequest.CreateServiceCronScalerRequestScaleJobs
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.
|
| 构造器和说明 |
|---|
CreateServiceCronScalerRequestScaleJobs() |
@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:1
public static CreateServiceCronScalerRequest.CreateServiceCronScalerRequestScaleJobs build(Map<String,?> map) throws Exception
Exceptionpublic CreateServiceCronScalerRequest.CreateServiceCronScalerRequestScaleJobs setName(String name)
public String getName()
public CreateServiceCronScalerRequest.CreateServiceCronScalerRequestScaleJobs setSchedule(String schedule)
public String getSchedule()
public CreateServiceCronScalerRequest.CreateServiceCronScalerRequestScaleJobs setTargetSize(Integer targetSize)
public Integer getTargetSize()
Copyright © 2024. All rights reserved.