public static final class AssociateEnsEipAddressRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
AssociateEnsEipAddressRequest.Builder |
allocationId(String allocationId)
The ID of the EIP.
|
AssociateEnsEipAddressRequest |
build() |
AssociateEnsEipAddressRequest.Builder |
instanceId(String instanceId)
The ID of the cloud service with which you want to associate the EIP.
|
AssociateEnsEipAddressRequest.Builder |
instanceType(String instanceType)
The type of instance with which you want to associate the EIP.
|
AssociateEnsEipAddressRequest.Builder |
standby(Boolean standby)
Specifies whether the EIP is a secondary EIP.
|
public AssociateEnsEipAddressRequest.Builder allocationId(String allocationId)
public AssociateEnsEipAddressRequest.Builder instanceId(String instanceId)
> IDs of Edge Load Balancer (ELB) are supported.
public AssociateEnsEipAddressRequest.Builder instanceType(String instanceType)
* **Nat**: a NAT gateway. * **SlbInstance**: an ELB instance. * **NetworkInterface**: a secondary ENI. * **NatSlbInstance**: If you want to associate multiple EIPs to an ELB instance, you need to set the parameter to this value. * **EnsInstance** (default): an ENS instance.
public AssociateEnsEipAddressRequest.Builder standby(Boolean standby)
* true * false
public AssociateEnsEipAddressRequest build()
Copyright © 2024. All rights reserved.