public static final class DescribeLayer4RulePolicyRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
DescribeLayer4RulePolicyRequest |
build() |
DescribeLayer4RulePolicyRequest.Builder |
listeners(String listeners)
The port forwarding rule that you want to query.
|
DescribeLayer4RulePolicyRequest.Builder |
regionId(String regionId)
RegionId.
|
public DescribeLayer4RulePolicyRequest.Builder regionId(String regionId)
public DescribeLayer4RulePolicyRequest.Builder listeners(String listeners)
This parameter is a string that consists of JSON arrays. Each element in a JSON array indicates a port forwarding rule. You can query only one port forwarding rule at a time. > You can call the [DescribeNetworkRules](~~157484~~) to query existing port forwarding rules. Each port forwarding rule contains the following fields: * **InstanceId**: the ID of the instance. This field is required and must be of the string type. * **Protocol**: the forwarding protocol. This field is required and must be of the string type. Valid values: **tcp** and **udp**. * **FrontendPort**: the forwarding port. This field is required and must be of the integer type.
public DescribeLayer4RulePolicyRequest build()
Copyright © 2023. All rights reserved.