public static final class DescribeApplicationScalingRulesResponseBody.Timer.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
DescribeApplicationScalingRulesResponseBody.Timer.Builder |
beginDate(String beginDate)
The start date of the validity period of the scheduled auto scaling policy.
|
DescribeApplicationScalingRulesResponseBody.Timer |
build() |
DescribeApplicationScalingRulesResponseBody.Timer.Builder |
endDate(String endDate)
The end date of the validity period of the scheduled auto scaling policy.
|
DescribeApplicationScalingRulesResponseBody.Timer.Builder |
period(String period)
The days on which the scheduled auto scaling policy takes effect.
|
DescribeApplicationScalingRulesResponseBody.Timer.Builder |
schedules(List<DescribeApplicationScalingRulesResponseBody.Schedules> schedules)
The points in time when the auto scaling policy is triggered within one day.
|
public DescribeApplicationScalingRulesResponseBody.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 DescribeApplicationScalingRulesResponseBody.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 DescribeApplicationScalingRulesResponseBody.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 DescribeApplicationScalingRulesResponseBody.Timer.Builder schedules(List<DescribeApplicationScalingRulesResponseBody.Schedules> schedules)
public DescribeApplicationScalingRulesResponseBody.Timer build()
Copyright © 2024. All rights reserved.