public class ServiceConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
ServiceConfig() |
ServiceConfig(ServiceConfig 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 |
---|---|
CosConfig |
getCosConfig()
Get API后端COS配置。如果 ServiceType 是 COS,则此参数必传。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getMethod()
Get API的后端服务请求方法,如 GET。如果 ServiceType 是 HTTP,则此参数必传。前后端方法可不同。
|
String |
getPath()
Get API 的后端服务路径,如 /path。如果 ServiceType 是 HTTP,则此参数必传。前后端路径可不同。
|
String |
getProduct()
Get 后端类型。启用vpc时生效,目前支持的类型为clb, cvm和upstream
|
String |
getUniqVpcId()
Get vpc 的唯一ID。
|
String |
getUpstreamId()
Get 当绑定vpc通道才需要
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getUrl()
Get API 的后端服务url。如果ServiceType是HTTP,则此参数必传。
|
void |
setCosConfig(CosConfig CosConfig)
Set API后端COS配置。如果 ServiceType 是 COS,则此参数必传。
注意:此字段可能返回 null,表示取不到有效值。
|
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, cvm和upstream
|
void |
setUniqVpcId(String UniqVpcId)
Set vpc 的唯一ID。
|
void |
setUpstreamId(String UpstreamId)
Set 当绑定vpc通道才需要
注意:此字段可能返回 null,表示取不到有效值。
|
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, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ServiceConfig()
public ServiceConfig(ServiceConfig source)
public String getProduct()
public void setProduct(String Product)
Product
- 后端类型。启用vpc时生效,目前支持的类型为clb, cvm和upstreampublic 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,则此参数必传。前后端方法可不同。public String getUpstreamId()
public void setUpstreamId(String UpstreamId)
UpstreamId
- 当绑定vpc通道才需要
注意:此字段可能返回 null,表示取不到有效值。public CosConfig getCosConfig()
public void setCosConfig(CosConfig CosConfig)
CosConfig
- API后端COS配置。如果 ServiceType 是 COS,则此参数必传。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.