public static final class DescribeLayer4RulePolicyResponseBody.Builder extends Object
构造器和说明 |
---|
Builder() |
public DescribeLayer4RulePolicyResponseBody.Builder backendPort(Integer backendPort)
public DescribeLayer4RulePolicyResponseBody.Builder bakMode(String bakMode)
* 0: the default mode. In this mode, Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the origin IP address that you specified when you created the port forwarding rule. You can call the [CreateNetworkRules](~~157482~~) operation to create a port forwarding rule. * 1: the origin redundancy mode. In this mode, Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary or secondary origin servers. You can call the [ConfigLayer4RulePolicy](~~312684~~) operation to configure IP addresses.
public DescribeLayer4RulePolicyResponseBody.Builder currentIndex(Integer currentIndex)
* **1**: the primary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the primary origin server. * **2**: the secondary origin server, which indicates that Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic to the IP addresses of the secondary origin server.
public DescribeLayer4RulePolicyResponseBody.Builder forwardProtocol(String forwardProtocol)
public DescribeLayer4RulePolicyResponseBody.Builder frontendPort(Integer frontendPort)
public DescribeLayer4RulePolicyResponseBody.Builder instanceId(String instanceId)
public DescribeLayer4RulePolicyResponseBody.Builder priRealServers(List<DescribeLayer4RulePolicyResponseBody.PriRealServers> priRealServers)
public DescribeLayer4RulePolicyResponseBody.Builder requestId(String requestId)
public DescribeLayer4RulePolicyResponseBody.Builder secRealServers(List<DescribeLayer4RulePolicyResponseBody.SecRealServers> secRealServers)
public DescribeLayer4RulePolicyResponseBody build()
Copyright © 2023. All rights reserved.