public class ServiceConfig extends AbstractModel
Constructor and Description |
---|
ServiceConfig() |
Modifier and Type | Method and Description |
---|---|
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 Backend type, which takes effect when VPC is enabled.
|
String |
getUniqVpcId()
Get Unique VPC ID.
|
String |
getUrl()
Get API backend service URL, which is required if `ServiceType` is `HTTP`.
|
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 Backend type, which takes effect when VPC is enabled.
|
void |
setUniqVpcId(String UniqVpcId)
Set Unique VPC ID.
|
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getProduct()
public void setProduct(String Product)
Product
- Backend type, which takes effect when VPC is enabled. Currently, only `clb` is supported.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 differentCopyright © 2020. All rights reserved.