public static final class AllocateEipSegmentAddressRequest.Builder extends Object
public AllocateEipSegmentAddressRequest.Builder bandwidth(String bandwidth)
* Valid values when **InstanceChargeType** is set to **PostPaid** and **InternetChargeType** is set to **PayByBandwidth**: **1** to **500**.**** * Valid values when **InstanceChargeType** is set to **PostPaid** and **InternetChargeType** is set to **PayByTraffic**: **1** to **200**.**** * Valid values when **InstanceChargeType** is set to **PrePaid**: **1** to **1000**.**** Default value: **5**. Unit: Mbit/s.
public AllocateEipSegmentAddressRequest.Builder clientToken(String clientToken)
You can use the client to generate a token, but you must make sure that the token is unique among different requests. **ClientToken** 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 AllocateEipSegmentAddressRequest.Builder eipMask(String eipMask)
* **28**: applies for 16 contiguous EIPs in each call. * **27**: applies for 32 contiguous EIPs in each call. * **26**: applies for 64 contiguous EIPs in each call. * **25**: applies for 128 contiguous EIPs in each call. * **24**: applies for 256 contiguous EIPs in each call. > Some IP address are reserved for specific purposes. Therefore, the actual number of the contiguous EIPs may be one, three, or four less than the expected number.
public AllocateEipSegmentAddressRequest.Builder internetChargeType(String internetChargeType)
* **PayByBandwidth** (default) * **PayByTraffic**
public AllocateEipSegmentAddressRequest.Builder isp(String isp)
* **BGP** (default): BGP (Multi-ISP) line The BGP (Multi-ISP) line is supported in all regions. * **BGP_PRO**: BGP (Multi-ISP) Pro line BGP (Multi-ISP) Pro line is supported only in the China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions. For more information about the BGP (Multi-ISP) line and BGP (Multi-ISP) Pro line, see [EIP line types](~~32321~~). If you are allowed to use single-ISP bandwidth, you can also use one of the following values: * **ChinaTelecom** * **ChinaUnicom** * **ChinaMobile** * **ChinaTelecom_L2** * **ChinaUnicom_L2** * **ChinaMobile_L2** If your services are deployed in China East 1 Finance, this parameter is required and you must set the parameter to **BGP_FinanceCloud**.
public AllocateEipSegmentAddressRequest.Builder netmode(String netmode)
public AllocateEipSegmentAddressRequest.Builder ownerAccount(String ownerAccount)
public AllocateEipSegmentAddressRequest.Builder ownerId(Long ownerId)
public AllocateEipSegmentAddressRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the region ID.
public AllocateEipSegmentAddressRequest.Builder resourceGroupId(String resourceGroupId)
public AllocateEipSegmentAddressRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public AllocateEipSegmentAddressRequest.Builder resourceOwnerId(Long resourceOwnerId)
public AllocateEipSegmentAddressRequest.Builder zone(String zone)
public AllocateEipSegmentAddressRequest build()
Copyright © 2024. All rights reserved.