public class CronScaleJob extends AbstractModel
header, skipSign| Constructor and Description |
|---|
CronScaleJob() |
CronScaleJob(CronScaleJob 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 |
|---|---|
String[] |
getExcludeDates()
Get Exception periods, defined by Cron expressions, during which tasks are not executed.
|
Long |
getMaxReplicas()
Get Maximum target.Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getMinReplicas()
Get Minimum target.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getName()
Get Scheduled task name.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getSchedule()
Get Cron expression, which identifies the task execution time, and is accurate to minutes.
|
Long |
getTargetReplicas()
Get Number of target instances.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setExcludeDates(String[] ExcludeDates)
Set Exception periods, defined by Cron expressions, during which tasks are not executed.
|
void |
setMaxReplicas(Long MaxReplicas)
Set Maximum target.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setMinReplicas(Long MinReplicas)
Set Minimum target.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setName(String Name)
Set Scheduled task name.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setSchedule(String Schedule)
Set Cron expression, which identifies the task execution time, and is accurate to minutes.
|
void |
setTargetReplicas(Long TargetReplicas)
Set Number of target instances.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CronScaleJob()
public CronScaleJob(CronScaleJob source)
public String getSchedule()
public void setSchedule(String Schedule)
Schedule - Cron expression, which identifies the task execution time, and is accurate to minutes.public String getName()
public void setName(String Name)
Name - Scheduled task name.Note: This field may return null, indicating that no valid values can be obtained.public Long getTargetReplicas()
public void setTargetReplicas(Long TargetReplicas)
TargetReplicas - Number of target instances.Note: This field may return null, indicating that no valid values can be obtained.public Long getMinReplicas()
public void setMinReplicas(Long MinReplicas)
MinReplicas - Minimum target.Note: This field may return null, indicating that no valid values can be obtained.public Long getMaxReplicas()
public void setMaxReplicas(Long MaxReplicas)
MaxReplicas - Maximum target.Note: This field may return null, indicating that no valid values can be obtained.public String[] getExcludeDates()
public void setExcludeDates(String[] ExcludeDates)
ExcludeDates - Exception periods, defined by Cron expressions, during which tasks are not executed. Up to 3 Cron expressions are supported.Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.