public class HostNameSettings extends AbstractModel
Constructor and Description |
---|
HostNameSettings() |
HostNameSettings(HostNameSettings 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 |
getHostName()
Get Hostname of a CVM
The `HostName` cannot start or end with a period (.) or hyphen (-), and cannot contain consecutive periods and hyphens. |
String |
getHostNameStyle()
Get Type of CVM host name.
|
void |
setHostName(String HostName)
Set Hostname of a CVM
The `HostName` cannot start or end with a period (.) or hyphen (-), and cannot contain consecutive periods and hyphens. |
void |
setHostNameStyle(String HostNameStyle)
Set Type of CVM host name.
|
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 HostNameSettings()
public HostNameSettings(HostNameSettings source)
public String getHostName()
public void setHostName(String HostName)
HostName
- Hostname of a CVM
public String getHostNameStyle()
public void setHostNameStyle(String HostNameStyle)
HostNameStyle
- Type of CVM host name. Valid values: "ORIGINAL" and "UNIQUE". Default value: "ORIGINAL"
Copyright © 2023. All rights reserved.