public static final class GetGatewayRouteDetailResponseBody.Data.Builder extends Object
public GetGatewayRouteDetailResponseBody.Data.Builder ahasStatus(Integer ahasStatus)
The status of Application High Availability Service (AHAS).
example:1
public GetGatewayRouteDetailResponseBody.Data.Builder cors(GetGatewayRouteDetailResponseBody.Cors cors)
The configuration for cross-origin resource sharing (CORS).
public GetGatewayRouteDetailResponseBody.Data.Builder defaultServiceId(Long defaultServiceId)
The default service ID.
example:3
public GetGatewayRouteDetailResponseBody.Data.Builder defaultServiceName(String defaultServiceName)
The default service name.
example:test
public GetGatewayRouteDetailResponseBody.Data.Builder description(String description)
public GetGatewayRouteDetailResponseBody.Data.Builder destinationType(String destinationType)
The destination service type.
example:Single
public GetGatewayRouteDetailResponseBody.Data.Builder directResponse(GetGatewayRouteDetailResponseBody.DirectResponse directResponse)
The information about service mocking.
public GetGatewayRouteDetailResponseBody.Data.Builder domainId(Long domainId)
The domain ID.
example:235
public GetGatewayRouteDetailResponseBody.Data.Builder domainIdList(List<Long> domainIdList)
The IDs of domains.
public GetGatewayRouteDetailResponseBody.Data.Builder domainName(String domainName)
The domain name.
example:123.com
public GetGatewayRouteDetailResponseBody.Data.Builder domainNameList(List<String> domainNameList)
The list of domain names.
public GetGatewayRouteDetailResponseBody.Data.Builder enableWaf(Boolean enableWaf)
Indicates whether Web Application Firewall (WAF) is activated.
example:true
public GetGatewayRouteDetailResponseBody.Data.Builder fallback(Boolean fallback)
Indicates whether the Fallback service is enabled.
example:true
public GetGatewayRouteDetailResponseBody.Data.Builder fallbackServices(List<GetGatewayRouteDetailResponseBody.FallbackServices> fallbackServices)
The information of the Fallback service.
public GetGatewayRouteDetailResponseBody.Data.Builder flowMirror(GetGatewayRouteDetailResponseBody.FlowMirror flowMirror)
流量镜像配置。
public GetGatewayRouteDetailResponseBody.Data.Builder gatewayId(Long gatewayId)
The ID of the gateway.
example:1
public GetGatewayRouteDetailResponseBody.Data.Builder gatewayUniqueId(String gatewayUniqueId)
The unique ID of the gateway.
example:gw-7ea3da97b96543e19f6c597c****
public GetGatewayRouteDetailResponseBody.Data.Builder gmtCreate(String gmtCreate)
The creation time.
example:2022-01-07 18:07:57
public GetGatewayRouteDetailResponseBody.Data.Builder gmtModified(String gmtModified)
The last modification time.
example:2022-01-07T10:07:57.000+0000
public GetGatewayRouteDetailResponseBody.Data.Builder HTTPRewrite(GetGatewayRouteDetailResponseBody.HTTPRewrite HTTPRewrite)
The information about the rewrite policy.
public GetGatewayRouteDetailResponseBody.Data.Builder headerOp(GetGatewayRouteDetailResponseBody.HeaderOp headerOp)
The header settings.
public GetGatewayRouteDetailResponseBody.Data.Builder id(Long id)
The ID.
example:1050
public GetGatewayRouteDetailResponseBody.Data.Builder name(String name)
The name.
example:test
public GetGatewayRouteDetailResponseBody.Data.Builder policies(String policies)
The routing policy in a JSON string.
example:{ "CORS": "{"allowMethods":"GET,POST,PUT,DELETE,HEAD,OPTIONS,PATCH","allowHeaders":"","exposeHeaders":"","unitNum":12,"allowCredentials":true,"status":"off","allowOrigins":"*","timeUnit":"h"}", "Timeout": "{"unitNum":10,"timeUnit":"s","status":"off"}", "Retry": "{"attempts":2,"retryOn":["5xx"],"status":"off"}", "HTTPRewrite": "{"pathType":"EQUAL","path":"/o","status":"off"}", "Waf": "{"enabled":false}", "HeaderOp": "{"status":"off","headerOpItems":[{"directionType":"Request","opType":"Add","key":"kkk","value":"ll"}]}" }
public GetGatewayRouteDetailResponseBody.Data.Builder predicates(String predicates)
The matching conditions.
example:{}
public GetGatewayRouteDetailResponseBody.Data.Builder redirect(GetGatewayRouteDetailResponseBody.Redirect redirect)
The configuration of the redirection.
public GetGatewayRouteDetailResponseBody.Data.Builder retry(GetGatewayRouteDetailResponseBody.Retry retry)
The retry configuration.
public GetGatewayRouteDetailResponseBody.Data.Builder routeOrder(Integer routeOrder)
The sequence number of the route.
example:1
public GetGatewayRouteDetailResponseBody.Data.Builder routePredicates(GetGatewayRouteDetailResponseBody.RoutePredicates routePredicates)
The information about route matching.
public GetGatewayRouteDetailResponseBody.Data.Builder routeServices(List<GetGatewayRouteDetailResponseBody.RouteServices> routeServices)
The services.
public GetGatewayRouteDetailResponseBody.Data.Builder services(String services)
The configurations of services.
example:[{"Percent":100,"ServiceId":126}]
public GetGatewayRouteDetailResponseBody.Data.Builder status(Integer status)
The status of the route. Valid values:
0
public GetGatewayRouteDetailResponseBody.Data.Builder timeout(GetGatewayRouteDetailResponseBody.Timeout timeout)
The timeout configuration.
public GetGatewayRouteDetailResponseBody.Data build()
Copyright © 2026. All rights reserved.