public class Vpc extends AbstractModel
header, skipSign| Constructor and Description |
|---|
Vpc() |
Vpc(Vpc 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 |
getAppId()
Get appid
|
String |
getAssetId()
Get Asset ID
|
String |
getAssetName()
Get Asset name
|
String |
getCIDR()
Get CIDR block
|
Long |
getConnectedVpc()
Get Connected VPC (32-bit mask)
|
String |
getCreateTime()
Get Asset creation time
|
Long |
getCVM()
Get CVM (only 32-bit)
|
String[] |
getDNS()
Get DNS domain
Note: This field may return·null, indicating that no valid values can be obtained.
|
Long |
getIsCore()
Get Whether it's a critical asset.
|
Long |
getIsNewAsset()
Get Whether it's a newly-added asset.
|
String |
getNick()
Get User name
|
String |
getRegion()
Get Region
|
Long |
getSubnet()
Get Subnet (32-bit mask)
|
Tag[] |
getTag()
Get Tags
Note: This field may return·null, indicating that no valid values can be obtained.
|
String |
getUin()
Get UIN
|
void |
setAppId(String AppId)
Set appid
|
void |
setAssetId(String AssetId)
Set Asset ID
|
void |
setAssetName(String AssetName)
Set Asset name
|
void |
setCIDR(String CIDR)
Set CIDR block
|
void |
setConnectedVpc(Long ConnectedVpc)
Set Connected VPC (32-bit mask)
|
void |
setCreateTime(String CreateTime)
Set Asset creation time
|
void |
setCVM(Long CVM)
Set CVM (only 32-bit)
|
void |
setDNS(String[] DNS)
Set DNS domain
Note: This field may return·null, indicating that no valid values can be obtained.
|
void |
setIsCore(Long IsCore)
Set Whether it's a critical asset.
|
void |
setIsNewAsset(Long IsNewAsset)
Set Whether it's a newly-added asset.
|
void |
setNick(String Nick)
Set User name
|
void |
setRegion(String Region)
Set Region
|
void |
setSubnet(Long Subnet)
Set Subnet (32-bit mask)
|
void |
setTag(Tag[] Tag)
Set Tags
Note: This field may return·null, indicating that no valid values can be obtained.
|
void |
setUin(String Uin)
Set UIN
|
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, toJsonStringpublic Vpc()
public Vpc(Vpc source)
public Long getSubnet()
public void setSubnet(Long Subnet)
Subnet - Subnet (32-bit mask)public Long getConnectedVpc()
public void setConnectedVpc(Long ConnectedVpc)
ConnectedVpc - Connected VPC (32-bit mask)public String getAssetId()
public void setAssetId(String AssetId)
AssetId - Asset IDpublic String getRegion()
public void setRegion(String Region)
Region - Regionpublic Long getCVM()
public void setCVM(Long CVM)
CVM - CVM (only 32-bit)public Tag[] getTag()
public void setTag(Tag[] Tag)
Tag - Tags
Note: This field may return·null, indicating that no valid values can be obtained.public String[] getDNS()
public void setDNS(String[] DNS)
DNS - DNS domain
Note: This field may return·null, indicating that no valid values can be obtained.public String getAssetName()
public void setAssetName(String AssetName)
AssetName - Asset namepublic String getCIDR()
public void setCIDR(String CIDR)
CIDR - CIDR blockpublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime - Asset creation timepublic String getAppId()
public void setAppId(String AppId)
AppId - appidpublic String getUin()
public void setUin(String Uin)
Uin - UINpublic String getNick()
public void setNick(String Nick)
Nick - User namepublic Long getIsNewAsset()
public void setIsNewAsset(Long IsNewAsset)
IsNewAsset - Whether it's a newly-added asset. Values: `1` (Yes), `0` (No)
Note: This field may return·null, indicating that no valid values can be obtained.public Long getIsCore()
public void setIsCore(Long IsCore)
IsCore - Whether it's a critical asset. `1`: Yes; `2`: No
Note: This field may return·null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.