public static final class UpdateGatewayRouteCORSRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateGatewayRouteCORSRequest.Builder |
acceptLanguage(String acceptLanguage)
The language of the response.
|
UpdateGatewayRouteCORSRequest |
build() |
UpdateGatewayRouteCORSRequest.Builder |
corsJSON(UpdateGatewayRouteCORSRequest.CorsJSON corsJSON)
The information about the CORS policy.
|
UpdateGatewayRouteCORSRequest.Builder |
gatewayId(Long gatewayId)
The ID of the gateway.
|
UpdateGatewayRouteCORSRequest.Builder |
gatewayUniqueId(String gatewayUniqueId)
The unique ID of the gateway.
|
UpdateGatewayRouteCORSRequest.Builder |
id(Long id)
The ID of the associated record.
|
public UpdateGatewayRouteCORSRequest.Builder acceptLanguage(String acceptLanguage)
The language of the response. In compliance with RFC 7231, the backend service must return a response based on the language used by the user.
zh
public UpdateGatewayRouteCORSRequest.Builder corsJSON(UpdateGatewayRouteCORSRequest.CorsJSON corsJSON)
The information about the CORS policy.
public UpdateGatewayRouteCORSRequest.Builder gatewayId(Long gatewayId)
The ID of the gateway.
example:85
public UpdateGatewayRouteCORSRequest.Builder gatewayUniqueId(String gatewayUniqueId)
The unique ID of the gateway.
example:gw-f70a6ddf2f0941a2bb997b2d16028f37
public UpdateGatewayRouteCORSRequest.Builder id(Long id)
The ID of the associated record.
example:55
public UpdateGatewayRouteCORSRequest build()
Copyright © 2026. All rights reserved.