public static final class PutEnableFwSwitchRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
PutEnableFwSwitchRequest |
build() |
PutEnableFwSwitchRequest.Builder |
ipaddrList(List<String> ipaddrList)
The IP addresses.
|
PutEnableFwSwitchRequest.Builder |
lang(String lang)
The language of the content within the response.
|
PutEnableFwSwitchRequest.Builder |
regionList(List<String> regionList)
The regions.
|
PutEnableFwSwitchRequest.Builder |
resourceTypeList(List<String> resourceTypeList)
The types of the assets.
|
PutEnableFwSwitchRequest.Builder |
sourceIp(String sourceIp)
The source IP address of the request.
|
public PutEnableFwSwitchRequest.Builder ipaddrList(List<String> ipaddrList)
> You must specify at least one of the IpaddrList, RegionList, and ResourceTypeList parameters.
public PutEnableFwSwitchRequest.Builder lang(String lang)
* **zh**: Chinese * **en**: English
public PutEnableFwSwitchRequest.Builder regionList(List<String> regionList)
> You must specify at least one of the IpaddrList, RegionList, and ResourceTypeList parameters.
public PutEnableFwSwitchRequest.Builder resourceTypeList(List<String> resourceTypeList)
Valid values: * BastionHostIP: the egress IP address of a bastion host * BastionHostIngressIP: the ingress IP address of a bastion host * EcsEIP: the elastic IP address (EIP) of an Elastic Compute Service (ECS) instance * EcsPublicIP: the public IP address of an ECS instance * EIP: the EIP * EniEIP: the EIP of an elastic network interface (ENI) * NatEIP: the EIP of a NAT gateway * SlbEIP: the EIP of a Server Load Balancer (SLB) instance * SlbPublicIP: the public IP address of an SLB instance * NatPublicIP: the public IP address of a NAT gateway * HAVIP: the high-availability virtual IP address (HAVIP) > You must specify at least one of the IpaddrList, RegionList, and ResourceTypeList parameters.
public PutEnableFwSwitchRequest.Builder sourceIp(String sourceIp)
public PutEnableFwSwitchRequest build()
Copyright © 2023. All rights reserved.