public class ServiceConfig extends AbstractModel
Constructor and Description |
---|
ServiceConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getMethod()
Get API的后端服务请求方法,如 GET。如果 ServiceType 是 HTTP,则此参数必传。前后端方法可不同。
|
String |
getPath()
Get API 的后端服务路径,如 /path。如果 ServiceType 是 HTTP,则此参数必传。前后端路径可不同。
|
String |
getProduct()
Get 后端类型。启用vpc时生效,目前支持的类型为clb。
|
String |
getUniqVpcId()
Get vpc 的唯一ID。
|
String |
getUrl()
Get API 的后端服务url。如果ServiceType是HTTP,则此参数必传。
|
void |
setMethod(String Method)
Set API的后端服务请求方法,如 GET。如果 ServiceType 是 HTTP,则此参数必传。前后端方法可不同。
|
void |
setPath(String Path)
Set API 的后端服务路径,如 /path。如果 ServiceType 是 HTTP,则此参数必传。前后端路径可不同。
|
void |
setProduct(String Product)
Set 后端类型。启用vpc时生效,目前支持的类型为clb。
|
void |
setUniqVpcId(String UniqVpcId)
Set vpc 的唯一ID。
|
void |
setUrl(String Url)
Set API 的后端服务url。如果ServiceType是HTTP,则此参数必传。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getProduct()
public void setProduct(String Product)
Product
- 后端类型。启用vpc时生效,目前支持的类型为clb。public String getUniqVpcId()
public void setUniqVpcId(String UniqVpcId)
UniqVpcId
- vpc 的唯一ID。public String getUrl()
public void setUrl(String Url)
Url
- API 的后端服务url。如果ServiceType是HTTP,则此参数必传。public String getPath()
public void setPath(String Path)
Path
- API 的后端服务路径,如 /path。如果 ServiceType 是 HTTP,则此参数必传。前后端路径可不同。public String getMethod()
public void setMethod(String Method)
Method
- API的后端服务请求方法,如 GET。如果 ServiceType 是 HTTP,则此参数必传。前后端方法可不同。Copyright © 2020. All rights reserved.