public class CreateBgpPeerRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Integer |
bfdMultiHop
The BFD hop count.
|
String |
bgpGroupId
The ID of the BGP group.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Boolean |
enableBfd
Specifies whether to enable the Bidirectional Forwarding Detection (BFD) feature.
|
String |
ipVersion
The IP version.
|
String |
ownerAccount |
Long |
ownerId |
String |
peerIpAddress
The IP address of the BGP peer.
|
String |
regionId
The ID of the region to which the BGP group belongs.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
CreateBgpPeerRequest() |
限定符和类型 | 方法和说明 |
---|---|
static CreateBgpPeerRequest |
build(Map<String,?> map) |
Integer |
getBfdMultiHop() |
String |
getBgpGroupId() |
String |
getClientToken() |
Boolean |
getEnableBfd() |
String |
getIpVersion() |
String |
getOwnerAccount() |
Long |
getOwnerId() |
String |
getPeerIpAddress() |
String |
getRegionId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
CreateBgpPeerRequest |
setBfdMultiHop(Integer bfdMultiHop) |
CreateBgpPeerRequest |
setBgpGroupId(String bgpGroupId) |
CreateBgpPeerRequest |
setClientToken(String clientToken) |
CreateBgpPeerRequest |
setEnableBfd(Boolean enableBfd) |
CreateBgpPeerRequest |
setIpVersion(String ipVersion) |
CreateBgpPeerRequest |
setOwnerAccount(String ownerAccount) |
CreateBgpPeerRequest |
setOwnerId(Long ownerId) |
CreateBgpPeerRequest |
setPeerIpAddress(String peerIpAddress) |
CreateBgpPeerRequest |
setRegionId(String regionId) |
CreateBgpPeerRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
CreateBgpPeerRequest |
setResourceOwnerId(Long resourceOwnerId) |
@NameInMap(value="BfdMultiHop") public Integer bfdMultiHop
The BFD hop count. Valid values: 1 to 255.
This parameter is required only if you enable BFD.
The parameter specifies the maximum number of network devices that a packet can traverse from the source to the destination. Set a value based on your network topology.
example:3
@NameInMap(value="BgpGroupId") public String bgpGroupId
The ID of the BGP group.
This parameter is required.
example:bgpg-wz9f62v4fbg****
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request.
You can use the client to generate the value, but you must make sure that the value is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
example:If you do not set this parameter, the system uses the value of RequestId as ClientToken. The value of RequestId for each API request is different.
123e4567-e89b-12d3-a456-426655440000
@NameInMap(value="EnableBfd") public Boolean enableBfd
Specifies whether to enable the Bidirectional Forwarding Detection (BFD) feature. Valid values:
true
@NameInMap(value="IpVersion") public String ipVersion
The IP version. Valid values:
IPv4
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PeerIpAddress") public String peerIpAddress
The IP address of the BGP peer.
example:116.62.XX.XX
@NameInMap(value="RegionId") public String regionId
The ID of the region to which the BGP group belongs.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-shanghai
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
public static CreateBgpPeerRequest build(Map<String,?> map) throws Exception
Exception
public CreateBgpPeerRequest setBfdMultiHop(Integer bfdMultiHop)
public Integer getBfdMultiHop()
public CreateBgpPeerRequest setBgpGroupId(String bgpGroupId)
public String getBgpGroupId()
public CreateBgpPeerRequest setClientToken(String clientToken)
public String getClientToken()
public CreateBgpPeerRequest setEnableBfd(Boolean enableBfd)
public Boolean getEnableBfd()
public CreateBgpPeerRequest setIpVersion(String ipVersion)
public String getIpVersion()
public CreateBgpPeerRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public CreateBgpPeerRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateBgpPeerRequest setPeerIpAddress(String peerIpAddress)
public String getPeerIpAddress()
public CreateBgpPeerRequest setRegionId(String regionId)
public String getRegionId()
public CreateBgpPeerRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateBgpPeerRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2024. All rights reserved.