public static final class CreateBgpPeerRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
CreateBgpPeerRequest.Builder |
bfdMultiHop(Integer bfdMultiHop)
The BFD hop count.
|
CreateBgpPeerRequest.Builder |
bgpGroupId(String bgpGroupId)
The ID of the BGP group.
|
CreateBgpPeerRequest |
build() |
CreateBgpPeerRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
CreateBgpPeerRequest.Builder |
enableBfd(Boolean enableBfd)
Specifies whether to enable the Bidirectional Forwarding Detection (BFD) feature.
|
CreateBgpPeerRequest.Builder |
ipVersion(String ipVersion)
The IP version.
|
CreateBgpPeerRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
CreateBgpPeerRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
CreateBgpPeerRequest.Builder |
peerIpAddress(String peerIpAddress)
The IP address of the BGP peer.
|
CreateBgpPeerRequest.Builder |
regionId(String regionId)
The ID of the region to which the BGP group belongs.
|
CreateBgpPeerRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
CreateBgpPeerRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
public CreateBgpPeerRequest.Builder bfdMultiHop(Integer bfdMultiHop)
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.
public CreateBgpPeerRequest.Builder bgpGroupId(String bgpGroupId)
public CreateBgpPeerRequest.Builder clientToken(String clientToken)
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. > 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.
public CreateBgpPeerRequest.Builder enableBfd(Boolean enableBfd)
* **true**: enables BFD. * **false**: disables BFD.
public CreateBgpPeerRequest.Builder ipVersion(String ipVersion)
* **IPv4**: This is the default value. * **IPv6**: IPv6 is supported only if the VBR for which you want to create the BGP group has IPv6 enabled.
public CreateBgpPeerRequest.Builder ownerAccount(String ownerAccount)
public CreateBgpPeerRequest.Builder ownerId(Long ownerId)
public CreateBgpPeerRequest.Builder peerIpAddress(String peerIpAddress)
public CreateBgpPeerRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public CreateBgpPeerRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CreateBgpPeerRequest.Builder resourceOwnerId(Long resourceOwnerId)
public CreateBgpPeerRequest build()
Copyright © 2024. All rights reserved.