public static class DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfig
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfigFunctionComputeConfig |
functionComputeConfig
The backend configuration items when the backend service is Function Compute.
|
String |
mock
Indicates whether the Mock mode is enabled.
|
DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfigMockHeaders |
mockHeaders
The mock headers.
|
String |
mockResult
The result returned when the Mock mode is enabled.
|
Integer |
mockStatusCode
The status code returned for service mocking.
|
String |
serviceAddress
The URL used to call the back-end service.
|
String |
serviceHttpMethod
The HTTP method used to call a backend service.
|
String |
servicePath
The path used to call the back-end service.
|
String |
serviceProtocol
The backend service protocol.
|
Integer |
serviceTimeout
The timeout period of the backend service.
|
String |
serviceVpcEnable
Indicates whether the VPC channel is enabled.
|
DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfigVpcConfig |
vpcConfig
The configuration items of the VPC channel.
|
String |
vpcId
The ID of the VPC.
|
| 构造器和说明 |
|---|
DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfig() |
@NameInMap(value="FunctionComputeConfig") public DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfigFunctionComputeConfig functionComputeConfig
The backend configuration items when the backend service is Function Compute.
@NameInMap(value="Mock") public String mock
Indicates whether the Mock mode is enabled. Valid values:
* **TRUE: The Mock mode is enabled.**
* **FALSE: The Mock mode is not enabled.
@NameInMap(value="MockHeaders") public DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfigMockHeaders mockHeaders
The mock headers.
@NameInMap(value="MockResult") public String mockResult
The result returned when the Mock mode is enabled.
@NameInMap(value="MockStatusCode") public Integer mockStatusCode
The status code returned for service mocking.
@NameInMap(value="ServiceAddress") public String serviceAddress
The URL used to call the back-end service. If the complete back-end service URL is `http://api.a.com:8080/object/add?key1=value1&key2=value2`, the value of **ServiceAddress** is `http://api.a.com:8080`.
@NameInMap(value="ServiceHttpMethod") public String serviceHttpMethod
The HTTP method used to call a backend service. Valid values: GET, POST, DELETE, PUT, HEADER, TRACE, PATCH, CONNECT, and OPTIONS.
@NameInMap(value="ServicePath") public String servicePath
The path used to call the back-end service. If the complete back-end service path is `http://api.a.com:8080/object/add?key1=value1&key2=value2`, **ServicePath** is `/object/add`.
@NameInMap(value="ServiceProtocol") public String serviceProtocol
The backend service protocol. Currently, only HTTP, HTTPS, and FunctionCompute are supported.
@NameInMap(value="ServiceTimeout") public Integer serviceTimeout
The timeout period of the backend service. Unit: milliseconds.
@NameInMap(value="ServiceVpcEnable") public String serviceVpcEnable
Indicates whether the VPC channel is enabled. Valid values:
* **TRUE**: The VPC channel is enabled. You must create the corresponding VPC access authorization before you can enable a VPC channel.
* **FALSE**: The VPC channel is not enabled.
@NameInMap(value="VpcConfig") public DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfigVpcConfig vpcConfig
The configuration items of the VPC channel.
@NameInMap(value="VpcId") public String vpcId
The ID of the VPC.
public DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfig()
public static DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfig build(Map<String,?> map) throws Exception
Exceptionpublic DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfig setFunctionComputeConfig(DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfigFunctionComputeConfig functionComputeConfig)
public DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfigFunctionComputeConfig getFunctionComputeConfig()
public DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfig setMock(String mock)
public String getMock()
public DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfig setMockHeaders(DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfigMockHeaders mockHeaders)
public DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfigMockHeaders getMockHeaders()
public DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfig setMockResult(String mockResult)
public String getMockResult()
public DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfig setMockStatusCode(Integer mockStatusCode)
public Integer getMockStatusCode()
public DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfig setServiceAddress(String serviceAddress)
public String getServiceAddress()
public DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfig setServiceHttpMethod(String serviceHttpMethod)
public String getServiceHttpMethod()
public DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfig setServicePath(String servicePath)
public String getServicePath()
public DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfig setServiceProtocol(String serviceProtocol)
public String getServiceProtocol()
public DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfig setServiceTimeout(Integer serviceTimeout)
public Integer getServiceTimeout()
public DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfig setServiceVpcEnable(String serviceVpcEnable)
public String getServiceVpcEnable()
public DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfig setVpcConfig(DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfigVpcConfig vpcConfig)
public DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfigVpcConfig getVpcConfig()
public DescribeDeployedApiResponseBody.DescribeDeployedApiResponseBodyServiceConfig setVpcId(String vpcId)
public String getVpcId()
Copyright © 2023. All rights reserved.