public class IPLineInfo extends AbstractModel
Constructor and Description |
---|
IPLineInfo() |
IPLineInfo(IPLineInfo 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 |
getCname()
Get CNAME of the instance
|
String |
getEip()
Get
|
Long |
getResourceFlag()
Get Flag of the instance.
|
String |
getType()
Get IP line type.
|
void |
setCname(String Cname)
Set CNAME of the instance
|
void |
setEip(String Eip)
Set
|
void |
setResourceFlag(Long ResourceFlag)
Set Flag of the instance.
|
void |
setType(String Type)
Set IP line type.
|
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 IPLineInfo()
public IPLineInfo(IPLineInfo source)
public String getType()
public void setType(String Type)
Type
- IP line type. Valid values:
`bgp`: BGP IP
`ctcc`: CTCC IP
`cucc`: CUCC IP
`cmcc`: CMCC IP
`abroad`: IP outside the Chinese mainland
]public String getEip()
public void setEip(String Eip)
Eip
- public String getCname()
public void setCname(String Cname)
Cname
- CNAME of the instancepublic Long getResourceFlag()
public void setResourceFlag(Long ResourceFlag)
ResourceFlag
- Flag of the instance. `0`: Anti-DDoS Pro instance; `1`: Anti-DDoS Advanced instance; `2`: Non-Anti-DDoS Advanced instance.Copyright © 2023. All rights reserved.