public class ClearLaunchConfigurationAttributesRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ClearLaunchConfigurationAttributesRequest() |
ClearLaunchConfigurationAttributesRequest(ClearLaunchConfigurationAttributesRequest 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 |
---|---|
Boolean |
getClearDataDisks()
Get Whether to clear data disk information.
|
Boolean |
getClearDisasterRecoverGroupIds()
Get Whether to clear placement group information.
|
Boolean |
getClearHostNameSettings()
Get Whether to clear the CVM hostname settings.
|
Boolean |
getClearInstanceNameSettings()
Get Whether to clear the CVM instance name settings.
|
Boolean |
getClearInstanceTags()
Get Whether to clear the instance tag list.
|
Boolean |
getClearMetadata()
Get Whether to clear metadata, optional, defaults to false.
|
String |
getLaunchConfigurationId()
Get Launch configuration ID.
|
void |
setClearDataDisks(Boolean ClearDataDisks)
Set Whether to clear data disk information.
|
void |
setClearDisasterRecoverGroupIds(Boolean ClearDisasterRecoverGroupIds)
Set Whether to clear placement group information.
|
void |
setClearHostNameSettings(Boolean ClearHostNameSettings)
Set Whether to clear the CVM hostname settings.
|
void |
setClearInstanceNameSettings(Boolean ClearInstanceNameSettings)
Set Whether to clear the CVM instance name settings.
|
void |
setClearInstanceTags(Boolean ClearInstanceTags)
Set Whether to clear the instance tag list.
|
void |
setClearMetadata(Boolean ClearMetadata)
Set Whether to clear metadata, optional, defaults to false.
|
void |
setLaunchConfigurationId(String LaunchConfigurationId)
Set Launch configuration ID.
|
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, toJsonString
public ClearLaunchConfigurationAttributesRequest()
public ClearLaunchConfigurationAttributesRequest(ClearLaunchConfigurationAttributesRequest source)
public String getLaunchConfigurationId()
public void setLaunchConfigurationId(String LaunchConfigurationId)
LaunchConfigurationId
- Launch configuration ID. obtain in the following ways:.
public Boolean getClearDataDisks()
public void setClearDataDisks(Boolean ClearDataDisks)
ClearDataDisks
- Whether to clear data disk information. This parameter is optional and the default value is `false`.
Setting it to `true` will clear data disks, which means that CVM newly created on this launch configuration will have no data disk.public Boolean getClearHostNameSettings()
public void setClearHostNameSettings(Boolean ClearHostNameSettings)
ClearHostNameSettings
- Whether to clear the CVM hostname settings. This parameter is optional and the default value is `false`.
Setting it to `true` will clear the hostname settings, which means that CVM newly created on this launch configuration will have no hostname.public Boolean getClearInstanceNameSettings()
public void setClearInstanceNameSettings(Boolean ClearInstanceNameSettings)
ClearInstanceNameSettings
- Whether to clear the CVM instance name settings. This parameter is optional and the default value is `false`.
Setting it to `true` will clear the instance name settings, which means that CVM newly created on this launch configuration will be named in the as-{{AutoScalingGroupName}} format.public Boolean getClearDisasterRecoverGroupIds()
public void setClearDisasterRecoverGroupIds(Boolean ClearDisasterRecoverGroupIds)
ClearDisasterRecoverGroupIds
- Whether to clear placement group information. This parameter is optional. Default value: `false`.
`True` means clearing placement group information. After that, no placement groups are specified for CVMs created based on the information.public Boolean getClearInstanceTags()
public void setClearInstanceTags(Boolean ClearInstanceTags)
ClearInstanceTags
- Whether to clear the instance tag list. This parameter is optional, and its default value is false.
If true is filled in, it indicates that the instance tag list should be cleared. After the list is cleared, the CVMs created based on this will not be bound to the tags in the list.public Boolean getClearMetadata()
public void setClearMetadata(Boolean ClearMetadata)
ClearMetadata
- Whether to clear metadata, optional, defaults to false. Setting it to true will clear metadata, the CVMs created based on this will not be associated with custom metadata.Copyright © 2025. All rights reserved.