public class RestartPolicy extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| RestartPolicy() | 
| RestartPolicy(RestartPolicy 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 | 
|---|---|
| Long[] | getBatchSizeRange()Get Optional range for the number of batch restarted nodes | 
| String | getDescribe()Get Policy description | 
| String | getDisplayName()Get Policy display name | 
| String | getIsDefault()Get Whether it is the default policy | 
| String | getName()Get Restart policy name | 
| void | setBatchSizeRange(Long[] BatchSizeRange)Set Optional range for the number of batch restarted nodes | 
| void | setDescribe(String Describe)Set Policy description | 
| void | setDisplayName(String DisplayName)Set Policy display name | 
| void | setIsDefault(String IsDefault)Set Whether it is the default policy | 
| void | setName(String Name)Set Restart policy name | 
| 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 RestartPolicy()
public RestartPolicy(RestartPolicy source)
public String getName()
public void setName(String Name)
Name - Restart policy namepublic String getDisplayName()
public void setDisplayName(String DisplayName)
DisplayName - Policy display namepublic String getDescribe()
public void setDescribe(String Describe)
Describe - Policy descriptionpublic Long[] getBatchSizeRange()
public void setBatchSizeRange(Long[] BatchSizeRange)
BatchSizeRange - Optional range for the number of batch restarted nodespublic String getIsDefault()
public void setIsDefault(String IsDefault)
IsDefault - Whether it is the default policyCopyright © 2025. All rights reserved.