public static final class ModifyBgpPeerAttributeRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ModifyBgpPeerAttributeRequest.Builder |
bfdMultiHop(Integer bfdMultiHop)
The BFD hop count.
|
ModifyBgpPeerAttributeRequest.Builder |
bgpGroupId(String bgpGroupId)
The ID of the BGP group to which the BGP peer that you want to modify belongs.
|
ModifyBgpPeerAttributeRequest.Builder |
bgpPeerId(String bgpPeerId)
The ID of the BGP peer that you want to modify.
|
ModifyBgpPeerAttributeRequest |
build() |
ModifyBgpPeerAttributeRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
ModifyBgpPeerAttributeRequest.Builder |
enableBfd(Boolean enableBfd)
Specifies whether to enable the Bidirectional Forwarding Detection (BFD) feature.
|
ModifyBgpPeerAttributeRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
ModifyBgpPeerAttributeRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
ModifyBgpPeerAttributeRequest.Builder |
peerIpAddress(String peerIpAddress)
The IP address of the BGP peer that you want to modify.
|
ModifyBgpPeerAttributeRequest.Builder |
regionId(String regionId)
The region ID of the BGP group to which the BGP peer that you want to modify belongs.
|
ModifyBgpPeerAttributeRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
ModifyBgpPeerAttributeRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
public ModifyBgpPeerAttributeRequest.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 ModifyBgpPeerAttributeRequest.Builder bgpGroupId(String bgpGroupId)
public ModifyBgpPeerAttributeRequest.Builder bgpPeerId(String bgpPeerId)
public ModifyBgpPeerAttributeRequest.Builder clientToken(String clientToken)
You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
public ModifyBgpPeerAttributeRequest.Builder enableBfd(Boolean enableBfd)
* **true** * **false** (default)
public ModifyBgpPeerAttributeRequest.Builder ownerAccount(String ownerAccount)
public ModifyBgpPeerAttributeRequest.Builder ownerId(Long ownerId)
public ModifyBgpPeerAttributeRequest.Builder peerIpAddress(String peerIpAddress)
public ModifyBgpPeerAttributeRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public ModifyBgpPeerAttributeRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ModifyBgpPeerAttributeRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ModifyBgpPeerAttributeRequest build()
Copyright © 2024. All rights reserved.