public static final class DescribeApplicationScalingRuleResponseBody.Timer.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
DescribeApplicationScalingRuleResponseBody.Timer.Builder |
beginDate(String beginDate)
The start date of the validity period of the scheduled auto scaling policy.
|
DescribeApplicationScalingRuleResponseBody.Timer |
build() |
DescribeApplicationScalingRuleResponseBody.Timer.Builder |
endDate(String endDate)
The end date of the validity period of the scheduled auto scaling policy.
|
DescribeApplicationScalingRuleResponseBody.Timer.Builder |
period(String period)
The days on which the scheduled auto scaling policy takes effect.
|
DescribeApplicationScalingRuleResponseBody.Timer.Builder |
schedules(List<DescribeApplicationScalingRuleResponseBody.Schedules> schedules)
The points in time when the auto scaling policy is triggered within one day.
|
public DescribeApplicationScalingRuleResponseBody.Timer.Builder beginDate(String beginDate)
* If both the **BeginDate** and **EndDate** parameters are set to **null**, the auto scaling policy can always be triggered. The default value for these parameters is 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 **2021-03-25** and **EndDate** is **2021-04-25**, the auto scaling policy is valid for one month.
public DescribeApplicationScalingRuleResponseBody.Timer.Builder endDate(String endDate)
* If both the **BeginDate** and **EndDate** parameters are set to **null**, the auto scaling policy can always be triggered. The default value for these parameters is 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 **2021-03-25** and **EndDate** is **2021-04-25**, the auto scaling policy is valid for one month.
public DescribeApplicationScalingRuleResponseBody.Timer.Builder period(String period)
* **\* \* \***: The scheduled auto scaling policy takes effect at a specified time every day. * **\* \* Fri,Mon**: The scheduled auto scaling policy takes effect at a specified time on one or multiple days of a week. The specified time is in the GMT+8 time zone. Valid values: * **Sun**: Sunday * **Mon**: Monday * **Tue**: Tuesday * **Wed**: Wednesday * **Thu**: Thursday * **Fri**: Friday * **Sat**: Saturday * **1,2,3,28,31 \* \***: The scheduled auto scaling policy takes effect at a specified time on one or multiple days of a month. Valid values: 1 to 31. If the month does not have a 31st day, the auto scaling policy takes effect on the specified days other than the 31st day.
public DescribeApplicationScalingRuleResponseBody.Timer.Builder schedules(List<DescribeApplicationScalingRuleResponseBody.Schedules> schedules)
public DescribeApplicationScalingRuleResponseBody.Timer build()
Copyright © 2024. All rights reserved.