public class BGPInstance extends AbstractModel
| Constructor and Description | 
|---|
| BGPInstance() | 
| BGPInstance(BGPInstance 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 | getBoundStatus()Get Binding status of the Anti-DDoS Pro instance
`idle`: the instance is bound. | 
| Long | getCCEnable()Get CC protection switch | 
| String | getCreatedTime()Get Purchase Time | 
| String | getDDoSLevel()Get Layer-4 protection level | 
| EipProductInfo[] | getEipProductInfos()Get Details of the cloud product used by the EIP bound to the Anti-DDoS Pro instance | 
| String | getExpiredTime()Get Expiration time | 
| InstanceRelation | getInstanceDetail()Get Anti-DDoS instance details | 
| String | getName()Get Name of the Anti-DDoS instance | 
| PackInfo | getPackInfo()Get Package details of the Anti-DDoS instance. | 
| RegionInfo | getRegion()Get Region of the Anti-DDoS instance | 
| BGPInstanceSpecification | getSpecificationLimit()Get Anti-DDoS instance specifications | 
| String | getStatus()Get Status of the Anti-DDoS instance. | 
| BGPInstanceUsages | getUsage()Get Anti-DDoS instance usage statistics | 
| void | setBoundStatus(String BoundStatus)Set Binding status of the Anti-DDoS Pro instance
`idle`: the instance is bound. | 
| void | setCCEnable(Long CCEnable)Set CC protection switch | 
| void | setCreatedTime(String CreatedTime)Set Purchase Time | 
| void | setDDoSLevel(String DDoSLevel)Set Layer-4 protection level | 
| void | setEipProductInfos(EipProductInfo[] EipProductInfos)Set Details of the cloud product used by the EIP bound to the Anti-DDoS Pro instance | 
| void | setExpiredTime(String ExpiredTime)Set Expiration time | 
| void | setInstanceDetail(InstanceRelation InstanceDetail)Set Anti-DDoS instance details | 
| void | setName(String Name)Set Name of the Anti-DDoS instance | 
| void | setPackInfo(PackInfo PackInfo)Set Package details of the Anti-DDoS instance. | 
| void | setRegion(RegionInfo Region)Set Region of the Anti-DDoS instance | 
| void | setSpecificationLimit(BGPInstanceSpecification SpecificationLimit)Set Anti-DDoS instance specifications | 
| void | setStatus(String Status)Set Status of the Anti-DDoS instance. | 
| void | setUsage(BGPInstanceUsages Usage)Set Anti-DDoS instance usage statistics | 
| 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, toJsonStringpublic BGPInstance()
public BGPInstance(BGPInstance source)
public InstanceRelation getInstanceDetail()
public void setInstanceDetail(InstanceRelation InstanceDetail)
InstanceDetail - Anti-DDoS instance detailspublic BGPInstanceSpecification getSpecificationLimit()
public void setSpecificationLimit(BGPInstanceSpecification SpecificationLimit)
SpecificationLimit - Anti-DDoS instance specificationspublic BGPInstanceUsages getUsage()
public void setUsage(BGPInstanceUsages Usage)
Usage - Anti-DDoS instance usage statisticspublic RegionInfo getRegion()
public void setRegion(RegionInfo Region)
Region - Region of the Anti-DDoS instancepublic String getStatus()
public void setStatus(String Status)
Status - Status of the Anti-DDoS instance. Valid values:
`idle`: running
`attacking`: under attacks
`blocking`: blocked
`creating`: creating
`deblocking`: unblocked
`isolate`: isolatedpublic String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime - Purchase Timepublic String getExpiredTime()
public void setExpiredTime(String ExpiredTime)
ExpiredTime - Expiration timepublic String getName()
public void setName(String Name)
Name - Name of the Anti-DDoS instancepublic PackInfo getPackInfo()
public void setPackInfo(PackInfo PackInfo)
PackInfo - Package details of the Anti-DDoS instance.
Note: This field is `null` for an Anti-DDoS instance without using a package.
Note: This field may return `null`, indicating that no valid value can be obtained.public EipProductInfo[] getEipProductInfos()
public void setEipProductInfos(EipProductInfo[] EipProductInfos)
EipProductInfos - Details of the cloud product used by the EIP bound to the Anti-DDoS Pro instancepublic String getBoundStatus()
public void setBoundStatus(String BoundStatus)
BoundStatus - Binding status of the Anti-DDoS Pro instance
`idle`: the instance is bound.
 `bounding`: the instance is in binding.
`failed`: the binding failed.
]public String getDDoSLevel()
public void setDDoSLevel(String DDoSLevel)
DDoSLevel - Layer-4 protection levelpublic Long getCCEnable()
public void setCCEnable(Long CCEnable)
CCEnable - CC protection switchCopyright © 2021. All rights reserved.