public static final class UpdateGatewayRouteWafStatusResponseBody.Data.Builder extends Object
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder cors(UpdateGatewayRouteWafStatusResponseBody.Cors cors)
The configuration for cross-origin resource sharing (CORS).
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder defaultServiceId(Long defaultServiceId)
The default service ID.
example:1
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder defaultServiceName(String defaultServiceName)
The default service name.
example:test
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder destinationType(String destinationType)
The destination service type.
example:Single
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder directResponse(UpdateGatewayRouteWafStatusResponseBody.DirectResponse directResponse)
The information about service mocking.
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder domainId(Long domainId)
The domain ID.
example:235
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder domainIdList(List<Long> domainIdList)
The list of domain IDs.
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder domainName(String domainName)
The domain name.
example:nbhamster.com
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder domainNameList(List<String> domainNameList)
The domain names.
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder enableWaf(Boolean enableWaf)
Indicates whether WAF is activated.
example:0
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder gatewayId(Long gatewayId)
The ID of the gateway.
example:102
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder gatewayUniqueId(String gatewayUniqueId)
The unique ID of the gateway.
example:gw-7ea3da97b96543e19f6c597cd4a9****
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder gmtCreate(String gmtCreate)
The creation time.
example:2022-01-26T09:52:41.000+0000
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder gmtModified(String gmtModified)
The modification time.
example:2022-02-24T06:08:29.230+0000
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder HTTPRewrite(UpdateGatewayRouteWafStatusResponseBody.HTTPRewrite HTTPRewrite)
The information about the rewrite policy.
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder headerOp(UpdateGatewayRouteWafStatusResponseBody.HeaderOp headerOp)
The header settings.
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder id(Long id)
The ID of the route.
example:12
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder name(String name)
The name of the route.
example:test
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder predicates(String predicates)
The matching rule.
example:{"PathPredicates":{"Path":"/metas","Type":"PRE","IgnoreCase":false}}
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder redirect(UpdateGatewayRouteWafStatusResponseBody.Redirect redirect)
The configuration of the redirection.
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder retry(UpdateGatewayRouteWafStatusResponseBody.Retry retry)
The retry configuration.
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder routeOrder(Integer routeOrder)
The sequence number of the route.
example:1
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder routePredicates(UpdateGatewayRouteWafStatusResponseBody.RoutePredicates routePredicates)
The information about route matching.
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder routeServices(List<UpdateGatewayRouteWafStatusResponseBody.RouteServices> routeServices)
The information about services.
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder services(String services)
The information about services.
example:[{"Percent":100,"ServiceId":126}]
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder status(Integer status)
The status of the route.
example:1
public UpdateGatewayRouteWafStatusResponseBody.Data.Builder timeout(UpdateGatewayRouteWafStatusResponseBody.Timeout timeout)
The timeout configuration.
public UpdateGatewayRouteWafStatusResponseBody.Data build()
Copyright © 2026. All rights reserved.