public static final class AddGatewayServiceVersionRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
AddGatewayServiceVersionRequest.Builder |
acceptLanguage(String acceptLanguage)
The language of the response.
|
AddGatewayServiceVersionRequest |
build() |
AddGatewayServiceVersionRequest.Builder |
gatewayUniqueId(String gatewayUniqueId)
The unique ID of the gateway.
|
AddGatewayServiceVersionRequest.Builder |
serviceId(Long serviceId)
The ID of the service.
|
AddGatewayServiceVersionRequest.Builder |
serviceVersion(String serviceVersion)
The version of the service.
|
public AddGatewayServiceVersionRequest.Builder acceptLanguage(String acceptLanguage)
The language of the response. Valid values:
zh
public AddGatewayServiceVersionRequest.Builder gatewayUniqueId(String gatewayUniqueId)
The unique ID of the gateway.
example:gw-913a49bab6c5461187a3305fb8da****
public AddGatewayServiceVersionRequest.Builder serviceId(Long serviceId)
The ID of the service.
example:33
public AddGatewayServiceVersionRequest.Builder serviceVersion(String serviceVersion)
The version of the service.
example:{"name":"v1","labels":[{"key":"version","value":"v1"}]}
public AddGatewayServiceVersionRequest build()
Copyright © 2026. All rights reserved.