public class PeerConnection extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| PeerConnection() | 
| PeerConnection(PeerConnection 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 | 
|---|---|
| Long | getAppId()Get 本端APPID。 | 
| Long | getBandwidth()Get 对等连接带宽值。 | 
| String | getChargeType()Get 计费类型,POSTPAID_BY_DAY_MAX:日峰值计费;POSTPAID_BY_MONTH_95:月95计费。 | 
| String | getCreateTime()Get 创建时间。 | 
| String | getDestinationRegion()Get 对端地域。 | 
| Long | getDestinationUin()Get 对端UIN。 | 
| String | getDestinationVpcId()Get 对端VPC唯一ID。 | 
| Boolean | getIsNgw()Get 是否是新控制器,true: 是NewAfc;false:不是。 | 
| Long | getPeerAppId()Get 对端APPID。 | 
| String | getPeeringConnectionId()Get 对等连接唯一ID。 | 
| String | getPeeringConnectionName()Get 对等连接名称。 | 
| String | getPeerVpcId()Get 对端VPC唯一ID。 | 
| String | getQosLevel()Get 服务分级:PT、AU、AG。 | 
| String | getSourceRegion()Get 本端地域。 | 
| Long | getSourceUin()Get 本端UIN。 | 
| String | getSourceVpcId()Get 本端VPC唯一ID。 | 
| String | getState()Get 对等连接状态,PENDING,投放中;ACTIVE,使用中;REJECTED,已拒绝‘DELETED,已删除;FAILED,失败;EXPIRED,已过期;ISOLATED,隔离中。 | 
| Tag[] | getTagSet()Get 资源标签数据。 | 
| String | getType()Get 互通类型,VPC_PEER:VPC间互通;VPC_BM_PEER:VPC与黑石网络互通。 | 
| void | setAppId(Long AppId)Set 本端APPID。 | 
| void | setBandwidth(Long Bandwidth)Set 对等连接带宽值。 | 
| void | setChargeType(String ChargeType)Set 计费类型,POSTPAID_BY_DAY_MAX:日峰值计费;POSTPAID_BY_MONTH_95:月95计费。 | 
| void | setCreateTime(String CreateTime)Set 创建时间。 | 
| void | setDestinationRegion(String DestinationRegion)Set 对端地域。 | 
| void | setDestinationUin(Long DestinationUin)Set 对端UIN。 | 
| void | setDestinationVpcId(String DestinationVpcId)Set 对端VPC唯一ID。 | 
| void | setIsNgw(Boolean IsNgw)Set 是否是新控制器,true: 是NewAfc;false:不是。 | 
| void | setPeerAppId(Long PeerAppId)Set 对端APPID。 | 
| void | setPeeringConnectionId(String PeeringConnectionId)Set 对等连接唯一ID。 | 
| void | setPeeringConnectionName(String PeeringConnectionName)Set 对等连接名称。 | 
| void | setPeerVpcId(String PeerVpcId)Set 对端VPC唯一ID。 | 
| void | setQosLevel(String QosLevel)Set 服务分级:PT、AU、AG。 | 
| void | setSourceRegion(String SourceRegion)Set 本端地域。 | 
| void | setSourceUin(Long SourceUin)Set 本端UIN。 | 
| void | setSourceVpcId(String SourceVpcId)Set 本端VPC唯一ID。 | 
| void | setState(String State)Set 对等连接状态,PENDING,投放中;ACTIVE,使用中;REJECTED,已拒绝‘DELETED,已删除;FAILED,失败;EXPIRED,已过期;ISOLATED,隔离中。 | 
| void | setTagSet(Tag[] TagSet)Set 资源标签数据。 | 
| void | setType(String Type)Set 互通类型,VPC_PEER:VPC间互通;VPC_BM_PEER:VPC与黑石网络互通。 | 
| 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 PeerConnection()
public PeerConnection(PeerConnection source)
public String getSourceVpcId()
public void setSourceVpcId(String SourceVpcId)
SourceVpcId - 本端VPC唯一ID。public String getPeerVpcId()
public void setPeerVpcId(String PeerVpcId)
PeerVpcId - 对端VPC唯一ID。public String getPeeringConnectionId()
public void setPeeringConnectionId(String PeeringConnectionId)
PeeringConnectionId - 对等连接唯一ID。public String getPeeringConnectionName()
public void setPeeringConnectionName(String PeeringConnectionName)
PeeringConnectionName - 对等连接名称。public String getState()
public void setState(String State)
State - 对等连接状态,PENDING,投放中;ACTIVE,使用中;REJECTED,已拒绝‘DELETED,已删除;FAILED,失败;EXPIRED,已过期;ISOLATED,隔离中。public Boolean getIsNgw()
public void setIsNgw(Boolean IsNgw)
IsNgw - 是否是新控制器,true: 是NewAfc;false:不是。public Long getBandwidth()
public void setBandwidth(Long Bandwidth)
Bandwidth - 对等连接带宽值。public String getSourceRegion()
public void setSourceRegion(String SourceRegion)
SourceRegion - 本端地域。public String getDestinationRegion()
public void setDestinationRegion(String DestinationRegion)
DestinationRegion - 对端地域。public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime - 创建时间。public Long getAppId()
public void setAppId(Long AppId)
AppId - 本端APPID。public Long getPeerAppId()
public void setPeerAppId(Long PeerAppId)
PeerAppId - 对端APPID。public String getChargeType()
public void setChargeType(String ChargeType)
ChargeType - 计费类型,POSTPAID_BY_DAY_MAX:日峰值计费;POSTPAID_BY_MONTH_95:月95计费。public Long getSourceUin()
public void setSourceUin(Long SourceUin)
SourceUin - 本端UIN。public Long getDestinationUin()
public void setDestinationUin(Long DestinationUin)
DestinationUin - 对端UIN。public Tag[] getTagSet()
public void setTagSet(Tag[] TagSet)
TagSet - 资源标签数据。public String getQosLevel()
public void setQosLevel(String QosLevel)
QosLevel - 服务分级:PT、AU、AG。public String getType()
public void setType(String Type)
Type - 互通类型,VPC_PEER:VPC间互通;VPC_BM_PEER:VPC与黑石网络互通。public String getDestinationVpcId()
public void setDestinationVpcId(String DestinationVpcId)
DestinationVpcId - 对端VPC唯一ID。Copyright © 2025. All rights reserved.