public class UpdateLoadBalancerAddressTypeConfigRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 类和说明 |
|---|---|
static class |
UpdateLoadBalancerAddressTypeConfigRequest.UpdateLoadBalancerAddressTypeConfigRequestZoneMappings |
| 限定符和类型 | 字段和说明 |
|---|---|
String |
addressType
The new network type.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
dryRun
Specifies whether to perform only a dry run, without performing the actual request.
|
String |
loadBalancerId
The ALB instance ID.
|
List<UpdateLoadBalancerAddressTypeConfigRequest.UpdateLoadBalancerAddressTypeConfigRequestZoneMappings> |
zoneMappings
The zones and the vSwitches.
|
| 构造器和说明 |
|---|
UpdateLoadBalancerAddressTypeConfigRequest() |
@NameInMap(value="AddressType") public String addressType
The new network type. Valid values:
* **Internet**: The ALB instance uses a public IP address. The domain name of the ALB instance is resolved to the public IP address. Therefore, the ALB instance can be accessed over the Internet.
* **Intranet**: The ALB instance uses a private IP address. The domain name of the ALB instance is resolved to the private IP address. In this case, the ALB instance can be accessed over the virtual private cloud (VPC) where the ALB instance is deployed.
This parameter is required.
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request.
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.
@NameInMap(value="DryRun") public String dryRun
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
* **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 code 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.
@NameInMap(value="LoadBalancerId") public String loadBalancerId
The ALB instance ID.
This parameter is required.
@NameInMap(value="ZoneMappings") public List<UpdateLoadBalancerAddressTypeConfigRequest.UpdateLoadBalancerAddressTypeConfigRequestZoneMappings> zoneMappings
The zones and the vSwitches. You must specify at least two zones.
public UpdateLoadBalancerAddressTypeConfigRequest()
public static UpdateLoadBalancerAddressTypeConfigRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpdateLoadBalancerAddressTypeConfigRequest setAddressType(String addressType)
public String getAddressType()
public UpdateLoadBalancerAddressTypeConfigRequest setClientToken(String clientToken)
public String getClientToken()
public UpdateLoadBalancerAddressTypeConfigRequest setDryRun(String dryRun)
public String getDryRun()
public UpdateLoadBalancerAddressTypeConfigRequest setLoadBalancerId(String loadBalancerId)
public String getLoadBalancerId()
public UpdateLoadBalancerAddressTypeConfigRequest setZoneMappings(List<UpdateLoadBalancerAddressTypeConfigRequest.UpdateLoadBalancerAddressTypeConfigRequestZoneMappings> zoneMappings)
public List<UpdateLoadBalancerAddressTypeConfigRequest.UpdateLoadBalancerAddressTypeConfigRequestZoneMappings> getZoneMappings()
Copyright © 2024. All rights reserved.