public static final class CreatePhysicalConnectionRequest.Builder extends Object
public CreatePhysicalConnectionRequest.Builder accessPointId(String accessPointId)
public CreatePhysicalConnectionRequest.Builder circuitCode(String circuitCode)
public CreatePhysicalConnectionRequest.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 CreatePhysicalConnectionRequest.Builder description(String description)
The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
public CreatePhysicalConnectionRequest.Builder deviceAdvancedCapacity(List<String> deviceAdvancedCapacity)
public CreatePhysicalConnectionRequest.Builder lineOperator(String lineOperator)
* **CT**: China Telecom. * **CU**: China Unicom. * **CM**: China Mobile. * **CO**: other connectivity providers in the Chinese mainland. * **Equinix**: Equinix. * **Other**: other connectivity providers outside the Chinese mainland.
public CreatePhysicalConnectionRequest.Builder name(String name)
The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (\_), and hyphens (-). The name must start with a letter but cannot start with `http://` or `https://`.
public CreatePhysicalConnectionRequest.Builder ownerAccount(String ownerAccount)
public CreatePhysicalConnectionRequest.Builder ownerId(Long ownerId)
public CreatePhysicalConnectionRequest.Builder peerLocation(String peerLocation)
public CreatePhysicalConnectionRequest.Builder portType(String portType)
* **100Base-T**: 100 Mbit/s copper Ethernet port * **1000Base-T**: 1,000 Mbit/s copper Ethernet port * **1000Base-LX**: 1,000 Mbit/s single-mode optical port (10 km) * **10GBase-T**: 10,000 Mbit/s copper Ethernet port * **10GBase-LR**: 10,000 Mbit/s single-mode optical port (10 km) * **40GBase-LR**: 40,000 Mbit/s single-mode optical port * **100GBase-LR**: 100,000 Mbit/s single-mode optical port > To use ports 40GBase-LR and 100GBase-LR, you must first contact your account manager.
public CreatePhysicalConnectionRequest.Builder redundantPhysicalConnectionId(String redundantPhysicalConnectionId)
public CreatePhysicalConnectionRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public CreatePhysicalConnectionRequest.Builder resourceGroupId(String resourceGroupId)
public CreatePhysicalConnectionRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CreatePhysicalConnectionRequest.Builder resourceOwnerId(Long resourceOwnerId)
public CreatePhysicalConnectionRequest.Builder tag(List<CreatePhysicalConnectionRequest.Tag> tag)
public CreatePhysicalConnectionRequest.Builder type(String type)
public CreatePhysicalConnectionRequest.Builder bandwidth(Integer bandwidth)
Valid values: **50**, **100**, **200**, **300**, **400**, **500**, **1000**, **2000**, **4000**, **5000**, **8000**, and **10000**.
public CreatePhysicalConnectionRequest build()
Copyright © 2024. All rights reserved.