public static final class UpdateApplicationScalingRuleResponseBody.Timer.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
UpdateApplicationScalingRuleResponseBody.Timer.Builder |
beginDate(String beginDate)
The start date of the validity period of the scheduled auto scaling policy.
|
UpdateApplicationScalingRuleResponseBody.Timer |
build() |
UpdateApplicationScalingRuleResponseBody.Timer.Builder |
endDate(String endDate)
The end date of the validity period of the scheduled auto scaling policy.
|
UpdateApplicationScalingRuleResponseBody.Timer.Builder |
period(String period)
The frequency at which the scheduled auto scaling policy is executed.
|
UpdateApplicationScalingRuleResponseBody.Timer.Builder |
schedules(List<UpdateApplicationScalingRuleResponseBody.Schedules> schedules)
The points in time at which the auto scaling policy is triggered within one day.
|
public UpdateApplicationScalingRuleResponseBody.Timer.Builder beginDate(String beginDate)
* If **BeginDate** and **EndDate** are set to **null**, the auto scaling policy is a long-term policy. Default values of the beginDate and endDate parameters: null. * If the two parameters are set to specific dates, the scheduled auto scaling policy can be triggered during the period between the two dates. For example, if **BeginDate** is set to 2021-03-25 and **EndDate** is set to 2021-04-25, the auto scaling policy is valid for one month.
public UpdateApplicationScalingRuleResponseBody.Timer.Builder endDate(String endDate)
* If **BeginDate** and **EndDate** are set to **null**, the auto scaling policy is a long-term policy. Default values of the beginDate and endDate parameters: null. * If the two parameters are set to specific dates, the scheduled auto scaling policy can be triggered during the period between the two dates. For example, if **BeginDate** is set to 2021-03-25 and **EndDate** is set to 2021-04-25, the auto scaling policy is valid for one month.
public UpdateApplicationScalingRuleResponseBody.Timer.Builder period(String period)
* **\* \* \***: The scheduled auto scaling policy is executed at a specified point in time every day. * **\* \* Fri,Mon**: The scheduled auto scaling policy is executed at a specified point in time on one or more days of each week. GMT+8 is used. Valid values: * **Sun** * **Mon** * **Tue** * **Wed** * **Thu** * **Fri** * **Sat** * **1,2,3,28,31 \* \***: The scheduled auto scaling policy is executed at a specified point in time on one or more days of each month. Valid values: 1 to 31. If the month does not have a 31st day, the auto scaling policy is executed on the specified days other than the 31st day.
public UpdateApplicationScalingRuleResponseBody.Timer.Builder schedules(List<UpdateApplicationScalingRuleResponseBody.Schedules> schedules)
public UpdateApplicationScalingRuleResponseBody.Timer build()
Copyright © 2024. All rights reserved.