public class CreateCloudNativeAPIGatewayServiceRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CreateCloudNativeAPIGatewayServiceRequest() | 
| CreateCloudNativeAPIGatewayServiceRequest(CreateCloudNativeAPIGatewayServiceRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getGatewayId()Get 网关ID | 
| String | getName()Get 服务名称 | 
| String | getPath()Get 请求路径 | 
| String | getProtocol()Get 请求协议:
- https
- http
- tcp
- udp | 
| Long | getRetries()Get 重试次数 | 
| Long | getTimeout()Get 超时时间,单位ms | 
| KongUpstreamInfo | getUpstreamInfo()Get 服务配置信息 | 
| String | getUpstreamType()Get 服务类型: 
- Kubernetes 
- Registry
- IPList
- HostIP
- Scf | 
| void | setGatewayId(String GatewayId)Set 网关ID | 
| void | setName(String Name)Set 服务名称 | 
| void | setPath(String Path)Set 请求路径 | 
| void | setProtocol(String Protocol)Set 请求协议:
- https
- http
- tcp
- udp | 
| void | setRetries(Long Retries)Set 重试次数 | 
| void | setTimeout(Long Timeout)Set 超时时间,单位ms | 
| void | setUpstreamInfo(KongUpstreamInfo UpstreamInfo)Set 服务配置信息 | 
| void | setUpstreamType(String UpstreamType)Set 服务类型: 
- Kubernetes 
- Registry
- IPList
- HostIP
- Scf | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateCloudNativeAPIGatewayServiceRequest()
public CreateCloudNativeAPIGatewayServiceRequest(CreateCloudNativeAPIGatewayServiceRequest source)
public String getGatewayId()
public void setGatewayId(String GatewayId)
GatewayId - 网关IDpublic String getName()
public void setName(String Name)
Name - 服务名称public String getProtocol()
public void setProtocol(String Protocol)
Protocol - 请求协议:
- https
- http
- tcp
- udppublic Long getTimeout()
public void setTimeout(Long Timeout)
Timeout - 超时时间,单位mspublic Long getRetries()
public void setRetries(Long Retries)
Retries - 重试次数public String getUpstreamType()
public void setUpstreamType(String UpstreamType)
UpstreamType - 服务类型: 
- Kubernetes 
- Registry
- IPList
- HostIP
- Scfpublic KongUpstreamInfo getUpstreamInfo()
public void setUpstreamInfo(KongUpstreamInfo UpstreamInfo)
UpstreamInfo - 服务配置信息public String getPath()
public void setPath(String Path)
Path - 请求路径Copyright © 2025. All rights reserved.