public static final class CreateBgpGroupRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
CreateBgpGroupRequest.Builder |
authKey(String authKey)
The authentication key of the BGP group.
|
CreateBgpGroupRequest |
build() |
CreateBgpGroupRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
CreateBgpGroupRequest.Builder |
description(String description)
The description of the BGP group.
|
CreateBgpGroupRequest.Builder |
ipVersion(String ipVersion)
The IP version.
|
CreateBgpGroupRequest.Builder |
isFakeAsn(Boolean isFakeAsn)
Specifies whether to use a fake ASN.
|
CreateBgpGroupRequest.Builder |
localAsn(Long localAsn)
The custom ASN on the Alibaba Cloud side.
|
CreateBgpGroupRequest.Builder |
name(String name)
The name of the BGP group.
|
CreateBgpGroupRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
CreateBgpGroupRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
CreateBgpGroupRequest.Builder |
peerAsn(Long peerAsn)
The ASN of the gateway device in the data center.
|
CreateBgpGroupRequest.Builder |
regionId(String regionId)
The region ID of the VBR.
|
CreateBgpGroupRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
CreateBgpGroupRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
CreateBgpGroupRequest.Builder |
routeQuota(Integer routeQuota)
The maximum number of routes supported by a BGP peer.
|
CreateBgpGroupRequest.Builder |
routerId(String routerId)
The ID of the VBR.
|
public CreateBgpGroupRequest.Builder authKey(String authKey)
public CreateBgpGroupRequest.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. > 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 CreateBgpGroupRequest.Builder description(String description)
The description must be 2 to 256 characters in length. It must start with a letter and cannot start with `http://` or `https://`.
public CreateBgpGroupRequest.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 CreateBgpGroupRequest.Builder isFakeAsn(Boolean isFakeAsn)
* **false** (default) * **true** > A router that runs BGP typically belongs to only one AS. If you need to replace an existing AS with a new AS and you cannot immediately modify BGP configurations, you can use fake ASNs to ensure service continuity.
public CreateBgpGroupRequest.Builder localAsn(Long localAsn)
* **45104** * **64512~65534** * **4200000000~4294967294** > **65025** is reserved by Alibaba Cloud. By default, Alibaba Cloud uses **45104** as **LocalAsn**. If you use custom **LocalAsn** in multi-line access scenarios, loops in BGP may occur.
public CreateBgpGroupRequest.Builder name(String name)
The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
public CreateBgpGroupRequest.Builder ownerAccount(String ownerAccount)
public CreateBgpGroupRequest.Builder ownerId(Long ownerId)
public CreateBgpGroupRequest.Builder peerAsn(Long peerAsn)
public CreateBgpGroupRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public CreateBgpGroupRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CreateBgpGroupRequest.Builder resourceOwnerId(Long resourceOwnerId)
public CreateBgpGroupRequest.Builder routeQuota(Integer routeQuota)
public CreateBgpGroupRequest.Builder routerId(String routerId)
public CreateBgpGroupRequest build()
Copyright © 2024. All rights reserved.