public static final class UpdateIngressRequest.Builder extends Object
public UpdateIngressRequest.Builder certId(String certId)
The ID of the CLB certificate. Valid values:
For more information about how to use SSL certificate IDs for CLB, see Manage certificates (CLB).
example:188077086902****_176993d****_181437****_108724****
public UpdateIngressRequest.Builder certIds(String certIds)
The ID of the multi-certificate ALB. Valid values:
756***-cn-hangzhou, the 756*** is the certificate ID obtained from the product page, and the -cn-hangzhou is a fixed suffix. For more information, see Manage certificates.8735-cn-hangzhou,8123-cn-hangzhou
public UpdateIngressRequest.Builder corsConfig(String corsConfig)
public UpdateIngressRequest.Builder defaultRule(String defaultRule)
The default forwarding rule. Forwards traffic to a specified application through a specified port based on the IP address. The following table describes the parameters.
example:All requests that do not match the forwarding rules specified for Rules are forwarded over the port to the application.
{"appId":"395b60e4-0550-458d-9c54-a265d036****","containerPort":8080}
public UpdateIngressRequest.Builder description(String description)
The name of the routing rule.
example:ingress-sae-test
public UpdateIngressRequest.Builder enableGzip(Boolean enableGzip)
public UpdateIngressRequest.Builder enableXForwardedFor(Boolean enableXForwardedFor)
public UpdateIngressRequest.Builder enableXForwardedForClientSrcPort(Boolean enableXForwardedForClientSrcPort)
public UpdateIngressRequest.Builder enableXForwardedForProto(Boolean enableXForwardedForProto)
public UpdateIngressRequest.Builder enableXForwardedForSlbId(Boolean enableXForwardedForSlbId)
public UpdateIngressRequest.Builder enableXForwardedForSlbPort(Boolean enableXForwardedForSlbPort)
public UpdateIngressRequest.Builder idleTimeout(Integer idleTimeout)
The timeout period of idle connections. Unit: seconds.
example:A value of 0 indicates that the default value is used.
15
public UpdateIngressRequest.Builder ingressId(Long ingressId)
The ID of the routing rule.
This parameter is required.
example:87
public UpdateIngressRequest.Builder listenerPort(String listenerPort)
The SLB listening port. This port cannot be occupied.
example:443
public UpdateIngressRequest.Builder listenerProtocol(String listenerProtocol)
The protocol that is used to forward requests. Valid values:
HTTP
public UpdateIngressRequest.Builder loadBalanceType(String loadBalanceType)
The parameter is deprecated and cannot be updated.
example:clb
public UpdateIngressRequest.Builder requestTimeout(Integer requestTimeout)
The request timed out. Unit: seconds.
example:60
public UpdateIngressRequest.Builder rules(String rules)
The forwarding rule. Forwards traffic to a specified application through a specified port based on the domain name and request path. The following table describes the parameters.
[{"appId":"395b60e4-0550-458d-9c54-a265d036****","containerPort":8080,"domain":"www.sae.site","path":"/path1"},{"appId":"666403ce-d25b-47cf-87fe-497565d2****","containerPort":8080,"domain":"sae.site","path":"/path2"}]
public UpdateIngressRequest.Builder securityPolicyId(String securityPolicyId)
The ID of a security policy.
example:tls_cipher_policy_1_2_strict_with_1_3
public UpdateIngressRequest build()
Copyright © 2026. All rights reserved.