public class TimerScalingPolicy extends AbstractModel
| Constructor and Description | 
|---|
| TimerScalingPolicy() | 
| TimerScalingPolicy(TimerScalingPolicy source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| TimerConfiguration | getTimerConfiguration()Get The recurrence pattern of auto-scaling
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| TimerFleetCapacity | getTimerFleetCapacity()Get The capacity configurations of the scheduled scaling policy
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| String | getTimerId()Get Unique ID of the policy. | 
| String | getTimerName()Get Scheduled scaling policy name
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| Long | getTimerStatus()Get Scheduled scaling policy status. | 
| void | setTimerConfiguration(TimerConfiguration TimerConfiguration)Set The recurrence pattern of auto-scaling
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setTimerFleetCapacity(TimerFleetCapacity TimerFleetCapacity)Set The capacity configurations of the scheduled scaling policy
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setTimerId(String TimerId)Set Unique ID of the policy. | 
| void | setTimerName(String TimerName)Set Scheduled scaling policy name
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setTimerStatus(Long TimerStatus)Set Scheduled scaling policy status. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic TimerScalingPolicy()
public TimerScalingPolicy(TimerScalingPolicy source)
public String getTimerId()
public void setTimerId(String TimerId)
TimerId - Unique ID of the policy. When it’s filled in, the policy will be updated.
Note: this field may return `null`, indicating that no valid values can be obtained.public String getTimerName()
public void setTimerName(String TimerName)
TimerName - Scheduled scaling policy name
Note: this field may return `null`, indicating that no valid values can be obtained.public Long getTimerStatus()
public void setTimerStatus(Long TimerStatus)
TimerStatus - Scheduled scaling policy status. `0`: Undefined, `1`: Not started, 2: Activated, `3`: Stopped, `4`: Expired
Note: this field may return `null`, indicating that no valid values can be obtained.public TimerFleetCapacity getTimerFleetCapacity()
public void setTimerFleetCapacity(TimerFleetCapacity TimerFleetCapacity)
TimerFleetCapacity - The capacity configurations of the scheduled scaling policy
Note: this field may return `null`, indicating that no valid values can be obtained.public TimerConfiguration getTimerConfiguration()
public void setTimerConfiguration(TimerConfiguration TimerConfiguration)
TimerConfiguration - The recurrence pattern of auto-scaling
Note: this field may return `null`, indicating that no valid values can be obtained.Copyright © 2021. All rights reserved.