All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.cloudapi20160714.models.DescribeDeployedApiResponseBody Maven / Gradle / Ivy

There is a newer version: 3.0.23
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.models;

import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link DescribeDeployedApiResponseBody} extends {@link TeaModel}
 *
 * 

DescribeDeployedApiResponseBody

*/ public class DescribeDeployedApiResponseBody extends TeaModel { @NameInMap("AllowSignatureMethod") private String allowSignatureMethod; @NameInMap("ApiId") private String apiId; @NameInMap("ApiName") private String apiName; @NameInMap("AuthType") private String authType; @NameInMap("ConstantParameters") private ConstantParameters constantParameters; @NameInMap("CustomSystemParameters") private CustomSystemParameters customSystemParameters; @NameInMap("DeployedTime") private String deployedTime; @NameInMap("Description") private String description; @NameInMap("DisableInternet") private Boolean disableInternet; @NameInMap("ErrorCodeSamples") private ErrorCodeSamples errorCodeSamples; @NameInMap("FailResultSample") private String failResultSample; @NameInMap("ForceNonceCheck") private Boolean forceNonceCheck; @NameInMap("GroupId") private String groupId; @NameInMap("GroupName") private String groupName; @NameInMap("OpenIdConnectConfig") private OpenIdConnectConfig openIdConnectConfig; @NameInMap("RegionId") private String regionId; @NameInMap("RequestConfig") private RequestConfig requestConfig; @NameInMap("RequestId") private String requestId; @NameInMap("RequestParameters") private RequestParameters requestParameters; @NameInMap("ResultBodyModel") private String resultBodyModel; @NameInMap("ResultDescriptions") private ResultDescriptions resultDescriptions; @NameInMap("ResultSample") private String resultSample; @NameInMap("ResultType") private String resultType; @NameInMap("ServiceConfig") private ServiceConfig serviceConfig; @NameInMap("ServiceParameters") private ServiceParameters serviceParameters; @NameInMap("ServiceParametersMap") private ServiceParametersMap serviceParametersMap; @NameInMap("StageName") private String stageName; @NameInMap("SystemParameters") private SystemParameters systemParameters; @NameInMap("Visibility") private String visibility; private DescribeDeployedApiResponseBody(Builder builder) { this.allowSignatureMethod = builder.allowSignatureMethod; this.apiId = builder.apiId; this.apiName = builder.apiName; this.authType = builder.authType; this.constantParameters = builder.constantParameters; this.customSystemParameters = builder.customSystemParameters; this.deployedTime = builder.deployedTime; this.description = builder.description; this.disableInternet = builder.disableInternet; this.errorCodeSamples = builder.errorCodeSamples; this.failResultSample = builder.failResultSample; this.forceNonceCheck = builder.forceNonceCheck; this.groupId = builder.groupId; this.groupName = builder.groupName; this.openIdConnectConfig = builder.openIdConnectConfig; this.regionId = builder.regionId; this.requestConfig = builder.requestConfig; this.requestId = builder.requestId; this.requestParameters = builder.requestParameters; this.resultBodyModel = builder.resultBodyModel; this.resultDescriptions = builder.resultDescriptions; this.resultSample = builder.resultSample; this.resultType = builder.resultType; this.serviceConfig = builder.serviceConfig; this.serviceParameters = builder.serviceParameters; this.serviceParametersMap = builder.serviceParametersMap; this.stageName = builder.stageName; this.systemParameters = builder.systemParameters; this.visibility = builder.visibility; } public static Builder builder() { return new Builder(); } public static DescribeDeployedApiResponseBody create() { return builder().build(); } /** * @return allowSignatureMethod */ public String getAllowSignatureMethod() { return this.allowSignatureMethod; } /** * @return apiId */ public String getApiId() { return this.apiId; } /** * @return apiName */ public String getApiName() { return this.apiName; } /** * @return authType */ public String getAuthType() { return this.authType; } /** * @return constantParameters */ public ConstantParameters getConstantParameters() { return this.constantParameters; } /** * @return customSystemParameters */ public CustomSystemParameters getCustomSystemParameters() { return this.customSystemParameters; } /** * @return deployedTime */ public String getDeployedTime() { return this.deployedTime; } /** * @return description */ public String getDescription() { return this.description; } /** * @return disableInternet */ public Boolean getDisableInternet() { return this.disableInternet; } /** * @return errorCodeSamples */ public ErrorCodeSamples getErrorCodeSamples() { return this.errorCodeSamples; } /** * @return failResultSample */ public String getFailResultSample() { return this.failResultSample; } /** * @return forceNonceCheck */ public Boolean getForceNonceCheck() { return this.forceNonceCheck; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return groupName */ public String getGroupName() { return this.groupName; } /** * @return openIdConnectConfig */ public OpenIdConnectConfig getOpenIdConnectConfig() { return this.openIdConnectConfig; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return requestConfig */ public RequestConfig getRequestConfig() { return this.requestConfig; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return requestParameters */ public RequestParameters getRequestParameters() { return this.requestParameters; } /** * @return resultBodyModel */ public String getResultBodyModel() { return this.resultBodyModel; } /** * @return resultDescriptions */ public ResultDescriptions getResultDescriptions() { return this.resultDescriptions; } /** * @return resultSample */ public String getResultSample() { return this.resultSample; } /** * @return resultType */ public String getResultType() { return this.resultType; } /** * @return serviceConfig */ public ServiceConfig getServiceConfig() { return this.serviceConfig; } /** * @return serviceParameters */ public ServiceParameters getServiceParameters() { return this.serviceParameters; } /** * @return serviceParametersMap */ public ServiceParametersMap getServiceParametersMap() { return this.serviceParametersMap; } /** * @return stageName */ public String getStageName() { return this.stageName; } /** * @return systemParameters */ public SystemParameters getSystemParameters() { return this.systemParameters; } /** * @return visibility */ public String getVisibility() { return this.visibility; } public static final class Builder { private String allowSignatureMethod; private String apiId; private String apiName; private String authType; private ConstantParameters constantParameters; private CustomSystemParameters customSystemParameters; private String deployedTime; private String description; private Boolean disableInternet; private ErrorCodeSamples errorCodeSamples; private String failResultSample; private Boolean forceNonceCheck; private String groupId; private String groupName; private OpenIdConnectConfig openIdConnectConfig; private String regionId; private RequestConfig requestConfig; private String requestId; private RequestParameters requestParameters; private String resultBodyModel; private ResultDescriptions resultDescriptions; private String resultSample; private String resultType; private ServiceConfig serviceConfig; private ServiceParameters serviceParameters; private ServiceParametersMap serviceParametersMap; private String stageName; private SystemParameters systemParameters; private String visibility; /** * The signature method used by the client. Valid values: *

* * * HmacSHA256 * * HmacSHA1,HmacSHA256 */ public Builder allowSignatureMethod(String allowSignatureMethod) { this.allowSignatureMethod = allowSignatureMethod; return this; } /** * The ID of the API. */ public Builder apiId(String apiId) { this.apiId = apiId; return this; } /** * The name of the API. */ public Builder apiName(String apiName) { this.apiName = apiName; return this; } /** * The authentication method of the API. Valid values: *

* * * **APP:** Only authorized apps are allowed to call the API. * * * **ANONYMOUS**: The API can be anonymously called. In this mode, you must take note of the following rules: * * * All users who have obtained the API service information can call this API. API Gateway does not authenticate callers and cannot set user-specific throttling policies. If the API is made public, set API-specific throttling policies. */ public Builder authType(String authType) { this.authType = authType; return this; } /** * The constant parameters. */ public Builder constantParameters(ConstantParameters constantParameters) { this.constantParameters = constantParameters; return this; } /** * The custom system parameters. */ public Builder customSystemParameters(CustomSystemParameters customSystemParameters) { this.customSystemParameters = customSystemParameters; return this; } /** * The deployment time. Format: yyyy-mm-ddhh:mm:ss. */ public Builder deployedTime(String deployedTime) { this.deployedTime = deployedTime; return this; } /** * The description of the parameter. */ public Builder description(String description) { this.description = description; return this; } /** * * Indicates whether to call the API only in an internal network. If this parameter is set to **true**, the API can be called only in an internal network. *

* * If this parameter is set to **false**, the API can be called over the Internet and in an internal network. * * > If you do not configure this parameter when you modify the API, the original value is used. */ public Builder disableInternet(Boolean disableInternet) { this.disableInternet = disableInternet; return this; } /** * The sample error codes returned by the backend service. *

* * For more information, see [ErrorCodeSample](~~44392~~). */ public Builder errorCodeSamples(ErrorCodeSamples errorCodeSamples) { this.errorCodeSamples = errorCodeSamples; return this; } /** * The sample error response from the backend service. */ public Builder failResultSample(String failResultSample) { this.failResultSample = failResultSample; return this; } /** * * Indicates whether to forcibly check X-Ca-Nonce. If the **ForceNonceCheck** parameter is set to **true**, X-Ca-Nonce is forcibly checked. X-Ca-Nonce is the unique identifier of a request and is generally identified by UUID. After receiving this parameter, API Gateway verifies the validity of this parameter. The same value can be used only once within 15 minutes. This helps prevent replay attacks. *

* * If the **ForceNonceCheck** parameter is set to **false**, the X-Ca-Nonce is not checked. Default value: false. */ public Builder forceNonceCheck(Boolean forceNonceCheck) { this.forceNonceCheck = forceNonceCheck; return this; } /** * The ID of the API group. */ public Builder groupId(String groupId) { this.groupId = groupId; return this; } /** * The name of the API group. */ public Builder groupName(String groupName) { this.groupName = groupName; return this; } /** * The configuration items of the third-party OpenID Connect authentication method. */ public Builder openIdConnectConfig(OpenIdConnectConfig openIdConnectConfig) { this.openIdConnectConfig = openIdConnectConfig; return this; } /** * The region in which the API group resides. */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * The configuration items of API requests sent by the consumer to API Gateway. *

* * For more information, see [RequestConfig](~~43985~~). */ public Builder requestConfig(RequestConfig requestConfig) { this.requestConfig = requestConfig; return this; } /** * The ID of the request. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The parameters of API requests sent by the consumer to API Gateway. *

* * For more information, see [RequestParameter](~~43986~~). */ public Builder requestParameters(RequestParameters requestParameters) { this.requestParameters = requestParameters; return this; } /** * The return description of the API. */ public Builder resultBodyModel(String resultBodyModel) { this.resultBodyModel = resultBodyModel; return this; } /** * The returned description of the API. */ public Builder resultDescriptions(ResultDescriptions resultDescriptions) { this.resultDescriptions = resultDescriptions; return this; } /** * The sample response from the backend service. */ public Builder resultSample(String resultSample) { this.resultSample = resultSample; return this; } /** * The format of the response from the backend service. Valid values: JSON, TEXT, BINARY, XML, and HTML. Default value: JSON. */ public Builder resultType(String resultType) { this.resultType = resultType; return this; } /** * The configuration items of API requests sent by API Gateway to the backend service. *

* * For more information, see [ServiceConfig](~~43987~~). */ public Builder serviceConfig(ServiceConfig serviceConfig) { this.serviceConfig = serviceConfig; return this; } /** * The parameters of API requests sent by API Gateway to the backend service. *

* * For more information, see [ServiceParameter](~~43988~~). */ public Builder serviceParameters(ServiceParameters serviceParameters) { this.serviceParameters = serviceParameters; return this; } /** * The mappings between parameters of requests sent by the consumer to API Gateway and parameters of requests sent by API Gateway to the backend service. *

* * For more information, see [ServiceParameterMap](~~43989~~). */ public Builder serviceParametersMap(ServiceParametersMap serviceParametersMap) { this.serviceParametersMap = serviceParametersMap; return this; } /** * The environment in which the API runs. Valid values: *

* * * **RELEASE**: the production environment * * **PRE**: the pre-release environment * * **TEST**: the test environment */ public Builder stageName(String stageName) { this.stageName = stageName; return this; } /** * The system parameters. */ public Builder systemParameters(SystemParameters systemParameters) { this.systemParameters = systemParameters; return this; } /** * Indicates whether the API is public. Valid values: *

* * * **PUBLIC:** The API is public. If this parameter is set to PUBLIC, the API is displayed on the APIs page for all users after the API is published to the production environment. * * **PRIVATE:** The API is private. Private APIs are not displayed in the Alibaba Cloud Marketplace after the API group to which they belong is made available. */ public Builder visibility(String visibility) { this.visibility = visibility; return this; } public DescribeDeployedApiResponseBody build() { return new DescribeDeployedApiResponseBody(this); } } public static class ConstantParameter extends TeaModel { @NameInMap("ConstantValue") private String constantValue; @NameInMap("Description") private String description; @NameInMap("Location") private String location; @NameInMap("ServiceParameterName") private String serviceParameterName; private ConstantParameter(Builder builder) { this.constantValue = builder.constantValue; this.description = builder.description; this.location = builder.location; this.serviceParameterName = builder.serviceParameterName; } public static Builder builder() { return new Builder(); } public static ConstantParameter create() { return builder().build(); } /** * @return constantValue */ public String getConstantValue() { return this.constantValue; } /** * @return description */ public String getDescription() { return this.description; } /** * @return location */ public String getLocation() { return this.location; } /** * @return serviceParameterName */ public String getServiceParameterName() { return this.serviceParameterName; } public static final class Builder { private String constantValue; private String description; private String location; private String serviceParameterName; /** * The constant value. */ public Builder constantValue(String constantValue) { this.constantValue = constantValue; return this; } /** * The description of the parameter. */ public Builder description(String description) { this.description = description; return this; } /** * The parameter location. Valid values: BODY, HEAD, QUERY, and PATH. */ public Builder location(String location) { this.location = location; return this; } /** * The name of the backend service parameter. */ public Builder serviceParameterName(String serviceParameterName) { this.serviceParameterName = serviceParameterName; return this; } public ConstantParameter build() { return new ConstantParameter(this); } } } public static class ConstantParameters extends TeaModel { @NameInMap("ConstantParameter") private java.util.List < ConstantParameter> constantParameter; private ConstantParameters(Builder builder) { this.constantParameter = builder.constantParameter; } public static Builder builder() { return new Builder(); } public static ConstantParameters create() { return builder().build(); } /** * @return constantParameter */ public java.util.List < ConstantParameter> getConstantParameter() { return this.constantParameter; } public static final class Builder { private java.util.List < ConstantParameter> constantParameter; /** * ConstantParameter. */ public Builder constantParameter(java.util.List < ConstantParameter> constantParameter) { this.constantParameter = constantParameter; return this; } public ConstantParameters build() { return new ConstantParameters(this); } } } public static class CustomSystemParameter extends TeaModel { @NameInMap("DemoValue") private String demoValue; @NameInMap("Description") private String description; @NameInMap("Location") private String location; @NameInMap("ParameterName") private String parameterName; @NameInMap("ServiceParameterName") private String serviceParameterName; private CustomSystemParameter(Builder builder) { this.demoValue = builder.demoValue; this.description = builder.description; this.location = builder.location; this.parameterName = builder.parameterName; this.serviceParameterName = builder.serviceParameterName; } public static Builder builder() { return new Builder(); } public static CustomSystemParameter create() { return builder().build(); } /** * @return demoValue */ public String getDemoValue() { return this.demoValue; } /** * @return description */ public String getDescription() { return this.description; } /** * @return location */ public String getLocation() { return this.location; } /** * @return parameterName */ public String getParameterName() { return this.parameterName; } /** * @return serviceParameterName */ public String getServiceParameterName() { return this.serviceParameterName; } public static final class Builder { private String demoValue; private String description; private String location; private String parameterName; private String serviceParameterName; /** * The sample value. */ public Builder demoValue(String demoValue) { this.demoValue = demoValue; return this; } /** * The description of the parameter. */ public Builder description(String description) { this.description = description; return this; } /** * The parameter location. Valid values: BODY, HEAD, QUERY, and PATH. */ public Builder location(String location) { this.location = location; return this; } /** * The name of the custom system parameter. */ public Builder parameterName(String parameterName) { this.parameterName = parameterName; return this; } /** * The name of the corresponding backend parameter. */ public Builder serviceParameterName(String serviceParameterName) { this.serviceParameterName = serviceParameterName; return this; } public CustomSystemParameter build() { return new CustomSystemParameter(this); } } } public static class CustomSystemParameters extends TeaModel { @NameInMap("CustomSystemParameter") private java.util.List < CustomSystemParameter> customSystemParameter; private CustomSystemParameters(Builder builder) { this.customSystemParameter = builder.customSystemParameter; } public static Builder builder() { return new Builder(); } public static CustomSystemParameters create() { return builder().build(); } /** * @return customSystemParameter */ public java.util.List < CustomSystemParameter> getCustomSystemParameter() { return this.customSystemParameter; } public static final class Builder { private java.util.List < CustomSystemParameter> customSystemParameter; /** * CustomSystemParameter. */ public Builder customSystemParameter(java.util.List < CustomSystemParameter> customSystemParameter) { this.customSystemParameter = customSystemParameter; return this; } public CustomSystemParameters build() { return new CustomSystemParameters(this); } } } public static class ErrorCodeSample extends TeaModel { @NameInMap("Code") private String code; @NameInMap("Description") private String description; @NameInMap("Message") private String message; private ErrorCodeSample(Builder builder) { this.code = builder.code; this.description = builder.description; this.message = builder.message; } public static Builder builder() { return new Builder(); } public static ErrorCodeSample create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return description */ public String getDescription() { return this.description; } /** * @return message */ public String getMessage() { return this.message; } public static final class Builder { private String code; private String description; private String message; /** * The error code returned if the request failed. */ public Builder code(String code) { this.code = code; return this; } /** * The description of the error. */ public Builder description(String description) { this.description = description; return this; } /** * The error message returned if the request failed. */ public Builder message(String message) { this.message = message; return this; } public ErrorCodeSample build() { return new ErrorCodeSample(this); } } } public static class ErrorCodeSamples extends TeaModel { @NameInMap("ErrorCodeSample") private java.util.List < ErrorCodeSample> errorCodeSample; private ErrorCodeSamples(Builder builder) { this.errorCodeSample = builder.errorCodeSample; } public static Builder builder() { return new Builder(); } public static ErrorCodeSamples create() { return builder().build(); } /** * @return errorCodeSample */ public java.util.List < ErrorCodeSample> getErrorCodeSample() { return this.errorCodeSample; } public static final class Builder { private java.util.List < ErrorCodeSample> errorCodeSample; /** * ErrorCodeSample. */ public Builder errorCodeSample(java.util.List < ErrorCodeSample> errorCodeSample) { this.errorCodeSample = errorCodeSample; return this; } public ErrorCodeSamples build() { return new ErrorCodeSamples(this); } } } public static class OpenIdConnectConfig extends TeaModel { @NameInMap("IdTokenParamName") private String idTokenParamName; @NameInMap("OpenIdApiType") private String openIdApiType; @NameInMap("PublicKey") private String publicKey; @NameInMap("PublicKeyId") private String publicKeyId; private OpenIdConnectConfig(Builder builder) { this.idTokenParamName = builder.idTokenParamName; this.openIdApiType = builder.openIdApiType; this.publicKey = builder.publicKey; this.publicKeyId = builder.publicKeyId; } public static Builder builder() { return new Builder(); } public static OpenIdConnectConfig create() { return builder().build(); } /** * @return idTokenParamName */ public String getIdTokenParamName() { return this.idTokenParamName; } /** * @return openIdApiType */ public String getOpenIdApiType() { return this.openIdApiType; } /** * @return publicKey */ public String getPublicKey() { return this.publicKey; } /** * @return publicKeyId */ public String getPublicKeyId() { return this.publicKeyId; } public static final class Builder { private String idTokenParamName; private String openIdApiType; private String publicKey; private String publicKeyId; /** * The name of the parameter that corresponds to the token. */ public Builder idTokenParamName(String idTokenParamName) { this.idTokenParamName = idTokenParamName; return this; } /** * The OpenID Connect mode. Valid values: *

* * * **IDTOKEN:** OpenID Connect calls the authentication API to issue tokens. If the value is specified, the PublicKeyId parameter and the PublicKey parameter are required. * * **BUSINESS:** OpenID Connect calls the business API to verify identities by using existing tokens. If this value is specified, the IdTokenParamName parameter is required. */ public Builder openIdApiType(String openIdApiType) { this.openIdApiType = openIdApiType; return this; } /** * The public key of the API. */ public Builder publicKey(String publicKey) { this.publicKey = publicKey; return this; } /** * The ID of the public key. */ public Builder publicKeyId(String publicKeyId) { this.publicKeyId = publicKeyId; return this; } public OpenIdConnectConfig build() { return new OpenIdConnectConfig(this); } } } public static class RequestConfig extends TeaModel { @NameInMap("BodyFormat") private String bodyFormat; @NameInMap("BodyModel") private String bodyModel; @NameInMap("PostBodyDescription") private String postBodyDescription; @NameInMap("RequestHttpMethod") private String requestHttpMethod; @NameInMap("RequestMode") private String requestMode; @NameInMap("RequestPath") private String requestPath; @NameInMap("RequestProtocol") private String requestProtocol; private RequestConfig(Builder builder) { this.bodyFormat = builder.bodyFormat; this.bodyModel = builder.bodyModel; this.postBodyDescription = builder.postBodyDescription; this.requestHttpMethod = builder.requestHttpMethod; this.requestMode = builder.requestMode; this.requestPath = builder.requestPath; this.requestProtocol = builder.requestProtocol; } public static Builder builder() { return new Builder(); } public static RequestConfig create() { return builder().build(); } /** * @return bodyFormat */ public String getBodyFormat() { return this.bodyFormat; } /** * @return bodyModel */ public String getBodyModel() { return this.bodyModel; } /** * @return postBodyDescription */ public String getPostBodyDescription() { return this.postBodyDescription; } /** * @return requestHttpMethod */ public String getRequestHttpMethod() { return this.requestHttpMethod; } /** * @return requestMode */ public String getRequestMode() { return this.requestMode; } /** * @return requestPath */ public String getRequestPath() { return this.requestPath; } /** * @return requestProtocol */ public String getRequestProtocol() { return this.requestProtocol; } public static final class Builder { private String bodyFormat; private String bodyModel; private String postBodyDescription; private String requestHttpMethod; private String requestMode; private String requestPath; private String requestProtocol; /** * This parameter takes effect only when the **RequestMode** parameter is set to **MAPPING**. *

* * The format in which data is transmitted to the server for POST and PUT requests. Valid values: **FORM** and **STREAM**. FORM indicates that data is transmitted in the key-value pair format. STREAM indicates that data is transmitted as byte streams. */ public Builder bodyFormat(String bodyFormat) { this.bodyFormat = bodyFormat; return this; } /** * The body model. */ public Builder bodyModel(String bodyModel) { this.bodyModel = bodyModel; return this; } /** * The description of the request body. */ public Builder postBodyDescription(String postBodyDescription) { this.postBodyDescription = postBodyDescription; return this; } /** * The HTTP method that is used to make the request. Valid values: GET, POST, DELETE, PUT, HEADER, TRACE, PATCH, CONNECT, and OPTIONS. */ public Builder requestHttpMethod(String requestHttpMethod) { this.requestHttpMethod = requestHttpMethod; return this; } /** * The request mode. Valid values: *

* * * MAPPING: Parameters are mapped. Unknown parameters are filtered out. * * PASSTHROUGH: Parameters are passed through. * * MAPPING_PASSTHROUGH: Parameters are mapped. Unknown parameters are passed through. */ public Builder requestMode(String requestMode) { this.requestMode = requestMode; return this; } /** * The path of the API request. If the complete API URL is `http://api.a.com:8080/object/add?key1=value1&key2=value2`, The path of the API request is ` /object/add `. */ public Builder requestPath(String requestPath) { this.requestPath = requestPath; return this; } /** * The protocol type supported by the API. Valid values: HTTP, HTTPS, and WebSocket. Separate multiple values with commas (,). Example: "HTTP,HTTPS". */ public Builder requestProtocol(String requestProtocol) { this.requestProtocol = requestProtocol; return this; } public RequestConfig build() { return new RequestConfig(this); } } } public static class RequestParameter extends TeaModel { @NameInMap("ApiParameterName") private String apiParameterName; @NameInMap("ArrayItemsType") private String arrayItemsType; @NameInMap("DefaultValue") private String defaultValue; @NameInMap("DemoValue") private String demoValue; @NameInMap("Description") private String description; @NameInMap("DocOrder") private Integer docOrder; @NameInMap("DocShow") private String docShow; @NameInMap("EnumValue") private String enumValue; @NameInMap("JsonScheme") private String jsonScheme; @NameInMap("Location") private String location; @NameInMap("MaxLength") private Long maxLength; @NameInMap("MaxValue") private Long maxValue; @NameInMap("MinLength") private Long minLength; @NameInMap("MinValue") private Long minValue; @NameInMap("ParameterType") private String parameterType; @NameInMap("RegularExpression") private String regularExpression; @NameInMap("Required") private String required; private RequestParameter(Builder builder) { this.apiParameterName = builder.apiParameterName; this.arrayItemsType = builder.arrayItemsType; this.defaultValue = builder.defaultValue; this.demoValue = builder.demoValue; this.description = builder.description; this.docOrder = builder.docOrder; this.docShow = builder.docShow; this.enumValue = builder.enumValue; this.jsonScheme = builder.jsonScheme; this.location = builder.location; this.maxLength = builder.maxLength; this.maxValue = builder.maxValue; this.minLength = builder.minLength; this.minValue = builder.minValue; this.parameterType = builder.parameterType; this.regularExpression = builder.regularExpression; this.required = builder.required; } public static Builder builder() { return new Builder(); } public static RequestParameter create() { return builder().build(); } /** * @return apiParameterName */ public String getApiParameterName() { return this.apiParameterName; } /** * @return arrayItemsType */ public String getArrayItemsType() { return this.arrayItemsType; } /** * @return defaultValue */ public String getDefaultValue() { return this.defaultValue; } /** * @return demoValue */ public String getDemoValue() { return this.demoValue; } /** * @return description */ public String getDescription() { return this.description; } /** * @return docOrder */ public Integer getDocOrder() { return this.docOrder; } /** * @return docShow */ public String getDocShow() { return this.docShow; } /** * @return enumValue */ public String getEnumValue() { return this.enumValue; } /** * @return jsonScheme */ public String getJsonScheme() { return this.jsonScheme; } /** * @return location */ public String getLocation() { return this.location; } /** * @return maxLength */ public Long getMaxLength() { return this.maxLength; } /** * @return maxValue */ public Long getMaxValue() { return this.maxValue; } /** * @return minLength */ public Long getMinLength() { return this.minLength; } /** * @return minValue */ public Long getMinValue() { return this.minValue; } /** * @return parameterType */ public String getParameterType() { return this.parameterType; } /** * @return regularExpression */ public String getRegularExpression() { return this.regularExpression; } /** * @return required */ public String getRequired() { return this.required; } public static final class Builder { private String apiParameterName; private String arrayItemsType; private String defaultValue; private String demoValue; private String description; private Integer docOrder; private String docShow; private String enumValue; private String jsonScheme; private String location; private Long maxLength; private Long maxValue; private Long minLength; private Long minValue; private String parameterType; private String regularExpression; private String required; /** * The name of the API parameter. */ public Builder apiParameterName(String apiParameterName) { this.apiParameterName = apiParameterName; return this; } /** * The type of the array element. */ public Builder arrayItemsType(String arrayItemsType) { this.arrayItemsType = arrayItemsType; return this; } /** * The default value. */ public Builder defaultValue(String defaultValue) { this.defaultValue = defaultValue; return this; } /** * The sample value. */ public Builder demoValue(String demoValue) { this.demoValue = demoValue; return this; } /** * The parameter description. */ public Builder description(String description) { this.description = description; return this; } /** * The order in the document. */ public Builder docOrder(Integer docOrder) { this.docOrder = docOrder; return this; } /** * Indicates whether the document is public. Valid values: **PUBLIC** and **PRIVATE**. */ public Builder docShow(String docShow) { this.docShow = docShow; return this; } /** * The hash values that can be entered when **ParameterType** is set to Int, Long, Float, Double, or String. Separate different values with commas (,). Examples: 1,2,3,4,9 and A,B,C,E,F. */ public Builder enumValue(String enumValue) { this.enumValue = enumValue; return this; } /** * JSON scheme */ public Builder jsonScheme(String jsonScheme) { this.jsonScheme = jsonScheme; return this; } /** * The parameter location. Valid values: BODY, HEAD, QUERY, and PATH. */ public Builder location(String location) { this.location = location; return this; } /** * The maximum length of the **ParameterType** parameter when the parameter is set to String. */ public Builder maxLength(Long maxLength) { this.maxLength = maxLength; return this; } /** * The maximum value of the **ParameterType** parameter when the parameter is set to Int, Long, Float, or Double. */ public Builder maxValue(Long maxValue) { this.maxValue = maxValue; return this; } /** * The minimum length of the **ParameterType** parameter when the parameter is set to String. */ public Builder minLength(Long minLength) { this.minLength = minLength; return this; } /** * The minimum value of the **ParameterType** parameter when the parameter is set to Int, Long, Float, or Double. */ public Builder minValue(Long minValue) { this.minValue = minValue; return this; } /** * The type of the parameter. Valid values: String, Int, Long, Float, Double, and Boolean. */ public Builder parameterType(String parameterType) { this.parameterType = parameterType; return this; } /** * The regular expression used for parameter validation when **ParameterType** is set to String. */ public Builder regularExpression(String regularExpression) { this.regularExpression = regularExpression; return this; } /** * Indicates whether the parameter is required. Valid values: **REQUIRED** and **OPTIONAL**. */ public Builder required(String required) { this.required = required; return this; } public RequestParameter build() { return new RequestParameter(this); } } } public static class RequestParameters extends TeaModel { @NameInMap("RequestParameter") private java.util.List < RequestParameter> requestParameter; private RequestParameters(Builder builder) { this.requestParameter = builder.requestParameter; } public static Builder builder() { return new Builder(); } public static RequestParameters create() { return builder().build(); } /** * @return requestParameter */ public java.util.List < RequestParameter> getRequestParameter() { return this.requestParameter; } public static final class Builder { private java.util.List < RequestParameter> requestParameter; /** * RequestParameter. */ public Builder requestParameter(java.util.List < RequestParameter> requestParameter) { this.requestParameter = requestParameter; return this; } public RequestParameters build() { return new RequestParameters(this); } } } public static class ResultDescription extends TeaModel { @NameInMap("Description") private String description; @NameInMap("HasChild") private Boolean hasChild; @NameInMap("Id") private String id; @NameInMap("Key") private String key; @NameInMap("Mandatory") private Boolean mandatory; @NameInMap("Name") private String name; @NameInMap("Pid") private String pid; @NameInMap("Type") private String type; private ResultDescription(Builder builder) { this.description = builder.description; this.hasChild = builder.hasChild; this.id = builder.id; this.key = builder.key; this.mandatory = builder.mandatory; this.name = builder.name; this.pid = builder.pid; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static ResultDescription create() { return builder().build(); } /** * @return description */ public String getDescription() { return this.description; } /** * @return hasChild */ public Boolean getHasChild() { return this.hasChild; } /** * @return id */ public String getId() { return this.id; } /** * @return key */ public String getKey() { return this.key; } /** * @return mandatory */ public Boolean getMandatory() { return this.mandatory; } /** * @return name */ public String getName() { return this.name; } /** * @return pid */ public String getPid() { return this.pid; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String description; private Boolean hasChild; private String id; private String key; private Boolean mandatory; private String name; private String pid; private String type; /** * The description of the parameter. */ public Builder description(String description) { this.description = description; return this; } /** * HasChild. */ public Builder hasChild(Boolean hasChild) { this.hasChild = hasChild; return this; } /** * Id. */ public Builder id(String id) { this.id = id; return this; } /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Indicates whether the parameter is required. */ public Builder mandatory(Boolean mandatory) { this.mandatory = mandatory; return this; } /** * Name. */ public Builder name(String name) { this.name = name; return this; } /** * Pid. */ public Builder pid(String pid) { this.pid = pid; return this; } /** * Type. */ public Builder type(String type) { this.type = type; return this; } public ResultDescription build() { return new ResultDescription(this); } } } public static class ResultDescriptions extends TeaModel { @NameInMap("ResultDescription") private java.util.List < ResultDescription> resultDescription; private ResultDescriptions(Builder builder) { this.resultDescription = builder.resultDescription; } public static Builder builder() { return new Builder(); } public static ResultDescriptions create() { return builder().build(); } /** * @return resultDescription */ public java.util.List < ResultDescription> getResultDescription() { return this.resultDescription; } public static final class Builder { private java.util.List < ResultDescription> resultDescription; /** * ResultDescription. */ public Builder resultDescription(java.util.List < ResultDescription> resultDescription) { this.resultDescription = resultDescription; return this; } public ResultDescriptions build() { return new ResultDescriptions(this); } } } public static class FunctionComputeConfig extends TeaModel { @NameInMap("ContentTypeCatagory") private String contentTypeCatagory; @NameInMap("ContentTypeValue") private String contentTypeValue; @NameInMap("FcBaseUrl") private String fcBaseUrl; @NameInMap("FcType") private String fcType; @NameInMap("FunctionName") private String functionName; @NameInMap("Method") private String method; @NameInMap("OnlyBusinessPath") private Boolean onlyBusinessPath; @NameInMap("Path") private String path; @NameInMap("Qualifier") private String qualifier; @NameInMap("RegionId") private String regionId; @NameInMap("RoleArn") private String roleArn; @NameInMap("ServiceName") private String serviceName; private FunctionComputeConfig(Builder builder) { this.contentTypeCatagory = builder.contentTypeCatagory; this.contentTypeValue = builder.contentTypeValue; this.fcBaseUrl = builder.fcBaseUrl; this.fcType = builder.fcType; this.functionName = builder.functionName; this.method = builder.method; this.onlyBusinessPath = builder.onlyBusinessPath; this.path = builder.path; this.qualifier = builder.qualifier; this.regionId = builder.regionId; this.roleArn = builder.roleArn; this.serviceName = builder.serviceName; } public static Builder builder() { return new Builder(); } public static FunctionComputeConfig create() { return builder().build(); } /** * @return contentTypeCatagory */ public String getContentTypeCatagory() { return this.contentTypeCatagory; } /** * @return contentTypeValue */ public String getContentTypeValue() { return this.contentTypeValue; } /** * @return fcBaseUrl */ public String getFcBaseUrl() { return this.fcBaseUrl; } /** * @return fcType */ public String getFcType() { return this.fcType; } /** * @return functionName */ public String getFunctionName() { return this.functionName; } /** * @return method */ public String getMethod() { return this.method; } /** * @return onlyBusinessPath */ public Boolean getOnlyBusinessPath() { return this.onlyBusinessPath; } /** * @return path */ public String getPath() { return this.path; } /** * @return qualifier */ public String getQualifier() { return this.qualifier; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return roleArn */ public String getRoleArn() { return this.roleArn; } /** * @return serviceName */ public String getServiceName() { return this.serviceName; } public static final class Builder { private String contentTypeCatagory; private String contentTypeValue; private String fcBaseUrl; private String fcType; private String functionName; private String method; private Boolean onlyBusinessPath; private String path; private String qualifier; private String regionId; private String roleArn; private String serviceName; /** * The ContentType header used when a backend HTTP service is called. Valid values: *

* * * **DEFAULT:** the default header in API Gateway * * **CUSTOM:** a custom header * * **CLIENT:** the ContentType header specified by the client */ public Builder contentTypeCatagory(String contentTypeCatagory) { this.contentTypeCatagory = contentTypeCatagory; return this; } /** * The value of the ContentType header when the ServiceProtocol parameter is set to HTTP and the ContentTypeCatagory parameter is set to DEFAULT or CUSTOM. */ public Builder contentTypeValue(String contentTypeValue) { this.contentTypeValue = contentTypeValue; return this; } /** * The root path of Function Compute. */ public Builder fcBaseUrl(String fcBaseUrl) { this.fcBaseUrl = fcBaseUrl; return this; } /** * The type of the Function Compute instance. */ public Builder fcType(String fcType) { this.fcType = fcType; return this; } /** * The function name defined in Function Compute. */ public Builder functionName(String functionName) { this.functionName = functionName; return this; } /** * The request method. */ public Builder method(String method) { this.method = method; return this; } /** * Indicates whether the backend receives only the service path. */ public Builder onlyBusinessPath(Boolean onlyBusinessPath) { this.onlyBusinessPath = onlyBusinessPath; return this; } /** * The API request path. */ public Builder path(String path) { this.path = path; return this; } /** * The alias of the function. */ public Builder qualifier(String qualifier) { this.qualifier = qualifier; return this; } /** * The region in which the instance resides. */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * The ARN of the RAM role assumed by API Gateway to access Function Compute. */ public Builder roleArn(String roleArn) { this.roleArn = roleArn; return this; } /** * The service name defined in Function Compute. */ public Builder serviceName(String serviceName) { this.serviceName = serviceName; return this; } public FunctionComputeConfig build() { return new FunctionComputeConfig(this); } } } public static class MockHeader extends TeaModel { @NameInMap("HeaderName") private String headerName; @NameInMap("HeaderValue") private String headerValue; private MockHeader(Builder builder) { this.headerName = builder.headerName; this.headerValue = builder.headerValue; } public static Builder builder() { return new Builder(); } public static MockHeader create() { return builder().build(); } /** * @return headerName */ public String getHeaderName() { return this.headerName; } /** * @return headerValue */ public String getHeaderValue() { return this.headerValue; } public static final class Builder { private String headerName; private String headerValue; /** * The name of the HTTP header parameter. */ public Builder headerName(String headerName) { this.headerName = headerName; return this; } /** * The value of the HTTP header parameter. */ public Builder headerValue(String headerValue) { this.headerValue = headerValue; return this; } public MockHeader build() { return new MockHeader(this); } } } public static class MockHeaders extends TeaModel { @NameInMap("MockHeader") private java.util.List < MockHeader> mockHeader; private MockHeaders(Builder builder) { this.mockHeader = builder.mockHeader; } public static Builder builder() { return new Builder(); } public static MockHeaders create() { return builder().build(); } /** * @return mockHeader */ public java.util.List < MockHeader> getMockHeader() { return this.mockHeader; } public static final class Builder { private java.util.List < MockHeader> mockHeader; /** * MockHeader. */ public Builder mockHeader(java.util.List < MockHeader> mockHeader) { this.mockHeader = mockHeader; return this; } public MockHeaders build() { return new MockHeaders(this); } } } public static class VpcConfig extends TeaModel { @NameInMap("InstanceId") private String instanceId; @NameInMap("Name") private String name; @NameInMap("Port") private Integer port; @NameInMap("VpcId") private String vpcId; private VpcConfig(Builder builder) { this.instanceId = builder.instanceId; this.name = builder.name; this.port = builder.port; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static VpcConfig create() { return builder().build(); } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return name */ public String getName() { return this.name; } /** * @return port */ public Integer getPort() { return this.port; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder { private String instanceId; private String name; private Integer port; private String vpcId; /** * The ID of the Elastic Compute Service (ECS) or Server Load Balancer (SLB) instance in the VPC. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * The name of the VPC access authorization. */ public Builder name(String name) { this.name = name; return this; } /** * The port number that corresponds to the instance. */ public Builder port(Integer port) { this.port = port; return this; } /** * The ID of the VPC. */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } public VpcConfig build() { return new VpcConfig(this); } } } public static class ServiceConfig extends TeaModel { @NameInMap("FunctionComputeConfig") private FunctionComputeConfig functionComputeConfig; @NameInMap("Mock") private String mock; @NameInMap("MockHeaders") private MockHeaders mockHeaders; @NameInMap("MockResult") private String mockResult; @NameInMap("MockStatusCode") private Integer mockStatusCode; @NameInMap("ServiceAddress") private String serviceAddress; @NameInMap("ServiceHttpMethod") private String serviceHttpMethod; @NameInMap("ServicePath") private String servicePath; @NameInMap("ServiceProtocol") private String serviceProtocol; @NameInMap("ServiceTimeout") private Integer serviceTimeout; @NameInMap("ServiceVpcEnable") private String serviceVpcEnable; @NameInMap("VpcConfig") private VpcConfig vpcConfig; @NameInMap("VpcId") private String vpcId; private ServiceConfig(Builder builder) { this.functionComputeConfig = builder.functionComputeConfig; this.mock = builder.mock; this.mockHeaders = builder.mockHeaders; this.mockResult = builder.mockResult; this.mockStatusCode = builder.mockStatusCode; this.serviceAddress = builder.serviceAddress; this.serviceHttpMethod = builder.serviceHttpMethod; this.servicePath = builder.servicePath; this.serviceProtocol = builder.serviceProtocol; this.serviceTimeout = builder.serviceTimeout; this.serviceVpcEnable = builder.serviceVpcEnable; this.vpcConfig = builder.vpcConfig; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static ServiceConfig create() { return builder().build(); } /** * @return functionComputeConfig */ public FunctionComputeConfig getFunctionComputeConfig() { return this.functionComputeConfig; } /** * @return mock */ public String getMock() { return this.mock; } /** * @return mockHeaders */ public MockHeaders getMockHeaders() { return this.mockHeaders; } /** * @return mockResult */ public String getMockResult() { return this.mockResult; } /** * @return mockStatusCode */ public Integer getMockStatusCode() { return this.mockStatusCode; } /** * @return serviceAddress */ public String getServiceAddress() { return this.serviceAddress; } /** * @return serviceHttpMethod */ public String getServiceHttpMethod() { return this.serviceHttpMethod; } /** * @return servicePath */ public String getServicePath() { return this.servicePath; } /** * @return serviceProtocol */ public String getServiceProtocol() { return this.serviceProtocol; } /** * @return serviceTimeout */ public Integer getServiceTimeout() { return this.serviceTimeout; } /** * @return serviceVpcEnable */ public String getServiceVpcEnable() { return this.serviceVpcEnable; } /** * @return vpcConfig */ public VpcConfig getVpcConfig() { return this.vpcConfig; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder { private FunctionComputeConfig functionComputeConfig; private String mock; private MockHeaders mockHeaders; private String mockResult; private Integer mockStatusCode; private String serviceAddress; private String serviceHttpMethod; private String servicePath; private String serviceProtocol; private Integer serviceTimeout; private String serviceVpcEnable; private VpcConfig vpcConfig; private String vpcId; /** * The backend configuration items when the backend service is Function Compute. */ public Builder functionComputeConfig(FunctionComputeConfig functionComputeConfig) { this.functionComputeConfig = functionComputeConfig; return this; } /** * Indicates whether the Mock mode is enabled. Valid values: *

* * * **TRUE:** The Mock mode is enabled. * * **FALSE:** The Mock mode is not enabled. */ public Builder mock(String mock) { this.mock = mock; return this; } /** * The mock headers. */ public Builder mockHeaders(MockHeaders mockHeaders) { this.mockHeaders = mockHeaders; return this; } /** * The result returned when the Mock mode is enabled. */ public Builder mockResult(String mockResult) { this.mockResult = mockResult; return this; } /** * The status code returned for service mock. */ public Builder mockStatusCode(Integer mockStatusCode) { this.mockStatusCode = mockStatusCode; return this; } /** * The URL that is used to call the backend service. If the complete URL of a backend service is `http://api.a.com:8080/object/add?key1=value1&key2=value2`, the value of ServiceAddress is **http://api.a.com:8080**.`` */ public Builder serviceAddress(String serviceAddress) { this.serviceAddress = serviceAddress; return this; } /** * The HTTP method that is used to call a backend service. Valid values: GET, POST, DELETE, PUT, HEADER, TRACE, PATCH, CONNECT, and OPTIONS. */ public Builder serviceHttpMethod(String serviceHttpMethod) { this.serviceHttpMethod = serviceHttpMethod; return this; } /** * The path that is used to call the backend service. If the complete URL of a backend service is `http://api.a.com:8080/object/add?key1=value1&key2=value2`, the value of the **ServicePath** parameter is `/object/add`. */ public Builder servicePath(String servicePath) { this.servicePath = servicePath; return this; } /** * The backend service protocol. Only HTTP, HTTPS, and Function Compute are supported. */ public Builder serviceProtocol(String serviceProtocol) { this.serviceProtocol = serviceProtocol; return this; } /** * The timeout period of the backend service. Unit: milliseconds. */ public Builder serviceTimeout(Integer serviceTimeout) { this.serviceTimeout = serviceTimeout; return this; } /** * Indicates whether to enable the VPC channel. Valid values: *

* * * **TRUE**: The VPC channel is enabled. You can enable a VPC channel only after you create the corresponding access authorization for the VPC. * * **FALSE**: The VPC channel is not enabled. */ public Builder serviceVpcEnable(String serviceVpcEnable) { this.serviceVpcEnable = serviceVpcEnable; return this; } /** * The configuration items of the VPC channel. */ public Builder vpcConfig(VpcConfig vpcConfig) { this.vpcConfig = vpcConfig; return this; } /** * The ID of the VPC. */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } public ServiceConfig build() { return new ServiceConfig(this); } } } public static class ServiceParameter extends TeaModel { @NameInMap("Location") private String location; @NameInMap("ParameterType") private String parameterType; @NameInMap("ServiceParameterName") private String serviceParameterName; private ServiceParameter(Builder builder) { this.location = builder.location; this.parameterType = builder.parameterType; this.serviceParameterName = builder.serviceParameterName; } public static Builder builder() { return new Builder(); } public static ServiceParameter create() { return builder().build(); } /** * @return location */ public String getLocation() { return this.location; } /** * @return parameterType */ public String getParameterType() { return this.parameterType; } /** * @return serviceParameterName */ public String getServiceParameterName() { return this.serviceParameterName; } public static final class Builder { private String location; private String parameterType; private String serviceParameterName; /** * The parameter location. Valid values: BODY, HEAD, QUERY, and PATH. */ public Builder location(String location) { this.location = location; return this; } /** * The data type of the backend service parameter. Valid values: STRING, NUMBER, and BOOLEAN. */ public Builder parameterType(String parameterType) { this.parameterType = parameterType; return this; } /** * The name of the backend service parameter. */ public Builder serviceParameterName(String serviceParameterName) { this.serviceParameterName = serviceParameterName; return this; } public ServiceParameter build() { return new ServiceParameter(this); } } } public static class ServiceParameters extends TeaModel { @NameInMap("ServiceParameter") private java.util.List < ServiceParameter> serviceParameter; private ServiceParameters(Builder builder) { this.serviceParameter = builder.serviceParameter; } public static Builder builder() { return new Builder(); } public static ServiceParameters create() { return builder().build(); } /** * @return serviceParameter */ public java.util.List < ServiceParameter> getServiceParameter() { return this.serviceParameter; } public static final class Builder { private java.util.List < ServiceParameter> serviceParameter; /** * ServiceParameter. */ public Builder serviceParameter(java.util.List < ServiceParameter> serviceParameter) { this.serviceParameter = serviceParameter; return this; } public ServiceParameters build() { return new ServiceParameters(this); } } } public static class ServiceParameterMap extends TeaModel { @NameInMap("RequestParameterName") private String requestParameterName; @NameInMap("ServiceParameterName") private String serviceParameterName; private ServiceParameterMap(Builder builder) { this.requestParameterName = builder.requestParameterName; this.serviceParameterName = builder.serviceParameterName; } public static Builder builder() { return new Builder(); } public static ServiceParameterMap create() { return builder().build(); } /** * @return requestParameterName */ public String getRequestParameterName() { return this.requestParameterName; } /** * @return serviceParameterName */ public String getServiceParameterName() { return this.serviceParameterName; } public static final class Builder { private String requestParameterName; private String serviceParameterName; /** * The name of the frontend input parameter. */ public Builder requestParameterName(String requestParameterName) { this.requestParameterName = requestParameterName; return this; } /** * The name of the backend service parameter. */ public Builder serviceParameterName(String serviceParameterName) { this.serviceParameterName = serviceParameterName; return this; } public ServiceParameterMap build() { return new ServiceParameterMap(this); } } } public static class ServiceParametersMap extends TeaModel { @NameInMap("ServiceParameterMap") private java.util.List < ServiceParameterMap> serviceParameterMap; private ServiceParametersMap(Builder builder) { this.serviceParameterMap = builder.serviceParameterMap; } public static Builder builder() { return new Builder(); } public static ServiceParametersMap create() { return builder().build(); } /** * @return serviceParameterMap */ public java.util.List < ServiceParameterMap> getServiceParameterMap() { return this.serviceParameterMap; } public static final class Builder { private java.util.List < ServiceParameterMap> serviceParameterMap; /** * ServiceParameterMap. */ public Builder serviceParameterMap(java.util.List < ServiceParameterMap> serviceParameterMap) { this.serviceParameterMap = serviceParameterMap; return this; } public ServiceParametersMap build() { return new ServiceParametersMap(this); } } } public static class SystemParameter extends TeaModel { @NameInMap("DemoValue") private String demoValue; @NameInMap("Description") private String description; @NameInMap("Location") private String location; @NameInMap("ParameterName") private String parameterName; @NameInMap("ServiceParameterName") private String serviceParameterName; private SystemParameter(Builder builder) { this.demoValue = builder.demoValue; this.description = builder.description; this.location = builder.location; this.parameterName = builder.parameterName; this.serviceParameterName = builder.serviceParameterName; } public static Builder builder() { return new Builder(); } public static SystemParameter create() { return builder().build(); } /** * @return demoValue */ public String getDemoValue() { return this.demoValue; } /** * @return description */ public String getDescription() { return this.description; } /** * @return location */ public String getLocation() { return this.location; } /** * @return parameterName */ public String getParameterName() { return this.parameterName; } /** * @return serviceParameterName */ public String getServiceParameterName() { return this.serviceParameterName; } public static final class Builder { private String demoValue; private String description; private String location; private String parameterName; private String serviceParameterName; /** * The example. */ public Builder demoValue(String demoValue) { this.demoValue = demoValue; return this; } /** * The description of the parameter. */ public Builder description(String description) { this.description = description; return this; } /** * The parameter location. Valid values: BODY, HEAD, QUERY, and PATH. */ public Builder location(String location) { this.location = location; return this; } /** * The name of the system parameter. Valid values: CaClientIp, CaDomain, CaRequestHandleTime, CaAppId, CaRequestId, CaHttpSchema, CaProxy. */ public Builder parameterName(String parameterName) { this.parameterName = parameterName; return this; } /** * The name of the corresponding backend parameter. */ public Builder serviceParameterName(String serviceParameterName) { this.serviceParameterName = serviceParameterName; return this; } public SystemParameter build() { return new SystemParameter(this); } } } public static class SystemParameters extends TeaModel { @NameInMap("SystemParameter") private java.util.List < SystemParameter> systemParameter; private SystemParameters(Builder builder) { this.systemParameter = builder.systemParameter; } public static Builder builder() { return new Builder(); } public static SystemParameters create() { return builder().build(); } /** * @return systemParameter */ public java.util.List < SystemParameter> getSystemParameter() { return this.systemParameter; } public static final class Builder { private java.util.List < SystemParameter> systemParameter; /** * SystemParameter. */ public Builder systemParameter(java.util.List < SystemParameter> systemParameter) { this.systemParameter = systemParameter; return this; } public SystemParameters build() { return new SystemParameters(this); } } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy