public static final class DescribeEipAddressesRequest.Builder extends Object
public DescribeEipAddressesRequest.Builder filter(List<DescribeEipAddressesRequest.Filter> filter)
public DescribeEipAddressesRequest.Builder allocationId(String allocationId)
You can specify up to 50 EIP IDs. Separate multiple IDs with commas (,). > If both **EipAddress** and **AllocationId** are specified, you can specify up to 50 EIP IDs for **AllocationId**, and specify up to 50 EIPs for **EipAddress**.
public DescribeEipAddressesRequest.Builder associatedInstanceId(String associatedInstanceId)
public DescribeEipAddressesRequest.Builder associatedInstanceType(String associatedInstanceType)
* **EcsInstance** (default): an Elastic Compute Service (ECS) instance in a virtual private cloud (VPC). * **SlbInstance**: a CLB instance in a VPC. * **Nat**: a NAT gateway. * **HaVip**: an HAVIP. * **NetworkInterface**: a secondary ENI. * **IpAddress**: an IP address. > Each ECS instance, CLB instance, HAVIP, and IP address can be associated with only one EIP. A NAT gateway can be associated with multiple EIPs. The number of EIPs that you can associate with a secondary ENI depends on the association mode. For more information, see [Associate EIPs with and disassociate EIPs from cloud resources](~~72125~~).
public DescribeEipAddressesRequest.Builder chargeType(String chargeType)
* **PostPaid**: pay-as-you-go. * **PrePaid**: subscription.
public DescribeEipAddressesRequest.Builder dryRun(Boolean dryRun)
* **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned. * **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
public DescribeEipAddressesRequest.Builder eipAddress(String eipAddress)
You can specify up to 50 EIPs. Separate multiple EIPs with commas (,). > If both **EipAddress** and **AllocationId** are specified, you can specify up to 50 EIPs for **EipAddress**, and specify up to 50 EIP IDs for **AllocationId**.
public DescribeEipAddressesRequest.Builder eipName(String eipName)
The name must be 1 to 128 characters in length, and can contain letters, digits, underscores (\_), and hyphens (-). The name must start with a letter.
public DescribeEipAddressesRequest.Builder ISP(String ISP)
* **BGP** (default): Border Gateway Protocol (BGP) (Multi-ISP) lines. All regions support BGP (Multi-ISP) EIPs. * **BGP_PRO**: BGP (Multi-ISP) Pro lines. Only the following regions support BGP (Multi-ISP) Pro lines: China (Hong Kong), Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok). For more information about BGP (Multi-ISP) and BGP (Multi-ISP) Pro, see the [Line types](~~32321~~) section of the "What is EIP?" 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 DescribeEipAddressesRequest.Builder includeReservationData(Boolean includeReservationData)
* **false** (default) * **true**
public DescribeEipAddressesRequest.Builder lockReason(String lockReason)
* **financial**: The EIP is locked due to overdue payments. * **security**: The EIP is locked for security reasons.
public DescribeEipAddressesRequest.Builder ownerAccount(String ownerAccount)
public DescribeEipAddressesRequest.Builder ownerId(Long ownerId)
public DescribeEipAddressesRequest.Builder pageNumber(Integer pageNumber)
public DescribeEipAddressesRequest.Builder pageSize(Integer pageSize)
public DescribeEipAddressesRequest.Builder publicIpAddressPoolId(String publicIpAddressPoolId)
public DescribeEipAddressesRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the region ID.
public DescribeEipAddressesRequest.Builder resourceGroupId(String resourceGroupId)
public DescribeEipAddressesRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public DescribeEipAddressesRequest.Builder resourceOwnerId(Long resourceOwnerId)
public DescribeEipAddressesRequest.Builder securityProtectionEnabled(Boolean securityProtectionEnabled)
* **false** * **true**
public DescribeEipAddressesRequest.Builder segmentInstanceId(String segmentInstanceId)
public DescribeEipAddressesRequest.Builder serviceManaged(Boolean serviceManaged)
public DescribeEipAddressesRequest.Builder status(String status)
* **Associating** * **Unassociating** * **InUse** * **Available** * **Releasing**
public DescribeEipAddressesRequest.Builder tag(List<DescribeEipAddressesRequest.Tag> tag)
public DescribeEipAddressesRequest build()
Copyright © 2024. All rights reserved.