public static final class CreatePublicIpAddressPoolRequest.Builder extends Object
public CreatePublicIpAddressPoolRequest.Builder bizType(String bizType)
* **CloudBox** Only cloud box users can select this type. * **Default**: This is the default value.
public CreatePublicIpAddressPoolRequest.Builder clientToken(String clientToken)
You can use the client to generate a value, and you must make sure that each request has a unique token value. The client token can contain only ASCII characters. > If you do not specify this parameter, the system automatically uses the value of **RequestId** as the value of **ClientToken**. The value of **RequestId** for each API request is different.
public CreatePublicIpAddressPoolRequest.Builder description(String description)
This parameter is optional. The description must be 2 to 256 characters in length, and cannot start with http:// or https://.
public CreatePublicIpAddressPoolRequest.Builder dryRun(Boolean dryRun)
* **true**: prechecks the request without creating an IP address pool. The system checks the required parameters, request format, and service limits. If the request fails to pass the precheck, an error code is returned. If the request passes the precheck, the `DryRunOperation` error code is returned. * **false**: sends the request. This is the default value. If the request passes the precheck, a 2xx HTTP status code is returned and the IP address pool is created.
public CreatePublicIpAddressPoolRequest.Builder isp(String isp)
* **BGP** (default) * **BGP_PRO** For more information about BGP (Multi-ISP) lines and BGP (Multi-ISP) Pro lines, see the "Line types" section in the [What is EIP?](~~32321~~) topic. * 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 value to **BGP_FinanceCloud**.
public CreatePublicIpAddressPoolRequest.Builder name(String name)
This parameter is optional. The name must be 1 to 128 characters in length and can contain digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter but cannot start with `http://` or `https://`.
public CreatePublicIpAddressPoolRequest.Builder ownerAccount(String ownerAccount)
public CreatePublicIpAddressPoolRequest.Builder ownerId(Long ownerId)
public CreatePublicIpAddressPoolRequest.Builder regionId(String regionId)
public CreatePublicIpAddressPoolRequest.Builder resourceGroupId(String resourceGroupId)
public CreatePublicIpAddressPoolRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CreatePublicIpAddressPoolRequest.Builder resourceOwnerId(Long resourceOwnerId)
public CreatePublicIpAddressPoolRequest.Builder securityProtectionTypes(List<String> securityProtectionTypes)
- If you do not specify this parameter, Anti-DDoS Origin Basic is used. - If you set the parameter to AntiDDoS_Enhanced, Anti-DDoS Pro/Premium is used.
public CreatePublicIpAddressPoolRequest.Builder tag(List<CreatePublicIpAddressPoolRequest.Tag> tag)
public CreatePublicIpAddressPoolRequest.Builder zones(List<String> zones)
public CreatePublicIpAddressPoolRequest build()
Copyright © 2024. All rights reserved.