public class ModifyLaunchConfigurationAttributesRequest extends AbstractModel
Constructor and Description |
---|
ModifyLaunchConfigurationAttributesRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getImageId()
Get Valid [image](https://intl.cloud.tencent.com/document/product/213/4940?from_cn_redirect=1) ID in the format of `img-8toqc6s3`.
|
String[] |
getInstanceTypes()
Get List of instance types.
|
String |
getInstanceTypesCheckPolicy()
Get Instance type verification policy which works when InstanceTypes is actually modified.
|
String |
getLaunchConfigurationId()
Get Launch configuration ID
|
String |
getLaunchConfigurationName()
Get Display name of the launch configuration, which can contain Chinese characters, letters, numbers, underscores, separators ("-"), and decimal points with a maximum length of 60 bytes.
|
String |
getUserData()
Get Base64-encoded custom data of up to 16 KB.
|
void |
setImageId(String ImageId)
Set Valid [image](https://intl.cloud.tencent.com/document/product/213/4940?from_cn_redirect=1) ID in the format of `img-8toqc6s3`.
|
void |
setInstanceTypes(String[] InstanceTypes)
Set List of instance types.
|
void |
setInstanceTypesCheckPolicy(String InstanceTypesCheckPolicy)
Set Instance type verification policy which works when InstanceTypes is actually modified.
|
void |
setLaunchConfigurationId(String LaunchConfigurationId)
Set Launch configuration ID
|
void |
setLaunchConfigurationName(String LaunchConfigurationName)
Set Display name of the launch configuration, which can contain Chinese characters, letters, numbers, underscores, separators ("-"), and decimal points with a maximum length of 60 bytes.
|
void |
setUserData(String UserData)
Set Base64-encoded custom data of up to 16 KB.
|
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, toJsonString
public ModifyLaunchConfigurationAttributesRequest()
public String getLaunchConfigurationId()
public void setLaunchConfigurationId(String LaunchConfigurationId)
LaunchConfigurationId
- Launch configuration IDpublic String getImageId()
public void setImageId(String ImageId)
ImageId
- Valid [image](https://intl.cloud.tencent.com/document/product/213/4940?from_cn_redirect=1) ID in the format of `img-8toqc6s3`. There are four types of images: public String[] getInstanceTypes()
public void setInstanceTypes(String[] InstanceTypes)
InstanceTypes
- List of instance types. Different instance models specify different resource specifications. Up to 5 instance models can be supported.
The launch configuration uses InstanceType to indicate one single instance type and InstanceTypes to indicate multiple instance types. After InstanceTypes is successfully specified for the launch configuration, the original InstanceType will be automatically invalidated.public String getInstanceTypesCheckPolicy()
public void setInstanceTypesCheckPolicy(String InstanceTypesCheckPolicy)
InstanceTypesCheckPolicy
- Instance type verification policy which works when InstanceTypes is actually modified. Value range: ALL, ANY. Default value: ANY.
public String getLaunchConfigurationName()
public void setLaunchConfigurationName(String LaunchConfigurationName)
LaunchConfigurationName
- Display name of the launch configuration, which can contain Chinese characters, letters, numbers, underscores, separators ("-"), and decimal points with a maximum length of 60 bytes.public String getUserData()
public void setUserData(String UserData)
UserData
- Base64-encoded custom data of up to 16 KB. If you want to clear UserData, specify it as an empty stringCopyright © 2020. All rights reserved.