public class InstanceNameSettings extends AbstractModel
header, skipSign
Constructor and Description |
---|
InstanceNameSettings() |
InstanceNameSettings(InstanceNameSettings 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 |
getInstanceName()
Get CVM instance name.
|
String |
getInstanceNameStyle()
Get Type of CVM instance name.
|
String |
getInstanceNameSuffix()
Get CVM instance name suffix.
|
void |
setInstanceName(String InstanceName)
Set CVM instance name.
|
void |
setInstanceNameStyle(String InstanceNameStyle)
Set Type of CVM instance name.
|
void |
setInstanceNameSuffix(String InstanceNameSuffix)
Set CVM instance name suffix.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public InstanceNameSettings()
public InstanceNameSettings(InstanceNameSettings source)
public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- CVM instance name. Value range: 2-108.public String getInstanceNameStyle()
public void setInstanceNameStyle(String InstanceNameStyle)
InstanceNameStyle
- Type of CVM instance name. Valid values: `ORIGINAL` and `UNIQUE`. Default value: `ORIGINAL`.
`ORIGINAL`: Auto Scaling sends the input parameter `InstanceName` to the CVM directly. The CVM may append a serial number to the `InstanceName`. The `InstanceName` of the instances within the scaling group may conflict.
`UNIQUE`: the input parameter `InstanceName` is the prefix of an instance name. Auto Scaling and CVM expand it. The `InstanceName` of an instance in the scaling group is unique.public String getInstanceNameSuffix()
public void setInstanceNameSuffix(String InstanceNameSuffix)
InstanceNameSuffix
- CVM instance name suffix. The length of the character is within the range of [1, 105], and the combined length with InstanceName should not exceed 107.
Assume the suffix name is suffix and the original instance name is test.0, then the final instance name is test.0.suffix.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.