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 backend COS configuration. | 
| String | getMethod()Get API backend service request method, such as `GET`, which is required if `ServiceType` is `HTTP`. | 
| String | getPath()Get API backend service path, such as `/path`, which is required if `ServiceType` is `HTTP`. | 
| String | getProduct()Get The backend type. | 
| String | getUniqVpcId()Get Unique VPC ID. | 
| String | getUpstreamId()Get It’s required for `upstream`. | 
| String | getUrl()Get API backend service URL, which is required if `ServiceType` is `HTTP`. | 
| void | setCosConfig(CosConfig CosConfig)Set API backend COS configuration. | 
| void | setMethod(String Method)Set API backend service request method, such as `GET`, which is required if `ServiceType` is `HTTP`. | 
| void | setPath(String Path)Set API backend service path, such as `/path`, which is required if `ServiceType` is `HTTP`. | 
| void | setProduct(String Product)Set The backend type. | 
| void | setUniqVpcId(String UniqVpcId)Set Unique VPC ID. | 
| void | setUpstreamId(String UpstreamId)Set It’s required for `upstream`. | 
| void | setUrl(String Url)Set API backend service URL, which is required if `ServiceType` is `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, toJsonStringpublic ServiceConfig()
public ServiceConfig(ServiceConfig source)
public String getProduct()
public void setProduct(String Product)
Product - The backend type. It’s available when `vpc` is enabled. Values: `clb`, `cvm` and `upstream`.public String getUniqVpcId()
public void setUniqVpcId(String UniqVpcId)
UniqVpcId - Unique VPC ID.public String getUrl()
public void setUrl(String Url)
Url - API backend service URL, which is required if `ServiceType` is `HTTP`.public String getPath()
public void setPath(String Path)
Path - API backend service path, such as `/path`, which is required if `ServiceType` is `HTTP`. The frontend and backend paths can be different.public String getMethod()
public void setMethod(String Method)
Method - API backend service request method, such as `GET`, which is required if `ServiceType` is `HTTP`. The frontend and backend methods can be differentpublic String getUpstreamId()
public void setUpstreamId(String UpstreamId)
UpstreamId - It’s required for `upstream`.
Note: This field may return `NULL`, indicating that no valid value was found.public CosConfig getCosConfig()
public void setCosConfig(CosConfig CosConfig)
CosConfig - API backend COS configuration. It’s required if the `ServiceType` is ·`COS`.
Note: this field may return `null`, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.