public static final class UpdateGatewayRouteRequest.Builder extends Object
public UpdateGatewayRouteRequest.Builder acceptLanguage(String acceptLanguage)
The language of the response. Valid values:
zh
public UpdateGatewayRouteRequest.Builder description(String description)
public UpdateGatewayRouteRequest.Builder destinationType(String destinationType)
The destination service type.
example:Mock
public UpdateGatewayRouteRequest.Builder directResponseJSON(UpdateGatewayRouteRequest.DirectResponseJSON directResponseJSON)
The information about service mocking.
public UpdateGatewayRouteRequest.Builder domainIdListJSON(String domainIdListJSON)
The associated domain name.
example:[90]
public UpdateGatewayRouteRequest.Builder enableWaf(Boolean enableWaf)
Specifies whether to activate Web Application Firewall (WAF).
example:false
public UpdateGatewayRouteRequest.Builder fallback(Boolean fallback)
Specifies whether to enable the Fallback service.
example:true
public UpdateGatewayRouteRequest.Builder fallbackServices(List<UpdateGatewayRouteRequest.FallbackServices> fallbackServices)
The information about the Fallback service.
public UpdateGatewayRouteRequest.Builder gatewayId(Long gatewayId)
The ID of the gateway.
example:501
public UpdateGatewayRouteRequest.Builder gatewayUniqueId(String gatewayUniqueId)
The unique ID of the gateway.
example:gw-86575c0bc9f04ecfbacb92b8e392a2c4
public UpdateGatewayRouteRequest.Builder id(Long id)
The ID of the route.
example:139
public UpdateGatewayRouteRequest.Builder name(String name)
The name of the route.
example:route-web
public UpdateGatewayRouteRequest.Builder predicates(UpdateGatewayRouteRequest.Predicates predicates)
The route matching conditions.
public UpdateGatewayRouteRequest.Builder redirectJSON(UpdateGatewayRouteRequest.RedirectJSON redirectJSON)
The information about redirection.
public UpdateGatewayRouteRequest.Builder routeOrder(Integer routeOrder)
The sequence number of the route.
example:1
public UpdateGatewayRouteRequest.Builder services(List<UpdateGatewayRouteRequest.Services> services)
The information about destination services.
public UpdateGatewayRouteRequest build()
Copyright © 2026. All rights reserved.