diff --git a/agentrun-20250910/ChangeLog.txt b/agentrun-20250910/ChangeLog.txt index eea68016b3b..4d21bb32b75 100644 --- a/agentrun-20250910/ChangeLog.txt +++ b/agentrun-20250910/ChangeLog.txt @@ -1,3 +1,6 @@ +2025-11-24 Version: 4.0.0 +- Generated java-async 2025-09-10 for AgentRun. + 2025-11-20 Version: 3.0.1 - Generated java-async 2025-09-10 for AgentRun. diff --git a/agentrun-20250910/pom.xml b/agentrun-20250910/pom.xml index b280b575595..fc9eb5eb796 100644 --- a/agentrun-20250910/pom.xml +++ b/agentrun-20250910/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.aliyun alibabacloud-agentrun20250910 - 3.0.1 + 4.0.0 jar alibabacloud-agentrun20250910 Alibaba Cloud AgentRun (20250910) Async SDK for Java diff --git a/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/AsyncClient.java b/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/AsyncClient.java index 2d707506a96..bdc590e9d8f 100644 --- a/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/AsyncClient.java +++ b/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/AsyncClient.java @@ -166,6 +166,12 @@ static AsyncClient create() { */ CompletableFuture deleteModelService(DeleteModelServiceRequest request); + /** + * @param request the request parameters of DeleteSandbox DeleteSandboxRequest + * @return DeleteSandboxResponse + */ + CompletableFuture deleteSandbox(DeleteSandboxRequest request); + /** * description : *

删除指定的模板。删除后,该模板将无法再用于创建新的沙箱。

diff --git a/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/DefaultAsyncClient.java b/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/DefaultAsyncClient.java index b0e5949536e..be620ca8666 100644 --- a/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/DefaultAsyncClient.java +++ b/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/DefaultAsyncClient.java @@ -426,6 +426,24 @@ public CompletableFuture deleteModelService(DeleteMo } } + /** + * @param request the request parameters of DeleteSandbox DeleteSandboxRequest + * @return DeleteSandboxResponse + */ + @Override + public CompletableFuture deleteSandbox(DeleteSandboxRequest request) { + try { + this.handler.validateRequestModel(request); + TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("DeleteSandbox").setMethod(HttpMethod.DELETE).setPathRegex("/2025-09-10/sandboxes/{sandboxId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); + ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteSandboxResponse.create()); + return this.handler.execute(params); + } catch (Exception e) { + CompletableFuture future = new CompletableFuture<>(); + future.completeExceptionally(e); + return future; + } + } + /** * description : *

删除指定的模板。删除后,该模板将无法再用于创建新的沙箱。

@@ -1022,7 +1040,7 @@ public CompletableFuture retrieveMemory(RetrieveMemoryRe public CompletableFuture stopSandbox(StopSandboxRequest request) { try { this.handler.validateRequestModel(request); - TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("StopSandbox").setMethod(HttpMethod.DELETE).setPathRegex("/2025-09-10/sandboxes/{sandboxId}").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); + TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("StopSandbox").setMethod(HttpMethod.POST).setPathRegex("/2025-09-10/sandboxes/{sandboxId}/stop").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(StopSandboxResponse.create()); return this.handler.execute(params); } catch (Exception e) { diff --git a/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/CreateSandboxInput.java b/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/CreateSandboxInput.java index ba623724322..11fbbf1f69f 100644 --- a/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/CreateSandboxInput.java +++ b/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/CreateSandboxInput.java @@ -17,6 +17,9 @@ *

CreateSandboxInput

*/ public class CreateSandboxInput extends TeaModel { + @com.aliyun.core.annotation.NameInMap("sandboxId") + private String sandboxId; + @com.aliyun.core.annotation.NameInMap("sandboxIdleTimeoutSeconds") @com.aliyun.core.annotation.Validation(maximum = 21600, minimum = 1) private Integer sandboxIdleTimeoutSeconds; @@ -26,6 +29,7 @@ public class CreateSandboxInput extends TeaModel { private String templateName; private CreateSandboxInput(Builder builder) { + this.sandboxId = builder.sandboxId; this.sandboxIdleTimeoutSeconds = builder.sandboxIdleTimeoutSeconds; this.templateName = builder.templateName; } @@ -42,6 +46,13 @@ public Builder toBuilder() { return new Builder(this); } + /** + * @return sandboxId + */ + public String getSandboxId() { + return this.sandboxId; + } + /** * @return sandboxIdleTimeoutSeconds */ @@ -57,6 +68,7 @@ public String getTemplateName() { } public static final class Builder { + private String sandboxId; private Integer sandboxIdleTimeoutSeconds; private String templateName; @@ -64,10 +76,19 @@ private Builder() { } private Builder(CreateSandboxInput model) { + this.sandboxId = model.sandboxId; this.sandboxIdleTimeoutSeconds = model.sandboxIdleTimeoutSeconds; this.templateName = model.templateName; } + /** + * sandboxId. + */ + public Builder sandboxId(String sandboxId) { + this.sandboxId = sandboxId; + return this; + } + /** *

沙箱空闲超时时间(秒)

*/ diff --git a/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/DeleteSandboxRequest.java b/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/DeleteSandboxRequest.java new file mode 100644 index 00000000000..e0ae77536de --- /dev/null +++ b/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/DeleteSandboxRequest.java @@ -0,0 +1,81 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.agentrun20250910.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link DeleteSandboxRequest} extends {@link RequestModel} + * + *

DeleteSandboxRequest

+ */ +public class DeleteSandboxRequest extends Request { + @com.aliyun.core.annotation.Path + @com.aliyun.core.annotation.NameInMap("sandboxId") + @com.aliyun.core.annotation.Validation(required = true) + private String sandboxId; + + private DeleteSandboxRequest(Builder builder) { + super(builder); + this.sandboxId = builder.sandboxId; + } + + public static Builder builder() { + return new Builder(); + } + + public static DeleteSandboxRequest create() { + return builder().build(); + } + +@Override + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return sandboxId + */ + public String getSandboxId() { + return this.sandboxId; + } + + public static final class Builder extends Request.Builder { + private String sandboxId; + + private Builder() { + super(); + } + + private Builder(DeleteSandboxRequest request) { + super(request); + this.sandboxId = request.sandboxId; + } + + /** + *

This parameter is required.

+ * + * example: + *

sb-1234567

+ */ + public Builder sandboxId(String sandboxId) { + this.putPathParameter("sandboxId", sandboxId); + this.sandboxId = sandboxId; + return this; + } + + @Override + public DeleteSandboxRequest build() { + return new DeleteSandboxRequest(this); + } + + } + +} diff --git a/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/DeleteSandboxResponse.java b/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/DeleteSandboxResponse.java new file mode 100644 index 00000000000..01a5eb11fc6 --- /dev/null +++ b/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/DeleteSandboxResponse.java @@ -0,0 +1,131 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.agentrun20250910.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link DeleteSandboxResponse} extends {@link TeaModel} + * + *

DeleteSandboxResponse

+ */ +public class DeleteSandboxResponse extends Response { + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; + + @com.aliyun.core.annotation.NameInMap("statusCode") + private Integer statusCode; + + @com.aliyun.core.annotation.NameInMap("body") + private DeleteSandboxResult body; + + private DeleteSandboxResponse(BuilderImpl builder) { + super(builder); + this.headers = builder.headers; + this.statusCode = builder.statusCode; + this.body = builder.body; + } + + public static DeleteSandboxResponse create() { + return new BuilderImpl().build(); + } + +@Override + public Builder toBuilder() { + return new BuilderImpl(this); + } + + /** + * @return headers + */ + public java.util.Map getHeaders() { + return this.headers; + } + + /** + * @return statusCode + */ + public Integer getStatusCode() { + return this.statusCode; + } + + /** + * @return body + */ + public DeleteSandboxResult getBody() { + return this.body; + } + + public interface Builder extends Response.Builder { + + Builder headers(java.util.Map headers); + + Builder statusCode(Integer statusCode); + + Builder body(DeleteSandboxResult body); + + @Override + DeleteSandboxResponse build(); + + } + + private static final class BuilderImpl + extends Response.BuilderImpl + implements Builder { + private java.util.Map headers; + private Integer statusCode; + private DeleteSandboxResult body; + + private BuilderImpl() { + super(); + } + + private BuilderImpl(DeleteSandboxResponse response) { + super(response); + this.headers = response.headers; + this.statusCode = response.statusCode; + this.body = response.body; + } + + /** + * headers. + */ + @Override + public Builder headers(java.util.Map headers) { + this.headers = headers; + return this; + } + + /** + * statusCode. + */ + @Override + public Builder statusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * body. + */ + @Override + public Builder body(DeleteSandboxResult body) { + this.body = body; + return this; + } + + @Override + public DeleteSandboxResponse build() { + return new DeleteSandboxResponse(this); + } + + } + +} diff --git a/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/ListTemplatesRequest.java b/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/ListTemplatesRequest.java index 8fe85dd61ca..adc7eb59fc5 100644 --- a/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/ListTemplatesRequest.java +++ b/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/ListTemplatesRequest.java @@ -25,6 +25,14 @@ public class ListTemplatesRequest extends Request { @com.aliyun.core.annotation.NameInMap("pageSize") private Integer pageSize; + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("status") + private String status; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("templateName") + private String templateName; + @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("templateType") private String templateType; @@ -33,6 +41,8 @@ private ListTemplatesRequest(Builder builder) { super(builder); this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; + this.status = builder.status; + this.templateName = builder.templateName; this.templateType = builder.templateType; } @@ -63,6 +73,20 @@ public Integer getPageSize() { return this.pageSize; } + /** + * @return status + */ + public String getStatus() { + return this.status; + } + + /** + * @return templateName + */ + public String getTemplateName() { + return this.templateName; + } + /** * @return templateType */ @@ -73,6 +97,8 @@ public String getTemplateType() { public static final class Builder extends Request.Builder { private Integer pageNumber; private Integer pageSize; + private String status; + private String templateName; private String templateType; private Builder() { @@ -83,6 +109,8 @@ private Builder(ListTemplatesRequest request) { super(request); this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; + this.status = request.status; + this.templateName = request.templateName; this.templateType = request.templateType; } @@ -110,6 +138,24 @@ public Builder pageSize(Integer pageSize) { return this; } + /** + * status. + */ + public Builder status(String status) { + this.putQueryParameter("status", status); + this.status = status; + return this; + } + + /** + * templateName. + */ + public Builder templateName(String templateName) { + this.putQueryParameter("templateName", templateName); + this.templateName = templateName; + return this; + } + /** *

按模板类型过滤

* diff --git a/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/Sandbox.java b/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/Sandbox.java index cb7f4c6edc2..9ca1340d323 100644 --- a/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/Sandbox.java +++ b/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/Sandbox.java @@ -17,9 +17,6 @@ *

Sandbox

*/ public class Sandbox extends TeaModel { - @com.aliyun.core.annotation.NameInMap("SandboxIdleTTLInSeconds") - private Integer sandboxIdleTTLInSeconds; - @com.aliyun.core.annotation.NameInMap("createdAt") @com.aliyun.core.annotation.Validation(required = true) private String createdAt; @@ -40,6 +37,9 @@ public class Sandbox extends TeaModel { @com.aliyun.core.annotation.Validation(required = true) private String sandboxId; + @com.aliyun.core.annotation.NameInMap("sandboxIdleTTLInSeconds") + private Integer sandboxIdleTTLInSeconds; + @com.aliyun.core.annotation.NameInMap("sandboxIdleTimeoutSeconds") @com.aliyun.core.annotation.Validation(maximum = 21600, minimum = 1) private Integer sandboxIdleTimeoutSeconds; @@ -56,13 +56,13 @@ public class Sandbox extends TeaModel { private String templateName; private Sandbox(Builder builder) { - this.sandboxIdleTTLInSeconds = builder.sandboxIdleTTLInSeconds; this.createdAt = builder.createdAt; this.endedAt = builder.endedAt; this.lastUpdatedAt = builder.lastUpdatedAt; this.metadata = builder.metadata; this.sandboxArn = builder.sandboxArn; this.sandboxId = builder.sandboxId; + this.sandboxIdleTTLInSeconds = builder.sandboxIdleTTLInSeconds; this.sandboxIdleTimeoutSeconds = builder.sandboxIdleTimeoutSeconds; this.status = builder.status; this.templateId = builder.templateId; @@ -81,13 +81,6 @@ public Builder toBuilder() { return new Builder(this); } - /** - * @return sandboxIdleTTLInSeconds - */ - public Integer getSandboxIdleTTLInSeconds() { - return this.sandboxIdleTTLInSeconds; - } - /** * @return createdAt */ @@ -130,6 +123,13 @@ public String getSandboxId() { return this.sandboxId; } + /** + * @return sandboxIdleTTLInSeconds + */ + public Integer getSandboxIdleTTLInSeconds() { + return this.sandboxIdleTTLInSeconds; + } + /** * @return sandboxIdleTimeoutSeconds */ @@ -159,13 +159,13 @@ public String getTemplateName() { } public static final class Builder { - private Integer sandboxIdleTTLInSeconds; private String createdAt; private String endedAt; private String lastUpdatedAt; private java.util.Map metadata; private String sandboxArn; private String sandboxId; + private Integer sandboxIdleTTLInSeconds; private Integer sandboxIdleTimeoutSeconds; private String status; private String templateId; @@ -175,27 +175,19 @@ private Builder() { } private Builder(Sandbox model) { - this.sandboxIdleTTLInSeconds = model.sandboxIdleTTLInSeconds; this.createdAt = model.createdAt; this.endedAt = model.endedAt; this.lastUpdatedAt = model.lastUpdatedAt; this.metadata = model.metadata; this.sandboxArn = model.sandboxArn; this.sandboxId = model.sandboxId; + this.sandboxIdleTTLInSeconds = model.sandboxIdleTTLInSeconds; this.sandboxIdleTimeoutSeconds = model.sandboxIdleTimeoutSeconds; this.status = model.status; this.templateId = model.templateId; this.templateName = model.templateName; } - /** - * SandboxIdleTTLInSeconds. - */ - public Builder sandboxIdleTTLInSeconds(Integer sandboxIdleTTLInSeconds) { - this.sandboxIdleTTLInSeconds = sandboxIdleTTLInSeconds; - return this; - } - /** *

沙箱创建时间

*

This parameter is required.

@@ -245,6 +237,14 @@ public Builder sandboxId(String sandboxId) { return this; } + /** + * sandboxIdleTTLInSeconds. + */ + public Builder sandboxIdleTTLInSeconds(Integer sandboxIdleTTLInSeconds) { + this.sandboxIdleTTLInSeconds = sandboxIdleTTLInSeconds; + return this; + } + /** *

沙箱空闲超时时间(秒)

*/ diff --git a/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/StopSandboxResponse.java b/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/StopSandboxResponse.java index 140491abe63..7b0d00bbd2d 100644 --- a/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/StopSandboxResponse.java +++ b/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/StopSandboxResponse.java @@ -24,7 +24,7 @@ public class StopSandboxResponse extends Response { private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") - private DeleteSandboxResult body; + private StopSandboxResult body; private StopSandboxResponse(BuilderImpl builder) { super(builder); @@ -59,7 +59,7 @@ public Integer getStatusCode() { /** * @return body */ - public DeleteSandboxResult getBody() { + public StopSandboxResult getBody() { return this.body; } @@ -69,7 +69,7 @@ public interface Builder extends Response.Builder Builder statusCode(Integer statusCode); - Builder body(DeleteSandboxResult body); + Builder body(StopSandboxResult body); @Override StopSandboxResponse build(); @@ -81,7 +81,7 @@ private static final class BuilderImpl implements Builder { private java.util.Map headers; private Integer statusCode; - private DeleteSandboxResult body; + private StopSandboxResult body; private BuilderImpl() { super(); @@ -116,7 +116,7 @@ public Builder statusCode(Integer statusCode) { * body. */ @Override - public Builder body(DeleteSandboxResult body) { + public Builder body(StopSandboxResult body) { this.body = body; return this; } diff --git a/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/StopSandboxResult.java b/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/StopSandboxResult.java new file mode 100644 index 00000000000..e1a3f4483ed --- /dev/null +++ b/agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/StopSandboxResult.java @@ -0,0 +1,112 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.agentrun20250910.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link StopSandboxResult} extends {@link TeaModel} + * + *

StopSandboxResult

+ */ +public class StopSandboxResult extends TeaModel { + @com.aliyun.core.annotation.NameInMap("code") + private String code; + + @com.aliyun.core.annotation.NameInMap("data") + private Sandbox data; + + @com.aliyun.core.annotation.NameInMap("requestId") + private String requestId; + + private StopSandboxResult(Builder builder) { + this.code = builder.code; + this.data = builder.data; + this.requestId = builder.requestId; + } + + public static Builder builder() { + return new Builder(); + } + + public static StopSandboxResult create() { + return builder().build(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return code + */ + public String getCode() { + return this.code; + } + + /** + * @return data + */ + public Sandbox getData() { + return this.data; + } + + /** + * @return requestId + */ + public String getRequestId() { + return this.requestId; + } + + public static final class Builder { + private String code; + private Sandbox data; + private String requestId; + + private Builder() { + } + + private Builder(StopSandboxResult model) { + this.code = model.code; + this.data = model.data; + this.requestId = model.requestId; + } + + /** + * code. + */ + public Builder code(String code) { + this.code = code; + return this; + } + + /** + * data. + */ + public Builder data(Sandbox data) { + this.data = data; + return this; + } + + /** + * requestId. + */ + public Builder requestId(String requestId) { + this.requestId = requestId; + return this; + } + + public StopSandboxResult build() { + return new StopSandboxResult(this); + } + + } + +} diff --git a/dms-enterprise-20181101/ChangeLog.txt b/dms-enterprise-20181101/ChangeLog.txt index 932cdaf093e..7d4b6a0b6a3 100644 --- a/dms-enterprise-20181101/ChangeLog.txt +++ b/dms-enterprise-20181101/ChangeLog.txt @@ -1,3 +1,6 @@ +2025-11-23 Version: 1.53.41 +- Generated java-async 2018-11-01 for dms-enterprise. + 2025-09-26 Version: 1.53.40 - Generated java-async 2018-11-01 for dms-enterprise. diff --git a/dms-enterprise-20181101/pom.xml b/dms-enterprise-20181101/pom.xml index c0e99e665c3..8ac7f901ab3 100644 --- a/dms-enterprise-20181101/pom.xml +++ b/dms-enterprise-20181101/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.aliyun alibabacloud-dms_enterprise20181101 - 1.53.40 + 1.53.41 jar alibabacloud-dms_enterprise20181101 Alibaba Cloud dms-enterprise (20181101) Async SDK for Java @@ -104,12 +104,11 @@ org.sonatype.central central-publishing-maven-plugin - 0.8.0 + 0.9.0 true central true - published diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/AsyncClient.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/AsyncClient.java index 585dc31add0..6171a2a15eb 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/AsyncClient.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/AsyncClient.java @@ -32,6 +32,9 @@ static AsyncClient create() { CompletableFuture addDesensitizationRule(AddDesensitizationRuleRequest request); /** + * description : + *

You must be a database administrator (DBA) or a DMS administrator. For more information, see View system roles.

+ * * @param request the request parameters of AddInstance AddInstanceRequest * @return AddInstanceResponse */ @@ -92,7 +95,7 @@ static AsyncClient create() { /** * description : - *

根据用户提供的数据库ID,回答对应引擎的语法问题

+ *

You can call this operation to answer the syntax questions of the corresponding engine according to the specified database ID.

* * @param request the request parameters of AnswerSqlSyntaxByMetaAgent AnswerSqlSyntaxByMetaAgentRequest * @return AnswerSqlSyntaxByMetaAgentResponse @@ -163,6 +166,15 @@ static AsyncClient create() { */ CompletableFuture changeLhDagOwner(ChangeLhDagOwnerRequest request); + /** + * description : + *

带有DMS脱敏能力的聊天API接口

+ * + * @param request the request parameters of ChatWithDesensitize ChatWithDesensitizeRequest + * @return ChatWithDesensitizeResponse + */ + CompletableFuture chatWithDesensitize(ChatWithDesensitizeRequest request); + /** * @param request the request parameters of CloseOrder CloseOrderRequest * @return CloseOrderResponse @@ -176,6 +188,9 @@ static AsyncClient create() { CompletableFuture createAbacAuthorization(CreateAbacAuthorizationRequest request); /** + * description : + *

Currently, this feature is in the phased release phase. Only users who have phased out can use this feature and related APIs. For more information about the policy feature, see Manage policies.

+ * * @param request the request parameters of CreateAbacPolicy CreateAbacPolicyRequest * @return CreateAbacPolicyResponse */ @@ -340,6 +355,9 @@ static AsyncClient create() { CompletableFuture createOrder(CreateOrderRequest request); /** + * description : + *

You can call this API operation only for database instances that are managed in Security Collaboration mode.

+ * * @param request the request parameters of CreateProcCorrectOrder CreateProcCorrectOrderRequest * @return CreateProcCorrectOrderResponse */ @@ -429,6 +447,13 @@ static AsyncClient create() { CompletableFuture createUploadOSSFileJob(CreateUploadOSSFileJobRequest request); /** + * description : + *

Prerequisites

+ *
    + *
  • A virtual private cloud (VPC) is created.
  • + *
  • Log on to the DMS console by using an Alibaba Cloud account or a RAM user that has high permissions, and grant DMS the permissions to access cloud resources (AliyunDMSProcessingDataRolePolicy).
  • + *
+ * * @param request the request parameters of CreateWorkspace CreateWorkspaceRequest * @return CreateWorkspaceResponse */ @@ -544,6 +569,9 @@ static AsyncClient create() { CompletableFuture deleteScenario(DeleteScenarioRequest request); /** + * description : + *

Before you call this API operation, make sure that the security rule set is not associated with an instance.

+ * * @param request the request parameters of DeleteStandardGroup DeleteStandardGroupRequest * @return DeleteStandardGroupResponse */ @@ -685,6 +713,9 @@ static AsyncClient create() { CompletableFuture editLogicDatabase(EditLogicDatabaseRequest request); /** + * description : + *

Edits the business knowledge of the metadata represented by the specified GUID.

+ * * @param request the request parameters of EditMetaKnowledgeAsset EditMetaKnowledgeAssetRequest * @return EditMetaKnowledgeAssetResponse */ @@ -737,7 +768,7 @@ static AsyncClient create() { /** * description : - *

根据用户提供的SQL,报错信息和数据库ID,分析SQL报错原因并修复

+ *

You can call this operation to analyze and fix SQL errors based on the specified SQL statement, error message, and database ID.

* * @param request the request parameters of FixSqlByMetaAgent FixSqlByMetaAgentRequest * @return FixSqlByMetaAgentResponse @@ -1152,6 +1183,9 @@ static AsyncClient create() { CompletableFuture getTableDesignProjectInfo(GetTableDesignProjectInfoRequest request); /** + * description : + *

This API can be called only for database instances that are enabled for security hosting.

+ * * @param request the request parameters of GetTableKnowledgeInfo GetTableKnowledgeInfoRequest * @return GetTableKnowledgeInfoResponse */ @@ -1676,6 +1710,12 @@ static AsyncClient create() { */ CompletableFuture listTasksInTaskFlow(ListTasksInTaskFlowRequest request); + /** + * @param request the request parameters of ListUserOwnedResources ListUserOwnedResourcesRequest + * @return ListUserOwnedResourcesResponse + */ + CompletableFuture listUserOwnedResources(ListUserOwnedResourcesRequest request); + /** * @param request the request parameters of ListUserPermissions ListUserPermissionsRequest * @return ListUserPermissionsResponse @@ -1750,7 +1790,7 @@ static AsyncClient create() { /** * description : - *

根据用户提供的SQL数据库ID,分析SQL性能并优化

+ *

You can call this operation to analyze and optimize the SQL statements in the specified database.

* * @param request the request parameters of OptimizeSqlByMetaAgent OptimizeSqlByMetaAgentRequest * @return OptimizeSqlByMetaAgentResponse @@ -1989,6 +2029,14 @@ static AsyncClient create() { CompletableFuture syncInstanceMeta(SyncInstanceMetaRequest request); /** + * description : + *

Usage notes

+ *

An edge can be created only when the following conditions are met:

+ *
    + *
  1. The start and end nodes of the edge exist in the directed acyclic graph (DAG) of the task flow specified by DagId.
  2. + *
  3. After the edge is created, the DAG does not contain loops.
  4. + *
+ * * @param request the request parameters of TryRunTaskFlow TryRunTaskFlowRequest * @return TryRunTaskFlowResponse */ @@ -2088,6 +2136,9 @@ static AsyncClient create() { CompletableFuture updateTaskContent(UpdateTaskContentRequest request); /** + * description : + *

You can call this operation to modify node configurations.

+ * * @param request the request parameters of UpdateTaskContentV2 UpdateTaskContentV2Request * @return UpdateTaskContentV2Response */ diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/DefaultAsyncClient.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/DefaultAsyncClient.java index ee4cd922bc0..77c7a43b873 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/DefaultAsyncClient.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/DefaultAsyncClient.java @@ -76,6 +76,9 @@ public CompletableFuture addDesensitizationRule( } /** + * description : + *

You must be a database administrator (DBA) or a DMS administrator. For more information, see View system roles.

+ * * @param request the request parameters of AddInstance AddInstanceRequest * @return AddInstanceResponse */ @@ -208,7 +211,7 @@ public CompletableFuture analyzeSQLLineage(AnalyzeSQL /** * description : - *

根据用户提供的数据库ID,回答对应引擎的语法问题

+ *

You can call this operation to answer the syntax questions of the corresponding engine according to the specified database ID.

* * @param request the request parameters of AnswerSqlSyntaxByMetaAgent AnswerSqlSyntaxByMetaAgentRequest * @return AnswerSqlSyntaxByMetaAgentResponse @@ -399,6 +402,27 @@ public CompletableFuture changeLhDagOwner(ChangeLhDagO } } + /** + * description : + *

带有DMS脱敏能力的聊天API接口

+ * + * @param request the request parameters of ChatWithDesensitize ChatWithDesensitizeRequest + * @return ChatWithDesensitizeResponse + */ + @Override + public CompletableFuture chatWithDesensitize(ChatWithDesensitizeRequest request) { + try { + this.handler.validateRequestModel(request); + TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ChatWithDesensitize").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); + ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ChatWithDesensitizeResponse.create()); + return this.handler.execute(params); + } catch (Exception e) { + CompletableFuture future = new CompletableFuture<>(); + future.completeExceptionally(e); + return future; + } + } + /** * @param request the request parameters of CloseOrder CloseOrderRequest * @return CloseOrderResponse @@ -436,6 +460,9 @@ public CompletableFuture createAbacAuthorizatio } /** + * description : + *

Currently, this feature is in the phased release phase. Only users who have phased out can use this feature and related APIs. For more information about the policy feature, see Manage policies.

+ * * @param request the request parameters of CreateAbacPolicy CreateAbacPolicyRequest * @return CreateAbacPolicyResponse */ @@ -828,6 +855,9 @@ public CompletableFuture createOrder(CreateOrderRequest req } /** + * description : + *

You can call this API operation only for database instances that are managed in Security Collaboration mode.

+ * * @param request the request parameters of CreateProcCorrectOrder CreateProcCorrectOrderRequest * @return CreateProcCorrectOrderResponse */ @@ -1061,6 +1091,13 @@ public CompletableFuture createUploadOSSFileJob( } /** + * description : + *

Prerequisites

+ *
    + *
  • A virtual private cloud (VPC) is created.
  • + *
  • Log on to the DMS console by using an Alibaba Cloud account or a RAM user that has high permissions, and grant DMS the permissions to access cloud resources (AliyunDMSProcessingDataRolePolicy).
  • + *
+ * * @param request the request parameters of CreateWorkspace CreateWorkspaceRequest * @return CreateWorkspaceResponse */ @@ -1380,6 +1417,9 @@ public CompletableFuture deleteScenario(DeleteScenarioRe } /** + * description : + *

Before you call this API operation, make sure that the security rule set is not associated with an instance.

+ * * @param request the request parameters of DeleteStandardGroup DeleteStandardGroupRequest * @return DeleteStandardGroupResponse */ @@ -1677,6 +1717,9 @@ public CompletableFuture editLogicDatabase(EditLogicD } /** + * description : + *

Edits the business knowledge of the metadata represented by the specified GUID.

+ * * @param request the request parameters of EditMetaKnowledgeAsset EditMetaKnowledgeAssetRequest * @return EditMetaKnowledgeAssetResponse */ @@ -1801,7 +1844,7 @@ public CompletableFuture executeStructSync(ExecuteStr /** * description : - *

根据用户提供的SQL,报错信息和数据库ID,分析SQL报错原因并修复

+ *

You can call this operation to analyze and fix SQL errors based on the specified SQL statement, error message, and database ID.

* * @param request the request parameters of FixSqlByMetaAgent FixSqlByMetaAgentRequest * @return FixSqlByMetaAgentResponse @@ -2948,6 +2991,9 @@ public CompletableFuture getTableDesignProjec } /** + * description : + *

This API can be called only for database instances that are enabled for security hosting.

+ * * @param request the request parameters of GetTableKnowledgeInfo GetTableKnowledgeInfoRequest * @return GetTableKnowledgeInfoResponse */ @@ -4432,6 +4478,24 @@ public CompletableFuture listTasksInTaskFlow(ListTa } } + /** + * @param request the request parameters of ListUserOwnedResources ListUserOwnedResourcesRequest + * @return ListUserOwnedResourcesResponse + */ + @Override + public CompletableFuture listUserOwnedResources(ListUserOwnedResourcesRequest request) { + try { + this.handler.validateRequestModel(request); + TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListUserOwnedResources").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); + ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListUserOwnedResourcesResponse.create()); + return this.handler.execute(params); + } catch (Exception e) { + CompletableFuture future = new CompletableFuture<>(); + future.completeExceptionally(e); + return future; + } + } + /** * @param request the request parameters of ListUserPermissions ListUserPermissionsRequest * @return ListUserPermissionsResponse @@ -4650,7 +4714,7 @@ public CompletableFuture offlineTaskFlow(OfflineTaskFlo /** * description : - *

根据用户提供的SQL数据库ID,分析SQL性能并优化

+ *

You can call this operation to analyze and optimize the SQL statements in the specified database.

* * @param request the request parameters of OptimizeSqlByMetaAgent OptimizeSqlByMetaAgentRequest * @return OptimizeSqlByMetaAgentResponse @@ -5297,6 +5361,14 @@ public CompletableFuture syncInstanceMeta(SyncInstance } /** + * description : + *

Usage notes

+ *

An edge can be created only when the following conditions are met:

+ *
    + *
  1. The start and end nodes of the edge exist in the directed acyclic graph (DAG) of the task flow specified by DagId.
  2. + *
  3. After the edge is created, the DAG does not contain loops.
  4. + *
+ * * @param request the request parameters of TryRunTaskFlow TryRunTaskFlowRequest * @return TryRunTaskFlowResponse */ @@ -5564,6 +5636,9 @@ public CompletableFuture updateTaskContent(UpdateTask } /** + * description : + *

You can call this operation to modify node configurations.

+ * * @param request the request parameters of UpdateTaskContentV2 UpdateTaskContentV2Request * @return UpdateTaskContentV2Response */ diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddAuthorityTemplateItemsRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddAuthorityTemplateItemsRequest.java index 181812fb8e7..c045accf2a1 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddAuthorityTemplateItemsRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddAuthorityTemplateItemsRequest.java @@ -112,6 +112,7 @@ public Builder regionId(String regionId) { } /** + *

The resources that you want to add to the permission template.

*

This parameter is required.

*/ public Builder items(java.util.List items) { @@ -122,6 +123,7 @@ public Builder items(java.util.List items) { } /** + *

The ID of the permission template. You can call the CreateAuthorityTemplate operation to obtain the value of this parameter.

*

This parameter is required.

* * example: @@ -134,7 +136,13 @@ public Builder templateId(Long templateId) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -242,7 +250,17 @@ private Builder(Items model) { } /** - * DbId. + *

The database ID. Databases are divided into physical databases and logical databases.

+ * + *
+ *

This parameter is required if the ResourceType parameter is set to META_DB, LOGIC_DB, META_TABLE, or LOGIC_TABLE.

+ *
+ * + * example: + *

2478****

*/ public Builder dbId(Integer dbId) { this.dbId = dbId; @@ -250,7 +268,13 @@ public Builder dbId(Integer dbId) { } /** - * InstanceId. + *

The instance ID. You can call the ListInstances or GetInstance operation to query the instance ID.

+ *
+ *

This parameter is required if the ResourceType parameter is set to INSTANCE.

+ *
+ * + * example: + *

237****

*/ public Builder instanceId(Integer instanceId) { this.instanceId = instanceId; @@ -258,7 +282,7 @@ public Builder instanceId(Integer instanceId) { } /** - * PermissionTypes. + *

The permission types.

*/ public Builder permissionTypes(java.util.List permissionTypes) { this.permissionTypes = permissionTypes; @@ -266,6 +290,14 @@ public Builder permissionTypes(java.util.List permissionTypes) { } /** + *

The type of the resource from which you want to remove tags. Valid values:

+ *
    + *
  • INSTANCE: instance
  • + *
  • LOGIC_DB: logical database
  • + *
  • META_DB: physical database
  • + *
  • LOGIC_TABLE: logical table
  • + *
  • LOGIC_TABLE: physical table
  • + *
*

This parameter is required.

* * example: @@ -277,7 +309,13 @@ public Builder resourceType(String resourceType) { } /** - * TableName. + *

The table name. You can call the ListTables operation to query the name of the table.

+ *
+ *

This parameter is required if the ResourceType parameter is set to META_TABLE or LOGIC_TABLE.

+ *
+ * + * example: + *

test_table

*/ public Builder tableName(String tableName) { this.tableName = tableName; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddAuthorityTemplateItemsResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddAuthorityTemplateItemsResponseBody.java index 6ab76ac26d9..213a59f406b 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddAuthorityTemplateItemsResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddAuthorityTemplateItemsResponseBody.java @@ -106,7 +106,10 @@ private Builder(AddAuthorityTemplateItemsResponseBody model) { } /** - * Data. + *

Indicates whether the resource is added to the permission template.

+ * + * example: + *

true

*/ public Builder data(Boolean data) { this.data = data; @@ -114,7 +117,10 @@ public Builder data(Boolean data) { } /** - * ErrorCode. + *

The error code returned if the request failed. The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -122,7 +128,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -130,7 +139,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

3D3FB827-E667-50DB-AD59-C83F8237FECB

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +150,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddInstanceRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddInstanceRequest.java index 0b9bcf9c002..b4727377522 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddInstanceRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddInstanceRequest.java @@ -487,7 +487,20 @@ public Builder regionId(String regionId) { } /** - * DataLinkName. + *

The name of the database link for cross-database queries.

+ *
+ *
+ *
    + *
  • This property must be specified when UseDsql is set to 1.

    + *
  • + *
  • The name can contain only lowercase letters and underscores (_).

    + *
  • + *
  • The name must be unique within a tenant.

    + *
  • + *
+ * + * example: + *

dblink_test

*/ public Builder dataLinkName(String dataLinkName) { this.putQueryParameter("DataLinkName", dataLinkName); @@ -496,6 +509,7 @@ public Builder dataLinkName(String dataLinkName) { } /** + *

The password of the database account.

*

This parameter is required.

* * example: @@ -508,6 +522,7 @@ public Builder databasePassword(String databasePassword) { } /** + *

The name of the database account.

*

This parameter is required.

* * example: @@ -520,7 +535,10 @@ public Builder databaseUser(String databaseUser) { } /** - * DbaId. + *

The ID of the user who assumes the database administrator (DBA) role. You can call the ListUsers or GetInstance operation to obtain the value of this parameter.

+ * + * example: + *

27****

*/ public Builder dbaId(Long dbaId) { this.putQueryParameter("DbaId", dbaId); @@ -529,7 +547,18 @@ public Builder dbaId(Long dbaId) { } /** - * DdlOnline. + *

Specifies whether to enable Lock-free Schema Change. Valid values:

+ *
    + *
  • 0: does not enable lock-free schema change.
  • + *
  • 1: uses the native online DDL operations of MySQL first.
  • + *
  • 2: uses lock-free schema change first.
  • + *
+ *
+ *

Supported databases include ApsaraDB RDS for MySQL, PolarDB for MySQL, ApsaraDB MyBase for MySQL, and third-party MySQL databases.

+ *
+ * + * example: + *

2

*/ public Builder ddlOnline(Integer ddlOnline) { this.putQueryParameter("DdlOnline", ddlOnline); @@ -538,7 +567,13 @@ public Builder ddlOnline(Integer ddlOnline) { } /** - * EcsInstanceId. + *

The ID of the instance. If your instance is a database instance connected by using a database gateway, specify the gateway ID for this parameter.

+ *
+ *

This parameter is required if InstanceSource is set to ECS_OWN or GATEWAY.

+ *
+ * + * example: + *

i-2zei9gs1t7h8l7ac****

*/ public Builder ecsInstanceId(String ecsInstanceId) { this.putQueryParameter("EcsInstanceId", ecsInstanceId); @@ -547,7 +582,13 @@ public Builder ecsInstanceId(String ecsInstanceId) { } /** - * EcsRegion. + *

The region in which the ECS instance resides.

+ *
+ *

This parameter is required if InstanceSource is set to RDS, ECS_OWN, GATEWAY, or VPC_IDC.

+ *
+ * + * example: + *

cn-hangzhou

*/ public Builder ecsRegion(String ecsRegion) { this.putQueryParameter("EcsRegion", ecsRegion); @@ -556,7 +597,14 @@ public Builder ecsRegion(String ecsRegion) { } /** - * EnableSellCommon. + *

Specifies whether to enable Security Collaboration for the database instance. Valid values:

+ *
    + *
  • Y: enables Security Collaboration.
  • + *
  • N: disables Security Collaboration.
  • + *
+ * + * example: + *

Y

*/ public Builder enableSellCommon(String enableSellCommon) { this.putQueryParameter("EnableSellCommon", enableSellCommon); @@ -565,7 +613,14 @@ public Builder enableSellCommon(String enableSellCommon) { } /** - * EnableSellSitd. + *

Specifies whether to enable sensitive data protection. Valid values:

+ *
    + *
  • Y: enables the sensitive data protection feature for the database instance.
  • + *
  • N: disables the sensitive data protection feature for the database instance.
  • + *
+ * + * example: + *

Y

*/ public Builder enableSellSitd(String enableSellSitd) { this.putQueryParameter("EnableSellSitd", enableSellSitd); @@ -574,7 +629,14 @@ public Builder enableSellSitd(String enableSellSitd) { } /** - * EnableSellStable. + *

Specifies whether to enable Stable Change for the database instance. Valid values:

+ *
    + *
  • Y: Enables Stable Change.
  • + *
  • N: Disables Stable Change.
  • + *
+ * + * example: + *

NULL

*/ public Builder enableSellStable(String enableSellStable) { this.putQueryParameter("EnableSellStable", enableSellStable); @@ -583,6 +645,11 @@ public Builder enableSellStable(String enableSellStable) { } /** + *

Specifies whether to enable the security hosting feature for the database instance. Valid values:

+ *
    + *
  • Y: enables the security hosting feature for the database instance.
  • + *
  • N: disables the security hosting feature for the database instance.
  • + *
*

This parameter is required.

* * example: @@ -595,6 +662,17 @@ public Builder enableSellTrust(String enableSellTrust) { } /** + *

The type of the environment to which the database instance belongs. Valid values:

+ *
    + *
  • product: the production environment.
  • + *
  • dev: development environment.
  • + *
  • pre: pre-release environment.
  • + *
  • test: test environment.
  • + *
  • sit: system integration testing (SIT) environment.
  • + *
  • uat: user acceptance testing (UAT) environment.
  • + *
  • pet: stress testing environment.
  • + *
  • stag: staging environment.
  • + *
*

This parameter is required.

* * example: @@ -607,6 +685,7 @@ public Builder envType(String envType) { } /** + *

The timeout period for exporting data from the database instance. Unit: seconds.

*

This parameter is required.

* * example: @@ -619,6 +698,7 @@ public Builder exportTimeout(Integer exportTimeout) { } /** + *

The endpoint that is used to connect to the database.

*

This parameter is required.

* * example: @@ -631,6 +711,7 @@ public Builder host(String host) { } /** + *

The alias of the database instance. Specify an alias that can help you identify the database instance in DMS.

*

This parameter is required.

*/ public Builder instanceAlias(String instanceAlias) { @@ -640,6 +721,14 @@ public Builder instanceAlias(String instanceAlias) { } /** + *

The source of the database instance. Valid values:

+ *
    + *
  • PUBLIC_OWN: a self-managed database instance that is deployed on the Internet.
  • + *
  • RDS: an ApsaraDB RDS instance.
  • + *
  • ECS_OWN: a self-managed database instance that is deployed on an Elastic Compute Service (ECS) instance.
  • + *
  • VPC_IDC: a self-managed database instance that is deployed in a data center connected over a virtual private cloud (VPC).
  • + *
  • GATEWAY: a database instance connected by using a database gateway.
  • + *
*

This parameter is required.

* * example: @@ -652,6 +741,7 @@ public Builder instanceSource(String instanceSource) { } /** + *

The type of the database instance. For more information about the valid values of this parameter, see DbType parameter.

*

This parameter is required.

* * example: @@ -664,6 +754,11 @@ public Builder instanceType(String instanceType) { } /** + *

The network type. Valid values:

+ *
    + *
  • CLASSIC: the classic network.
  • + *
  • VPC
  • + *
*

This parameter is required.

* * example: @@ -676,6 +771,7 @@ public Builder networkType(String networkType) { } /** + *

The port that is used to connect to the database.

*

This parameter is required.

* * example: @@ -688,6 +784,7 @@ public Builder port(Integer port) { } /** + *

The timeout period for querying data from the database instance. Unit: seconds.

*

This parameter is required.

* * example: @@ -700,7 +797,7 @@ public Builder queryTimeout(Integer queryTimeout) { } /** - * SafeRule. + *

The name of the security rule set for the database instance. This parameter is required if Security Collaboration is enabled. You can call theListStandardGroups or GetInstance operation to obtain the name of the security rule set from GroupName.

*/ public Builder safeRule(String safeRule) { this.putQueryParameter("SafeRule", safeRule); @@ -709,7 +806,13 @@ public Builder safeRule(String safeRule) { } /** - * Sid. + *

The system ID (SID) of the database instance.

+ *
+ *

This parameter is required if InstanceType is set to ORACLE.

+ *
+ * + * example: + *

testSid

*/ public Builder sid(String sid) { this.putQueryParameter("Sid", sid); @@ -718,7 +821,14 @@ public Builder sid(String sid) { } /** - * SkipTest. + *

Specifies whether to skip the connectivity test. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ * + * example: + *

false

*/ public Builder skipTest(Boolean skipTest) { this.putQueryParameter("SkipTest", skipTest); @@ -727,7 +837,10 @@ public Builder skipTest(Boolean skipTest) { } /** - * TemplateId. + *

The ID of the classification and grading template. You can call the ListClassificationTemplates operation to query the template ID.

+ * + * example: + *

31***

*/ public Builder templateId(Long templateId) { this.putQueryParameter("TemplateId", templateId); @@ -736,7 +849,10 @@ public Builder templateId(Long templateId) { } /** - * TemplateType. + *

The type of the classification and grading template. You can call the ListClassificationTemplates operation to query the template type.

+ * + * example: + *

INNER

*/ public Builder templateType(String templateType) { this.putQueryParameter("TemplateType", templateType); @@ -745,7 +861,13 @@ public Builder templateType(String templateType) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

You can move the pointer over the profile picture in the upper-right corner of the DMS console to obtain the tenant ID.

+ *
+ * + * example: + *

23****

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -754,7 +876,17 @@ public Builder tid(Long tid) { } /** - * UseDsql. + *

Specifies whether to enable cross-database query for the database instance. Valid values:

+ *
    + *
  • 0: does not enable cross-database query.
  • + *
  • 1: enables cross-database query.
  • + *
+ *
+ *

Supported databases include MySQL, SQL Server, PostgreSQL, PolarDB for Oracle, and Redis.

+ *
+ * + * example: + *

1

*/ public Builder useDsql(Integer useDsql) { this.putQueryParameter("UseDsql", useDsql); @@ -763,7 +895,23 @@ public Builder useDsql(Integer useDsql) { } /** - * UseSsl. + *

Specifies whether to allow Data Management Service (DMS) to connect to the database instance by using SSL connections. Before you use SSL connections, make sure that the SSL encryption feature is enabled for the database instance. Valid values:

+ *
    + *
  • 0 (default): DMS automatically checks whether self-negotiation is enabled for the database instance. DMS automatically checks whether the SSL encryption feature is enabled for the database instance. If the SSL encryption feature is enabled, DMS connects to the database instance by using SSL connections. Otherwise, DMS connects to the database instance without encryption.
  • + *
  • 1: DMS connects to the database instance by using SSL connections. This value is invalid if the SSL encryption feature is disabled for the database instance.
  • + *
  • -1: DMS does not connect to the database instance by using SSL connections.
  • + *
+ *
+ *
+ *
    + *
  • This parameter is available only for a MySQL or Redis database instance.

    + *
  • + *
  • SSL encrypts network connections at the transport layer to improve the security and integrity of data in transmission. However, SSL increases the response time of network connections.

    + *
  • + *
+ * + * example: + *

0

*/ public Builder useSsl(Integer useSsl) { this.putQueryParameter("UseSsl", useSsl); @@ -772,7 +920,13 @@ public Builder useSsl(Integer useSsl) { } /** - * VpcId. + *

The ID of the instance connected over a VPC.

+ *
+ *

This parameter is required if InstanceSource is set to VPC_IDC.

+ *
+ * + * example: + *

vpc-2zef4o1hu7ljd****

*/ public Builder vpcId(String vpcId) { this.putQueryParameter("VpcId", vpcId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddInstanceResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddInstanceResponseBody.java index fed112828ff..fe4d945fbd2 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddInstanceResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddInstanceResponseBody.java @@ -93,7 +93,10 @@ private Builder(AddInstanceResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -101,7 +104,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -109,7 +115,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The ID of the request. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -117,7 +126,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddTableToCategoryRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddTableToCategoryRequest.java index 34d842c39fd..68e26bb86fb 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddTableToCategoryRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddTableToCategoryRequest.java @@ -142,6 +142,7 @@ public Builder regionId(String regionId) { } /** + *

The ID of the associated category.

*

This parameter is required.

* * example: @@ -154,6 +155,7 @@ public Builder categoryId(Long categoryId) { } /** + *

The ID of a physical database: You can call the ListDatabases or SearchDatabase operation to obtain the physical database ID.

*

This parameter is required.

* * example: @@ -166,6 +168,7 @@ public Builder dbId(Long dbId) { } /** + *

The name of the table. You can call the ListTables operation to query the table name.

*

This parameter is required.

* * example: @@ -178,7 +181,10 @@ public Builder tableName(String tableName) { } /** - * TableSchemaName. + *

The schema name of the table, which is required only for SQL Server instances.

+ * + * example: + *

dbo

*/ public Builder tableSchemaName(String tableSchemaName) { this.putQueryParameter("TableSchemaName", tableSchemaName); @@ -187,7 +193,10 @@ public Builder tableSchemaName(String tableSchemaName) { } /** - * Tid. + *

The tenant ID. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the tenant ID.

+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddTableToCategoryResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddTableToCategoryResponseBody.java index 1e2b1ab4c89..1ba1ba2e31b 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddTableToCategoryResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AddTableToCategoryResponseBody.java @@ -93,7 +93,10 @@ private Builder(AddTableToCategoryResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -101,7 +104,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -109,7 +115,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID.

+ * + * example: + *

C51420E3-144A-4A94-B473-8662FCF4AD10

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -117,7 +126,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AnswerSqlSyntaxByMetaAgentRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AnswerSqlSyntaxByMetaAgentRequest.java index d230f2ab5a4..49037ec8c08 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AnswerSqlSyntaxByMetaAgentRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AnswerSqlSyntaxByMetaAgentRequest.java @@ -111,6 +111,7 @@ public Builder regionId(String regionId) { } /** + *

The ID of the database. You can call the ListDatabases operation to obtain the ID.

*

This parameter is required.

* * example: @@ -123,7 +124,10 @@ public Builder dbId(String dbId) { } /** - * Model. + *

The name of the selected model. You can use only Qwen series models.

+ * + * example: + *

qwen-plus

*/ public Builder model(String model) { this.putQueryParameter("Model", model); @@ -132,7 +136,10 @@ public Builder model(String model) { } /** - * Query. + *

The syntax question.

+ * + * example: + *

怎么获取当前时间的字符串

*/ public Builder query(String query) { this.putQueryParameter("Query", query); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AnswerSqlSyntaxByMetaAgentResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AnswerSqlSyntaxByMetaAgentResponseBody.java index 166c6c32bfb..dea47305393 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AnswerSqlSyntaxByMetaAgentResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/AnswerSqlSyntaxByMetaAgentResponseBody.java @@ -106,7 +106,7 @@ private Builder(AnswerSqlSyntaxByMetaAgentResponseBody model) { } /** - * Data. + *

The data returned.

*/ public Builder data(Data data) { this.data = data; @@ -114,7 +114,10 @@ public Builder data(Data data) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -122,7 +125,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -141,7 +147,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -207,7 +220,10 @@ private Builder(Data model) { } /** - * Content. + *

The answer to the question.

+ * + * example: + *

mysql数据库类型下...

*/ public Builder content(String content) { this.content = content; @@ -215,7 +231,10 @@ public Builder content(String content) { } /** - * SessionId. + *

The session ID.

+ * + * example: + *

f63a6eed-0e3c-4564-8533-b1295db8d6ff

*/ public Builder sessionId(String sessionId) { this.sessionId = sessionId; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchCreateDataLakePartitionsRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchCreateDataLakePartitionsRequest.java index a9cb4516f94..daec714d28b 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchCreateDataLakePartitionsRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchCreateDataLakePartitionsRequest.java @@ -199,6 +199,7 @@ public Builder regionId(String regionId) { } /** + *

The catalog name.

*

This parameter is required.

* * example: @@ -211,6 +212,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -223,6 +225,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The name of the database that you want to query.

*

This parameter is required.

* * example: @@ -235,7 +238,14 @@ public Builder dbName(String dbName) { } /** - * IfNotExists. + *

Specifies whether to ignore this exception if the name of the new partition is the same as that of an existing partition. Valid values:

+ *
    + *
  • true: Ignore the exception.
  • + *
  • false: Do not ignore the exception.
  • + *
+ * + * example: + *

true

*/ public Builder ifNotExists(Boolean ifNotExists) { this.putQueryParameter("IfNotExists", ifNotExists); @@ -244,7 +254,10 @@ public Builder ifNotExists(Boolean ifNotExists) { } /** - * NeedResult. + *

Specifies whether to return partition information. If the value is true, Partitions is returned.

+ * + * example: + *

true

*/ public Builder needResult(Boolean needResult) { this.putQueryParameter("NeedResult", needResult); @@ -253,6 +266,7 @@ public Builder needResult(Boolean needResult) { } /** + *

The information about the new partitions.

*

This parameter is required.

*/ public Builder partitionInputs(java.util.List partitionInputs) { @@ -263,6 +277,7 @@ public Builder partitionInputs(java.util.List partitionInputs) } /** + *

The name of the table.

*

This parameter is required.

* * example: @@ -275,7 +290,13 @@ public Builder tableName(String tableName) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -284,7 +305,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchCreateDataLakePartitionsResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchCreateDataLakePartitionsResponseBody.java index 362c6e6442a..029e53e6eee 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchCreateDataLakePartitionsResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchCreateDataLakePartitionsResponseBody.java @@ -106,7 +106,10 @@ private Builder(BatchCreateDataLakePartitionsResponseBody model) { } /** - * ErrorCode. + *

The error code.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -114,7 +117,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -122,7 +128,7 @@ public Builder errorMessage(String errorMessage) { } /** - * Partitions. + *

The details about the new partitions. This parameter is returned when the NeedResult parameter is set to true.

*/ public Builder partitions(java.util.List partitions) { this.partitions = partitions; @@ -130,7 +136,10 @@ public Builder partitions(java.util.List partitions) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +147,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request succeeded.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(String success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchDeleteDataLakePartitionsRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchDeleteDataLakePartitionsRequest.java index 70f15d7a451..6e21b10748b 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchDeleteDataLakePartitionsRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchDeleteDataLakePartitionsRequest.java @@ -185,6 +185,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data catalog.

*

This parameter is required.

* * example: @@ -197,6 +198,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -209,6 +211,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The database name.

*

This parameter is required.

* * example: @@ -221,7 +224,10 @@ public Builder dbName(String dbName) { } /** - * IfExists. + *

Specifies whether to ignore the exception if the partition that you want to delete does not exist.

+ * + * example: + *

true

*/ public Builder ifExists(Boolean ifExists) { this.putQueryParameter("IfExists", ifExists); @@ -230,6 +236,7 @@ public Builder ifExists(Boolean ifExists) { } /** + *

The values in a partition key column.

*

This parameter is required.

*/ public Builder partitionValuesList(java.util.List> partitionValuesList) { @@ -239,6 +246,7 @@ public Builder partitionValuesList(java.util.List> partit } /** + *

The table name.

*

This parameter is required.

* * example: @@ -251,7 +259,13 @@ public Builder tableName(String tableName) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3****

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -260,7 +274,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchDeleteDataLakePartitionsResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchDeleteDataLakePartitionsResponseBody.java index d66bf14999a..bf7cda87228 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchDeleteDataLakePartitionsResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchDeleteDataLakePartitionsResponseBody.java @@ -106,7 +106,10 @@ private Builder(BatchDeleteDataLakePartitionsResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -114,7 +117,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -122,7 +128,7 @@ public Builder errorMessage(String errorMessage) { } /** - * PartitionErrors. + *

The error messages.

*/ public Builder partitionErrors(java.util.List partitionErrors) { this.partitionErrors = partitionErrors; @@ -130,7 +136,10 @@ public Builder partitionErrors(java.util.List partitionErrors) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

5B96E35F-A58E-5399-9041-09CF9A1E46EA

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +147,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(String success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchUpdateDataLakePartitionsRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchUpdateDataLakePartitionsRequest.java index dc4149758be..ea4cb571e2a 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchUpdateDataLakePartitionsRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchUpdateDataLakePartitionsRequest.java @@ -171,6 +171,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data directory.

*

This parameter is required.

* * example: @@ -183,6 +184,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -195,6 +197,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The name of the database that you want to query.

*

This parameter is required.

* * example: @@ -207,6 +210,7 @@ public Builder dbName(String dbName) { } /** + *

The information about the created partition.

*

This parameter is required.

*/ public Builder partitionInputs(java.util.List partitionInputs) { @@ -217,6 +221,7 @@ public Builder partitionInputs(java.util.List partitionInputs) } /** + *

The name of the table

*

This parameter is required.

* * example: @@ -229,7 +234,13 @@ public Builder tableName(String tableName) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -238,7 +249,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchUpdateDataLakePartitionsResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchUpdateDataLakePartitionsResponseBody.java index 405fe0928c4..d6074dfb225 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchUpdateDataLakePartitionsResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/BatchUpdateDataLakePartitionsResponseBody.java @@ -106,7 +106,10 @@ private Builder(BatchUpdateDataLakePartitionsResponseBody model) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -114,7 +117,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -122,7 +128,7 @@ public Builder errorMessage(String errorMessage) { } /** - * PartitionErrors. + *

The error messages.

*/ public Builder partitionErrors(java.util.List partitionErrors) { this.partitionErrors = partitionErrors; @@ -130,7 +136,10 @@ public Builder partitionErrors(java.util.List partitionErrors) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

C5B8E84B-42B6-4374-AD5A-6264E1753378

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +147,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ChangeColumnSecurityLevelRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ChangeColumnSecurityLevelRequest.java index 9dfba346df5..b90a91586ac 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ChangeColumnSecurityLevelRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ChangeColumnSecurityLevelRequest.java @@ -172,6 +172,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the field. You can call the ListSensitiveColumns or ListColumns operation to query the column name.

*

This parameter is required.

* * example: @@ -184,6 +185,11 @@ public Builder columnName(String columnName) { } /** + *

The database ID. The database can be a physical database or a logical database.

+ * *

This parameter is required.

* * example: @@ -196,6 +202,11 @@ public Builder dbId(Long dbId) { } /** + *

Specifies whether the database is a logical database. Valid values:

+ *
    + *
  • true: The database is a logical database
  • + *
  • false: The database is a physical database.
  • + *
*

This parameter is required.

* * example: @@ -208,6 +219,7 @@ public Builder isLogic(Boolean isLogic) { } /** + *

The new security level of the column. The valid values are the same as the sensitivity levels of the classification template that is associated with the instance. You can call the ListSensitivityLevel operation to obtain the sensitivity levels of the classification template.

*

This parameter is required.

* * example: @@ -220,6 +232,10 @@ public Builder newSensitivityLevel(String newSensitivityLevel) { } /** + *

The database name. You can call the ListSensitiveColumns or SearchDatabase operation to query the database name.

+ *
+ *

You can call the ListDatabases operation to query the name of a physical database and call the ListLogicDatabases operation to query the name of a logical database.

+ *
*

This parameter is required.

* * example: @@ -232,6 +248,7 @@ public Builder schemaName(String schemaName) { } /** + *

The name of the table. You can call the ListSensitiveColumns or ListTables operation to query the table name.

*

This parameter is required.

* * example: @@ -244,7 +261,13 @@ public Builder tableName(String tableName) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

10****

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ChangeColumnSecurityLevelResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ChangeColumnSecurityLevelResponseBody.java index ebe5f52c87b..453a9a541fb 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ChangeColumnSecurityLevelResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ChangeColumnSecurityLevelResponseBody.java @@ -93,7 +93,10 @@ private Builder(ChangeColumnSecurityLevelResponseBody model) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -101,7 +104,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -109,7 +115,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

E103C5F9-DE47-53F2-BF34-D71DF38F****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -117,7 +126,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ChatWithDesensitizeRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ChatWithDesensitizeRequest.java new file mode 100644 index 00000000000..35038295b92 --- /dev/null +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ChatWithDesensitizeRequest.java @@ -0,0 +1,460 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.dms_enterprise20181101.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link ChatWithDesensitizeRequest} extends {@link RequestModel} + * + *

ChatWithDesensitizeRequest

+ */ +public class ChatWithDesensitizeRequest extends Request { + @com.aliyun.core.annotation.Host + @com.aliyun.core.annotation.NameInMap("RegionId") + private String regionId; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("DesensitizationRule") + private String desensitizationRule; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("EnableThinking") + private Boolean enableThinking; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("InstanceId") + @com.aliyun.core.annotation.Validation(required = true) + private Long instanceId; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("MaxTokens") + private Integer maxTokens; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Messages") + @com.aliyun.core.annotation.Validation(required = true) + private java.util.List> messages; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("Model") + private String model; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("NeedDesensitization") + private Boolean needDesensitization; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("PresencePenalty") + private Float presencePenalty; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ResponseFormat") + private String responseFormat; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("Seed") + private Integer seed; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("Stop") + private java.util.List stop; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("Temperature") + private Float temperature; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ThinkingBudget") + private Integer thinkingBudget; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("TopK") + private Integer topK; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("TopLogprobs") + private Integer topLogprobs; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("TopP") + private Float topP; + + private ChatWithDesensitizeRequest(Builder builder) { + super(builder); + this.regionId = builder.regionId; + this.desensitizationRule = builder.desensitizationRule; + this.enableThinking = builder.enableThinking; + this.instanceId = builder.instanceId; + this.maxTokens = builder.maxTokens; + this.messages = builder.messages; + this.model = builder.model; + this.needDesensitization = builder.needDesensitization; + this.presencePenalty = builder.presencePenalty; + this.responseFormat = builder.responseFormat; + this.seed = builder.seed; + this.stop = builder.stop; + this.temperature = builder.temperature; + this.thinkingBudget = builder.thinkingBudget; + this.topK = builder.topK; + this.topLogprobs = builder.topLogprobs; + this.topP = builder.topP; + } + + public static Builder builder() { + return new Builder(); + } + + public static ChatWithDesensitizeRequest create() { + return builder().build(); + } + +@Override + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return regionId + */ + public String getRegionId() { + return this.regionId; + } + + /** + * @return desensitizationRule + */ + public String getDesensitizationRule() { + return this.desensitizationRule; + } + + /** + * @return enableThinking + */ + public Boolean getEnableThinking() { + return this.enableThinking; + } + + /** + * @return instanceId + */ + public Long getInstanceId() { + return this.instanceId; + } + + /** + * @return maxTokens + */ + public Integer getMaxTokens() { + return this.maxTokens; + } + + /** + * @return messages + */ + public java.util.List> getMessages() { + return this.messages; + } + + /** + * @return model + */ + public String getModel() { + return this.model; + } + + /** + * @return needDesensitization + */ + public Boolean getNeedDesensitization() { + return this.needDesensitization; + } + + /** + * @return presencePenalty + */ + public Float getPresencePenalty() { + return this.presencePenalty; + } + + /** + * @return responseFormat + */ + public String getResponseFormat() { + return this.responseFormat; + } + + /** + * @return seed + */ + public Integer getSeed() { + return this.seed; + } + + /** + * @return stop + */ + public java.util.List getStop() { + return this.stop; + } + + /** + * @return temperature + */ + public Float getTemperature() { + return this.temperature; + } + + /** + * @return thinkingBudget + */ + public Integer getThinkingBudget() { + return this.thinkingBudget; + } + + /** + * @return topK + */ + public Integer getTopK() { + return this.topK; + } + + /** + * @return topLogprobs + */ + public Integer getTopLogprobs() { + return this.topLogprobs; + } + + /** + * @return topP + */ + public Float getTopP() { + return this.topP; + } + + public static final class Builder extends Request.Builder { + private String regionId; + private String desensitizationRule; + private Boolean enableThinking; + private Long instanceId; + private Integer maxTokens; + private java.util.List> messages; + private String model; + private Boolean needDesensitization; + private Float presencePenalty; + private String responseFormat; + private Integer seed; + private java.util.List stop; + private Float temperature; + private Integer thinkingBudget; + private Integer topK; + private Integer topLogprobs; + private Float topP; + + private Builder() { + super(); + } + + private Builder(ChatWithDesensitizeRequest request) { + super(request); + this.regionId = request.regionId; + this.desensitizationRule = request.desensitizationRule; + this.enableThinking = request.enableThinking; + this.instanceId = request.instanceId; + this.maxTokens = request.maxTokens; + this.messages = request.messages; + this.model = request.model; + this.needDesensitization = request.needDesensitization; + this.presencePenalty = request.presencePenalty; + this.responseFormat = request.responseFormat; + this.seed = request.seed; + this.stop = request.stop; + this.temperature = request.temperature; + this.thinkingBudget = request.thinkingBudget; + this.topK = request.topK; + this.topLogprobs = request.topLogprobs; + this.topP = request.topP; + } + + /** + * RegionId. + */ + public Builder regionId(String regionId) { + this.putHostParameter("RegionId", regionId); + this.regionId = regionId; + return this; + } + + /** + * DesensitizationRule. + */ + public Builder desensitizationRule(String desensitizationRule) { + this.putQueryParameter("DesensitizationRule", desensitizationRule); + this.desensitizationRule = desensitizationRule; + return this; + } + + /** + * EnableThinking. + */ + public Builder enableThinking(Boolean enableThinking) { + this.putQueryParameter("EnableThinking", enableThinking); + this.enableThinking = enableThinking; + return this; + } + + /** + *

This parameter is required.

+ * + * example: + *

123***

+ */ + public Builder instanceId(Long instanceId) { + this.putQueryParameter("InstanceId", instanceId); + this.instanceId = instanceId; + return this; + } + + /** + * MaxTokens. + */ + public Builder maxTokens(Integer maxTokens) { + this.putQueryParameter("MaxTokens", maxTokens); + this.maxTokens = maxTokens; + return this; + } + + /** + *

This parameter is required.

+ * + * example: + *

[ + * { + * "content": "你好", + * "role": "user" + * } + * ]

+ */ + public Builder messages(java.util.List> messages) { + String messagesShrink = shrink(messages, "Messages", "json"); + this.putBodyParameter("Messages", messagesShrink); + this.messages = messages; + return this; + } + + /** + * Model. + */ + public Builder model(String model) { + this.putQueryParameter("Model", model); + this.model = model; + return this; + } + + /** + * NeedDesensitization. + */ + public Builder needDesensitization(Boolean needDesensitization) { + this.putQueryParameter("NeedDesensitization", needDesensitization); + this.needDesensitization = needDesensitization; + return this; + } + + /** + * PresencePenalty. + */ + public Builder presencePenalty(Float presencePenalty) { + this.putQueryParameter("PresencePenalty", presencePenalty); + this.presencePenalty = presencePenalty; + return this; + } + + /** + * ResponseFormat. + */ + public Builder responseFormat(String responseFormat) { + this.putQueryParameter("ResponseFormat", responseFormat); + this.responseFormat = responseFormat; + return this; + } + + /** + * Seed. + */ + public Builder seed(Integer seed) { + this.putQueryParameter("Seed", seed); + this.seed = seed; + return this; + } + + /** + * Stop. + */ + public Builder stop(java.util.List stop) { + String stopShrink = shrink(stop, "Stop", "json"); + this.putQueryParameter("Stop", stopShrink); + this.stop = stop; + return this; + } + + /** + * Temperature. + */ + public Builder temperature(Float temperature) { + this.putQueryParameter("Temperature", temperature); + this.temperature = temperature; + return this; + } + + /** + * ThinkingBudget. + */ + public Builder thinkingBudget(Integer thinkingBudget) { + this.putQueryParameter("ThinkingBudget", thinkingBudget); + this.thinkingBudget = thinkingBudget; + return this; + } + + /** + * TopK. + */ + public Builder topK(Integer topK) { + this.putQueryParameter("TopK", topK); + this.topK = topK; + return this; + } + + /** + * TopLogprobs. + */ + public Builder topLogprobs(Integer topLogprobs) { + this.putQueryParameter("TopLogprobs", topLogprobs); + this.topLogprobs = topLogprobs; + return this; + } + + /** + * TopP. + */ + public Builder topP(Float topP) { + this.putQueryParameter("TopP", topP); + this.topP = topP; + return this; + } + + @Override + public ChatWithDesensitizeRequest build() { + return new ChatWithDesensitizeRequest(this); + } + + } + +} diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ChatWithDesensitizeResponse.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ChatWithDesensitizeResponse.java new file mode 100644 index 00000000000..ad02b9d44bf --- /dev/null +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ChatWithDesensitizeResponse.java @@ -0,0 +1,131 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.dms_enterprise20181101.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link ChatWithDesensitizeResponse} extends {@link TeaModel} + * + *

ChatWithDesensitizeResponse

+ */ +public class ChatWithDesensitizeResponse extends Response { + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; + + @com.aliyun.core.annotation.NameInMap("statusCode") + private Integer statusCode; + + @com.aliyun.core.annotation.NameInMap("body") + private ChatWithDesensitizeResponseBody body; + + private ChatWithDesensitizeResponse(BuilderImpl builder) { + super(builder); + this.headers = builder.headers; + this.statusCode = builder.statusCode; + this.body = builder.body; + } + + public static ChatWithDesensitizeResponse create() { + return new BuilderImpl().build(); + } + +@Override + public Builder toBuilder() { + return new BuilderImpl(this); + } + + /** + * @return headers + */ + public java.util.Map getHeaders() { + return this.headers; + } + + /** + * @return statusCode + */ + public Integer getStatusCode() { + return this.statusCode; + } + + /** + * @return body + */ + public ChatWithDesensitizeResponseBody getBody() { + return this.body; + } + + public interface Builder extends Response.Builder { + + Builder headers(java.util.Map headers); + + Builder statusCode(Integer statusCode); + + Builder body(ChatWithDesensitizeResponseBody body); + + @Override + ChatWithDesensitizeResponse build(); + + } + + private static final class BuilderImpl + extends Response.BuilderImpl + implements Builder { + private java.util.Map headers; + private Integer statusCode; + private ChatWithDesensitizeResponseBody body; + + private BuilderImpl() { + super(); + } + + private BuilderImpl(ChatWithDesensitizeResponse response) { + super(response); + this.headers = response.headers; + this.statusCode = response.statusCode; + this.body = response.body; + } + + /** + * headers. + */ + @Override + public Builder headers(java.util.Map headers) { + this.headers = headers; + return this; + } + + /** + * statusCode. + */ + @Override + public Builder statusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * body. + */ + @Override + public Builder body(ChatWithDesensitizeResponseBody body) { + this.body = body; + return this; + } + + @Override + public ChatWithDesensitizeResponse build() { + return new ChatWithDesensitizeResponse(this); + } + + } + +} diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ChatWithDesensitizeResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ChatWithDesensitizeResponseBody.java new file mode 100644 index 00000000000..900701f3c26 --- /dev/null +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ChatWithDesensitizeResponseBody.java @@ -0,0 +1,538 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.dms_enterprise20181101.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link ChatWithDesensitizeResponseBody} extends {@link TeaModel} + * + *

ChatWithDesensitizeResponseBody

+ */ +public class ChatWithDesensitizeResponseBody extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Data") + private Data data; + + @com.aliyun.core.annotation.NameInMap("ErrorCode") + private String errorCode; + + @com.aliyun.core.annotation.NameInMap("ErrorMessage") + private String errorMessage; + + @com.aliyun.core.annotation.NameInMap("RequestId") + private String requestId; + + @com.aliyun.core.annotation.NameInMap("Success") + private Boolean success; + + private ChatWithDesensitizeResponseBody(Builder builder) { + this.data = builder.data; + this.errorCode = builder.errorCode; + this.errorMessage = builder.errorMessage; + this.requestId = builder.requestId; + this.success = builder.success; + } + + public static Builder builder() { + return new Builder(); + } + + public static ChatWithDesensitizeResponseBody create() { + return builder().build(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return data + */ + public Data getData() { + return this.data; + } + + /** + * @return errorCode + */ + public String getErrorCode() { + return this.errorCode; + } + + /** + * @return errorMessage + */ + public String getErrorMessage() { + return this.errorMessage; + } + + /** + * @return requestId + */ + public String getRequestId() { + return this.requestId; + } + + /** + * @return success + */ + public Boolean getSuccess() { + return this.success; + } + + public static final class Builder { + private Data data; + private String errorCode; + private String errorMessage; + private String requestId; + private Boolean success; + + private Builder() { + } + + private Builder(ChatWithDesensitizeResponseBody model) { + this.data = model.data; + this.errorCode = model.errorCode; + this.errorMessage = model.errorMessage; + this.requestId = model.requestId; + this.success = model.success; + } + + /** + * Data. + */ + public Builder data(Data data) { + this.data = data; + return this; + } + + /** + * ErrorCode. + */ + public Builder errorCode(String errorCode) { + this.errorCode = errorCode; + return this; + } + + /** + * ErrorMessage. + */ + public Builder errorMessage(String errorMessage) { + this.errorMessage = errorMessage; + return this; + } + + /** + * RequestId. + */ + public Builder requestId(String requestId) { + this.requestId = requestId; + return this; + } + + /** + * Success. + */ + public Builder success(Boolean success) { + this.success = success; + return this; + } + + public ChatWithDesensitizeResponseBody build() { + return new ChatWithDesensitizeResponseBody(this); + } + + } + + /** + * + * {@link ChatWithDesensitizeResponseBody} extends {@link TeaModel} + * + *

ChatWithDesensitizeResponseBody

+ */ + public static class Message extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Content") + private String content; + + @com.aliyun.core.annotation.NameInMap("ReasoningContent") + private String reasoningContent; + + @com.aliyun.core.annotation.NameInMap("Role") + private String role; + + private Message(Builder builder) { + this.content = builder.content; + this.reasoningContent = builder.reasoningContent; + this.role = builder.role; + } + + public static Builder builder() { + return new Builder(); + } + + public static Message create() { + return builder().build(); + } + + /** + * @return content + */ + public String getContent() { + return this.content; + } + + /** + * @return reasoningContent + */ + public String getReasoningContent() { + return this.reasoningContent; + } + + /** + * @return role + */ + public String getRole() { + return this.role; + } + + public static final class Builder { + private String content; + private String reasoningContent; + private String role; + + private Builder() { + } + + private Builder(Message model) { + this.content = model.content; + this.reasoningContent = model.reasoningContent; + this.role = model.role; + } + + /** + * Content. + */ + public Builder content(String content) { + this.content = content; + return this; + } + + /** + * ReasoningContent. + */ + public Builder reasoningContent(String reasoningContent) { + this.reasoningContent = reasoningContent; + return this; + } + + /** + * Role. + */ + public Builder role(String role) { + this.role = role; + return this; + } + + public Message build() { + return new Message(this); + } + + } + + } + /** + * + * {@link ChatWithDesensitizeResponseBody} extends {@link TeaModel} + * + *

ChatWithDesensitizeResponseBody

+ */ + public static class Choices extends TeaModel { + @com.aliyun.core.annotation.NameInMap("FinishReason") + private String finishReason; + + @com.aliyun.core.annotation.NameInMap("Message") + private Message message; + + private Choices(Builder builder) { + this.finishReason = builder.finishReason; + this.message = builder.message; + } + + public static Builder builder() { + return new Builder(); + } + + public static Choices create() { + return builder().build(); + } + + /** + * @return finishReason + */ + public String getFinishReason() { + return this.finishReason; + } + + /** + * @return message + */ + public Message getMessage() { + return this.message; + } + + public static final class Builder { + private String finishReason; + private Message message; + + private Builder() { + } + + private Builder(Choices model) { + this.finishReason = model.finishReason; + this.message = model.message; + } + + /** + * FinishReason. + */ + public Builder finishReason(String finishReason) { + this.finishReason = finishReason; + return this; + } + + /** + * Message. + */ + public Builder message(Message message) { + this.message = message; + return this; + } + + public Choices build() { + return new Choices(this); + } + + } + + } + /** + * + * {@link ChatWithDesensitizeResponseBody} extends {@link TeaModel} + * + *

ChatWithDesensitizeResponseBody

+ */ + public static class Usage extends TeaModel { + @com.aliyun.core.annotation.NameInMap("CompletionTokens") + private String completionTokens; + + @com.aliyun.core.annotation.NameInMap("PromptTokens") + private String promptTokens; + + @com.aliyun.core.annotation.NameInMap("TotalTokens") + private String totalTokens; + + private Usage(Builder builder) { + this.completionTokens = builder.completionTokens; + this.promptTokens = builder.promptTokens; + this.totalTokens = builder.totalTokens; + } + + public static Builder builder() { + return new Builder(); + } + + public static Usage create() { + return builder().build(); + } + + /** + * @return completionTokens + */ + public String getCompletionTokens() { + return this.completionTokens; + } + + /** + * @return promptTokens + */ + public String getPromptTokens() { + return this.promptTokens; + } + + /** + * @return totalTokens + */ + public String getTotalTokens() { + return this.totalTokens; + } + + public static final class Builder { + private String completionTokens; + private String promptTokens; + private String totalTokens; + + private Builder() { + } + + private Builder(Usage model) { + this.completionTokens = model.completionTokens; + this.promptTokens = model.promptTokens; + this.totalTokens = model.totalTokens; + } + + /** + * CompletionTokens. + */ + public Builder completionTokens(String completionTokens) { + this.completionTokens = completionTokens; + return this; + } + + /** + * PromptTokens. + */ + public Builder promptTokens(String promptTokens) { + this.promptTokens = promptTokens; + return this; + } + + /** + * TotalTokens. + */ + public Builder totalTokens(String totalTokens) { + this.totalTokens = totalTokens; + return this; + } + + public Usage build() { + return new Usage(this); + } + + } + + } + /** + * + * {@link ChatWithDesensitizeResponseBody} extends {@link TeaModel} + * + *

ChatWithDesensitizeResponseBody

+ */ + public static class Data extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Choices") + private java.util.List choices; + + @com.aliyun.core.annotation.NameInMap("Created") + private String created; + + @com.aliyun.core.annotation.NameInMap("Model") + private String model; + + @com.aliyun.core.annotation.NameInMap("Usage") + private Usage usage; + + private Data(Builder builder) { + this.choices = builder.choices; + this.created = builder.created; + this.model = builder.model; + this.usage = builder.usage; + } + + public static Builder builder() { + return new Builder(); + } + + public static Data create() { + return builder().build(); + } + + /** + * @return choices + */ + public java.util.List getChoices() { + return this.choices; + } + + /** + * @return created + */ + public String getCreated() { + return this.created; + } + + /** + * @return model + */ + public String getModel() { + return this.model; + } + + /** + * @return usage + */ + public Usage getUsage() { + return this.usage; + } + + public static final class Builder { + private java.util.List choices; + private String created; + private String model; + private Usage usage; + + private Builder() { + } + + private Builder(Data model) { + this.choices = model.choices; + this.created = model.created; + this.model = model.model; + this.usage = model.usage; + } + + /** + * Choices. + */ + public Builder choices(java.util.List choices) { + this.choices = choices; + return this; + } + + /** + * Created. + */ + public Builder created(String created) { + this.created = created; + return this; + } + + /** + * Model. + */ + public Builder model(String model) { + this.model = model; + return this; + } + + /** + * Usage. + */ + public Builder usage(Usage usage) { + this.usage = usage; + return this; + } + + public Data build() { + return new Data(this); + } + + } + + } +} diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateAbacAuthorizationRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateAbacAuthorizationRequest.java index 4e09e0b9676..9affb9f0a3f 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateAbacAuthorizationRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateAbacAuthorizationRequest.java @@ -141,6 +141,12 @@ public Builder regionId(String regionId) { } /** + *

Principal Type. Valid values:userorcustom role.

+ *

Valid values:

+ *
    + *
  • USER
  • + *
  • ROLE
  • + *
*

This parameter is required.

* * example: @@ -153,6 +159,7 @@ public Builder identityType(String identityType) { } /** + *

The ID of the policy.

*

This parameter is required.

* * example: @@ -165,7 +172,13 @@ public Builder policyId(Long policyId) { } /** - * RoleId. + *

The ID of the role.

+ *
+ *

If IdentityType is set to ROLE, this parameter is required.

+ *
+ * + * example: + *

31****

*/ public Builder roleId(Long roleId) { this.putQueryParameter("RoleId", roleId); @@ -174,7 +187,13 @@ public Builder roleId(Long roleId) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -183,7 +202,13 @@ public Builder tid(Long tid) { } /** - * UserId. + *

The ID of the user. You can call the GetUser operation to query the user ID.

+ *
+ *

If IdentityType is set to USER, this parameter is required.

+ *
+ * + * example: + *

51****

*/ public Builder userId(Long userId) { this.putQueryParameter("UserId", userId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateAbacAuthorizationResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateAbacAuthorizationResponseBody.java index 6517695f2b7..dc00e8b8f4b 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateAbacAuthorizationResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateAbacAuthorizationResponseBody.java @@ -106,7 +106,10 @@ private Builder(CreateAbacAuthorizationResponseBody model) { } /** - * ErrorCode. + *

The error code.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -114,7 +117,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -122,7 +128,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the request ID to query logs and troubleshoot issues.

+ * + * example: + *

0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -130,7 +139,10 @@ public Builder requestId(String requestId) { } /** - * Result. + *

Indicates whether the policy is attached.

+ * + * example: + *

true

*/ public Builder result(String result) { this.result = result; @@ -138,7 +150,14 @@ public Builder result(String result) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request succeeded.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateAbacPolicyRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateAbacPolicyRequest.java index 623f85fa8f7..df7ecc02ffa 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateAbacPolicyRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateAbacPolicyRequest.java @@ -127,6 +127,7 @@ public Builder regionId(String regionId) { } /** + *

The content of the policy. Specifies whether the authorized user can access and use the resources and features defined in the policy.

*

This parameter is required.

* * example: @@ -155,7 +156,10 @@ public Builder abacPolicyContent(String abacPolicyContent) { } /** - * AbacPolicyDesc. + *

The description of the policy.

+ * + * example: + *

test

*/ public Builder abacPolicyDesc(String abacPolicyDesc) { this.putQueryParameter("AbacPolicyDesc", abacPolicyDesc); @@ -164,6 +168,7 @@ public Builder abacPolicyDesc(String abacPolicyDesc) { } /** + *

The name of the policy. The name must be unique for the tenant.

*

This parameter is required.

* * example: @@ -176,7 +181,13 @@ public Builder abacPolicyName(String abacPolicyName) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateAbacPolicyResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateAbacPolicyResponseBody.java index 1fc9b9260ae..a91b2377aca 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateAbacPolicyResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateAbacPolicyResponseBody.java @@ -106,7 +106,10 @@ private Builder(CreateAbacPolicyResponseBody model) { } /** - * CreatePolicyResult. + *

The ID of the policy.

+ * + * example: + *

12****

*/ public Builder createPolicyResult(Long createPolicyResult) { this.createPolicyResult = createPolicyResult; @@ -114,7 +117,10 @@ public Builder createPolicyResult(Long createPolicyResult) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -122,7 +128,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -130,7 +139,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID.

+ * + * example: + *

0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +150,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeDatabaseRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeDatabaseRequest.java index 212cddce3c9..f84cb0599eb 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeDatabaseRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeDatabaseRequest.java @@ -184,6 +184,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data catalog.

*

This parameter is required.

* * example: @@ -196,6 +197,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -208,6 +210,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The name of the database that you want to query.

*

This parameter is required.

* * example: @@ -220,7 +223,10 @@ public Builder dbName(String dbName) { } /** - * Description. + *

The description of the database.

+ * + * example: + *

test

*/ public Builder description(String description) { this.putQueryParameter("Description", description); @@ -229,6 +235,7 @@ public Builder description(String description) { } /** + *

The storage path of the database. OSS, S3, and S3A are supported.

*

This parameter is required.

* * example: @@ -241,7 +248,7 @@ public Builder location(String location) { } /** - * Parameters. + *

The key-value pairs of the database attributes.

*/ public Builder parameters(java.util.Map parameters) { String parametersShrink = shrink(parameters, "Parameters", "json"); @@ -251,7 +258,13 @@ public Builder parameters(java.util.Map parameters) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -260,7 +273,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeDatabaseResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeDatabaseResponseBody.java index 2bc213b0e48..b2348ddddeb 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeDatabaseResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeDatabaseResponseBody.java @@ -93,7 +93,10 @@ private Builder(CreateDataLakeDatabaseResponseBody model) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -101,7 +104,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -109,7 +115,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

D911009F-3E95-5AFD-8CF1-73F7B4F15D6E

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -117,7 +126,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeFunctionRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeFunctionRequest.java index 7702f774aa8..d547928b897 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeFunctionRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeFunctionRequest.java @@ -156,6 +156,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data catalog.

*

This parameter is required.

* * example: @@ -168,6 +169,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -180,6 +182,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The database name.

*

This parameter is required.

* * example: @@ -192,6 +195,7 @@ public Builder dbName(String dbName) { } /** + *

The details about the function.

*

This parameter is required.

*/ public Builder functionInput(DLFunctionInput functionInput) { @@ -202,7 +206,13 @@ public Builder functionInput(DLFunctionInput functionInput) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3****

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -211,7 +221,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeFunctionResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeFunctionResponseBody.java index 0b46a3a67f7..943d39e62a6 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeFunctionResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeFunctionResponseBody.java @@ -106,7 +106,10 @@ private Builder(CreateDataLakeFunctionResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -114,7 +117,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -122,7 +128,7 @@ public Builder errorMessage(String errorMessage) { } /** - * Function. + *

The details about the function.

*/ public Builder function(DLFunction function) { this.function = function; @@ -130,7 +136,10 @@ public Builder function(DLFunction function) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

EE214ECD-4330-503A-82F0-FFB039757DC8

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +147,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakePartitionRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakePartitionRequest.java index 2f367b66cbb..09f62df16a8 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakePartitionRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakePartitionRequest.java @@ -199,6 +199,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data catalog.

*

This parameter is required.

* * example: @@ -211,6 +212,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -223,6 +225,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The database name.

*

This parameter is required.

* * example: @@ -235,7 +238,10 @@ public Builder dbName(String dbName) { } /** - * IfNotExists. + *

Specifies whether to ignore the exception if the name of the created partition is the same as the name of an existing partition.

+ * + * example: + *

true

*/ public Builder ifNotExists(Boolean ifNotExists) { this.putQueryParameter("IfNotExists", ifNotExists); @@ -244,7 +250,14 @@ public Builder ifNotExists(Boolean ifNotExists) { } /** - * NeedResult. + *

Specifies whether to return information about the created partition. If the value is true, the Partition parameter is returned. Valid values:

+ *
    + *
  • true: returns information about the created partition.
  • + *
  • false: does not return information about the created partition.
  • + *
+ * + * example: + *

true

*/ public Builder needResult(Boolean needResult) { this.putQueryParameter("NeedResult", needResult); @@ -253,6 +266,7 @@ public Builder needResult(Boolean needResult) { } /** + *

The information about the created partition.

*

This parameter is required.

*/ public Builder partitionInput(DLPartitionInput partitionInput) { @@ -263,6 +277,7 @@ public Builder partitionInput(DLPartitionInput partitionInput) { } /** + *

The name of the table

*

This parameter is required.

* * example: @@ -275,7 +290,13 @@ public Builder tableName(String tableName) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -284,7 +305,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakePartitionResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakePartitionResponseBody.java index a8419717035..19f68510b8e 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakePartitionResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakePartitionResponseBody.java @@ -106,7 +106,10 @@ private Builder(CreateDataLakePartitionResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -114,7 +117,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -122,7 +128,7 @@ public Builder errorMessage(String errorMessage) { } /** - * Partition. + *

The information about the partition.

*/ public Builder partition(DLPartition partition) { this.partition = partition; @@ -130,7 +136,10 @@ public Builder partition(DLPartition partition) { } /** - * RequestId. + *

The request ID. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +147,11 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeTableRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeTableRequest.java index 91a74e87f16..0655b0e690a 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeTableRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeTableRequest.java @@ -156,6 +156,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data catalog.

*

This parameter is required.

* * example: @@ -168,6 +169,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -180,6 +182,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The database name.

*

This parameter is required.

* * example: @@ -192,6 +195,7 @@ public Builder dbName(String dbName) { } /** + *

The information about the table.

*

This parameter is required.

*/ public Builder tableInput(OpenStructDLTableInput tableInput) { @@ -202,7 +206,13 @@ public Builder tableInput(OpenStructDLTableInput tableInput) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

You can move the pointer over the profile picture in the upper-right corner of the DMS console to obtain the tenant ID.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -211,7 +221,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeTableResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeTableResponseBody.java index a90ed8ec5c0..db6f084a600 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeTableResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateDataLakeTableResponseBody.java @@ -106,7 +106,10 @@ private Builder(CreateDataLakeTableResponseBody model) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -114,7 +117,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -122,7 +128,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The ID of the request. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

7FAD400F-7A5C-4193-8F9A-39D86C4F0231

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -130,7 +139,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -138,7 +154,7 @@ public Builder success(Boolean success) { } /** - * Table. + *

The information about the table.

*/ public Builder table(DLTable table) { this.table = table; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateMetaCategoryRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateMetaCategoryRequest.java index 099c50fd43b..e440daa7607 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateMetaCategoryRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateMetaCategoryRequest.java @@ -112,6 +112,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the category.

*

This parameter is required.

* * example: @@ -124,7 +125,10 @@ public Builder name(String name) { } /** - * ParentCategoryId. + *

The ID of the parent category. The new category is created under this parent category. If this value is left empty, the new category is of the first level.

+ * + * example: + *

30000322682

*/ public Builder parentCategoryId(Long parentCategoryId) { this.putQueryParameter("ParentCategoryId", parentCategoryId); @@ -133,7 +137,10 @@ public Builder parentCategoryId(Long parentCategoryId) { } /** - * Tid. + *

The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the tenant ID.

+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateMetaCategoryResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateMetaCategoryResponseBody.java index 22733346bc2..4ffa6c87869 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateMetaCategoryResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateMetaCategoryResponseBody.java @@ -106,7 +106,7 @@ private Builder(CreateMetaCategoryResponseBody model) { } /** - * Category. + *

The information about the category.

*/ public Builder category(MetaCategory category) { this.category = category; @@ -114,7 +114,10 @@ public Builder category(MetaCategory category) { } /** - * ErrorCode. + *

The error code returned if the request fails.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -122,7 +125,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message returned if the request fails.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -130,7 +136,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID.

+ * + * example: + *

207176D7-A9B3-55CE-A9DA-14E223A31913

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +147,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateProcCorrectOrderRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateProcCorrectOrderRequest.java index c88e08bc2c0..73bec416710 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateProcCorrectOrderRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateProcCorrectOrderRequest.java @@ -141,7 +141,11 @@ public Builder regionId(String regionId) { } /** - * AttachmentKey. + *

The key of the attachment for the ticket. The attachment provides more instructions for this operation.

+ *

You can call the GetUserUploadFileJob operation to query the key of the attachment.

+ * + * example: + *

order_attachment.txt

*/ public Builder attachmentKey(String attachmentKey) { this.putQueryParameter("AttachmentKey", attachmentKey); @@ -150,6 +154,7 @@ public Builder attachmentKey(String attachmentKey) { } /** + *

The remarks of the ticket.

*

This parameter is required.

* * example: @@ -162,6 +167,7 @@ public Builder comment(String comment) { } /** + *

The parameters of the ticket.

*

This parameter is required.

*/ public Builder param(Param param) { @@ -172,7 +178,7 @@ public Builder param(Param param) { } /** - * RelatedUserList. + *

The operators that are related to the ticket.

*/ public Builder relatedUserList(java.util.List relatedUserList) { String relatedUserListShrink = shrink(relatedUserList, "RelatedUserList", "json"); @@ -182,7 +188,13 @@ public Builder relatedUserList(java.util.List relatedUserList) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

4***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -252,6 +264,11 @@ private Builder(DbItemList model) { } /** + *

The database ID. Databases are divided into physical databases and logical databases.

+ * *

This parameter is required.

* * example: @@ -263,6 +280,11 @@ public Builder dbId(Long dbId) { } /** + *

Specifies whether the database is a logical database. Valid values:

+ *
    + *
  • true: The database is a logical database.
  • + *
  • false: The database is a physical database.
  • + *
*

This parameter is required.

* * example: @@ -400,7 +422,10 @@ private Builder(Param model) { } /** - * Classify. + *

The reason for the programmable object change.

+ * + * example: + *

test

*/ public Builder classify(String classify) { this.classify = classify; @@ -408,6 +433,7 @@ public Builder classify(String classify) { } /** + *

The information about the database.

*

This parameter is required.

*/ public Builder dbItemList(java.util.List dbItemList) { @@ -416,7 +442,15 @@ public Builder dbItemList(java.util.List dbItemList) { } /** - * ExecMode. + *

The mode in which the data change ticket is executed after the ticket is approved. Valid values:

+ *
    + *
  • COMMITOR: The ticket is executed by the user who submits the ticket.
  • + *
  • AUTO: The ticket is automatically executed after the ticket is approved.
  • + *
  • LAST_AUDITOR: The ticket is executed by the last approver of the ticket.
  • + *
+ * + * example: + *

COMMITOR

*/ public Builder execMode(String execMode) { this.execMode = execMode; @@ -424,6 +458,7 @@ public Builder execMode(String execMode) { } /** + *

The SQL statements for data change.

*

This parameter is required.

* * example: @@ -439,7 +474,13 @@ public Builder execSQL(String execSQL) { } /** - * RollbackAttachmentName. + *

The key of the attachment that contains the SQL statements used to roll back the data change. You can call the GetUserUploadFileJob operation to obtain the attachment key from the value of AttachmentKey.

+ *
+ *

This parameter is required if you set RollbackSqlType to ATTACHMENT.

+ *
+ * + * example: + *

test_rollback.sql

*/ public Builder rollbackAttachmentName(String rollbackAttachmentName) { this.rollbackAttachmentName = rollbackAttachmentName; @@ -447,7 +488,13 @@ public Builder rollbackAttachmentName(String rollbackAttachmentName) { } /** - * RollbackSQL. + *

The SQL statements for rolling back the data change.

+ *
+ *

This parameter is required if you set the RollbackSqlType parameter to TEXT.

+ *
+ * + * example: + *

empty

*/ public Builder rollbackSQL(String rollbackSQL) { this.rollbackSQL = rollbackSQL; @@ -455,7 +502,14 @@ public Builder rollbackSQL(String rollbackSQL) { } /** - * RollbackSqlType. + *

The format of the SQL statements used to roll back the data change. Valid values:

+ *
    + *
  • TEXT
  • + *
  • ATTACHMENT
  • + *
+ * + * example: + *

TEXT

*/ public Builder rollbackSqlType(String rollbackSqlType) { this.rollbackSqlType = rollbackSqlType; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateProcCorrectOrderResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateProcCorrectOrderResponseBody.java index 128a711bf3e..db9a25fed48 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateProcCorrectOrderResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateProcCorrectOrderResponseBody.java @@ -106,7 +106,7 @@ private Builder(CreateProcCorrectOrderResponseBody model) { } /** - * CreateOrderResult. + *

The ticket IDs.

*/ public Builder createOrderResult(java.util.List createOrderResult) { this.createOrderResult = createOrderResult; @@ -114,7 +114,10 @@ public Builder createOrderResult(java.util.List createOrderResult) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -122,7 +125,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -130,7 +136,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID.

+ * + * example: + *

427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +147,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateWorkspaceRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateWorkspaceRequest.java index 834bf73dda9..dc19a8af03d 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateWorkspaceRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateWorkspaceRequest.java @@ -119,7 +119,10 @@ private Builder(CreateWorkspaceRequest request) { } /** - * ClientToken. + *

The client token that is used to ensure the idempotence of the request.

+ * + * example: + *

token-xxx

*/ public Builder clientToken(String clientToken) { this.putBodyParameter("ClientToken", clientToken); @@ -128,6 +131,7 @@ public Builder clientToken(String clientToken) { } /** + *

The description of the workspace.

*

This parameter is required.

* * example: @@ -140,6 +144,7 @@ public Builder description(String description) { } /** + *

The region to which the workspace belongs.

*

This parameter is required.

* * example: @@ -152,6 +157,7 @@ public Builder regionId(String regionId) { } /** + *

The VPC ID.

*

This parameter is required.

* * example: @@ -164,6 +170,7 @@ public Builder vpcId(String vpcId) { } /** + *

The name of the workspace.

*

This parameter is required.

* * example: diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateWorkspaceResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateWorkspaceResponseBody.java index 9f3df56fa74..bb71833289f 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateWorkspaceResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/CreateWorkspaceResponseBody.java @@ -80,7 +80,10 @@ private Builder(CreateWorkspaceResponseBody model) { } /** - * RequestId. + *

The request ID. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

4AC23904-55DE-550B-9676-E8946F07****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -88,7 +91,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -96,7 +106,10 @@ public Builder success(Boolean success) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.workspaceId = workspaceId; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAbacAuthorizationRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAbacAuthorizationRequest.java index 52a4a5dbe2e..2eec4341054 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAbacAuthorizationRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAbacAuthorizationRequest.java @@ -113,6 +113,7 @@ public Builder regionId(String regionId) { } /** + *

The authorization ID.

*

This parameter is required.

* * example: @@ -125,6 +126,12 @@ public Builder authorizationId(Long authorizationId) { } /** + *

The type of object to which you want to attach the policy.********

+ *

Valid values:

+ *
    + *
  • USER
  • + *
  • ROLE
  • + *
*

This parameter is required.

* * example: @@ -137,7 +144,13 @@ public Builder identityType(String identityType) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAbacAuthorizationResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAbacAuthorizationResponseBody.java index c60dfa63ecf..edde7fd6e9c 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAbacAuthorizationResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAbacAuthorizationResponseBody.java @@ -106,7 +106,10 @@ private Builder(DeleteAbacAuthorizationResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -114,7 +117,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -122,7 +128,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

207176D7-A9B3-55CE-A9DA-14E223A31913

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -130,7 +139,10 @@ public Builder requestId(String requestId) { } /** - * Result. + *

Indicates whether the policy is detached from the user.

+ * + * example: + *

true

*/ public Builder result(String result) { this.result = result; @@ -138,7 +150,14 @@ public Builder result(String result) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAbacPolicyRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAbacPolicyRequest.java index 3852962e9a1..ddbb868f574 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAbacPolicyRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAbacPolicyRequest.java @@ -98,6 +98,7 @@ public Builder regionId(String regionId) { } /** + *

The ID of the policy.

*

This parameter is required.

* * example: @@ -110,7 +111,13 @@ public Builder abacPolicyId(Long abacPolicyId) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAbacPolicyResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAbacPolicyResponseBody.java index 8ac3b2cd695..d54c58bd2c2 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAbacPolicyResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAbacPolicyResponseBody.java @@ -106,7 +106,10 @@ private Builder(DeleteAbacPolicyResponseBody model) { } /** - * DeletePolicyResult. + *

Indicates whether the policy is deleted.

+ * + * example: + *

true

*/ public Builder deletePolicyResult(Boolean deletePolicyResult) { this.deletePolicyResult = deletePolicyResult; @@ -114,7 +117,10 @@ public Builder deletePolicyResult(Boolean deletePolicyResult) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -122,7 +128,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -130,7 +139,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +150,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAuthorityTemplateRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAuthorityTemplateRequest.java index 00f7c922a45..72f6cb65887 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAuthorityTemplateRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAuthorityTemplateRequest.java @@ -97,6 +97,7 @@ public Builder regionId(String regionId) { } /** + *

The ID of the permission template.

*

This parameter is required.

* * example: @@ -109,7 +110,10 @@ public Builder templateId(Long templateId) { } /** - * Tid. + *

The tenant ID. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the tenant ID.

+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAuthorityTemplateResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAuthorityTemplateResponseBody.java index 3091030e871..0e0b05ca225 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAuthorityTemplateResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteAuthorityTemplateResponseBody.java @@ -106,7 +106,10 @@ private Builder(DeleteAuthorityTemplateResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -114,7 +117,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -122,7 +128,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -130,7 +139,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -138,7 +154,10 @@ public Builder success(Boolean success) { } /** - * Tid. + *

The ID of the tenant.

+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.tid = tid; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeDatabaseRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeDatabaseRequest.java index c124e4dc252..3f1ada76d4d 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeDatabaseRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeDatabaseRequest.java @@ -141,6 +141,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data directory.

*

This parameter is required.

* * example: @@ -153,6 +154,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -165,6 +167,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The name of the database that you want to query.

*

This parameter is required.

* * example: @@ -177,7 +180,13 @@ public Builder dbName(String dbName) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -186,7 +195,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeDatabaseResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeDatabaseResponseBody.java index a900a7cb13a..b8784a0c9c5 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeDatabaseResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeDatabaseResponseBody.java @@ -93,7 +93,10 @@ private Builder(DeleteDataLakeDatabaseResponseBody model) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -101,7 +104,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -109,7 +115,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

C51420E3-144A-4A94-B473-8662FCF4AD10

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -117,7 +126,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeFunctionRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeFunctionRequest.java index b1e06666ca3..09ff82e6e7e 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeFunctionRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeFunctionRequest.java @@ -156,6 +156,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data directory.

*

This parameter is required.

* * example: @@ -168,6 +169,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -180,6 +182,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The database name.

*

This parameter is required.

* * example: @@ -192,6 +195,7 @@ public Builder dbName(String dbName) { } /** + *

The function name.

*

This parameter is required.

* * example: @@ -204,7 +208,13 @@ public Builder functionName(String functionName) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -213,7 +223,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeFunctionResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeFunctionResponseBody.java index 735459b369c..0d530b85890 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeFunctionResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeFunctionResponseBody.java @@ -93,7 +93,10 @@ private Builder(DeleteDataLakeFunctionResponseBody model) { } /** - * ErrorCode. + *

The error code.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -101,7 +104,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -109,7 +115,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the ID to locate logs and troubleshoot issues.

+ * + * example: + *

B4B07137-F6AE-4756-8474-7F92BB6C4E04

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -117,7 +126,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the operation was successful. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakePartitionRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakePartitionRequest.java index c619517c1c6..d6ee136f3aa 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakePartitionRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakePartitionRequest.java @@ -185,6 +185,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data catalog.

*

This parameter is required.

* * example: @@ -197,6 +198,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -209,6 +211,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The name of the database that you want to query.

*

This parameter is required.

* * example: @@ -221,7 +224,10 @@ public Builder dbName(String dbName) { } /** - * IfExists. + *

Specifies whether to ignore the exception if the partition that you want to delete does not exist.

+ * + * example: + *

true

*/ public Builder ifExists(Boolean ifExists) { this.putQueryParameter("IfExists", ifExists); @@ -230,6 +236,7 @@ public Builder ifExists(Boolean ifExists) { } /** + *

The values in a partition key column.

*

This parameter is required.

*/ public Builder partitionValues(java.util.List partitionValues) { @@ -240,6 +247,7 @@ public Builder partitionValues(java.util.List partitionValues) { } /** + *

The table name.

*

This parameter is required.

* * example: @@ -252,7 +260,13 @@ public Builder tableName(String tableName) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -261,7 +275,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakePartitionResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakePartitionResponseBody.java index 1f363a79071..8daf0523ebf 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakePartitionResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakePartitionResponseBody.java @@ -93,7 +93,10 @@ private Builder(DeleteDataLakePartitionResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -101,7 +104,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -109,7 +115,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -117,7 +126,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The partition is deleted.
  • + *
  • false: The partition failed to be deleted.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeTableRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeTableRequest.java index 483b7627989..bfb390d9152 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeTableRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeTableRequest.java @@ -156,6 +156,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data catalog.

*

This parameter is required.

* * example: @@ -168,6 +169,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -180,6 +182,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The database name.

*

This parameter is required.

* * example: @@ -192,6 +195,7 @@ public Builder dbName(String dbName) { } /** + *

The name of the table.

*

This parameter is required.

* * example: @@ -204,7 +208,13 @@ public Builder tableName(String tableName) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -213,7 +223,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeTableResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeTableResponseBody.java index 033dacffd95..a57c19c92a7 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeTableResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteDataLakeTableResponseBody.java @@ -93,7 +93,10 @@ private Builder(DeleteDataLakeTableResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -101,7 +104,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -109,7 +115,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

8E88933E-E3D4-5BA8-8CBF-0A1CAE666690

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -117,7 +126,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteMetaCategoryRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteMetaCategoryRequest.java index b17478c2fde..80b5ebacdc0 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteMetaCategoryRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteMetaCategoryRequest.java @@ -98,6 +98,7 @@ public Builder regionId(String regionId) { } /** + *

The category ID.

*

This parameter is required.

* * example: @@ -110,7 +111,13 @@ public Builder categoryId(Long categoryId) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteMetaCategoryResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteMetaCategoryResponseBody.java index b79665844d2..99a80003e7e 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteMetaCategoryResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteMetaCategoryResponseBody.java @@ -93,7 +93,10 @@ private Builder(DeleteMetaCategoryResponseBody model) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -101,7 +104,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -109,7 +115,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID.

+ * + * example: + *

7FAD400F-7A5C-4193-8F9A-39D86C4F0231

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -117,7 +126,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteStandardGroupRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteStandardGroupRequest.java index a0cdc82b14f..77dbfa98321 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteStandardGroupRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteStandardGroupRequest.java @@ -98,6 +98,7 @@ public Builder regionId(String regionId) { } /** + *

The security rule set ID. You can call the ListStandardGroups operation to obtain the ID of the security rule set.

*

This parameter is required.

* * example: @@ -110,7 +111,13 @@ public Builder groupId(Long groupId) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

23****

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteStandardGroupResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteStandardGroupResponseBody.java index fa45562c286..6afa511e6d4 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteStandardGroupResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteStandardGroupResponseBody.java @@ -93,7 +93,10 @@ private Builder(DeleteStandardGroupResponseBody model) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -101,7 +104,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -109,7 +115,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The ID of the request. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

C5B8E84B-42B6-4374-AD5A-6264E1753378

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -117,7 +126,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteWorkspaceRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteWorkspaceRequest.java index 44a7b775c67..87c6324f07d 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteWorkspaceRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteWorkspaceRequest.java @@ -83,6 +83,7 @@ public Builder regionId(String regionId) { } /** + *

The ID of the DMS workspace.

*

This parameter is required.

* * example: diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteWorkspaceResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteWorkspaceResponseBody.java index 4f848110417..a16f0a54235 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteWorkspaceResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DeleteWorkspaceResponseBody.java @@ -80,7 +80,10 @@ private Builder(DeleteWorkspaceResponseBody model) { } /** - * Data. + *

Indicates whether the workspace is deleted successfully.

+ * + * example: + *

true

*/ public Builder data(String data) { this.data = data; @@ -99,7 +102,10 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the operation is called successfully.

+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DescribeDifyAttributeResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DescribeDifyAttributeResponseBody.java index bcae98000e0..f7cdcb5ad93 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DescribeDifyAttributeResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/DescribeDifyAttributeResponseBody.java @@ -203,6 +203,15 @@ public static class Root extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppUuid") private String appUuid; + @com.aliyun.core.annotation.NameInMap("BillingInstanceId") + private String billingInstanceId; + + @com.aliyun.core.annotation.NameInMap("ChargeType") + private String chargeType; + + @com.aliyun.core.annotation.NameInMap("ExpireTime") + private Long expireTime; + @com.aliyun.core.annotation.NameInMap("Replicas") private String replicas; @@ -215,6 +224,9 @@ public static class Root extends TeaModel { @com.aliyun.core.annotation.NameInMap("Status") private String status; + @com.aliyun.core.annotation.NameInMap("StorageType") + private String storageType; + @com.aliyun.core.annotation.NameInMap("VSwitchId") private String vSwitchId; @@ -229,10 +241,14 @@ public static class Root extends TeaModel { private Root(Builder builder) { this.appUuid = builder.appUuid; + this.billingInstanceId = builder.billingInstanceId; + this.chargeType = builder.chargeType; + this.expireTime = builder.expireTime; this.replicas = builder.replicas; this.resourceQuota = builder.resourceQuota; this.securityGroupId = builder.securityGroupId; this.status = builder.status; + this.storageType = builder.storageType; this.vSwitchId = builder.vSwitchId; this.vpcId = builder.vpcId; this.workspaceId = builder.workspaceId; @@ -254,6 +270,27 @@ public String getAppUuid() { return this.appUuid; } + /** + * @return billingInstanceId + */ + public String getBillingInstanceId() { + return this.billingInstanceId; + } + + /** + * @return chargeType + */ + public String getChargeType() { + return this.chargeType; + } + + /** + * @return expireTime + */ + public Long getExpireTime() { + return this.expireTime; + } + /** * @return replicas */ @@ -282,6 +319,13 @@ public String getStatus() { return this.status; } + /** + * @return storageType + */ + public String getStorageType() { + return this.storageType; + } + /** * @return vSwitchId */ @@ -312,10 +356,14 @@ public String getZoneId() { public static final class Builder { private String appUuid; + private String billingInstanceId; + private String chargeType; + private Long expireTime; private String replicas; private String resourceQuota; private String securityGroupId; private String status; + private String storageType; private String vSwitchId; private String vpcId; private String workspaceId; @@ -326,10 +374,14 @@ private Builder() { private Builder(Root model) { this.appUuid = model.appUuid; + this.billingInstanceId = model.billingInstanceId; + this.chargeType = model.chargeType; + this.expireTime = model.expireTime; this.replicas = model.replicas; this.resourceQuota = model.resourceQuota; this.securityGroupId = model.securityGroupId; this.status = model.status; + this.storageType = model.storageType; this.vSwitchId = model.vSwitchId; this.vpcId = model.vpcId; this.workspaceId = model.workspaceId; @@ -344,6 +396,30 @@ public Builder appUuid(String appUuid) { return this; } + /** + * BillingInstanceId. + */ + public Builder billingInstanceId(String billingInstanceId) { + this.billingInstanceId = billingInstanceId; + return this; + } + + /** + * ChargeType. + */ + public Builder chargeType(String chargeType) { + this.chargeType = chargeType; + return this; + } + + /** + * ExpireTime. + */ + public Builder expireTime(Long expireTime) { + this.expireTime = expireTime; + return this; + } + /** * Replicas. */ @@ -376,6 +452,14 @@ public Builder status(String status) { return this; } + /** + * StorageType. + */ + public Builder storageType(String storageType) { + this.storageType = storageType; + return this; + } + /** * VSwitchId. */ diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/EditMetaKnowledgeAssetRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/EditMetaKnowledgeAssetRequest.java index 0ea16060227..5af73dfb5b4 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/EditMetaKnowledgeAssetRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/EditMetaKnowledgeAssetRequest.java @@ -141,6 +141,7 @@ public Builder regionId(String regionId) { } /** + *

Business knowledge content edited by users.

*

This parameter is required.

* * example: @@ -153,7 +154,10 @@ public Builder assetDescription(String assetDescription) { } /** - * ColumnName. + *

The name of the field. This parameter is used when the edited content is a field.

+ * + * example: + *

test_column

*/ public Builder columnName(String columnName) { this.putQueryParameter("ColumnName", columnName); @@ -162,6 +166,7 @@ public Builder columnName(String columnName) { } /** + *

The ID of the physical database. You can call the SearchDatabase operation to obtain the ID.

*

This parameter is required.

* * example: @@ -174,6 +179,7 @@ public Builder dbId(Integer dbId) { } /** + *

The name of the table.

*

This parameter is required.

* * example: @@ -186,7 +192,10 @@ public Builder tableName(String tableName) { } /** - * TableSchemaName. + *

The schema name of the table, which is required only for SQL Server instances.

+ * + * example: + *

dbo

*/ public Builder tableSchemaName(String tableSchemaName) { this.putQueryParameter("TableSchemaName", tableSchemaName); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/EditMetaKnowledgeAssetResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/EditMetaKnowledgeAssetResponseBody.java index 1906c07f5dc..37b98da5941 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/EditMetaKnowledgeAssetResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/EditMetaKnowledgeAssetResponseBody.java @@ -93,7 +93,10 @@ private Builder(EditMetaKnowledgeAssetResponseBody model) { } /** - * ErrorCode. + *

The error code returned if the request fails.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -101,7 +104,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message returned if the request fails.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -109,7 +115,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

Request ID.

+ * + * example: + *

C51420E3-144A-4A94-B473-8662FCF4AD10

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -117,7 +126,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/FixSqlByMetaAgentRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/FixSqlByMetaAgentRequest.java index aa89e4c72dd..bf135896146 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/FixSqlByMetaAgentRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/FixSqlByMetaAgentRequest.java @@ -140,6 +140,7 @@ public Builder regionId(String regionId) { } /** + *

The ID of the database. You can call the ListDatabases operation to obtain the ID.

*

This parameter is required.

* * example: @@ -152,7 +153,10 @@ public Builder dbId(String dbId) { } /** - * Error. + *

The error message.

+ * + * example: + *

unknown column col

*/ public Builder error(String error) { this.putQueryParameter("Error", error); @@ -161,7 +165,10 @@ public Builder error(String error) { } /** - * Model. + *

The name of the selected model. You can use only Qwen series models.

+ * + * example: + *

qwen-plus

*/ public Builder model(String model) { this.putQueryParameter("Model", model); @@ -170,7 +177,10 @@ public Builder model(String model) { } /** - * Query. + *

The remarks.

+ * + * example: + *

正确字段是啥?

*/ public Builder query(String query) { this.putQueryParameter("Query", query); @@ -179,6 +189,7 @@ public Builder query(String query) { } /** + *

The SQL statement that reports the error.

*

This parameter is required.

* * example: diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/FixSqlByMetaAgentResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/FixSqlByMetaAgentResponseBody.java index 2130430dbb5..c864dacad9a 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/FixSqlByMetaAgentResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/FixSqlByMetaAgentResponseBody.java @@ -106,7 +106,7 @@ private Builder(FixSqlByMetaAgentResponseBody model) { } /** - * Data. + *

The data returned.

*/ public Builder data(Data data) { this.data = data; @@ -114,7 +114,10 @@ public Builder data(Data data) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -122,7 +125,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -141,7 +147,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -207,7 +220,10 @@ private Builder(Data model) { } /** - * Content. + *

The answer.

+ * + * example: + *

SQL修复结果...

*/ public Builder content(String content) { this.content = content; @@ -215,7 +231,10 @@ public Builder content(String content) { } /** - * SessionId. + *

The session ID.

+ * + * example: + *

f63a6eed-0e3c-4564-8533-b1295db8d6ff

*/ public Builder sessionId(String sessionId) { this.sessionId = sessionId; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetAbacPolicyRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetAbacPolicyRequest.java index e3accbe7cb7..8447c5f55d5 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetAbacPolicyRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetAbacPolicyRequest.java @@ -111,7 +111,10 @@ public Builder regionId(String regionId) { } /** - * AbacPolicyId. + *

The ID of the policy.

+ * + * example: + *

12****

*/ public Builder abacPolicyId(Long abacPolicyId) { this.putQueryParameter("AbacPolicyId", abacPolicyId); @@ -120,7 +123,10 @@ public Builder abacPolicyId(Long abacPolicyId) { } /** - * AbacPolicyName. + *

The name of the policy.

+ * + * example: + *

policy_test

*/ public Builder abacPolicyName(String abacPolicyName) { this.putQueryParameter("AbacPolicyName", abacPolicyName); @@ -129,7 +135,13 @@ public Builder abacPolicyName(String abacPolicyName) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetAbacPolicyResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetAbacPolicyResponseBody.java index e20b65e48a9..174ce6d47c2 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetAbacPolicyResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetAbacPolicyResponseBody.java @@ -106,7 +106,10 @@ private Builder(GetAbacPolicyResponseBody model) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -114,7 +117,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -122,7 +128,7 @@ public Builder errorMessage(String errorMessage) { } /** - * Policy. + *

The details of the policy.

*/ public Builder policy(Policy policy) { this.policy = policy; @@ -130,7 +136,10 @@ public Builder policy(Policy policy) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

2B7844DE-A0C3-50ED-A796-8F07D377144C

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +147,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -269,7 +285,10 @@ private Builder(Policy model) { } /** - * AuthorizedQuantity. + *

The number of users or custom roles to which the policy is attached.

+ * + * example: + *

3

*/ public Builder authorizedQuantity(String authorizedQuantity) { this.authorizedQuantity = authorizedQuantity; @@ -277,7 +296,10 @@ public Builder authorizedQuantity(String authorizedQuantity) { } /** - * CreatorId. + *

The ID of the user who create the policy.

+ * + * example: + *

51****

*/ public Builder creatorId(Long creatorId) { this.creatorId = creatorId; @@ -285,7 +307,26 @@ public Builder creatorId(Long creatorId) { } /** - * PolicyContent. + *

The content of the policy.

+ * + * example: + *

{ + * "Statement": [ + * { + * "Action": "", + * "Effect": "Allow", + * "Resource": "", + * "Condition": { + * "StringEqualsIgnoreCase": { + * "dms:DbType": [ + * "redis" + * ] + * } + * } + * } + * ], + * "Version": "1" + * }

*/ public Builder policyContent(String policyContent) { this.policyContent = policyContent; @@ -293,7 +334,10 @@ public Builder policyContent(String policyContent) { } /** - * PolicyDesc. + *

The description of the policy.

+ * + * example: + *

test

*/ public Builder policyDesc(String policyDesc) { this.policyDesc = policyDesc; @@ -301,7 +345,10 @@ public Builder policyDesc(String policyDesc) { } /** - * PolicyId. + *

The ID of the policy.

+ * + * example: + *

12****

*/ public Builder policyId(Long policyId) { this.policyId = policyId; @@ -309,7 +356,10 @@ public Builder policyId(Long policyId) { } /** - * PolicyName. + *

The name of the policy.

+ * + * example: + *

policy_test

*/ public Builder policyName(String policyName) { this.policyName = policyName; @@ -317,7 +367,7 @@ public Builder policyName(String policyName) { } /** - * PolicySource. + *

The source of the policy. Valid values:

*/ public Builder policySource(String policySource) { this.policySource = policySource; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetClassificationTemplateRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetClassificationTemplateRequest.java index 77c52788f65..fe04b41c060 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetClassificationTemplateRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetClassificationTemplateRequest.java @@ -97,6 +97,7 @@ public Builder regionId(String regionId) { } /** + *

The ID of the instance. You can call the ListInstances or GetInstance operation to query the instance ID.

*

This parameter is required.

* * example: @@ -109,7 +110,13 @@ public Builder instanceId(Long instanceId) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

23***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetClassificationTemplateResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetClassificationTemplateResponseBody.java index 887d9204e00..e6fb5d45233 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetClassificationTemplateResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetClassificationTemplateResponseBody.java @@ -106,7 +106,7 @@ private Builder(GetClassificationTemplateResponseBody model) { } /** - * ClassificationResourceTemplateMap. + *

The information about the classification template that is associated to the instance.

*/ public Builder classificationResourceTemplateMap(ClassificationResourceTemplateMap classificationResourceTemplateMap) { this.classificationResourceTemplateMap = classificationResourceTemplateMap; @@ -114,7 +114,10 @@ public Builder classificationResourceTemplateMap(ClassificationResourceTemplateM } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -122,7 +125,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -130,7 +136,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +147,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -230,7 +246,10 @@ private Builder(ClassificationResourceTemplateMap model) { } /** - * ResourceId. + *

The ID of the resource. The supported resource type is INSTANCE. The resource ID corresponds to the value of InstanceId. You can call the ListInstances operation to obtain the value of InstanceId.

+ * + * example: + *

24****

*/ public Builder resourceId(Long resourceId) { this.resourceId = resourceId; @@ -238,7 +257,10 @@ public Builder resourceId(Long resourceId) { } /** - * ResourceType. + *

The resource type. The value is fixed as INSTANCE.

+ * + * example: + *

INSTANCE

*/ public Builder resourceType(String resourceType) { this.resourceType = resourceType; @@ -246,7 +268,10 @@ public Builder resourceType(String resourceType) { } /** - * TemplateId. + *

The ID of the classification and grading template.

+ * + * example: + *

3***

*/ public Builder templateId(Long templateId) { this.templateId = templateId; @@ -254,7 +279,14 @@ public Builder templateId(Long templateId) { } /** - * TemplateType. + *

The type of the classification and grading template. Valid values:

+ *
    + *
  • INNER: a built-in template.
  • + *
  • USER_DEFINE: a custom template.
  • + *
+ * + * example: + *

INNER

*/ public Builder templateType(String templateType) { this.templateType = templateType; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeCatalogRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeCatalogRequest.java index 6e5dbf36a03..aa32ec3536a 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeCatalogRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeCatalogRequest.java @@ -127,6 +127,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data catalog.

*

This parameter is required.

* * example: @@ -139,6 +140,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -151,7 +153,10 @@ public Builder dataRegion(String dataRegion) { } /** - * Tid. + *

The tenant ID. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the tenant ID.

+ * + * example: + *

3

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -160,7 +165,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeCatalogResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeCatalogResponseBody.java index 2e6e8a8aded..ed8ec03e9e1 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeCatalogResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeCatalogResponseBody.java @@ -106,7 +106,7 @@ private Builder(GetDataLakeCatalogResponseBody model) { } /** - * Catalog. + *

The information about the catalog.

*/ public Builder catalog(DLCatalog catalog) { this.catalog = catalog; @@ -114,7 +114,10 @@ public Builder catalog(DLCatalog catalog) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

400

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -122,7 +125,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

code: 404, can not find catalog, name : hiv request id: 6090E571-E5B1-1E6D-BF44-F9E10E8B7EB1

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -130,7 +136,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

FE8EE2F1-4880-46BC-A704-5CF63EAF9A04

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +147,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeDatabaseRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeDatabaseRequest.java index 8b6712d939d..9af5b2b9b86 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeDatabaseRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeDatabaseRequest.java @@ -142,6 +142,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data catalog.

*

This parameter is required.

* * example: @@ -154,6 +155,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -166,6 +168,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The database name.

*

This parameter is required.

* * example: @@ -178,7 +181,13 @@ public Builder name(String name) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -187,7 +196,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeDatabaseResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeDatabaseResponseBody.java index fe32fca897c..679f8ef714e 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeDatabaseResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeDatabaseResponseBody.java @@ -106,7 +106,7 @@ private Builder(GetDataLakeDatabaseResponseBody model) { } /** - * Database. + *

The database information.

*/ public Builder database(DLDatabase database) { this.database = database; @@ -114,7 +114,10 @@ public Builder database(DLDatabase database) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

404

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -122,7 +125,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

code: 404, can not find catalog, name : hive1 request id: FF737753-9641-1F51-AFDA-7DF541114B29

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -130,7 +136,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID.

+ * + * example: + *

E5EE2B9E-2F95-57FA-B284-CB441CEE49D6

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +147,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeFunctionRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeFunctionRequest.java index 176725edca7..1cffc5804ab 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeFunctionRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeFunctionRequest.java @@ -156,6 +156,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data catalog.

*

This parameter is required.

* * example: @@ -168,6 +169,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -180,6 +182,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The database name.

*

This parameter is required.

* * example: @@ -192,6 +195,7 @@ public Builder dbName(String dbName) { } /** + *

The function name.

*

This parameter is required.

* * example: @@ -204,7 +208,13 @@ public Builder functionName(String functionName) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -213,7 +223,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeFunctionResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeFunctionResponseBody.java index 03d954125bc..b0f280b0c2c 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeFunctionResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeFunctionResponseBody.java @@ -106,7 +106,10 @@ private Builder(GetDataLakeFunctionResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -114,7 +117,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -122,7 +128,7 @@ public Builder errorMessage(String errorMessage) { } /** - * Function. + *

The details about the function.

*/ public Builder function(DLFunction function) { this.function = function; @@ -130,7 +136,10 @@ public Builder function(DLFunction function) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

D911009F-3E95-5AFD-8CF1-73F7B4F15D6E

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +147,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakePartitionRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakePartitionRequest.java index 8db2608bfc9..d7626cb53eb 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakePartitionRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakePartitionRequest.java @@ -171,6 +171,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data catalog.

*

This parameter is required.

* * example: @@ -183,6 +184,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -195,6 +197,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The database name.

*

This parameter is required.

* * example: @@ -207,6 +210,7 @@ public Builder dbName(String dbName) { } /** + *

The values in a partition key column.

*

This parameter is required.

*/ public Builder partitionValues(java.util.List partitionValues) { @@ -217,6 +221,7 @@ public Builder partitionValues(java.util.List partitionValues) { } /** + *

The table name.

*

This parameter is required.

* * example: @@ -229,7 +234,13 @@ public Builder tableName(String tableName) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -238,7 +249,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakePartitionResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakePartitionResponseBody.java index 02c5accfbde..9d01c3e33d5 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakePartitionResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakePartitionResponseBody.java @@ -106,7 +106,10 @@ private Builder(GetDataLakePartitionResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -114,7 +117,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -122,7 +128,7 @@ public Builder errorMessage(String errorMessage) { } /** - * Partition. + *

The queried partition.

*/ public Builder partition(DLPartition partition) { this.partition = partition; @@ -130,7 +136,10 @@ public Builder partition(DLPartition partition) { } /** - * RequestId. + *

The request ID. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

FE8EE2F1-4880-46BC-A704-5CF63EAF9A04

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +147,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeTableRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeTableRequest.java index 7b3ba187655..0e638bce8e5 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeTableRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeTableRequest.java @@ -157,6 +157,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data catalog.

*

This parameter is required.

* * example: @@ -169,6 +170,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -181,6 +183,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The name of the database to which the table belongs.

*

This parameter is required.

* * example: @@ -193,6 +196,7 @@ public Builder dbName(String dbName) { } /** + *

The table name.

*

This parameter is required.

* * example: @@ -205,7 +209,10 @@ public Builder name(String name) { } /** - * Tid. + *

The tenant ID. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the tenant ID.

+ * + * example: + *

3

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -214,7 +221,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeTableResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeTableResponseBody.java index 488c4e4d0ef..616e83d142f 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeTableResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDataLakeTableResponseBody.java @@ -106,7 +106,10 @@ private Builder(GetDataLakeTableResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

400

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -114,7 +117,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

Unknown server error

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -122,7 +128,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

4E1D2B4D-3E53-4ABC-999D-1D2520B3471A

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -130,7 +139,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(String success) { this.success = success; @@ -138,7 +154,7 @@ public Builder success(String success) { } /** - * Table. + *

The information of the table.

*/ public Builder table(DLTable table) { this.table = table; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDbExportDownloadURLRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDbExportDownloadURLRequest.java index b446e8b40d2..66cd2d72a09 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDbExportDownloadURLRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDbExportDownloadURLRequest.java @@ -97,6 +97,7 @@ public Builder regionId(String regionId) { } /** + *

The ticket ID. You can call the ListOrders operation to obtain the ticket ID.

*

This parameter is required.

* * example: @@ -109,7 +110,10 @@ public Builder orderId(Long orderId) { } /** - * Tid. + *

The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the tenant ID.

+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDbExportDownloadURLResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDbExportDownloadURLResponseBody.java index 9624f4f6e0a..df1a34feba6 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDbExportDownloadURLResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetDbExportDownloadURLResponseBody.java @@ -106,7 +106,7 @@ private Builder(GetDbExportDownloadURLResponseBody model) { } /** - * DownloadURLResult. + *

The download URL of the exported file.

*/ public Builder downloadURLResult(DownloadURLResult downloadURLResult) { this.downloadURLResult = downloadURLResult; @@ -114,7 +114,10 @@ public Builder downloadURLResult(DownloadURLResult downloadURLResult) { } /** - * ErrorCode. + *

The error code returned.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -122,7 +125,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message returned if the request fails.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -130,7 +136,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +147,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request succeeded.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -217,7 +233,14 @@ private Builder(DownloadURLResult model) { } /** - * HasResult. + *

Indicates whether export results are available for download. Valid values:

+ *
    + *
  • true: Export results are available for download.
  • + *
  • false: No export results are available for download.
  • + *
+ * + * example: + *

true

*/ public Builder hasResult(Boolean hasResult) { this.hasResult = hasResult; @@ -225,7 +248,10 @@ public Builder hasResult(Boolean hasResult) { } /** - * TipMessage. + *

The message that indicates an exception.

+ * + * example: + *

tip message

*/ public Builder tipMessage(String tipMessage) { this.tipMessage = tipMessage; @@ -233,7 +259,10 @@ public Builder tipMessage(String tipMessage) { } /** - * URL. + *

The download URL of the exported file.

+ * + * example: + *

https://dms-idb-hangzhou.oss-cn-hangzhou.aliyuncs.com/xxx.zip

*/ public Builder URL(String URL) { this.URL = URL; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetPagedInstanceRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetPagedInstanceRequest.java index ad4938a64a1..fbe527f90ee 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetPagedInstanceRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetPagedInstanceRequest.java @@ -98,6 +98,7 @@ public Builder regionId(String regionId) { } /** + *

The ID of data archiving ticket.

*

This parameter is required.

* * example: @@ -110,7 +111,13 @@ public Builder orderId(Long orderId) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetPagedInstanceResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetPagedInstanceResponseBody.java index b49dca6a653..9c0e764dca9 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetPagedInstanceResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetPagedInstanceResponseBody.java @@ -158,7 +158,7 @@ private Builder(GetPagedInstanceResponseBody model) { } /** - * Data. + *

The data returned.

*/ public Builder data(Data data) { this.data = data; @@ -166,7 +166,10 @@ public Builder data(Data data) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -174,7 +177,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -182,7 +188,10 @@ public Builder errorMessage(String errorMessage) { } /** - * PageIndex. + *

The page number.

+ * + * example: + *

1

*/ public Builder pageIndex(Long pageIndex) { this.pageIndex = pageIndex; @@ -190,7 +199,10 @@ public Builder pageIndex(Long pageIndex) { } /** - * PageSize. + *

The number of entries to return on each page.

+ * + * example: + *

10

*/ public Builder pageSize(Long pageSize) { this.pageSize = pageSize; @@ -198,7 +210,10 @@ public Builder pageSize(Long pageSize) { } /** - * RequestId. + *

The request ID. You can use the request ID to query logs and troubleshoot issues.

+ * + * example: + *

7FAD400F-7A5C-4193-8F9A-39D86C4F0231

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -206,7 +221,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -214,7 +236,10 @@ public Builder success(Boolean success) { } /** - * Total. + *

The total number of instances.

+ * + * example: + *

2

*/ public Builder total(Long total) { this.total = total; @@ -222,7 +247,7 @@ public Builder total(Long total) { } /** - *

Id of the request

+ *

The trace ID, which is used to track the request.

* * example: *

0a06e1e316757357507896067d3780

@@ -473,7 +498,10 @@ private Builder(Instance model) { } /** - * BusinessTime. + *

The data timestamp of the task node.

+ * + * example: + *

2023-05-14 16:00:57

*/ public Builder businessTime(String businessTime) { this.businessTime = businessTime; @@ -481,7 +509,17 @@ public Builder businessTime(String businessTime) { } /** - * CheckStatus. + *

The state of archived data verification. Valid values:

+ *
    + *
  • 0: The verification was successful.
  • + *
  • 1: Inconsistent data was detected.
  • + *
  • 2: The verification was not performed.
  • + *
  • 3: The verification is in progress.
  • + *
  • 4: The verification was interrupted.
  • + *
+ * + * example: + *

3

*/ public Builder checkStatus(Long checkStatus) { this.checkStatus = checkStatus; @@ -489,7 +527,10 @@ public Builder checkStatus(Long checkStatus) { } /** - * DagId. + *

The unique ID of the task flow.

+ * + * example: + *

33753

*/ public Builder dagId(Long dagId) { this.dagId = dagId; @@ -497,7 +538,14 @@ public Builder dagId(Long dagId) { } /** - * Delete. + *

Indicates whether the source data is deleted. Valid values:

+ *
    + *
  • true: deletes the jobs in the application group.
  • + *
  • false
  • + *
+ * + * example: + *

false

*/ public Builder delete(String delete) { this.delete = delete; @@ -505,7 +553,10 @@ public Builder delete(String delete) { } /** - * EndTime. + *

The time when the task ended.

+ * + * example: + *

2023-04-23 10:23:20

*/ public Builder endTime(String endTime) { this.endTime = endTime; @@ -513,7 +564,10 @@ public Builder endTime(String endTime) { } /** - * GmtCreate. + *

The time when the task flow was created.

+ * + * example: + *

2023-03-28 10:50:45

*/ public Builder gmtCreate(String gmtCreate) { this.gmtCreate = gmtCreate; @@ -521,7 +575,10 @@ public Builder gmtCreate(String gmtCreate) { } /** - * GmtModified. + *

The time when the task flow was last modified.

+ * + * example: + *

2023-04-18 15:28:16

*/ public Builder gmtModified(String gmtModified) { this.gmtModified = gmtModified; @@ -529,7 +586,10 @@ public Builder gmtModified(String gmtModified) { } /** - * HistoryDagId. + *

The ID of the historical task flow.

+ * + * example: + *

6851

*/ public Builder historyDagId(Long historyDagId) { this.historyDagId = historyDagId; @@ -537,7 +597,10 @@ public Builder historyDagId(Long historyDagId) { } /** - * Id. + *

The task flow ID.

+ * + * example: + *

24271

*/ public Builder id(Long id) { this.id = id; @@ -545,7 +608,10 @@ public Builder id(Long id) { } /** - * LastRunningContext. + *

The context of the last execution of the task flow.

+ * + * example: + *

{”nodes":[11694,11695]"}

*/ public Builder lastRunningContext(String lastRunningContext) { this.lastRunningContext = lastRunningContext; @@ -553,7 +619,7 @@ public Builder lastRunningContext(String lastRunningContext) { } /** - * Msg. + *

The details of the current task execution.

*/ public Builder msg(String msg) { this.msg = msg; @@ -561,7 +627,17 @@ public Builder msg(String msg) { } /** - * Status. + *

The state of the archiving task.

+ *
    + *
  • 0: Pending.
  • + *
  • 1: Running.
  • + *
  • 2: Paused.
  • + *
  • 3: Failed.
  • + *
  • 4: Succeeded.
  • + *
+ * + * example: + *

1

*/ public Builder status(Long status) { this.status = status; @@ -569,7 +645,15 @@ public Builder status(Long status) { } /** - * TaskType. + *

The task type. Valid values:

+ *
    + *
  • 1: data archiving
  • + *
  • 2: archived data restoration
  • + *
  • 3: archived data verification
  • + *
+ * + * example: + *

1

*/ public Builder taskType(Long taskType) { this.taskType = taskType; @@ -577,7 +661,10 @@ public Builder taskType(Long taskType) { } /** - * TenantId. + *

The ID of the tenant.

+ * + * example: + *

3406

*/ public Builder tenantId(String tenantId) { this.tenantId = tenantId; @@ -585,7 +672,14 @@ public Builder tenantId(String tenantId) { } /** - * TriggerType. + *

The mode in which the task flow is triggered. Valid values:

+ *
    + *
  • 0: The task flow was triggered based on a schedule.
  • + *
  • 1: The task flow was manually triggered.
  • + *
+ * + * example: + *

1

*/ public Builder triggerType(Long triggerType) { this.triggerType = triggerType; @@ -593,7 +687,10 @@ public Builder triggerType(Long triggerType) { } /** - * Version. + *

The version number.

+ * + * example: + *

1

*/ public Builder version(String version) { this.version = version; @@ -647,7 +744,7 @@ private Builder(Data model) { } /** - * Instance. + *

The information about the task.

*/ public Builder instance(java.util.List instance) { this.instance = instance; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetStandardGroupRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetStandardGroupRequest.java index fbee695afff..7af0a4a7c60 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetStandardGroupRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetStandardGroupRequest.java @@ -98,6 +98,7 @@ public Builder regionId(String regionId) { } /** + *

The security rule set ID. You can call the ListStandardGroups operation to obtain the ID of the security rule set.

*

This parameter is required.

* * example: @@ -110,7 +111,13 @@ public Builder groupId(Long groupId) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

23****

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetStandardGroupResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetStandardGroupResponseBody.java index 949d589cb98..67bd8c86f7c 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetStandardGroupResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetStandardGroupResponseBody.java @@ -106,7 +106,10 @@ private Builder(GetStandardGroupResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -114,7 +117,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -122,7 +128,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

BF7E9543-F431-566A-991A-B5C493EA36C2

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -130,7 +139,7 @@ public Builder requestId(String requestId) { } /** - * StandardGroup. + *

The information about the security rule set.

*/ public Builder standardGroup(StandardGroup standardGroup) { this.standardGroup = standardGroup; @@ -138,7 +147,14 @@ public Builder standardGroup(StandardGroup standardGroup) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -256,7 +272,10 @@ private Builder(StandardGroup model) { } /** - * DbType. + *

The engine type.

+ * + * example: + *

mysql

*/ public Builder dbType(String dbType) { this.dbType = dbType; @@ -264,7 +283,7 @@ public Builder dbType(String dbType) { } /** - * Description. + *

The description of the security rule set.

*/ public Builder description(String description) { this.description = description; @@ -272,7 +291,10 @@ public Builder description(String description) { } /** - * GroupId. + *

The ID of the security rule set.

+ * + * example: + *

41****

*/ public Builder groupId(Long groupId) { this.groupId = groupId; @@ -280,7 +302,15 @@ public Builder groupId(Long groupId) { } /** - * GroupMode. + *

The control mode. Valid values:

+ *
    + *
  • NONE_CONTROL: Flexible Management
  • + *
  • STABLE: Stable Change
  • + *
  • COMMON: Security Collaboration
  • + *
+ * + * example: + *

COMMON

*/ public Builder groupMode(String groupMode) { this.groupMode = groupMode; @@ -288,7 +318,10 @@ public Builder groupMode(String groupMode) { } /** - * GroupName. + *

The name of the security rule set.

+ * + * example: + *

poc_test

*/ public Builder groupName(String groupName) { this.groupName = groupName; @@ -296,7 +329,10 @@ public Builder groupName(String groupName) { } /** - * LastMenderId. + *

The ID of the user who last modified the security rules.

+ * + * example: + *

51****

*/ public Builder lastMenderId(Long lastMenderId) { this.lastMenderId = lastMenderId; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetTableKnowledgeInfoRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetTableKnowledgeInfoRequest.java index 6e732748c06..535e082c454 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetTableKnowledgeInfoRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetTableKnowledgeInfoRequest.java @@ -112,6 +112,7 @@ public Builder regionId(String regionId) { } /** + *

The ID of the physical database. You can call the SearchDatabase operation to obtain the ID.

*

This parameter is required.

* * example: @@ -124,6 +125,7 @@ public Builder dbId(Integer dbId) { } /** + *

The name of the table.

*

This parameter is required.

* * example: @@ -136,7 +138,10 @@ public Builder tableName(String tableName) { } /** - * TableSchemaName. + *

The schema name of the table, which is required only for SQL Server instances.

+ * + * example: + *

dbo

*/ public Builder tableSchemaName(String tableSchemaName) { this.putQueryParameter("TableSchemaName", tableSchemaName); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetTableKnowledgeInfoResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetTableKnowledgeInfoResponseBody.java index 2c8447593dd..6d4147f88db 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetTableKnowledgeInfoResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetTableKnowledgeInfoResponseBody.java @@ -106,7 +106,10 @@ private Builder(GetTableKnowledgeInfoResponseBody model) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -114,7 +117,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -122,7 +128,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the request ID to query logs and troubleshoot issues.

+ * + * example: + *

0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -130,7 +139,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -138,7 +154,10 @@ public Builder success(Boolean success) { } /** - * Table. + *

The information about the table.

+ * + * example: + *

bill_orders

*/ public Builder table(TableKnowledgeInfo table) { this.table = table; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetWorkspaceRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetWorkspaceRequest.java index 6e3bf448759..e5ddcc0fcd6 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetWorkspaceRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetWorkspaceRequest.java @@ -83,6 +83,7 @@ public Builder regionId(String regionId) { } /** + *

The ID of the DMS workspace.

*

This parameter is required.

* * example: diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetWorkspaceResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetWorkspaceResponseBody.java index 5fc5f4345a1..94cebdeb2b2 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetWorkspaceResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/GetWorkspaceResponseBody.java @@ -93,7 +93,7 @@ private Builder(GetWorkspaceResponseBody model) { } /** - * Data. + *

The data returned.

*/ public Builder data(Data data) { this.data = data; @@ -101,7 +101,10 @@ public Builder data(Data data) { } /** - * Message. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder message(String message) { this.message = message; @@ -109,7 +112,10 @@ public Builder message(String message) { } /** - * RequestId. + *

The request ID. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

FE8EE2F1-4880-46BC-A704-5CF63EAF****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -117,7 +123,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -261,7 +274,10 @@ private Builder(Data model) { } /** - * Description. + *

The description of the workspace.

+ * + * example: + *

Test

*/ public Builder description(String description) { this.description = description; @@ -269,7 +285,10 @@ public Builder description(String description) { } /** - * OwnerId. + *

The owner ID.

+ * + * example: + *

12345****

*/ public Builder ownerId(String ownerId) { this.ownerId = ownerId; @@ -277,7 +296,10 @@ public Builder ownerId(String ownerId) { } /** - * RegionId. + *

The ID of the region to which the workspace belongs.

+ * + * example: + *

cn-hangzhou

*/ public Builder regionId(String regionId) { this.regionId = regionId; @@ -285,7 +307,10 @@ public Builder regionId(String regionId) { } /** - * ServiceAccountId. + *

The ID of the service account.

+ * + * example: + *

12345****

*/ public Builder serviceAccountId(String serviceAccountId) { this.serviceAccountId = serviceAccountId; @@ -293,7 +318,13 @@ public Builder serviceAccountId(String serviceAccountId) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3322****

*/ public Builder tid(Long tid) { this.tid = tid; @@ -301,7 +332,10 @@ public Builder tid(Long tid) { } /** - * VpcId. + *

The VPC ID.

+ * + * example: + *

vpc-xxxx

*/ public Builder vpcId(String vpcId) { this.vpcId = vpcId; @@ -309,7 +343,10 @@ public Builder vpcId(String vpcId) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

863020290155****

*/ public Builder workspaceId(Long workspaceId) { this.workspaceId = workspaceId; @@ -317,7 +354,10 @@ public Builder workspaceId(Long workspaceId) { } /** - * WorkspaceName. + *

The name of the workspace.

+ * + * example: + *

workspace_xxx

*/ public Builder workspaceName(String workspaceName) { this.workspaceName = workspaceName; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAbacAuthorizationsRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAbacAuthorizationsRequest.java index 6dc891d1b8e..9140adf8258 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAbacAuthorizationsRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAbacAuthorizationsRequest.java @@ -140,7 +140,10 @@ public Builder regionId(String regionId) { } /** - * PageNumber. + *

The page number.

+ * + * example: + *

1

*/ public Builder pageNumber(Long pageNumber) { this.putQueryParameter("PageNumber", pageNumber); @@ -149,7 +152,10 @@ public Builder pageNumber(Long pageNumber) { } /** - * PageSize. + *

The number of entries on each page.

+ * + * example: + *

20

*/ public Builder pageSize(Long pageSize) { this.putQueryParameter("PageSize", pageSize); @@ -158,7 +164,10 @@ public Builder pageSize(Long pageSize) { } /** - * PolicyId. + *

The ID of the policy.

+ * + * example: + *

12****

*/ public Builder policyId(String policyId) { this.putQueryParameter("PolicyId", policyId); @@ -167,7 +176,15 @@ public Builder policyId(String policyId) { } /** - * PolicySource. + *

The type of the policy. The value can be custom or system.

+ *

Valid values:

+ *
    + *
  • USER_DEFINE
  • + *
  • SYSTEM
  • + *
+ * + * example: + *

USER_DEFINE

*/ public Builder policySource(String policySource) { this.putQueryParameter("PolicySource", policySource); @@ -176,7 +193,13 @@ public Builder policySource(String policySource) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAbacAuthorizationsResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAbacAuthorizationsResponseBody.java index c91840b6434..b36555c0765 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAbacAuthorizationsResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAbacAuthorizationsResponseBody.java @@ -119,7 +119,7 @@ private Builder(ListAbacAuthorizationsResponseBody model) { } /** - * AuthorizationList. + *

The list of users to which the specified policy is attached.

*/ public Builder authorizationList(java.util.List authorizationList) { this.authorizationList = authorizationList; @@ -127,7 +127,10 @@ public Builder authorizationList(java.util.List authorization } /** - * ErrorCode. + *

The error code that is returned when the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -135,7 +138,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned when the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -143,7 +149,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

7FAD400F-7A5C-4193-8F9A-39D86C4F0231

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -151,7 +160,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -159,7 +175,10 @@ public Builder success(Boolean success) { } /** - * TotalCount. + *

The number of objects to which the policy is attached.

+ * + * example: + *

3

*/ public Builder totalCount(Long totalCount) { this.totalCount = totalCount; @@ -290,7 +309,10 @@ private Builder(AuthorizationList model) { } /** - * AuthorizationId. + *

The authorization ID.

+ * + * example: + *

32****

*/ public Builder authorizationId(Long authorizationId) { this.authorizationId = authorizationId; @@ -298,7 +320,10 @@ public Builder authorizationId(Long authorizationId) { } /** - * IdentityId. + *

The ID of the object to which the policy is attached.

+ * + * example: + *

51****

*/ public Builder identityId(Long identityId) { this.identityId = identityId; @@ -306,7 +331,10 @@ public Builder identityId(Long identityId) { } /** - * IdentityName. + *

The name of the object to which the policy is attached.

+ * + * example: + *

test_user

*/ public Builder identityName(String identityName) { this.identityName = identityName; @@ -314,7 +342,10 @@ public Builder identityName(String identityName) { } /** - * IdentityType. + *

The type of the object to which the policy is attached.

+ * + * example: + *

USER

*/ public Builder identityType(String identityType) { this.identityType = identityType; @@ -322,7 +353,10 @@ public Builder identityType(String identityType) { } /** - * PolicyId. + *

The ID of the policy.

+ * + * example: + *

12****

*/ public Builder policyId(Long policyId) { this.policyId = policyId; @@ -330,7 +364,10 @@ public Builder policyId(Long policyId) { } /** - * PolicyName. + *

The name of the policy.

+ * + * example: + *

policy_test

*/ public Builder policyName(String policyName) { this.policyName = policyName; @@ -338,7 +375,10 @@ public Builder policyName(String policyName) { } /** - * PolicySource. + *

The source of the policy.

+ * + * example: + *

USER_DEFINE

*/ public Builder policySource(String policySource) { this.policySource = policySource; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAbacPoliciesRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAbacPoliciesRequest.java index 7cf8e229971..bd3adfa54e5 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAbacPoliciesRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAbacPoliciesRequest.java @@ -126,7 +126,10 @@ public Builder regionId(String regionId) { } /** - * PageNumber. + *

The page number.

+ * + * example: + *

1

*/ public Builder pageNumber(Long pageNumber) { this.putQueryParameter("PageNumber", pageNumber); @@ -135,7 +138,10 @@ public Builder pageNumber(Long pageNumber) { } /** - * PageSize. + *

The number of entries to return on each page.

+ * + * example: + *

20

*/ public Builder pageSize(Long pageSize) { this.putQueryParameter("PageSize", pageSize); @@ -144,7 +150,10 @@ public Builder pageSize(Long pageSize) { } /** - * SearchKey. + *

The search keyword. Fuzzy match is supported.

+ * + * example: + *

policy_test

*/ public Builder searchKey(String searchKey) { this.putQueryParameter("SearchKey", searchKey); @@ -153,7 +162,13 @@ public Builder searchKey(String searchKey) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAbacPoliciesResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAbacPoliciesResponseBody.java index e16652df653..47b1bf67685 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAbacPoliciesResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAbacPoliciesResponseBody.java @@ -132,7 +132,10 @@ private Builder(ListAbacPoliciesResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -140,7 +143,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -148,7 +154,7 @@ public Builder errorMessage(String errorMessage) { } /** - * PolicyList. + *

The details of the permission policies.

*/ public Builder policyList(java.util.List policyList) { this.policyList = policyList; @@ -156,7 +162,10 @@ public Builder policyList(java.util.List policyList) { } /** - * RequestId. + *

The request ID. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -164,7 +173,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -172,7 +188,10 @@ public Builder success(Boolean success) { } /** - * Tid. + *

The ID of the tenant.

+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.tid = tid; @@ -180,7 +199,10 @@ public Builder tid(Long tid) { } /** - * TotalCount. + *

The total number of policies.

+ * + * example: + *

5

*/ public Builder totalCount(Long totalCount) { this.totalCount = totalCount; @@ -298,7 +320,26 @@ private Builder(PolicyList model) { } /** - * AbacPolicyContent. + *

The content of the policy.

+ * + * example: + *

{ + * "Statement": [ + * { + * "Action": "", + * "Effect": "Allow", + * "Resource": "", + * "Condition": { + * "StringEqualsIgnoreCase": { + * "dms:DbType": [ + * "redis" + * ] + * } + * } + * } + * ], + * "Version": "1" + * }

*/ public Builder abacPolicyContent(String abacPolicyContent) { this.abacPolicyContent = abacPolicyContent; @@ -306,7 +347,10 @@ public Builder abacPolicyContent(String abacPolicyContent) { } /** - * AbacPolicyDesc. + *

The description of the policy.

+ * + * example: + *

test

*/ public Builder abacPolicyDesc(String abacPolicyDesc) { this.abacPolicyDesc = abacPolicyDesc; @@ -314,7 +358,10 @@ public Builder abacPolicyDesc(String abacPolicyDesc) { } /** - * AbacPolicyId. + *

The ID of the policy.

+ * + * example: + *

12****

*/ public Builder abacPolicyId(Long abacPolicyId) { this.abacPolicyId = abacPolicyId; @@ -322,7 +369,10 @@ public Builder abacPolicyId(Long abacPolicyId) { } /** - * AbacPolicyName. + *

The name of the policy.

+ * + * example: + *

policy_test

*/ public Builder abacPolicyName(String abacPolicyName) { this.abacPolicyName = abacPolicyName; @@ -330,7 +380,10 @@ public Builder abacPolicyName(String abacPolicyName) { } /** - * AbacPolicySource. + *

The source of the policy.

+ * + * example: + *

USER_DEFINE

*/ public Builder abacPolicySource(String abacPolicySource) { this.abacPolicySource = abacPolicySource; @@ -338,7 +391,10 @@ public Builder abacPolicySource(String abacPolicySource) { } /** - * CreatorId. + *

The ID of the user who created the policy.

+ * + * example: + *

51****

*/ public Builder creatorId(Long creatorId) { this.creatorId = creatorId; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorityTemplateRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorityTemplateRequest.java index 08954ce0e1d..1b6caca9c9d 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorityTemplateRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorityTemplateRequest.java @@ -125,7 +125,10 @@ public Builder regionId(String regionId) { } /** - * PageNumber. + *

The page number.

+ * + * example: + *

1

*/ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); @@ -134,7 +137,15 @@ public Builder pageNumber(Integer pageNumber) { } /** - * PageSize. + *

The number of entries per page. Valid values:

+ *
    + *
  • 5
  • + *
  • 10
  • + *
  • 20
  • + *
+ * + * example: + *

10

*/ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); @@ -143,7 +154,7 @@ public Builder pageSize(Integer pageSize) { } /** - * SearchKey. + *

The keyword that is used to search for permission templates.

*/ public Builder searchKey(String searchKey) { this.putQueryParameter("SearchKey", searchKey); @@ -152,7 +163,10 @@ public Builder searchKey(String searchKey) { } /** - * Tid. + *

The tenant ID. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the tenant ID.

+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorityTemplateResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorityTemplateResponseBody.java index 3ac6d5dc32e..b8aa7b46f24 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorityTemplateResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorityTemplateResponseBody.java @@ -132,7 +132,7 @@ private Builder(ListAuthorityTemplateResponseBody model) { } /** - * AuthorityTemplateViewList. + *

The permission templates.

*/ public Builder authorityTemplateViewList(AuthorityTemplateViewList authorityTemplateViewList) { this.authorityTemplateViewList = authorityTemplateViewList; @@ -140,7 +140,10 @@ public Builder authorityTemplateViewList(AuthorityTemplateViewList authorityTemp } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -148,7 +151,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -156,7 +162,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

31853A2B-DC9D-5B39-8492-D2AC8BCF550E

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -164,7 +173,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -172,7 +188,10 @@ public Builder success(Boolean success) { } /** - * Tid. + *

The ID of the tenant.

+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.tid = tid; @@ -180,7 +199,10 @@ public Builder tid(Long tid) { } /** - * TotalCount. + *

The total number of permission templates.

+ * + * example: + *

10

*/ public Builder totalCount(Long totalCount) { this.totalCount = totalCount; @@ -285,7 +307,10 @@ private Builder(AuthorityTemplateView model) { } /** - * CreateTime. + *

The time when the permission template was created. The time is in the yyyy-MM-DD HH:mm:ss format.

+ * + * example: + *

2023-10-26 11:37:47

*/ public Builder createTime(String createTime) { this.createTime = createTime; @@ -293,7 +318,10 @@ public Builder createTime(String createTime) { } /** - * CreatorId. + *

The ID of the user who created the permission template.

+ * + * example: + *

522****

*/ public Builder creatorId(Long creatorId) { this.creatorId = creatorId; @@ -301,7 +329,7 @@ public Builder creatorId(Long creatorId) { } /** - * Description. + *

The description of the permission template.

*/ public Builder description(String description) { this.description = description; @@ -309,7 +337,7 @@ public Builder description(String description) { } /** - * Name. + *

The name of the permission template.

*/ public Builder name(String name) { this.name = name; @@ -317,7 +345,10 @@ public Builder name(String name) { } /** - * TemplateId. + *

The ID of the permission template.

+ * + * example: + *

2592

*/ public Builder templateId(Long templateId) { this.templateId = templateId; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedDatabasesForUserRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedDatabasesForUserRequest.java index 3ca92d84493..0a33f23158c 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedDatabasesForUserRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedDatabasesForUserRequest.java @@ -182,7 +182,20 @@ public Builder regionId(String regionId) { } /** - * DbType. + *

The type of databases. Valid values:

+ *
    + *
  • MySQL
  • + *
  • SQLServer
  • + *
  • PostgreSQL
  • + *
  • Oracle
  • + *
  • DRDS
  • + *
  • OceanBase
  • + *
  • Mongo
  • + *
  • Redis
  • + *
+ * + * example: + *

MySQL

*/ public Builder dbType(String dbType) { this.putQueryParameter("DbType", dbType); @@ -191,7 +204,20 @@ public Builder dbType(String dbType) { } /** - * EnvType. + *

The type of the environment in which the database instance is deployed. Valid values:

+ *
    + *
  • product: production environment.
  • + *
  • dev: development environment.
  • + *
  • pre: pre-release environment.
  • + *
  • test: test environment.
  • + *
  • sit: system integration testing (SIT) environment.
  • + *
  • uat: user acceptance testing (UAT) environment.
  • + *
  • pet: stress testing environment.
  • + *
  • stag: staging environment.
  • + *
+ * + * example: + *

product

*/ public Builder envType(String envType) { this.putQueryParameter("EnvType", envType); @@ -200,7 +226,14 @@ public Builder envType(String envType) { } /** - * Logic. + *

Specifies whether the database is a logical database. Valid values:

+ *
    + *
  • true.: The database is a logical database
  • + *
  • false: The database is a physical database.
  • + *
+ * + * example: + *

false

*/ public Builder logic(Boolean logic) { this.putQueryParameter("Logic", logic); @@ -209,7 +242,10 @@ public Builder logic(Boolean logic) { } /** - * PageNumber. + *

The page number.

+ * + * example: + *

1

*/ public Builder pageNumber(String pageNumber) { this.putQueryParameter("PageNumber", pageNumber); @@ -218,7 +254,10 @@ public Builder pageNumber(String pageNumber) { } /** - * PageSize. + *

The number of entries to return on each page.

+ * + * example: + *

20

*/ public Builder pageSize(String pageSize) { this.putQueryParameter("PageSize", pageSize); @@ -227,7 +266,10 @@ public Builder pageSize(String pageSize) { } /** - * SearchKey. + *

The search keyword.

+ * + * example: + *

policy_test

*/ public Builder searchKey(String searchKey) { this.putQueryParameter("SearchKey", searchKey); @@ -236,7 +278,10 @@ public Builder searchKey(String searchKey) { } /** - * Tid. + *

The ID of the tenant.

+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -245,6 +290,7 @@ public Builder tid(Long tid) { } /** + *

The ID of the user. You can call the GetUser operation to query the user ID.

*

This parameter is required.

* * example: diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedDatabasesForUserResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedDatabasesForUserResponseBody.java index 978ffbc22af..80fe6f5eb2a 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedDatabasesForUserResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedDatabasesForUserResponseBody.java @@ -67,7 +67,7 @@ private Builder(ListAuthorizedDatabasesForUserResponseBody model) { } /** - * Databases. + *

The names of the databases on which the user has permissions.

*/ public Builder databases(java.util.List databases) { this.databases = databases; @@ -75,7 +75,10 @@ public Builder databases(java.util.List databases) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

012AE0B5-4B52-532F-BD7C-1EE9F182089B

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -167,7 +170,10 @@ private Builder(PermissionDetail model) { } /** - * DsType. + *

The type of object on which the operation is performed.

+ * + * example: + *

DATABASE

*/ public Builder dsType(String dsType) { this.dsType = dsType; @@ -175,7 +181,10 @@ public Builder dsType(String dsType) { } /** - * ExpireDate. + *

The time when the permissions expire.

+ * + * example: + *

2024-12-06 10:00:00

*/ public Builder expireDate(String expireDate) { this.expireDate = expireDate; @@ -183,7 +192,7 @@ public Builder expireDate(String expireDate) { } /** - * Message. + *

If the permission source is a permission policy, the value of this parameter includes the policy name and the operations that are allowed for the user.

*/ public Builder message(String message) { this.message = message; @@ -191,7 +200,15 @@ public Builder message(String message) { } /** - * PermType. + *

The type of the permission. Valid values:

+ *
    + *
  • QUERY: the query permission
  • + *
  • EXPORT: the data export permission
  • + *
  • CORRECT: the data change permission
  • + *
+ * + * example: + *

CORRECT

*/ public Builder permType(String permType) { this.permType = permType; @@ -349,7 +366,10 @@ private Builder(Databases model) { } /** - * DbId. + *

The database ID.

+ * + * example: + *

254****

*/ public Builder dbId(String dbId) { this.dbId = dbId; @@ -357,7 +377,10 @@ public Builder dbId(String dbId) { } /** - * DbType. + *

The engine of the database.

+ * + * example: + *

MYSQL

*/ public Builder dbType(String dbType) { this.dbType = dbType; @@ -365,7 +388,10 @@ public Builder dbType(String dbType) { } /** - * EnvType. + *

The type of the environment in which the database instance is deployed.

+ * + * example: + *

product

*/ public Builder envType(String envType) { this.envType = envType; @@ -373,7 +399,10 @@ public Builder envType(String envType) { } /** - * InstanceId. + *

The ID of the instance.

+ * + * example: + *

235****

*/ public Builder instanceId(String instanceId) { this.instanceId = instanceId; @@ -381,7 +410,14 @@ public Builder instanceId(String instanceId) { } /** - * Logic. + *

Indicates whether the database is a logical database. Valid values:

+ *
    + *
  • true.: The database is a logical database
  • + *
  • false: The database is a physical database.
  • + *
+ * + * example: + *

false

*/ public Builder logic(Boolean logic) { this.logic = logic; @@ -389,7 +425,7 @@ public Builder logic(Boolean logic) { } /** - * PermissionDetail. + *

The details of permissions. The format of the permission details varies with the permission source. For example, if the permission source is a normal permission, the following parameters are returned.

*/ public Builder permissionDetail(PermissionDetail permissionDetail) { this.permissionDetail = permissionDetail; @@ -397,7 +433,10 @@ public Builder permissionDetail(PermissionDetail permissionDetail) { } /** - * SchemaName. + *

The database name.

+ * + * example: + *

poc_testdb

*/ public Builder schemaName(String schemaName) { this.schemaName = schemaName; @@ -405,7 +444,10 @@ public Builder schemaName(String schemaName) { } /** - * SearchName. + *

The name that is used to search for the database.

+ * + * example: + *

poc

*/ public Builder searchName(String searchName) { this.searchName = searchName; @@ -413,7 +455,10 @@ public Builder searchName(String searchName) { } /** - * UserId. + *

The user IDs.

+ * + * example: + *

51****

*/ public Builder userId(String userId) { this.userId = userId; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedInstancesForUserRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedInstancesForUserRequest.java index e86cf4efc01..35da7ff31eb 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedInstancesForUserRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedInstancesForUserRequest.java @@ -168,7 +168,20 @@ public Builder regionId(String regionId) { } /** - * DbType. + *

The type of databases. Valid values:

+ *
    + *
  • MySQL
  • + *
  • SQLServer
  • + *
  • PostgreSQL
  • + *
  • Oracle
  • + *
  • DRDS
  • + *
  • OceanBase
  • + *
  • Mongo
  • + *
  • Redis
  • + *
+ * + * example: + *

MySQL

*/ public Builder dbType(String dbType) { this.putQueryParameter("DbType", dbType); @@ -177,7 +190,20 @@ public Builder dbType(String dbType) { } /** - * EnvType. + *

The type of the environment in which the database instance is deployed. Valid values:

+ *
    + *
  • product: production environment.
  • + *
  • dev: development environment.
  • + *
  • pre: pre-release environment.
  • + *
  • test: test environment.
  • + *
  • sit: system integration testing (SIT) environment.
  • + *
  • uat: user acceptance testing (UAT) environment.
  • + *
  • pet: stress testing environment.
  • + *
  • stag: staging environment.
  • + *
+ * + * example: + *

product

*/ public Builder envType(String envType) { this.putQueryParameter("EnvType", envType); @@ -186,7 +212,10 @@ public Builder envType(String envType) { } /** - * PageNumber. + *

The page number.

+ * + * example: + *

1

*/ public Builder pageNumber(String pageNumber) { this.putQueryParameter("PageNumber", pageNumber); @@ -195,7 +224,10 @@ public Builder pageNumber(String pageNumber) { } /** - * PageSize. + *

The number of entries to return on each page.

+ * + * example: + *

20

*/ public Builder pageSize(String pageSize) { this.putQueryParameter("PageSize", pageSize); @@ -204,7 +236,10 @@ public Builder pageSize(String pageSize) { } /** - * SearchKey. + *

The search keyword.

+ * + * example: + *

policy_test

*/ public Builder searchKey(String searchKey) { this.putQueryParameter("SearchKey", searchKey); @@ -213,7 +248,13 @@ public Builder searchKey(String searchKey) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -222,6 +263,10 @@ public Builder tid(Long tid) { } /** + *

The ID of the user. You can call the GetUser operation to query the user ID.

+ *
+ *

If IdentityType is set to USER, this parameter is required.

+ *
*

This parameter is required.

* * example: diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedInstancesForUserResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedInstancesForUserResponseBody.java index b44959ed4ec..6d3aefdf18c 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedInstancesForUserResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedInstancesForUserResponseBody.java @@ -67,7 +67,7 @@ private Builder(ListAuthorizedInstancesForUserResponseBody model) { } /** - * Instances. + *

The list of instances on which the user has permissions.

*/ public Builder instances(java.util.List instances) { this.instances = instances; @@ -75,7 +75,10 @@ public Builder instances(java.util.List instances) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

B7DB89CC-017D-5503-8953-38FFE241A618

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -167,7 +170,10 @@ private Builder(PermissionDetail model) { } /** - * DsType. + *

The type of object on which the operation is performed.

+ * + * example: + *

DATABASE

*/ public Builder dsType(String dsType) { this.dsType = dsType; @@ -175,7 +181,10 @@ public Builder dsType(String dsType) { } /** - * ExpireDate. + *

The time when the permission expires.

+ * + * example: + *

2024-12-06 10:00:00

*/ public Builder expireDate(String expireDate) { this.expireDate = expireDate; @@ -183,7 +192,7 @@ public Builder expireDate(String expireDate) { } /** - * Message. + *

If the permission source is a permission policy, the value of this parameter includes the policy name and the operations that are allowed for the user.

*/ public Builder message(String message) { this.message = message; @@ -191,7 +200,15 @@ public Builder message(String message) { } /** - * PermType. + *

The type of the permission. Valid values:

+ *
    + *
  • QUERY: the query permission
  • + *
  • EXPORT: the data export permission
  • + *
  • CORRECT: the data change permission
  • + *
+ * + * example: + *

CORRECT

*/ public Builder permType(String permType) { this.permType = permType; @@ -349,7 +366,10 @@ private Builder(Instances model) { } /** - * DbType. + *

The database engine that the instance runs.

+ * + * example: + *

MySQL

*/ public Builder dbType(String dbType) { this.dbType = dbType; @@ -357,7 +377,10 @@ public Builder dbType(String dbType) { } /** - * EnvType. + *

The type of the environment to which the database instance belongs.

+ * + * example: + *

product

*/ public Builder envType(String envType) { this.envType = envType; @@ -365,7 +388,10 @@ public Builder envType(String envType) { } /** - * Host. + *

The endpoint that is used to connect to the instance.

+ * + * example: + *

rm-2zex9lrc0gz0****.mysql.rds.aliyuncs.com

*/ public Builder host(String host) { this.host = host; @@ -373,7 +399,10 @@ public Builder host(String host) { } /** - * InstanceAlias. + *

The alias of the instance.

+ * + * example: + *

DMS_TEST

*/ public Builder instanceAlias(String instanceAlias) { this.instanceAlias = instanceAlias; @@ -381,7 +410,10 @@ public Builder instanceAlias(String instanceAlias) { } /** - * InstanceId. + *

The ID of the instance.

+ * + * example: + *

21****

*/ public Builder instanceId(String instanceId) { this.instanceId = instanceId; @@ -389,7 +421,7 @@ public Builder instanceId(String instanceId) { } /** - * PermissionDetail. + *

The details of permissions. The format of the permission details varies with the permission source. For example, if the permission source is a normal permission, the following parameters are returned.

*/ public Builder permissionDetail(PermissionDetail permissionDetail) { this.permissionDetail = permissionDetail; @@ -397,7 +429,10 @@ public Builder permissionDetail(PermissionDetail permissionDetail) { } /** - * Port. + *

The port number that is used to connect to the instance.

+ * + * example: + *

3306

*/ public Builder port(String port) { this.port = port; @@ -405,7 +440,10 @@ public Builder port(String port) { } /** - * UserId. + *

The user IDs.

+ * + * example: + *

51****

*/ public Builder userId(String userId) { this.userId = userId; @@ -413,7 +451,10 @@ public Builder userId(String userId) { } /** - * UserName. + *

The user name.

+ * + * example: + *

user_test

*/ public Builder userName(String userName) { this.userName = userName; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedUsersForDatabaseRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedUsersForDatabaseRequest.java index a6327ad29a0..0eab1bf37f8 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedUsersForDatabaseRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedUsersForDatabaseRequest.java @@ -154,6 +154,11 @@ public Builder regionId(String regionId) { } /** + *

The database ID. The database can be a physical database or a logical database.

+ * *

This parameter is required.

* * example: @@ -166,7 +171,14 @@ public Builder dbId(String dbId) { } /** - * Logic. + *

Specifies whether the database is a logical database. Valid values:

+ *
    + *
  • true.: The database is a logical database
  • + *
  • false: The database is a physical database.
  • + *
+ * + * example: + *

false

*/ public Builder logic(Boolean logic) { this.putQueryParameter("Logic", logic); @@ -175,7 +187,10 @@ public Builder logic(Boolean logic) { } /** - * PageNumber. + *

The page number.

+ * + * example: + *

1

*/ public Builder pageNumber(String pageNumber) { this.putQueryParameter("PageNumber", pageNumber); @@ -184,7 +199,10 @@ public Builder pageNumber(String pageNumber) { } /** - * PageSize. + *

The number of entries to return on each page.

+ * + * example: + *

20

*/ public Builder pageSize(String pageSize) { this.putQueryParameter("PageSize", pageSize); @@ -193,7 +211,10 @@ public Builder pageSize(String pageSize) { } /** - * SearchKey. + *

The keyword that is used for the search.

+ * + * example: + *

poc_test

*/ public Builder searchKey(String searchKey) { this.putQueryParameter("SearchKey", searchKey); @@ -202,7 +223,13 @@ public Builder searchKey(String searchKey) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedUsersForDatabaseResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedUsersForDatabaseResponseBody.java index 2397174f5e1..eabb533d7ca 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedUsersForDatabaseResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedUsersForDatabaseResponseBody.java @@ -67,7 +67,10 @@ private Builder(ListAuthorizedUsersForDatabaseResponseBody model) { } /** - * RequestId. + *

The request ID. You can use the ID to locate logs and troubleshoot issues.

+ * + * example: + *

FE8EE2F1-4880-46BC-A704-5CF63EAF9A04

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -75,7 +78,7 @@ public Builder requestId(String requestId) { } /** - * Users. + *

The list of users that have permissions on the specified instance.

*/ public Builder users(java.util.List users) { this.users = users; @@ -154,7 +157,10 @@ private Builder(Users model) { } /** - * Uid. + *

The UID of the user"s Alibaba Cloud account.

+ * + * example: + *

164882191****

*/ public Builder uid(String uid) { this.uid = uid; @@ -162,7 +168,10 @@ public Builder uid(String uid) { } /** - * UserId. + *

The user IDs.

+ * + * example: + *

51****

*/ public Builder userId(String userId) { this.userId = userId; @@ -170,7 +179,10 @@ public Builder userId(String userId) { } /** - * UserNickName. + *

The nickname of the user.

+ * + * example: + *

user_test

*/ public Builder userNickName(String userNickName) { this.userNickName = userNickName; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedUsersForInstanceRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedUsersForInstanceRequest.java index c152793d162..fbffa8fe41b 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedUsersForInstanceRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedUsersForInstanceRequest.java @@ -140,6 +140,7 @@ public Builder regionId(String regionId) { } /** + *

The ID of the instance. You can call the ListInstances or GetInstance operation to query the instance ID.

*

This parameter is required.

* * example: @@ -152,7 +153,10 @@ public Builder instanceId(String instanceId) { } /** - * PageNumber. + *

The page number.

+ * + * example: + *

1

*/ public Builder pageNumber(String pageNumber) { this.putQueryParameter("PageNumber", pageNumber); @@ -161,7 +165,10 @@ public Builder pageNumber(String pageNumber) { } /** - * PageSize. + *

The number of entries to return on each page.

+ * + * example: + *

20

*/ public Builder pageSize(String pageSize) { this.putQueryParameter("PageSize", pageSize); @@ -170,7 +177,10 @@ public Builder pageSize(String pageSize) { } /** - * SearchKey. + *

The keyword that is used for the search.

+ * + * example: + *

poc_test

*/ public Builder searchKey(String searchKey) { this.putQueryParameter("SearchKey", searchKey); @@ -179,7 +189,13 @@ public Builder searchKey(String searchKey) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3****

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedUsersForInstanceResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedUsersForInstanceResponseBody.java index 1a098287bb5..b0cede8daa1 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedUsersForInstanceResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListAuthorizedUsersForInstanceResponseBody.java @@ -67,7 +67,10 @@ private Builder(ListAuthorizedUsersForInstanceResponseBody model) { } /** - * RequestId. + *

The request ID. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -75,7 +78,7 @@ public Builder requestId(String requestId) { } /** - * Users. + *

The list of users that have permissions on the specified instance.

*/ public Builder users(java.util.List users) { this.users = users; @@ -167,7 +170,10 @@ private Builder(Users model) { } /** - * Uid. + *

The UID of the user"s Alibaba Cloud account.

+ * + * example: + *

164882191****

*/ public Builder uid(String uid) { this.uid = uid; @@ -175,7 +181,10 @@ public Builder uid(String uid) { } /** - * UserId. + *

The ID of the user.

+ * + * example: + *

51***

*/ public Builder userId(String userId) { this.userId = userId; @@ -183,7 +192,10 @@ public Builder userId(String userId) { } /** - * UserNickName. + *

The nickname of the user.

+ * + * example: + *

user_test

*/ public Builder userNickName(String userNickName) { this.userNickName = userNickName; @@ -191,7 +203,10 @@ public Builder userNickName(String userNickName) { } /** - * UserRealName. + *

The real name of the user.

+ * + * example: + *

user01

*/ public Builder userRealName(String userRealName) { this.userRealName = userRealName; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeCatalogRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeCatalogRequest.java index 897d7c0bbfb..9131b75de2f 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeCatalogRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeCatalogRequest.java @@ -126,6 +126,7 @@ public Builder regionId(String regionId) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -138,7 +139,10 @@ public Builder dataRegion(String dataRegion) { } /** - * SearchKey. + *

The keyword that is used to search for catalogs.

+ * + * example: + *

hive

*/ public Builder searchKey(String searchKey) { this.putQueryParameter("SearchKey", searchKey); @@ -147,7 +151,10 @@ public Builder searchKey(String searchKey) { } /** - * Tid. + *

The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to query the ID of the tenant.

+ * + * example: + *

3

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -156,7 +163,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeCatalogResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeCatalogResponseBody.java index c5fcfab59e4..7184c440e79 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeCatalogResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeCatalogResponseBody.java @@ -106,7 +106,7 @@ private Builder(ListDataLakeCatalogResponseBody model) { } /** - * CataLogList. + *

The list of catalogs.

*/ public Builder cataLogList(java.util.List cataLogList) { this.cataLogList = cataLogList; @@ -114,7 +114,10 @@ public Builder cataLogList(java.util.List cataLogList) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

400

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -122,7 +125,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -130,7 +136,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The ID of the request. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

E76DD2E7-EBAC-5724-B163-19AAC233F8F2

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +147,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeDatabaseRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeDatabaseRequest.java index 7ac6aee6bc4..62616aeba86 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeDatabaseRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeDatabaseRequest.java @@ -168,6 +168,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data catalog. You can view the name of the data catalog in the DLF console.

*

This parameter is required.

* * example: @@ -180,6 +181,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -192,7 +194,10 @@ public Builder dataRegion(String dataRegion) { } /** - * MaxResults. + *

The number of entries per page. Valid values: 1 to 100.

+ * + * example: + *

20

*/ public Builder maxResults(Integer maxResults) { this.putQueryParameter("MaxResults", maxResults); @@ -201,7 +206,14 @@ public Builder maxResults(Integer maxResults) { } /** - * NextToken. + *

The pagination token that is used in the next request to retrieve a new page of results. Valid values:

+ *
    + *
  • If NextToken is empty, no next page exists.
  • + *
  • If a value of NextToken is returned, the value indicates the token that is used for the next query.
  • + *
+ * + * example: + *

f056501ada12c1cc

*/ public Builder nextToken(String nextToken) { this.putQueryParameter("NextToken", nextToken); @@ -210,7 +222,10 @@ public Builder nextToken(String nextToken) { } /** - * SearchKey. + *

The keyword that is used to search for databases.

+ * + * example: + *

default

*/ public Builder searchKey(String searchKey) { this.putQueryParameter("SearchKey", searchKey); @@ -219,7 +234,13 @@ public Builder searchKey(String searchKey) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -228,7 +249,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeDatabaseResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeDatabaseResponseBody.java index 818223c1a79..ce8273f7c89 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeDatabaseResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeDatabaseResponseBody.java @@ -132,7 +132,7 @@ private Builder(ListDataLakeDatabaseResponseBody model) { } /** - * DatabaseList. + *

The list of databases.

*/ public Builder databaseList(java.util.List databaseList) { this.databaseList = databaseList; @@ -140,7 +140,10 @@ public Builder databaseList(java.util.List databaseList) { } /** - * ErrorCode. + *

The error code returned if the call failed.

+ * + * example: + *

400

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -148,7 +151,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -156,7 +162,10 @@ public Builder errorMessage(String errorMessage) { } /** - * MaxResults. + *

The maximum number of entries to be returned in a request. You can use this parameter and NextToken to implement paging.

+ * + * example: + *

20

*/ public Builder maxResults(Integer maxResults) { this.maxResults = maxResults; @@ -164,7 +173,10 @@ public Builder maxResults(Integer maxResults) { } /** - * NextToken. + *

The pagination token that is used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists. Set this parameter to the value of NextToken obtained from the previous query.

+ * + * example: + *

NesLoKLEdIZrKhDT7I2gSw==

*/ public Builder nextToken(String nextToken) { this.nextToken = nextToken; @@ -172,7 +184,10 @@ public Builder nextToken(String nextToken) { } /** - * RequestId. + *

The request ID. You can use the ID to locate logs and troubleshoot issues.

+ * + * example: + *

4E1D2B4D-3E53-4ABC-999D-1D2520B3471A

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -180,7 +195,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeFunctionNameRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeFunctionNameRequest.java index 601a0c193d8..17b03eeaa35 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeFunctionNameRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeFunctionNameRequest.java @@ -184,6 +184,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data catalog.

*

This parameter is required.

* * example: @@ -196,6 +197,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -208,6 +210,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The database name.

*

This parameter is required.

* * example: @@ -220,7 +223,10 @@ public Builder dbName(String dbName) { } /** - * FunctionNamePattern. + *

The regular expression that is used to filter the returned function names.

+ * + * example: + *

.*

*/ public Builder functionNamePattern(String functionNamePattern) { this.putQueryParameter("FunctionNamePattern", functionNamePattern); @@ -229,7 +235,10 @@ public Builder functionNamePattern(String functionNamePattern) { } /** - * MaxResults. + *

The number of records per page. Valid values: 1 to 100.

+ * + * example: + *

20

*/ public Builder maxResults(Integer maxResults) { this.putQueryParameter("MaxResults", maxResults); @@ -238,7 +247,14 @@ public Builder maxResults(Integer maxResults) { } /** - * NextToken. + *

The pagination token that is used in the next request to retrieve a new page of results. Valid values:

+ *
    + *
  • If NextToken is empty, there is no next page.
  • + *
  • If a value of NextToken is returned, it indicates the token that is used for the next query.
  • + *
+ * + * example: + *

f056501ada12c1cc

*/ public Builder nextToken(String nextToken) { this.putQueryParameter("NextToken", nextToken); @@ -247,7 +263,13 @@ public Builder nextToken(String nextToken) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -256,7 +278,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeFunctionNameResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeFunctionNameResponseBody.java index 6a74384e189..5ee28ff1666 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeFunctionNameResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeFunctionNameResponseBody.java @@ -132,7 +132,10 @@ private Builder(ListDataLakeFunctionNameResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -140,7 +143,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -148,7 +154,7 @@ public Builder errorMessage(String errorMessage) { } /** - * FunctionNameList. + *

The information about the list of function names.

*/ public Builder functionNameList(java.util.List functionNameList) { this.functionNameList = functionNameList; @@ -156,7 +162,10 @@ public Builder functionNameList(java.util.List functionNameList) { } /** - * MaxResults. + *

The number of entries per page.

+ * + * example: + *

20

*/ public Builder maxResults(Integer maxResults) { this.maxResults = maxResults; @@ -164,7 +173,10 @@ public Builder maxResults(Integer maxResults) { } /** - * NextToken. + *

The token that determines the start point of the next query.

+ * + * example: + *

f056501ada12c1cc

*/ public Builder nextToken(String nextToken) { this.nextToken = nextToken; @@ -172,7 +184,10 @@ public Builder nextToken(String nextToken) { } /** - * RequestId. + *

The request ID.

+ * + * example: + *

F1C78D32-1AFD-58AD-9DD2-C8A0896969DD

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -180,7 +195,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeFunctionRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeFunctionRequest.java index 92ed62be2b4..bb249453865 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeFunctionRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeFunctionRequest.java @@ -183,6 +183,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data catalog.

*

This parameter is required.

* * example: @@ -195,6 +196,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -207,7 +209,10 @@ public Builder dataRegion(String dataRegion) { } /** - * DbName. + *

The name of the database.

+ * + * example: + *

default

*/ public Builder dbName(String dbName) { this.putQueryParameter("DbName", dbName); @@ -216,7 +221,10 @@ public Builder dbName(String dbName) { } /** - * FunctionNamePattern. + *

The regular expression that is used to filter the returned function names.

+ * + * example: + *

.*

*/ public Builder functionNamePattern(String functionNamePattern) { this.putQueryParameter("FunctionNamePattern", functionNamePattern); @@ -225,7 +233,10 @@ public Builder functionNamePattern(String functionNamePattern) { } /** - * MaxResults. + *

The number of records per page. Valid values: 1 to 100.

+ * + * example: + *

20

*/ public Builder maxResults(Integer maxResults) { this.putQueryParameter("MaxResults", maxResults); @@ -234,7 +245,14 @@ public Builder maxResults(Integer maxResults) { } /** - * NextToken. + *

The pagination token that is used in the next request to retrieve a new page of results. Valid values:

+ *
    + *
  • If NextToken is empty, there is no next page.
  • + *
  • If a value of NextToken is returned, it indicates the token that is used for the next query.
  • + *
+ * + * example: + *

f056501ada12c1cc

*/ public Builder nextToken(String nextToken) { this.putQueryParameter("NextToken", nextToken); @@ -243,7 +261,13 @@ public Builder nextToken(String nextToken) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -252,7 +276,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeFunctionResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeFunctionResponseBody.java index 88e82b7de23..6e922e253af 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeFunctionResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeFunctionResponseBody.java @@ -132,7 +132,10 @@ private Builder(ListDataLakeFunctionResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -140,7 +143,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -148,7 +154,7 @@ public Builder errorMessage(String errorMessage) { } /** - * FunctionList. + *

The information about functions.

*/ public Builder functionList(java.util.List functionList) { this.functionList = functionList; @@ -156,7 +162,10 @@ public Builder functionList(java.util.List functionList) { } /** - * MaxResults. + *

The number of records per page.

+ * + * example: + *

20

*/ public Builder maxResults(Integer maxResults) { this.maxResults = maxResults; @@ -164,7 +173,10 @@ public Builder maxResults(Integer maxResults) { } /** - * NextToken. + *

The token that determines the start point of the next query.

+ * + * example: + *

f056501ada12c1cc

*/ public Builder nextToken(String nextToken) { this.nextToken = nextToken; @@ -172,7 +184,10 @@ public Builder nextToken(String nextToken) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

7FAD400F-7A5C-4193-8F9A-39D86C4F0231

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -180,7 +195,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionByFilterRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionByFilterRequest.java index 11c9322fa0c..706f927ad76 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionByFilterRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionByFilterRequest.java @@ -200,6 +200,7 @@ public Builder regionId(String regionId) { } /** + *

The catalog name.

*

This parameter is required.

* * example: @@ -212,6 +213,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -224,6 +226,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The database name.

*

This parameter is required.

* * example: @@ -236,6 +239,13 @@ public Builder dbName(String dbName) { } /** + *

The expression of the query condition. The following operators are supported:

+ *
    + *
  • Comparison operators: =, <>, ! =, <, <=,>, and >=. Example: ds>20240101.
  • + *
  • Logical operators: AND, OR, and NOT. Example: ds LIKE "20240%".
  • + *
  • BETWEEN operator: Specifies a range. Example: ds BETWEEN 20240101 AND 20241201.
  • + *
  • IN operator: Specifies a set of values. Example: ds IN (20240101, 20240102).
  • + *
*

This parameter is required.

* * example: @@ -248,7 +258,10 @@ public Builder filter(String filter) { } /** - * MaxResults. + *

The number of entries per page. Valid values: 1 to 100.

+ * + * example: + *

20

*/ public Builder maxResults(Integer maxResults) { this.putQueryParameter("MaxResults", maxResults); @@ -257,7 +270,14 @@ public Builder maxResults(Integer maxResults) { } /** - * NextToken. + *

The pagination token that is used in the next request to retrieve a new page of results. Valid value:

+ *
    + *
  • If NextToken is empty, no next page exists.
  • + *
  • If a value of NextToken is returned, the value indicates the token that is used for the next query.
  • + *
+ * + * example: + *

f056501ada12c1cc

*/ public Builder nextToken(String nextToken) { this.putQueryParameter("NextToken", nextToken); @@ -266,6 +286,7 @@ public Builder nextToken(String nextToken) { } /** + *

The table name.

*

This parameter is required.

* * example: @@ -278,7 +299,13 @@ public Builder tableName(String tableName) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -287,7 +314,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionByFilterResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionByFilterResponseBody.java index 39511cb0213..18d1983090d 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionByFilterResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionByFilterResponseBody.java @@ -132,7 +132,10 @@ private Builder(ListDataLakePartitionByFilterResponseBody model) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -140,7 +143,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -148,7 +154,10 @@ public Builder errorMessage(String errorMessage) { } /** - * MaxResults. + *

The number of entries per page.

+ * + * example: + *

20

*/ public Builder maxResults(Integer maxResults) { this.maxResults = maxResults; @@ -156,7 +165,10 @@ public Builder maxResults(Integer maxResults) { } /** - * NextToken. + *

The information about the token.

+ * + * example: + *

NesLoKLEdIZrKhDT7I2gS****

*/ public Builder nextToken(String nextToken) { this.nextToken = nextToken; @@ -164,7 +176,7 @@ public Builder nextToken(String nextToken) { } /** - * PartitionList. + *

The queried partitions.

*/ public Builder partitionList(java.util.List partitionList) { this.partitionList = partitionList; @@ -172,7 +184,10 @@ public Builder partitionList(java.util.List partitionList) { } /** - * RequestId. + *

The ID of the request. You can use the ID to locate logs and troubleshoot issues.

+ * + * example: + *

427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -180,7 +195,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request succeeded.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionNameRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionNameRequest.java index 728e7a91264..f11d5def623 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionNameRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionNameRequest.java @@ -185,6 +185,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data catalog.

*

This parameter is required.

* * example: @@ -197,6 +198,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -209,6 +211,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The database name.

*

This parameter is required.

* * example: @@ -221,7 +224,10 @@ public Builder dbName(String dbName) { } /** - * MaxResults. + *

The number of records per page. Valid values: 1 to 100.

+ * + * example: + *

20

*/ public Builder maxResults(Integer maxResults) { this.putQueryParameter("MaxResults", maxResults); @@ -230,7 +236,14 @@ public Builder maxResults(Integer maxResults) { } /** - * NextToken. + *

The pagination token that is used in the next request to retrieve a new page of results. Valid values:

+ *
    + *
  • If NextToken is empty, there is no next page.
  • + *
  • If a value of NextToken is returned, the value indicates the token that is used for the next query.
  • + *
+ * + * example: + *

f056501ada12c1cc

*/ public Builder nextToken(String nextToken) { this.putQueryParameter("NextToken", nextToken); @@ -239,6 +252,7 @@ public Builder nextToken(String nextToken) { } /** + *

The name of the table.

*

This parameter is required.

* * example: @@ -251,7 +265,13 @@ public Builder tableName(String tableName) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -260,7 +280,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionNameResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionNameResponseBody.java index cb769db6755..c2306da3980 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionNameResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionNameResponseBody.java @@ -132,7 +132,10 @@ private Builder(ListDataLakePartitionNameResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -140,7 +143,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -148,7 +154,10 @@ public Builder errorMessage(String errorMessage) { } /** - * MaxResults. + *

The number of records per page.

+ * + * example: + *

20

*/ public Builder maxResults(Integer maxResults) { this.maxResults = maxResults; @@ -156,7 +165,10 @@ public Builder maxResults(Integer maxResults) { } /** - * NextToken. + *

The information about the token.

+ * + * example: + *

NesLoKLEdIZrKhDT7I2gS****

*/ public Builder nextToken(String nextToken) { this.nextToken = nextToken; @@ -164,7 +176,7 @@ public Builder nextToken(String nextToken) { } /** - * PartitionNameList. + *

The partition names.

*/ public Builder partitionNameList(java.util.List partitionNameList) { this.partitionNameList = partitionNameList; @@ -172,7 +184,10 @@ public Builder partitionNameList(java.util.List partitionNameList) { } /** - * RequestId. + *

The request ID. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -180,7 +195,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionRequest.java index 1d0cf97d262..72f13e57f55 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionRequest.java @@ -199,6 +199,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data catalog.

*

This parameter is required.

* * example: @@ -211,6 +212,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -223,6 +225,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The database name.

*

This parameter is required.

* * example: @@ -235,7 +238,10 @@ public Builder dbName(String dbName) { } /** - * MaxResults. + *

The number of records per page. Valid values: 0 to 100.

+ * + * example: + *

20

*/ public Builder maxResults(Integer maxResults) { this.putQueryParameter("MaxResults", maxResults); @@ -244,7 +250,14 @@ public Builder maxResults(Integer maxResults) { } /** - * NextToken. + *

The pagination token that is used in the next request to retrieve a new page of results. Valid values:

+ *
    + *
  • If NextToken is empty, there is no next page.
  • + *
  • If a value of NextToken is returned, it indicates the token that is used for the next query.
  • + *
+ * + * example: + *

f056501ada12c1cc

*/ public Builder nextToken(String nextToken) { this.putQueryParameter("NextToken", nextToken); @@ -253,7 +266,7 @@ public Builder nextToken(String nextToken) { } /** - * PartNames. + *

The partition names.

*/ public Builder partNames(java.util.List partNames) { String partNamesShrink = shrink(partNames, "PartNames", "json"); @@ -263,6 +276,7 @@ public Builder partNames(java.util.List partNames) { } /** + *

The table name.

*

This parameter is required.

* * example: @@ -275,7 +289,13 @@ public Builder tableName(String tableName) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -284,7 +304,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionResponseBody.java index 0da55d8a6c9..61052ec8d9a 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakePartitionResponseBody.java @@ -132,7 +132,10 @@ private Builder(ListDataLakePartitionResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -140,7 +143,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -148,7 +154,10 @@ public Builder errorMessage(String errorMessage) { } /** - * MaxResults. + *

The number of records per page.

+ * + * example: + *

20

*/ public Builder maxResults(Integer maxResults) { this.maxResults = maxResults; @@ -156,7 +165,10 @@ public Builder maxResults(Integer maxResults) { } /** - * NextToken. + *

The information about the token.

+ * + * example: + *

NesLoKLEdIZrKhDT7I2gS****

*/ public Builder nextToken(String nextToken) { this.nextToken = nextToken; @@ -164,7 +176,7 @@ public Builder nextToken(String nextToken) { } /** - * PartitionList. + *

The queried partitions.

*/ public Builder partitionList(java.util.List partitionList) { this.partitionList = partitionList; @@ -172,7 +184,10 @@ public Builder partitionList(java.util.List partitionList) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -180,7 +195,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The call was successful.
  • + *
  • false
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTableNameRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTableNameRequest.java index b8640c26c81..c728768a7cc 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTableNameRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTableNameRequest.java @@ -198,6 +198,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data catalog.

*

This parameter is required.

* * example: @@ -210,6 +211,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -222,6 +224,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The database name.

*

This parameter is required.

* * example: @@ -234,7 +237,10 @@ public Builder dbName(String dbName) { } /** - * MaxResults. + *

The number of records per page. Valid values: 1 to 100.

+ * + * example: + *

20

*/ public Builder maxResults(Integer maxResults) { this.putQueryParameter("MaxResults", maxResults); @@ -243,7 +249,14 @@ public Builder maxResults(Integer maxResults) { } /** - * NextToken. + *

The pagination token that is used in the next request to retrieve a new page of results. Valid values:

+ *
    + *
  • If NextToken is empty, there is no next page.
  • + *
  • If a value of NextToken is returned, it indicates the token that is used for the next query.
  • + *
+ * + * example: + *

f056501ada12c1cc

*/ public Builder nextToken(String nextToken) { this.putQueryParameter("NextToken", nextToken); @@ -252,7 +265,10 @@ public Builder nextToken(String nextToken) { } /** - * TableNamePattern. + *

The regular expression that is used to match the table name.

+ * + * example: + *

.*

*/ public Builder tableNamePattern(String tableNamePattern) { this.putQueryParameter("TableNamePattern", tableNamePattern); @@ -261,7 +277,17 @@ public Builder tableNamePattern(String tableNamePattern) { } /** - * TableType. + *

The type of the data table. Valid values:

+ *
    + *
  • MANAGED_TABLE
  • + *
  • EXTERNAL_TABLE
  • + *
  • VIRTUAL_VIEW
  • + *
  • INDEX_TABLE
  • + *
  • MATERIALIZED_VIEW
  • + *
+ * + * example: + *

MANAGED_TABLE

*/ public Builder tableType(String tableType) { this.putQueryParameter("TableType", tableType); @@ -270,7 +296,13 @@ public Builder tableType(String tableType) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -279,7 +311,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTableNameResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTableNameResponseBody.java index 54cac62c381..bf78cd70604 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTableNameResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTableNameResponseBody.java @@ -132,7 +132,10 @@ private Builder(ListDataLakeTableNameResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -140,7 +143,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -148,7 +154,10 @@ public Builder errorMessage(String errorMessage) { } /** - * MaxResults. + *

The number of records per page.

+ * + * example: + *

20

*/ public Builder maxResults(Integer maxResults) { this.maxResults = maxResults; @@ -156,7 +165,10 @@ public Builder maxResults(Integer maxResults) { } /** - * NextToken. + *

The information about the token.

+ * + * example: + *

NesLoKLEdIZrKhDT7I2gS****

*/ public Builder nextToken(String nextToken) { this.nextToken = nextToken; @@ -164,7 +176,10 @@ public Builder nextToken(String nextToken) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

C5B8E84B-42B6-4374-AD5A-6264E1753378

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -172,7 +187,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -180,7 +202,7 @@ public Builder success(Boolean success) { } /** - * TableNameList. + *

The table names.

*/ public Builder tableNameList(java.util.List tableNameList) { this.tableNameList = tableNameList; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTableRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTableRequest.java index 3b9dfb922f6..5f6bbf8fda3 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTableRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTableRequest.java @@ -198,6 +198,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data catalog.

*

This parameter is required.

* * example: @@ -210,6 +211,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -222,6 +224,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The database name.

*

This parameter is required.

* * example: @@ -234,7 +237,10 @@ public Builder dbName(String dbName) { } /** - * MaxResults. + *

The number of records per page. Valid values: 1 to 100.

+ * + * example: + *

20

*/ public Builder maxResults(Integer maxResults) { this.putQueryParameter("MaxResults", maxResults); @@ -243,7 +249,14 @@ public Builder maxResults(Integer maxResults) { } /** - * NextToken. + *

The pagination token that is used in the next request to retrieve a new page of results. Valid values:

+ *
    + *
  • If NextToken is empty, there is no next page.
  • + *
  • If a value of NextToken is returned, it indicates the token that is used for the next query.
  • + *
+ * + * example: + *

f056501ada12c1cc

*/ public Builder nextToken(String nextToken) { this.putQueryParameter("NextToken", nextToken); @@ -252,7 +265,10 @@ public Builder nextToken(String nextToken) { } /** - * TableNamePattern. + *

The regular expression that is used to match the names of metadata tables.

+ * + * example: + *

.*

*/ public Builder tableNamePattern(String tableNamePattern) { this.putQueryParameter("TableNamePattern", tableNamePattern); @@ -261,7 +277,17 @@ public Builder tableNamePattern(String tableNamePattern) { } /** - * TableType. + *

The type of the data table. Valid values:

+ *
    + *
  • MANAGED_TABLE
  • + *
  • EXTERNAL_TABLE
  • + *
  • VIRTUAL_VIEW
  • + *
  • INDEX_TABLE
  • + *
  • MATERIALIZED_VIEW
  • + *
+ * + * example: + *

MANAGED_TABLE

*/ public Builder tableType(String tableType) { this.putQueryParameter("TableType", tableType); @@ -270,7 +296,13 @@ public Builder tableType(String tableType) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -279,7 +311,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTableResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTableResponseBody.java index 20b34af42a7..0d026b68442 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTableResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTableResponseBody.java @@ -132,7 +132,10 @@ private Builder(ListDataLakeTableResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -140,7 +143,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -148,7 +154,10 @@ public Builder errorMessage(String errorMessage) { } /** - * MaxResults. + *

The number of records per page.

+ * + * example: + *

20

*/ public Builder maxResults(Integer maxResults) { this.maxResults = maxResults; @@ -156,7 +165,10 @@ public Builder maxResults(Integer maxResults) { } /** - * NextToken. + *

The information about the token.

+ * + * example: + *

NesLoKLEdIZrKhDT7I2gS****

*/ public Builder nextToken(String nextToken) { this.nextToken = nextToken; @@ -164,7 +176,10 @@ public Builder nextToken(String nextToken) { } /** - * RequestId. + *

The request ID. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

3D3FB827-E667-50DB-AD59-C83F8237FECB

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -172,7 +187,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -180,7 +202,7 @@ public Builder success(Boolean success) { } /** - * TableList. + *

The details of the tables.

*/ public Builder tableList(java.util.List tableList) { this.tableList = tableList; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTablebaseInfoRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTablebaseInfoRequest.java index d103950c5dd..b4ec47110b8 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTablebaseInfoRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTablebaseInfoRequest.java @@ -185,6 +185,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data catalog to query.

*

This parameter is required.

* * example: @@ -197,6 +198,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -209,6 +211,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The name of the database to which the table belongs.

*

This parameter is required.

* * example: @@ -221,7 +224,10 @@ public Builder dbName(String dbName) { } /** - * Page. + *

The page number.

+ * + * example: + *

1

*/ public Builder page(Integer page) { this.putQueryParameter("Page", page); @@ -230,7 +236,10 @@ public Builder page(Integer page) { } /** - * Rows. + *

The number of entries per page.

+ * + * example: + *

10

*/ public Builder rows(Integer rows) { this.putQueryParameter("Rows", rows); @@ -239,7 +248,10 @@ public Builder rows(Integer rows) { } /** - * SearchKey. + *

The keyword that is used to search for tables.

+ * + * example: + *

test

*/ public Builder searchKey(String searchKey) { this.putQueryParameter("SearchKey", searchKey); @@ -248,7 +260,10 @@ public Builder searchKey(String searchKey) { } /** - * Tid. + *

The tenant ID. You can call the GetUserActiveTenant operation to query the tenant ID.

+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -257,7 +272,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTablebaseInfoResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTablebaseInfoResponseBody.java index b7f905c983a..5ac99c665de 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTablebaseInfoResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListDataLakeTablebaseInfoResponseBody.java @@ -119,7 +119,10 @@ private Builder(ListDataLakeTablebaseInfoResponseBody model) { } /** - * ErrorCode. + *

The error code returned if the request fails.

+ * + * example: + *

400

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -127,7 +130,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message returned if the request failed.

+ * + * example: + *

Specified parameter Rows is not valid.

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -135,7 +141,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID.

+ * + * example: + *

B43AD641-49C2-5299-9E06-1B37EC1B****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -143,7 +152,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -151,7 +167,7 @@ public Builder success(Boolean success) { } /** - * TablebaseInfoList. + *

The list of tables in the data lake.

*/ public Builder tablebaseInfoList(java.util.List tablebaseInfoList) { this.tablebaseInfoList = tablebaseInfoList; @@ -159,7 +175,10 @@ public Builder tablebaseInfoList(java.util.List tablebaseInfoLi } /** - * TotalCount. + *

The number of tables that meet the conditions.

+ * + * example: + *

100

*/ public Builder totalCount(String totalCount) { this.totalCount = totalCount; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListMetaCategoryRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListMetaCategoryRequest.java index a1e28fa64f2..083f7be4512 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListMetaCategoryRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListMetaCategoryRequest.java @@ -127,6 +127,7 @@ public Builder regionId(String regionId) { } /** + *

The number of the page to return. Pages start from page 1.

*

This parameter is required.

* * example: @@ -139,6 +140,7 @@ public Builder pageNumber(Integer pageNumber) { } /** + *

The number of entries to return on each page.

*

This parameter is required.

* * example: @@ -151,7 +153,10 @@ public Builder pageSize(Integer pageSize) { } /** - * ParentCategoryId. + *

The parent category ID.

+ * + * example: + *

30000322682

*/ public Builder parentCategoryId(Long parentCategoryId) { this.putQueryParameter("ParentCategoryId", parentCategoryId); @@ -160,7 +165,10 @@ public Builder parentCategoryId(Long parentCategoryId) { } /** - * Tid. + *

The tenant ID. You can call the GetUserActiveTenant or ListUserTenants operation to query the tenant ID.

+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListMetaCategoryResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListMetaCategoryResponseBody.java index d26bc3b0322..a575028b202 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListMetaCategoryResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListMetaCategoryResponseBody.java @@ -119,7 +119,7 @@ private Builder(ListMetaCategoryResponseBody model) { } /** - * CategoryList. + *

The list of categories.

*/ public Builder categoryList(CategoryList categoryList) { this.categoryList = categoryList; @@ -127,7 +127,10 @@ public Builder categoryList(CategoryList categoryList) { } /** - * ErrorCode. + *

The error code returned if the request fails.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -135,7 +138,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message returned if the request fails.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -143,7 +149,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The ID of the request.

+ * + * example: + *

0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -151,7 +160,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the call was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -159,7 +175,10 @@ public Builder success(Boolean success) { } /** - * TotalCount. + *

The total number of entries returned.

+ * + * example: + *

1

*/ public Builder totalCount(Long totalCount) { this.totalCount = totalCount; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListSensitiveColumnInfoRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListSensitiveColumnInfoRequest.java index 895bb362754..c5817dbbf95 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListSensitiveColumnInfoRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListSensitiveColumnInfoRequest.java @@ -167,7 +167,13 @@ public Builder regionId(String regionId) { } /** - * ColumnName. + *

The name of the sensitive field. You can call the ListSensitiveColumns operation to query the name of the sensitive field.

+ *
+ *

You can also call the ListColumns operation to query the name of the sensitive field.

+ *
+ * + * example: + *

test_column

*/ public Builder columnName(String columnName) { this.putQueryParameter("ColumnName", columnName); @@ -176,6 +182,7 @@ public Builder columnName(String columnName) { } /** + *

The ID of the instance. You can call the ListInstances or GetInstance operation to query the instance ID.

*

This parameter is required.

* * example: @@ -188,7 +195,10 @@ public Builder instanceId(Integer instanceId) { } /** - * PageNumber. + *

The page number of the returned page.

+ * + * example: + *

1

*/ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); @@ -197,7 +207,10 @@ public Builder pageNumber(Integer pageNumber) { } /** - * PageSize. + *

The number of entries to return on each page.

+ * + * example: + *

100

*/ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); @@ -206,7 +219,13 @@ public Builder pageSize(Integer pageSize) { } /** - * SchemaName. + *

The database name. You can also call the SearchDatabase operation to query the name of the database.

+ *
+ *

You can also call the ListDatabases operation to query the value of the SchemaName parameter of a physical database, or the ListLogicDatabases operation to query the value of the SchemaName parameter of a logical database.

+ *
+ * + * example: + *

test_schema

*/ public Builder schemaName(String schemaName) { this.putQueryParameter("SchemaName", schemaName); @@ -215,7 +234,13 @@ public Builder schemaName(String schemaName) { } /** - * TableName. + *

The name of the table. You can call the ListSensitiveColumns operation to query the table name.

+ *
+ *

You can also call the ListTables operation to query the table name.

+ *
+ * + * example: + *

test_table

*/ public Builder tableName(String tableName) { this.putQueryParameter("TableName", tableName); @@ -224,7 +249,13 @@ public Builder tableName(String tableName) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListSensitiveColumnInfoResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListSensitiveColumnInfoResponseBody.java index 8c3e345dbb6..7898be2281d 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListSensitiveColumnInfoResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListSensitiveColumnInfoResponseBody.java @@ -119,7 +119,10 @@ private Builder(ListSensitiveColumnInfoResponseBody model) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -127,7 +130,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -135,7 +141,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -143,7 +152,7 @@ public Builder requestId(String requestId) { } /** - * SensitiveColumnList. + *

The details of the sensitive field.

*/ public Builder sensitiveColumnList(SensitiveColumnList sensitiveColumnList) { this.sensitiveColumnList = sensitiveColumnList; @@ -151,7 +160,14 @@ public Builder sensitiveColumnList(SensitiveColumnList sensitiveColumnList) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -159,7 +175,10 @@ public Builder success(Boolean success) { } /** - * TotalCount. + *

The total number of entries that are returned.

+ * + * example: + *

1

*/ public Builder totalCount(Long totalCount) { this.totalCount = totalCount; @@ -225,7 +244,10 @@ private Builder(DefaultDesensitizationRule model) { } /** - * RuleId. + *

The masking algorithm ID.

+ * + * example: + *

101**

*/ public Builder ruleId(Long ruleId) { this.ruleId = ruleId; @@ -233,7 +255,10 @@ public Builder ruleId(Long ruleId) { } /** - * RuleName. + *

The masking algorithm name.

+ * + * example: + *

test

*/ public Builder ruleName(String ruleName) { this.ruleName = ruleName; @@ -300,7 +325,10 @@ private Builder(SemiDesensitizationRule model) { } /** - * RuleId. + *

The ID of the partial masking algorithm.

+ * + * example: + *

10***

*/ public Builder ruleId(Long ruleId) { this.ruleId = ruleId; @@ -308,7 +336,10 @@ public Builder ruleId(Long ruleId) { } /** - * RuleName. + *

The partial masking algorithm name.

+ * + * example: + *

test01

*/ public Builder ruleName(String ruleName) { this.ruleName = ruleName; @@ -546,7 +577,7 @@ private Builder(SensitiveColumn model) { } /** - * CategoryName. + *

The name of the category.

*/ public Builder categoryName(String categoryName) { this.categoryName = categoryName; @@ -554,7 +585,10 @@ public Builder categoryName(String categoryName) { } /** - * ColumnName. + *

The name of the sensitive field.

+ * + * example: + *

test_column

*/ public Builder columnName(String columnName) { this.columnName = columnName; @@ -562,7 +596,7 @@ public Builder columnName(String columnName) { } /** - * DefaultDesensitizationRule. + *

The information about the default masking algorithm.

*/ public Builder defaultDesensitizationRule(DefaultDesensitizationRule defaultDesensitizationRule) { this.defaultDesensitizationRule = defaultDesensitizationRule; @@ -570,7 +604,10 @@ public Builder defaultDesensitizationRule(DefaultDesensitizationRule defaultDese } /** - * InstanceId. + *

The ID of the instance.

+ * + * example: + *

183****

*/ public Builder instanceId(Integer instanceId) { this.instanceId = instanceId; @@ -578,7 +615,10 @@ public Builder instanceId(Integer instanceId) { } /** - * IsPlain. + *

Indicates whether the sensitive field is displayed in plaintext.

+ * + * example: + *

False

*/ public Builder isPlain(Boolean isPlain) { this.isPlain = isPlain; @@ -586,7 +626,7 @@ public Builder isPlain(Boolean isPlain) { } /** - * SampleData. + *

The sample data.

*/ public Builder sampleData(String sampleData) { this.sampleData = sampleData; @@ -594,7 +634,10 @@ public Builder sampleData(String sampleData) { } /** - * SchemaName. + *

The name of the database.

+ * + * example: + *

test_schema

*/ public Builder schemaName(String schemaName) { this.schemaName = schemaName; @@ -602,7 +645,12 @@ public Builder schemaName(String schemaName) { } /** - * SecurityLevel. + *

The sensitivity level of the field. Valid values:

+ *
    + *
  • Low
  • + *
  • Medium
  • + *
  • High
  • + *
*/ public Builder securityLevel(String securityLevel) { this.securityLevel = securityLevel; @@ -610,7 +658,7 @@ public Builder securityLevel(String securityLevel) { } /** - * SemiDesensitizationRuleList. + *

The list of partial masking algorithms.

*/ public Builder semiDesensitizationRuleList(SemiDesensitizationRuleList semiDesensitizationRuleList) { this.semiDesensitizationRuleList = semiDesensitizationRuleList; @@ -618,7 +666,10 @@ public Builder semiDesensitizationRuleList(SemiDesensitizationRuleList semiDesen } /** - * TableName. + *

The name of the table.

+ * + * example: + *

test_table

*/ public Builder tableName(String tableName) { this.tableName = tableName; @@ -626,7 +677,10 @@ public Builder tableName(String tableName) { } /** - * UserSensitivityLevel. + *

The user-defined sensitivity level.

+ * + * example: + *

S1

*/ public Builder userSensitivityLevel(String userSensitivityLevel) { this.userSensitivityLevel = userSensitivityLevel; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListTableColumnsRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListTableColumnsRequest.java index 1a41c3ec592..9ad8c1425d9 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListTableColumnsRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListTableColumnsRequest.java @@ -126,6 +126,7 @@ public Builder regionId(String regionId) { } /** + *

The ID of a physical database: You can call the ListDatabases or SearchDatabase operation to obtain the physical database ID.

*

This parameter is required.

* * example: @@ -138,6 +139,10 @@ public Builder dbId(Integer dbId) { } /** + *

The table name.

+ *
+ *

You can also call the ListTables operation to query the table name.

+ *
*

This parameter is required.

* * example: @@ -150,7 +155,10 @@ public Builder tableName(String tableName) { } /** - * TableSchemaName. + *

The schema name of the table, which is required only for SQL Server instances.

+ * + * example: + *

dbo

*/ public Builder tableSchemaName(String tableSchemaName) { this.putQueryParameter("TableSchemaName", tableSchemaName); @@ -159,7 +167,10 @@ public Builder tableSchemaName(String tableSchemaName) { } /** - * Tid. + *

The tenant ID. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the tenant ID.

+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListTableColumnsResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListTableColumnsResponseBody.java index 5c0b3a61a7a..7512909a741 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListTableColumnsResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListTableColumnsResponseBody.java @@ -106,7 +106,7 @@ private Builder(ListTableColumnsResponseBody model) { } /** - * ColumnList. + *

The details about fields in the table.

*/ public Builder columnList(ColumnList columnList) { this.columnList = columnList; @@ -114,7 +114,10 @@ public Builder columnList(ColumnList columnList) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -122,7 +125,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -130,7 +136,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID.

+ * + * example: + *

0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +147,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -347,7 +363,14 @@ private Builder(Column model) { } /** - * AutoIncrement. + *

Indicates whether the field is an auto-increment field. Valid values:

+ *
    + *
  • true: The field is an auto-increment field.
  • + *
  • false: The field is not an auto-increment field.
  • + *
+ * + * example: + *

false

*/ public Builder autoIncrement(Boolean autoIncrement) { this.autoIncrement = autoIncrement; @@ -355,7 +378,10 @@ public Builder autoIncrement(Boolean autoIncrement) { } /** - * ColumnId. + *

The ID of the field.

+ * + * example: + *

12345

*/ public Builder columnId(String columnId) { this.columnId = columnId; @@ -363,7 +389,10 @@ public Builder columnId(String columnId) { } /** - * ColumnName. + *

The field name.

+ * + * example: + *

c1

*/ public Builder columnName(String columnName) { this.columnName = columnName; @@ -371,7 +400,10 @@ public Builder columnName(String columnName) { } /** - * ColumnType. + *

The data type of the field.

+ * + * example: + *

varchar

*/ public Builder columnType(String columnType) { this.columnType = columnType; @@ -379,7 +411,10 @@ public Builder columnType(String columnType) { } /** - * DataLength. + *

The length of the field.

+ * + * example: + *

32

*/ public Builder dataLength(Long dataLength) { this.dataLength = dataLength; @@ -387,7 +422,10 @@ public Builder dataLength(Long dataLength) { } /** - * DataPrecision. + *

The number of valid digits for the column.

+ * + * example: + *

0

*/ public Builder dataPrecision(Integer dataPrecision) { this.dataPrecision = dataPrecision; @@ -395,7 +433,10 @@ public Builder dataPrecision(Integer dataPrecision) { } /** - * DataScale. + *

The number of decimal places of the field data.

+ * + * example: + *

0

*/ public Builder dataScale(Integer dataScale) { this.dataScale = dataScale; @@ -403,7 +444,10 @@ public Builder dataScale(Integer dataScale) { } /** - * DefaultValue. + *

The default value of the column.

+ * + * example: + *

aaa

*/ public Builder defaultValue(String defaultValue) { this.defaultValue = defaultValue; @@ -411,7 +455,10 @@ public Builder defaultValue(String defaultValue) { } /** - * Description. + *

The description of the field.

+ * + * example: + *

column desc

*/ public Builder description(String description) { this.description = description; @@ -419,7 +466,16 @@ public Builder description(String description) { } /** - * FunctionType. + *

The type of the masking algorithm that is used for the field. Valid values:

+ *
    + *
  • null: No masking algorithm is used.
  • + *
  • DEFAULT: A full masking algorithm is used.
  • + *
  • FIX_POS: The fixed position is masked.
  • + *
  • FIX_CHAR: The fixed characters are replaced.
  • + *
+ * + * example: + *

NULL

*/ public Builder functionType(String functionType) { this.functionType = functionType; @@ -427,7 +483,14 @@ public Builder functionType(String functionType) { } /** - * Nullable. + *

Indicates whether the field can be empty. Valid values:

+ *
    + *
  • true: The field can be empty.
  • + *
  • false: The field cannot be empty.
  • + *
+ * + * example: + *

true

*/ public Builder nullable(Boolean nullable) { this.nullable = nullable; @@ -435,7 +498,15 @@ public Builder nullable(Boolean nullable) { } /** - * SecurityLevel. + *

The security level of the field. Valid values:

+ *
    + *
  • INNER: The field is an internal field but not sensitive.
  • + *
  • SENSITIVE: The field is sensitive.
  • + *
  • CONFIDENTIAL: The field is a confidential column.
  • + *
+ * + * example: + *

INNER

*/ public Builder securityLevel(String securityLevel) { this.securityLevel = securityLevel; @@ -443,7 +514,14 @@ public Builder securityLevel(String securityLevel) { } /** - * Sensitive. + *

Indicates whether the field is a sensitive column. Valid values:

+ *
    + *
  • true: The field is a sensitive field.
  • + *
  • false: The field is not a sensitive field.
  • + *
+ * + * example: + *

false

*/ public Builder sensitive(Boolean sensitive) { this.sensitive = sensitive; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListTablesInCategoryRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListTablesInCategoryRequest.java index b1fb3cf6462..888522065c9 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListTablesInCategoryRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListTablesInCategoryRequest.java @@ -128,6 +128,7 @@ public Builder regionId(String regionId) { } /** + *

The category ID.

*

This parameter is required.

* * example: @@ -140,6 +141,7 @@ public Builder categoryId(Long categoryId) { } /** + *

The page number.

*

This parameter is required.

* * example: @@ -152,6 +154,7 @@ public Builder pageNumber(Integer pageNumber) { } /** + *

The number of entries to return per page.

*

This parameter is required.

* * example: @@ -164,7 +167,10 @@ public Builder pageSize(Integer pageSize) { } /** - * Tid. + *

The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the tenant ID.

+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListTablesInCategoryResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListTablesInCategoryResponseBody.java index b8f091b76aa..f0bdc1885e3 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListTablesInCategoryResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListTablesInCategoryResponseBody.java @@ -119,7 +119,7 @@ private Builder(ListTablesInCategoryResponseBody model) { } /** - * EntityList. + *

List of table information associated with the asset category.

*/ public Builder entityList(EntityList entityList) { this.entityList = entityList; @@ -127,7 +127,10 @@ public Builder entityList(EntityList entityList) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -135,7 +138,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -143,7 +149,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID.

+ * + * example: + *

0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -151,7 +160,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request succeeded.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -159,7 +175,10 @@ public Builder success(Boolean success) { } /** - * TotalCount. + *

The total number of entries returned.

+ * + * example: + *

1

*/ public Builder totalCount(Long totalCount) { this.totalCount = totalCount; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListUserOwnedResourcesRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListUserOwnedResourcesRequest.java new file mode 100644 index 00000000000..67578700201 --- /dev/null +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListUserOwnedResourcesRequest.java @@ -0,0 +1,337 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.dms_enterprise20181101.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link ListUserOwnedResourcesRequest} extends {@link RequestModel} + * + *

ListUserOwnedResourcesRequest

+ */ +public class ListUserOwnedResourcesRequest extends Request { + @com.aliyun.core.annotation.Host + @com.aliyun.core.annotation.NameInMap("RegionId") + private String regionId; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("DatabaseName") + private String databaseName; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("DbType") + private String dbType; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("EnvType") + private String envType; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("Logic") + private Boolean logic; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("OwnerType") + @com.aliyun.core.annotation.Validation(required = true) + private String ownerType; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("PageNumber") + private Integer pageNumber; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("PageSize") + private Integer pageSize; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("Tid") + private Long tid; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("UserId") + @com.aliyun.core.annotation.Validation(required = true) + private String userId; + + private ListUserOwnedResourcesRequest(Builder builder) { + super(builder); + this.regionId = builder.regionId; + this.databaseName = builder.databaseName; + this.dbType = builder.dbType; + this.envType = builder.envType; + this.logic = builder.logic; + this.ownerType = builder.ownerType; + this.pageNumber = builder.pageNumber; + this.pageSize = builder.pageSize; + this.tid = builder.tid; + this.userId = builder.userId; + } + + public static Builder builder() { + return new Builder(); + } + + public static ListUserOwnedResourcesRequest create() { + return builder().build(); + } + +@Override + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return regionId + */ + public String getRegionId() { + return this.regionId; + } + + /** + * @return databaseName + */ + public String getDatabaseName() { + return this.databaseName; + } + + /** + * @return dbType + */ + public String getDbType() { + return this.dbType; + } + + /** + * @return envType + */ + public String getEnvType() { + return this.envType; + } + + /** + * @return logic + */ + public Boolean getLogic() { + return this.logic; + } + + /** + * @return ownerType + */ + public String getOwnerType() { + return this.ownerType; + } + + /** + * @return pageNumber + */ + public Integer getPageNumber() { + return this.pageNumber; + } + + /** + * @return pageSize + */ + public Integer getPageSize() { + return this.pageSize; + } + + /** + * @return tid + */ + public Long getTid() { + return this.tid; + } + + /** + * @return userId + */ + public String getUserId() { + return this.userId; + } + + public static final class Builder extends Request.Builder { + private String regionId; + private String databaseName; + private String dbType; + private String envType; + private Boolean logic; + private String ownerType; + private Integer pageNumber; + private Integer pageSize; + private Long tid; + private String userId; + + private Builder() { + super(); + } + + private Builder(ListUserOwnedResourcesRequest request) { + super(request); + this.regionId = request.regionId; + this.databaseName = request.databaseName; + this.dbType = request.dbType; + this.envType = request.envType; + this.logic = request.logic; + this.ownerType = request.ownerType; + this.pageNumber = request.pageNumber; + this.pageSize = request.pageSize; + this.tid = request.tid; + this.userId = request.userId; + } + + /** + * RegionId. + */ + public Builder regionId(String regionId) { + this.putHostParameter("RegionId", regionId); + this.regionId = regionId; + return this; + } + + /** + *

The database name.

+ * + * example: + *

db_name

+ */ + public Builder databaseName(String databaseName) { + this.putQueryParameter("DatabaseName", databaseName); + this.databaseName = databaseName; + return this; + } + + /** + *

The type of the database instance. For more information about the valid values of this parameter, see DbType parameter.

+ * + * example: + *

MYSQL

+ */ + public Builder dbType(String dbType) { + this.putQueryParameter("DbType", dbType); + this.dbType = dbType; + return this; + } + + /** + *

The type of the environment in which the database instance is deployed. Valid values:

+ *
    + *
  • product: production environment.
  • + *
  • dev: development environment.
  • + *
  • pre: pre-release environment.
  • + *
  • test: test environment.
  • + *
  • sit: system integration testing (SIT) environment.
  • + *
  • uat: user acceptance testing (UAT) environment.
  • + *
  • pet: stress testing environment.
  • + *
  • stag: staging environment.
  • + *
+ * + * example: + *

product

+ */ + public Builder envType(String envType) { + this.putQueryParameter("EnvType", envType); + this.envType = envType; + return this; + } + + /** + *

Specifies whether the database is a logical database. Valid values:

+ *
    + *
  • true.: The database is a logical database
  • + *
  • false: The database is a physical database.
  • + *
+ * + * example: + *

false

+ */ + public Builder logic(Boolean logic) { + this.putQueryParameter("Logic", logic); + this.logic = logic; + return this; + } + + /** + *

The type of the owner. Valid values:

+ *
    + *
  • INSTANCE: an owner of an instance.
  • + *
  • DATABASE: an owner of a physical database.
  • + *
  • TABLE: an owner of a physical table.
  • + *
+ *

This parameter is required.

+ * + * example: + *

INSTANCE

+ */ + public Builder ownerType(String ownerType) { + this.putQueryParameter("OwnerType", ownerType); + this.ownerType = ownerType; + return this; + } + + /** + *

The page number.

+ * + * example: + *

1

+ */ + public Builder pageNumber(Integer pageNumber) { + this.putQueryParameter("PageNumber", pageNumber); + this.pageNumber = pageNumber; + return this; + } + + /** + *

The number of entries to return on each page.

+ * + * example: + *

10

+ */ + public Builder pageSize(Integer pageSize) { + this.putQueryParameter("PageSize", pageSize); + this.pageSize = pageSize; + return this; + } + + /** + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

+ */ + public Builder tid(Long tid) { + this.putQueryParameter("Tid", tid); + this.tid = tid; + return this; + } + + /** + *

The ID of the user.

+ *

This parameter is required.

+ * + * example: + *

1***

+ */ + public Builder userId(String userId) { + this.putQueryParameter("UserId", userId); + this.userId = userId; + return this; + } + + @Override + public ListUserOwnedResourcesRequest build() { + return new ListUserOwnedResourcesRequest(this); + } + + } + +} diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListUserOwnedResourcesResponse.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListUserOwnedResourcesResponse.java new file mode 100644 index 00000000000..ab9fd43718c --- /dev/null +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListUserOwnedResourcesResponse.java @@ -0,0 +1,131 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.dms_enterprise20181101.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link ListUserOwnedResourcesResponse} extends {@link TeaModel} + * + *

ListUserOwnedResourcesResponse

+ */ +public class ListUserOwnedResourcesResponse extends Response { + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; + + @com.aliyun.core.annotation.NameInMap("statusCode") + private Integer statusCode; + + @com.aliyun.core.annotation.NameInMap("body") + private ListUserOwnedResourcesResponseBody body; + + private ListUserOwnedResourcesResponse(BuilderImpl builder) { + super(builder); + this.headers = builder.headers; + this.statusCode = builder.statusCode; + this.body = builder.body; + } + + public static ListUserOwnedResourcesResponse create() { + return new BuilderImpl().build(); + } + +@Override + public Builder toBuilder() { + return new BuilderImpl(this); + } + + /** + * @return headers + */ + public java.util.Map getHeaders() { + return this.headers; + } + + /** + * @return statusCode + */ + public Integer getStatusCode() { + return this.statusCode; + } + + /** + * @return body + */ + public ListUserOwnedResourcesResponseBody getBody() { + return this.body; + } + + public interface Builder extends Response.Builder { + + Builder headers(java.util.Map headers); + + Builder statusCode(Integer statusCode); + + Builder body(ListUserOwnedResourcesResponseBody body); + + @Override + ListUserOwnedResourcesResponse build(); + + } + + private static final class BuilderImpl + extends Response.BuilderImpl + implements Builder { + private java.util.Map headers; + private Integer statusCode; + private ListUserOwnedResourcesResponseBody body; + + private BuilderImpl() { + super(); + } + + private BuilderImpl(ListUserOwnedResourcesResponse response) { + super(response); + this.headers = response.headers; + this.statusCode = response.statusCode; + this.body = response.body; + } + + /** + * headers. + */ + @Override + public Builder headers(java.util.Map headers) { + this.headers = headers; + return this; + } + + /** + * statusCode. + */ + @Override + public Builder statusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * body. + */ + @Override + public Builder body(ListUserOwnedResourcesResponseBody body) { + this.body = body; + return this; + } + + @Override + public ListUserOwnedResourcesResponse build() { + return new ListUserOwnedResourcesResponse(this); + } + + } + +} diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListUserOwnedResourcesResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListUserOwnedResourcesResponseBody.java new file mode 100644 index 00000000000..f1eb69c80c0 --- /dev/null +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListUserOwnedResourcesResponseBody.java @@ -0,0 +1,593 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.dms_enterprise20181101.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link ListUserOwnedResourcesResponseBody} extends {@link TeaModel} + * + *

ListUserOwnedResourcesResponseBody

+ */ +public class ListUserOwnedResourcesResponseBody extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Data") + private Data data; + + @com.aliyun.core.annotation.NameInMap("ErrorCode") + private String errorCode; + + @com.aliyun.core.annotation.NameInMap("ErrorMessage") + private String errorMessage; + + @com.aliyun.core.annotation.NameInMap("RequestId") + private String requestId; + + @com.aliyun.core.annotation.NameInMap("Success") + private Boolean success; + + @com.aliyun.core.annotation.NameInMap("TotalCount") + private Long totalCount; + + private ListUserOwnedResourcesResponseBody(Builder builder) { + this.data = builder.data; + this.errorCode = builder.errorCode; + this.errorMessage = builder.errorMessage; + this.requestId = builder.requestId; + this.success = builder.success; + this.totalCount = builder.totalCount; + } + + public static Builder builder() { + return new Builder(); + } + + public static ListUserOwnedResourcesResponseBody create() { + return builder().build(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return data + */ + public Data getData() { + return this.data; + } + + /** + * @return errorCode + */ + public String getErrorCode() { + return this.errorCode; + } + + /** + * @return errorMessage + */ + public String getErrorMessage() { + return this.errorMessage; + } + + /** + * @return requestId + */ + public String getRequestId() { + return this.requestId; + } + + /** + * @return success + */ + public Boolean getSuccess() { + return this.success; + } + + /** + * @return totalCount + */ + public Long getTotalCount() { + return this.totalCount; + } + + public static final class Builder { + private Data data; + private String errorCode; + private String errorMessage; + private String requestId; + private Boolean success; + private Long totalCount; + + private Builder() { + } + + private Builder(ListUserOwnedResourcesResponseBody model) { + this.data = model.data; + this.errorCode = model.errorCode; + this.errorMessage = model.errorMessage; + this.requestId = model.requestId; + this.success = model.success; + this.totalCount = model.totalCount; + } + + /** + *

Indicates whether the request was successful. Valid values:

+ */ + public Builder data(Data data) { + this.data = data; + return this; + } + + /** + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

+ */ + public Builder errorCode(String errorCode) { + this.errorCode = errorCode; + return this; + } + + /** + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

+ */ + public Builder errorMessage(String errorMessage) { + this.errorMessage = errorMessage; + return this; + } + + /** + *

The request ID. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

8E88933E-E3D4-5BA8-8CBF-0A1CAE666690

+ */ + public Builder requestId(String requestId) { + this.requestId = requestId; + return this; + } + + /** + *

Indicates whether the request was successful.

+ * + * example: + *

true

+ */ + public Builder success(Boolean success) { + this.success = success; + return this; + } + + /** + *

The total number of entries returned. By default, this parameter is not returned.

+ * + * example: + *

1

+ */ + public Builder totalCount(Long totalCount) { + this.totalCount = totalCount; + return this; + } + + public ListUserOwnedResourcesResponseBody build() { + return new ListUserOwnedResourcesResponseBody(this); + } + + } + + /** + * + * {@link ListUserOwnedResourcesResponseBody} extends {@link TeaModel} + * + *

ListUserOwnedResourcesResponseBody

+ */ + public static class ResourceList extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Alias") + private String alias; + + @com.aliyun.core.annotation.NameInMap("DbId") + private String dbId; + + @com.aliyun.core.annotation.NameInMap("DbInstanceId") + private String dbInstanceId; + + @com.aliyun.core.annotation.NameInMap("DbType") + private String dbType; + + @com.aliyun.core.annotation.NameInMap("EnvType") + private String envType; + + @com.aliyun.core.annotation.NameInMap("Host") + private String host; + + @com.aliyun.core.annotation.NameInMap("InstanceId") + private String instanceId; + + @com.aliyun.core.annotation.NameInMap("Logic") + private Boolean logic; + + @com.aliyun.core.annotation.NameInMap("Port") + private Long port; + + @com.aliyun.core.annotation.NameInMap("SchemaName") + private String schemaName; + + @com.aliyun.core.annotation.NameInMap("SearchName") + private String searchName; + + @com.aliyun.core.annotation.NameInMap("TableId") + private String tableId; + + @com.aliyun.core.annotation.NameInMap("TableName") + private String tableName; + + private ResourceList(Builder builder) { + this.alias = builder.alias; + this.dbId = builder.dbId; + this.dbInstanceId = builder.dbInstanceId; + this.dbType = builder.dbType; + this.envType = builder.envType; + this.host = builder.host; + this.instanceId = builder.instanceId; + this.logic = builder.logic; + this.port = builder.port; + this.schemaName = builder.schemaName; + this.searchName = builder.searchName; + this.tableId = builder.tableId; + this.tableName = builder.tableName; + } + + public static Builder builder() { + return new Builder(); + } + + public static ResourceList create() { + return builder().build(); + } + + /** + * @return alias + */ + public String getAlias() { + return this.alias; + } + + /** + * @return dbId + */ + public String getDbId() { + return this.dbId; + } + + /** + * @return dbInstanceId + */ + public String getDbInstanceId() { + return this.dbInstanceId; + } + + /** + * @return dbType + */ + public String getDbType() { + return this.dbType; + } + + /** + * @return envType + */ + public String getEnvType() { + return this.envType; + } + + /** + * @return host + */ + public String getHost() { + return this.host; + } + + /** + * @return instanceId + */ + public String getInstanceId() { + return this.instanceId; + } + + /** + * @return logic + */ + public Boolean getLogic() { + return this.logic; + } + + /** + * @return port + */ + public Long getPort() { + return this.port; + } + + /** + * @return schemaName + */ + public String getSchemaName() { + return this.schemaName; + } + + /** + * @return searchName + */ + public String getSearchName() { + return this.searchName; + } + + /** + * @return tableId + */ + public String getTableId() { + return this.tableId; + } + + /** + * @return tableName + */ + public String getTableName() { + return this.tableName; + } + + public static final class Builder { + private String alias; + private String dbId; + private String dbInstanceId; + private String dbType; + private String envType; + private String host; + private String instanceId; + private Boolean logic; + private Long port; + private String schemaName; + private String searchName; + private String tableId; + private String tableName; + + private Builder() { + } + + private Builder(ResourceList model) { + this.alias = model.alias; + this.dbId = model.dbId; + this.dbInstanceId = model.dbInstanceId; + this.dbType = model.dbType; + this.envType = model.envType; + this.host = model.host; + this.instanceId = model.instanceId; + this.logic = model.logic; + this.port = model.port; + this.schemaName = model.schemaName; + this.searchName = model.searchName; + this.tableId = model.tableId; + this.tableName = model.tableName; + } + + /** + *

The alias of the instance.

+ * + * example: + *

DMS_GYX_TESTupdata

+ */ + public Builder alias(String alias) { + this.alias = alias; + return this; + } + + /** + *

The ID of the database in DMS.

+ * + * example: + *

29697059

+ */ + public Builder dbId(String dbId) { + this.dbId = dbId; + return this; + } + + /** + *

The ID of the instance to which the database belongs.

+ * + * example: + *

876XXX

+ */ + public Builder dbInstanceId(String dbInstanceId) { + this.dbInstanceId = dbInstanceId; + return this; + } + + /** + *

The database engine type. For more information about the valid values of the DbType parameter, see DbType parameter.

+ * + * example: + *

MySQL

+ */ + public Builder dbType(String dbType) { + this.dbType = dbType; + return this; + } + + /** + *

The type of the environment to which the database instance belongs.

+ * + * example: + *

product

+ */ + public Builder envType(String envType) { + this.envType = envType; + return this; + } + + /** + *

The endpoint of the instance to which the database belongs.

+ * + * example: + *

rm-wz98bw60x1i1303c5.mysql.rds.aliyuncs.com

+ */ + public Builder host(String host) { + this.host = host; + return this; + } + + /** + *

The ID of the instance.

+ * + * example: + *

291594

+ */ + public Builder instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + *

Indicates whether the database is a logical database. Valid values:

+ *
    + *
  • true: The database is a logical database
  • + *
  • false: The database is a physical database.
  • + *
+ * + * example: + *

false

+ */ + public Builder logic(Boolean logic) { + this.logic = logic; + return this; + } + + /** + *

The connection port of the instance to which the database belongs.

+ * + * example: + *

6379

+ */ + public Builder port(Long port) { + this.port = port; + return this; + } + + /** + *

The name of the database.

+ * + * example: + *

as_task_engine

+ */ + public Builder schemaName(String schemaName) { + this.schemaName = schemaName; + return this; + } + + /** + *

The query name of the database.

+ * + * example: + *

dtstest [dtstest_dms]

+ */ + public Builder searchName(String searchName) { + this.searchName = searchName; + return this; + } + + /** + *

The table ID.

+ * + * example: + *

1760934555

+ */ + public Builder tableId(String tableId) { + this.tableId = tableId; + return this; + } + + /** + *

The table name.

+ * + * example: + *

addepmap

+ */ + public Builder tableName(String tableName) { + this.tableName = tableName; + return this; + } + + public ResourceList build() { + return new ResourceList(this); + } + + } + + } + /** + * + * {@link ListUserOwnedResourcesResponseBody} extends {@link TeaModel} + * + *

ListUserOwnedResourcesResponseBody

+ */ + public static class Data extends TeaModel { + @com.aliyun.core.annotation.NameInMap("resourceList") + private java.util.List resourceList; + + private Data(Builder builder) { + this.resourceList = builder.resourceList; + } + + public static Builder builder() { + return new Builder(); + } + + public static Data create() { + return builder().build(); + } + + /** + * @return resourceList + */ + public java.util.List getResourceList() { + return this.resourceList; + } + + public static final class Builder { + private java.util.List resourceList; + + private Builder() { + } + + private Builder(Data model) { + this.resourceList = model.resourceList; + } + + /** + * resourceList. + */ + public Builder resourceList(java.util.List resourceList) { + this.resourceList = resourceList; + return this; + } + + public Data build() { + return new Data(this); + } + + } + + } +} diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListWorkspacesRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListWorkspacesRequest.java index d55df48d4ff..aa67106b877 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListWorkspacesRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListWorkspacesRequest.java @@ -194,7 +194,10 @@ public Builder regionId(String regionId) { } /** - * AlreadyJoined. + *

Specifies whether the current user has joined the workspace.

+ * + * example: + *

true

*/ public Builder alreadyJoined(Boolean alreadyJoined) { this.putQueryParameter("AlreadyJoined", alreadyJoined); @@ -212,7 +215,10 @@ public Builder ownerId(Long ownerId) { } /** - * PageNumber. + *

The page number.

+ * + * example: + *

1

*/ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); @@ -221,7 +227,10 @@ public Builder pageNumber(Integer pageNumber) { } /** - * PageSize. + *

The number of entries per page.

+ * + * example: + *

10

*/ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); @@ -230,7 +239,10 @@ public Builder pageSize(Integer pageSize) { } /** - * Region. + *

The region in which the bucket is located.

+ * + * example: + *

cn-hangzhou

*/ public Builder region(String region) { this.putQueryParameter("Region", region); @@ -239,7 +251,10 @@ public Builder region(String region) { } /** - * SearchKey. + *

The search keyword. Fuzzy match is supported.

+ * + * example: + *

poc_test

*/ public Builder searchKey(String searchKey) { this.putQueryParameter("SearchKey", searchKey); @@ -248,7 +263,10 @@ public Builder searchKey(String searchKey) { } /** - * ServiceAccountId. + *

The service account ID.

+ * + * example: + *

12345

*/ public Builder serviceAccountId(Long serviceAccountId) { this.putQueryParameter("ServiceAccountId", serviceAccountId); @@ -257,7 +275,13 @@ public Builder serviceAccountId(Long serviceAccountId) { } /** - * VpcId. + *

The virtual private cloud (VPC) ID.

+ *
+ *

This parameter cannot be used as a filter.

+ *
+ * + * example: + *

vpc-bp10wnlcmor****

*/ public Builder vpcId(String vpcId) { this.putQueryParameter("VpcId", vpcId); @@ -266,7 +290,10 @@ public Builder vpcId(String vpcId) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListWorkspacesResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListWorkspacesResponseBody.java index 767f43daa03..1c1cb3877aa 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListWorkspacesResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ListWorkspacesResponseBody.java @@ -145,7 +145,7 @@ private Builder(ListWorkspacesResponseBody model) { } /** - * Data. + *

The dataset.

*/ public Builder data(Data data) { this.data = data; @@ -153,7 +153,10 @@ public Builder data(Data data) { } /** - * ErrorCode. + *

The error code.

+ * + * example: + *

UserNotExist

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -161,7 +164,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -169,7 +175,10 @@ public Builder errorMessage(String errorMessage) { } /** - * MaxResults. + *

The total number of workspaces that meet the condition, which is the same as the TotalCount parameter.

+ * + * example: + *

10

*/ public Builder maxResults(Integer maxResults) { this.maxResults = maxResults; @@ -177,7 +186,10 @@ public Builder maxResults(Integer maxResults) { } /** - * NextToken. + *

NextToken does not take effect.

+ * + * example: + *

token-xxx

*/ public Builder nextToken(String nextToken) { this.nextToken = nextToken; @@ -185,7 +197,10 @@ public Builder nextToken(String nextToken) { } /** - * RequestId. + *

The request ID.

+ * + * example: + *

EE214ECD-4330-503A-82F0-FFB03975****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -193,7 +208,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the call was successful. Valid values:

+ *
    + *
  • true: The request succeeded.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -201,7 +223,10 @@ public Builder success(Boolean success) { } /** - * TotalCount. + *

The total number of workspaces that meet the conditions.

+ * + * example: + *

10

*/ public Builder totalCount(Long totalCount) { this.totalCount = totalCount; @@ -488,7 +513,10 @@ private Builder(BaseWorkspaces model) { } /** - * AlreadyJoined. + *

Whether the current user has joined the workspace.

+ * + * example: + *

true

*/ public Builder alreadyJoined(Boolean alreadyJoined) { this.alreadyJoined = alreadyJoined; @@ -496,7 +524,10 @@ public Builder alreadyJoined(Boolean alreadyJoined) { } /** - * CreatorId. + *

The ID of the creator.

+ * + * example: + *

123

*/ public Builder creatorId(Long creatorId) { this.creatorId = creatorId; @@ -504,7 +535,10 @@ public Builder creatorId(Long creatorId) { } /** - * CreatorNickName. + *

The nickname of the creator.

+ * + * example: + *

work*****

*/ public Builder creatorNickName(String creatorNickName) { this.creatorNickName = creatorNickName; @@ -512,7 +546,10 @@ public Builder creatorNickName(String creatorNickName) { } /** - * CreatorUid. + *

The Alibaba Cloud account UID of the creator.

+ * + * example: + *

1344****

*/ public Builder creatorUid(String creatorUid) { this.creatorUid = creatorUid; @@ -520,7 +557,10 @@ public Builder creatorUid(String creatorUid) { } /** - * Description. + *

The description of the workspace.

+ * + * example: + *

Test

*/ public Builder description(String description) { this.description = description; @@ -528,7 +568,10 @@ public Builder description(String description) { } /** - * GmtCreate. + *

The creation time.

+ * + * example: + *

2025-01-01 00:00:00

*/ public Builder gmtCreate(String gmtCreate) { this.gmtCreate = gmtCreate; @@ -536,7 +579,10 @@ public Builder gmtCreate(String gmtCreate) { } /** - * GmtModified. + *

The update time.

+ * + * example: + *

2025-01-01 00:00:00

*/ public Builder gmtModified(String gmtModified) { this.gmtModified = gmtModified; @@ -544,7 +590,10 @@ public Builder gmtModified(String gmtModified) { } /** - * Name. + *

The name of the workspace.

+ * + * example: + *

workspace-xxxx

*/ public Builder name(String name) { this.name = name; @@ -552,7 +601,10 @@ public Builder name(String name) { } /** - * OwnerId. + *

The owner ID.

+ * + * example: + *

123****

*/ public Builder ownerId(Long ownerId) { this.ownerId = ownerId; @@ -560,7 +612,10 @@ public Builder ownerId(Long ownerId) { } /** - * OwnerNickName. + *

The nickname of the owner.

+ * + * example: + *

hel****

*/ public Builder ownerNickName(String ownerNickName) { this.ownerNickName = ownerNickName; @@ -568,7 +623,10 @@ public Builder ownerNickName(String ownerNickName) { } /** - * OwnerUid. + *

The Alibaba Cloud UID of the owner.

+ * + * example: + *

15608564799****

*/ public Builder ownerUid(String ownerUid) { this.ownerUid = ownerUid; @@ -576,7 +634,10 @@ public Builder ownerUid(String ownerUid) { } /** - * Region. + *

The region ID.

+ * + * example: + *

cn-hangzhou

*/ public Builder region(String region) { this.region = region; @@ -584,7 +645,10 @@ public Builder region(String region) { } /** - * ServiceAccountId. + *

The ID of the service account.

+ * + * example: + *

12345

*/ public Builder serviceAccountId(Long serviceAccountId) { this.serviceAccountId = serviceAccountId; @@ -592,7 +656,10 @@ public Builder serviceAccountId(Long serviceAccountId) { } /** - * ServiceAccountNickName. + *

The nickname of the service account.

+ * + * example: + *

testname

*/ public Builder serviceAccountNickName(String serviceAccountNickName) { this.serviceAccountNickName = serviceAccountNickName; @@ -600,7 +667,10 @@ public Builder serviceAccountNickName(String serviceAccountNickName) { } /** - * ServiceAccountUid. + *

The Alibaba Cloud account UID of the service account.

+ * + * example: + *

1422****

*/ public Builder serviceAccountUid(String serviceAccountUid) { this.serviceAccountUid = serviceAccountUid; @@ -608,7 +678,10 @@ public Builder serviceAccountUid(String serviceAccountUid) { } /** - * TenantId. + *

The ID of the tenant to which the workspace belongs.

+ * + * example: + *

23456

*/ public Builder tenantId(Long tenantId) { this.tenantId = tenantId; @@ -616,7 +689,10 @@ public Builder tenantId(Long tenantId) { } /** - * VpcId. + *

The VPC ID.

+ * + * example: + *

vpc-25fl3qjqb****

*/ public Builder vpcId(String vpcId) { this.vpcId = vpcId; @@ -624,7 +700,10 @@ public Builder vpcId(String vpcId) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

8652340494****

*/ public Builder workspaceId(Long workspaceId) { this.workspaceId = workspaceId; @@ -632,7 +711,10 @@ public Builder workspaceId(Long workspaceId) { } /** - * WorkspaceName. + *

The name of the workspace.

+ * + * example: + *

test-workspace

*/ public Builder workspaceName(String workspaceName) { this.workspaceName = workspaceName; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ModifyInstanceRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ModifyInstanceRequest.java index 33c48f9ab4e..170db2b90d8 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ModifyInstanceRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ModifyInstanceRequest.java @@ -490,7 +490,20 @@ public Builder regionId(String regionId) { } /** - * DataLinkName. + *

The name of the database link for cross-database queries.

+ *
+ *
+ *
    + *
  • This property must be specified when UseDsql is set to 1.

    + *
  • + *
  • The name can contain only lowercase letters and underscores (_).

    + *
  • + *
  • The name must be unique within a tenant.

    + *
  • + *
+ * + * example: + *

dblink_test

*/ public Builder dataLinkName(String dataLinkName) { this.putQueryParameter("DataLinkName", dataLinkName); @@ -499,7 +512,10 @@ public Builder dataLinkName(String dataLinkName) { } /** - * DatabasePassword. + *

The password of the account that is used to log on to the database instance.

+ * + * example: + *

test***

*/ public Builder databasePassword(String databasePassword) { this.putQueryParameter("DatabasePassword", databasePassword); @@ -508,7 +524,10 @@ public Builder databasePassword(String databasePassword) { } /** - * DatabaseUser. + *

The account that is used to log on to the database instance.

+ * + * example: + *

testsdb

*/ public Builder databaseUser(String databaseUser) { this.putQueryParameter("DatabaseUser", databaseUser); @@ -517,7 +536,10 @@ public Builder databaseUser(String databaseUser) { } /** - * DbaId. + *

The ID of the user who assumes the database administrator (DBA) role. You can call the ListUsers or GetInstance operation to obtain the value of this parameter.

+ * + * example: + *

27****

*/ public Builder dbaId(Long dbaId) { this.putQueryParameter("DbaId", dbaId); @@ -526,7 +548,18 @@ public Builder dbaId(Long dbaId) { } /** - * DdlOnline. + *

Specifies whether to enable lock-free schema change. Valid values:

+ *
    + *
  • 0: Disable Lock-free Schema Change.
  • + *
  • 1: MySQL native online DDL first.
  • + *
  • 2: DMS native online DDL first.
  • + *
+ *
+ *

Supported databases include ApsaraDB RDS for MySQL, PolarDB for MySQL, ApsaraDB MyBase for MySQL, and third-party MySQL databases.

+ *
+ * + * example: + *

2

*/ public Builder ddlOnline(Integer ddlOnline) { this.putQueryParameter("DdlOnline", ddlOnline); @@ -535,7 +568,13 @@ public Builder ddlOnline(Integer ddlOnline) { } /** - * EcsInstanceId. + *

The ID of the ECS instance.

+ *
+ *

This parameter is required if InstanceSource is set to ECS_OWN.

+ *
+ * + * example: + *

i-2zei9gs1t7h8l7ac****

*/ public Builder ecsInstanceId(String ecsInstanceId) { this.putQueryParameter("EcsInstanceId", ecsInstanceId); @@ -544,7 +583,13 @@ public Builder ecsInstanceId(String ecsInstanceId) { } /** - * EcsRegion. + *

The region in which the ECS instance resides.

+ *
+ *

This parameter is required if InstanceSource is set to RDS, ECS_OWN, or VPC_IDC.

+ *
+ * + * example: + *

cn-hangzhou

*/ public Builder ecsRegion(String ecsRegion) { this.putQueryParameter("EcsRegion", ecsRegion); @@ -553,7 +598,14 @@ public Builder ecsRegion(String ecsRegion) { } /** - * EnableSellCommon. + *

Specifies whether to enable Security Collaboration for the database instance. Valid values:

+ *
    + *
  • Y: Enable.
  • + *
  • N: Disable.
  • + *
+ * + * example: + *

Y

*/ public Builder enableSellCommon(String enableSellCommon) { this.putQueryParameter("EnableSellCommon", enableSellCommon); @@ -562,7 +614,14 @@ public Builder enableSellCommon(String enableSellCommon) { } /** - * EnableSellSitd. + *

Specifies whether to enable sensitive data protection. Valid values:

+ *
    + *
  • Y: Enable.
  • + *
  • N: Disable.
  • + *
+ * + * example: + *

Y

*/ public Builder enableSellSitd(String enableSellSitd) { this.putQueryParameter("EnableSellSitd", enableSellSitd); @@ -571,7 +630,14 @@ public Builder enableSellSitd(String enableSellSitd) { } /** - * EnableSellStable. + *

Specifies whether to enable Stable Change for the database instance. Valid values:

+ *
    + *
  • Y: Enable.
  • + *
  • N: Disable.
  • + *
+ * + * example: + *

NULL

*/ public Builder enableSellStable(String enableSellStable) { this.putQueryParameter("EnableSellStable", enableSellStable); @@ -580,7 +646,14 @@ public Builder enableSellStable(String enableSellStable) { } /** - * EnableSellTrust. + *

Specifies whether to enable the security hosting feature for the database instance. Valid values:

+ *
    + *
  • Y: Enable.
  • + *
  • N: Disable.
  • + *
+ * + * example: + *

Y

*/ public Builder enableSellTrust(String enableSellTrust) { this.putQueryParameter("EnableSellTrust", enableSellTrust); @@ -589,7 +662,20 @@ public Builder enableSellTrust(String enableSellTrust) { } /** - * EnvType. + *

The type of the environment in which the database instance is deployed. Valid values:

+ *
    + *
  • product: production environment.
  • + *
  • dev: development environment.
  • + *
  • pre: pre-release environment.
  • + *
  • test: test environment.
  • + *
  • sit: system integration testing (SIT) environment.
  • + *
  • uat: user acceptance testing (UAT) environment.
  • + *
  • pet: stress testing environment.
  • + *
  • stag: staging environment.
  • + *
+ * + * example: + *

dev

*/ public Builder envType(String envType) { this.putQueryParameter("EnvType", envType); @@ -598,7 +684,10 @@ public Builder envType(String envType) { } /** - * ExportTimeout. + *

The timeout period for exporting data from the database instance. Unit: seconds.

+ * + * example: + *

86400

*/ public Builder exportTimeout(Integer exportTimeout) { this.putQueryParameter("ExportTimeout", exportTimeout); @@ -607,7 +696,10 @@ public Builder exportTimeout(Integer exportTimeout) { } /** - * Host. + *

The endpoint that is used to connect to the database instance.

+ * + * example: + *

192.XXX.0.56

*/ public Builder host(String host) { this.putQueryParameter("Host", host); @@ -616,7 +708,10 @@ public Builder host(String host) { } /** - * InstanceAlias. + *

The alias of the database instance. Specify an alias that can help you quickly identify the database instance in Data Management (DMS).

+ * + * example: + *

instance_test

*/ public Builder instanceAlias(String instanceAlias) { this.putQueryParameter("InstanceAlias", instanceAlias); @@ -625,6 +720,7 @@ public Builder instanceAlias(String instanceAlias) { } /** + *

The ID of the instance. You can call the ListInstances or GetInstance operation to query the instance ID.

*

This parameter is required.

* * example: @@ -637,7 +733,16 @@ public Builder instanceId(String instanceId) { } /** - * InstanceSource. + *

The source of the database instance. Valid values:

+ *
    + *
  • PUBLIC_OWN: a self-managed database instance that is deployed on the Internet.
  • + *
  • RDS: an ApsaraDB RDS instance.
  • + *
  • ECS_OWN: a self-managed database instance that is deployed on an Elastic Compute Service (ECS) instance.
  • + *
  • VPC_IDC: a self-managed database instance that is deployed in a data center connected over a virtual private cloud (VPC).
  • + *
+ * + * example: + *

RDS

*/ public Builder instanceSource(String instanceSource) { this.putQueryParameter("InstanceSource", instanceSource); @@ -646,7 +751,10 @@ public Builder instanceSource(String instanceSource) { } /** - * InstanceType. + *

The type of the database instance. For more information about the valid values of this parameter, see DbType parameter.

+ * + * example: + *

MySQL

*/ public Builder instanceType(String instanceType) { this.putQueryParameter("InstanceType", instanceType); @@ -655,7 +763,14 @@ public Builder instanceType(String instanceType) { } /** - * NetworkType. + *

The network type of the database instance. Valid values:

+ *
    + *
  • CLASSIC: the classic network.
  • + *
  • VPC: VPC.
  • + *
+ * + * example: + *

VPC

*/ public Builder networkType(String networkType) { this.putQueryParameter("NetworkType", networkType); @@ -664,7 +779,10 @@ public Builder networkType(String networkType) { } /** - * Port. + *

The port that is used to connect to the database instance.

+ * + * example: + *

3306

*/ public Builder port(Integer port) { this.putQueryParameter("Port", port); @@ -673,7 +791,10 @@ public Builder port(Integer port) { } /** - * QueryTimeout. + *

The timeout period for querying data from the database instance. Unit: seconds.

+ * + * example: + *

7200

*/ public Builder queryTimeout(Integer queryTimeout) { this.putQueryParameter("QueryTimeout", queryTimeout); @@ -682,7 +803,7 @@ public Builder queryTimeout(Integer queryTimeout) { } /** - * SafeRule. + *

The name of the security rule set for the database instance. This parameter is required if Security Collaboration is enabled. You can call theListStandardGroups or GetInstance operation to obtain the name of the security rule set from GroupName.

*/ public Builder safeRule(String safeRule) { this.putQueryParameter("SafeRule", safeRule); @@ -691,7 +812,13 @@ public Builder safeRule(String safeRule) { } /** - * Sid. + *

The system ID (SID) of the database instance.

+ *
+ *

This parameter is required if InstanceType is set to ORACLE.

+ *
+ * + * example: + *

testSid

*/ public Builder sid(String sid) { this.putQueryParameter("Sid", sid); @@ -700,7 +827,14 @@ public Builder sid(String sid) { } /** - * SkipTest. + *

Specifies whether to skip the connectivity test. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ * + * example: + *

false

*/ public Builder skipTest(Boolean skipTest) { this.putQueryParameter("SkipTest", skipTest); @@ -709,7 +843,10 @@ public Builder skipTest(Boolean skipTest) { } /** - * TemplateId. + *

The ID of the classification and grading template. You can call the ListClassificationTemplates operation to query the template ID.

+ * + * example: + *

31***

*/ public Builder templateId(Long templateId) { this.putQueryParameter("TemplateId", templateId); @@ -718,7 +855,10 @@ public Builder templateId(Long templateId) { } /** - * TemplateType. + *

The type of the classification and grading template. You can call the ListClassificationTemplates operation to query the template type.

+ * + * example: + *

INNER

*/ public Builder templateType(String templateType) { this.putQueryParameter("TemplateType", templateType); @@ -727,7 +867,13 @@ public Builder templateType(String templateType) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

You can move the pointer over the profile picture in the upper-right corner of the DMS console to obtain the tenant ID.

+ *
+ * + * example: + *

23****

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -736,7 +882,17 @@ public Builder tid(Long tid) { } /** - * UseDsql. + *

Specifies whether to enable cross-instance query for the database instance. Valid values:

+ *
    + *
  • 0: Disables cross-database query.
  • + *
  • 1: Enables cross-database query.
  • + *
+ *
+ *

Supported databases include MySQL, SQL Server, PostgreSQL, PolarDB for Oracle, and Redis.

+ *
+ * + * example: + *

1

*/ public Builder useDsql(Integer useDsql) { this.putQueryParameter("UseDsql", useDsql); @@ -745,7 +901,23 @@ public Builder useDsql(Integer useDsql) { } /** - * UseSsl. + *

Specifies whether to allow Data Management Service (DMS) to connect to the database instance by using SSL connections. Before you use SSL connections, make sure that the SSL encryption feature is enabled for the database instance. Valid values:

+ *
    + *
  • 0 (default): DMS automatically checks whether self-negotiation is enabled for the database instance. DMS automatically checks whether the SSL encryption feature is enabled for the database instance. If the SSL encryption feature is enabled, DMS connects to the database instance by using SSL connections. Otherwise, DMS connects to the database instance without encryption.
  • + *
  • 1: DMS connects to the database instance by using SSL connections. This value is invalid if the SSL encryption feature is disabled for the database instance.
  • + *
  • -1: DMS does not connect to the database instance by using SSL connections.
  • + *
+ *
+ *
+ *
    + *
  • This parameter is available only for a MySQL or Redis database instance.

    + *
  • + *
  • SSL encrypts network connections at the transport layer to improve the security and integrity of data in transmission. However, SSL increases the response time of network connections.

    + *
  • + *
+ * + * example: + *

0

*/ public Builder useSsl(Integer useSsl) { this.putQueryParameter("UseSsl", useSsl); @@ -754,7 +926,13 @@ public Builder useSsl(Integer useSsl) { } /** - * VpcId. + *

The VPC ID.

+ *
+ *

This parameter is required if InstanceSource is set to VPC_IDC.

+ *
+ * + * example: + *

vpc-bp10wnlcmor****

*/ public Builder vpcId(String vpcId) { this.putQueryParameter("VpcId", vpcId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ModifyInstanceResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ModifyInstanceResponseBody.java index e42bd31d955..fe741321abb 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ModifyInstanceResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/ModifyInstanceResponseBody.java @@ -93,7 +93,10 @@ private Builder(ModifyInstanceResponseBody model) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -101,7 +104,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -109,7 +115,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -117,7 +126,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/OptimizeSqlByMetaAgentRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/OptimizeSqlByMetaAgentRequest.java index 8e070439204..8a11839bc39 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/OptimizeSqlByMetaAgentRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/OptimizeSqlByMetaAgentRequest.java @@ -126,6 +126,7 @@ public Builder regionId(String regionId) { } /** + *

The ID of the database. You can call the ListDatabases operation to obtain the ID.

*

This parameter is required.

* * example: @@ -138,7 +139,10 @@ public Builder dbId(String dbId) { } /** - * Model. + *

The name of the selected model. You can use only Qwen series models.

+ * + * example: + *

qwen-plus

*/ public Builder model(String model) { this.putQueryParameter("Model", model); @@ -147,7 +151,10 @@ public Builder model(String model) { } /** - * Query. + *

The remarks.

+ * + * example: + *

是否为慢SQL

*/ public Builder query(String query) { this.putQueryParameter("Query", query); @@ -156,6 +163,7 @@ public Builder query(String query) { } /** + *

The SQL statement that you want to analyze.

*

This parameter is required.

* * example: diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/OptimizeSqlByMetaAgentResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/OptimizeSqlByMetaAgentResponseBody.java index d4610293de9..efa0d4584f6 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/OptimizeSqlByMetaAgentResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/OptimizeSqlByMetaAgentResponseBody.java @@ -106,7 +106,7 @@ private Builder(OptimizeSqlByMetaAgentResponseBody model) { } /** - * Data. + *

The data returned.

*/ public Builder data(Data data) { this.data = data; @@ -114,7 +114,10 @@ public Builder data(Data data) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -122,7 +125,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -141,7 +147,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -207,7 +220,10 @@ private Builder(Data model) { } /** - * Content. + *

The answer.

+ * + * example: + *

SQL优化结果...

*/ public Builder content(String content) { this.content = content; @@ -215,7 +231,10 @@ public Builder content(String content) { } /** - * SessionId. + *

The session ID.

+ * + * example: + *

f63a6eed-0e3c-4564-8533-b1295db8d6ff

*/ public Builder sessionId(String sessionId) { this.sessionId = sessionId; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/PauseDataExportJobRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/PauseDataExportJobRequest.java index 361f7a1ddb8..faf16a3233f 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/PauseDataExportJobRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/PauseDataExportJobRequest.java @@ -112,6 +112,7 @@ public Builder regionId(String regionId) { } /** + *

The ID of the SQL result set export task. You can call the GetDataExportOrderDetail operation to obtain the value of this parameter. If you set this parameter to Null, no SQL result set export task is suspended.

*

This parameter is required.

* * example: @@ -124,6 +125,7 @@ public Builder jobId(Long jobId) { } /** + *

The ticket ID. You can call the ListOrders operation to query the ticket ID.

*

This parameter is required.

* * example: @@ -136,7 +138,13 @@ public Builder orderId(Long orderId) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/PauseDataExportJobResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/PauseDataExportJobResponseBody.java index 07fd6c3d59b..704d709d2bd 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/PauseDataExportJobResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/PauseDataExportJobResponseBody.java @@ -93,7 +93,10 @@ private Builder(PauseDataExportJobResponseBody model) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -101,7 +104,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -109,7 +115,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The ID of the request. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

7FAD400F-7A5C-4193-8F9A-39D86C4F0231

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -117,7 +126,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/PreviewWorkflowRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/PreviewWorkflowRequest.java index cb544ee97dd..1d9f58ad9dd 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/PreviewWorkflowRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/PreviewWorkflowRequest.java @@ -97,6 +97,7 @@ public Builder regionId(String regionId) { } /** + *

The ticket ID. You can call the ListOrders operation to query the ticket ID.

*

This parameter is required.

* * example: @@ -109,7 +110,13 @@ public Builder orderId(Long orderId) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

23****

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/PreviewWorkflowResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/PreviewWorkflowResponseBody.java index 41ef54d037c..a55ead122b7 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/PreviewWorkflowResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/PreviewWorkflowResponseBody.java @@ -106,7 +106,10 @@ private Builder(PreviewWorkflowResponseBody model) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -114,7 +117,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -122,7 +128,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -130,7 +139,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -138,7 +154,7 @@ public Builder success(Boolean success) { } /** - * WorkflowDetail. + *

The details of the workflow.

*/ public Builder workflowDetail(WorkflowDetail workflowDetail) { this.workflowDetail = workflowDetail; @@ -217,7 +233,10 @@ private Builder(AuditUser model) { } /** - * NickName. + *

The nickname of the approver.

+ * + * example: + *

Owner

*/ public Builder nickName(String nickName) { this.nickName = nickName; @@ -225,7 +244,10 @@ public Builder nickName(String nickName) { } /** - * RealName. + *

The name of the approver.

+ * + * example: + *

db_test

*/ public Builder realName(String realName) { this.realName = realName; @@ -233,7 +255,10 @@ public Builder realName(String realName) { } /** - * UserId. + *

The ID of the approver.

+ * + * example: + *

16***

*/ public Builder userId(Long userId) { this.userId = userId; @@ -380,7 +405,7 @@ private Builder(WorkflowNode model) { } /** - * AuditUserList. + *

The approvers.

*/ public Builder auditUserList(AuditUserList auditUserList) { this.auditUserList = auditUserList; @@ -388,7 +413,7 @@ public Builder auditUserList(AuditUserList auditUserList) { } /** - * Comment. + *

The remarks of the approval node.

*/ public Builder comment(String comment) { this.comment = comment; @@ -396,7 +421,10 @@ public Builder comment(String comment) { } /** - * NodeName. + *

The name of the approval node.

+ * + * example: + *

Owner

*/ public Builder nodeName(String nodeName) { this.nodeName = nodeName; @@ -404,7 +432,16 @@ public Builder nodeName(String nodeName) { } /** - * NodeType. + *

The type of the approval node.

+ *

Valid values:

+ *
    + *
  • USER_LIST: The approval node is created by a user.
  • + *
  • UNKNOWN: The source of the approval node is unknown.
  • + *
  • SYS: The approval node is predefined by the system.
  • + *
+ * + * example: + *

SYS

*/ public Builder nodeType(String nodeType) { this.nodeType = nodeType; @@ -538,7 +575,7 @@ private Builder(WorkflowDetail model) { } /** - * Comment. + *

The remarks of the approval template.

*/ public Builder comment(String comment) { this.comment = comment; @@ -546,7 +583,7 @@ public Builder comment(String comment) { } /** - * WfCateName. + *

The name of the approval template.

*/ public Builder wfCateName(String wfCateName) { this.wfCateName = wfCateName; @@ -554,7 +591,7 @@ public Builder wfCateName(String wfCateName) { } /** - * WorkflowNodeList. + *

The approval nodes.

*/ public Builder workflowNodeList(WorkflowNodeList workflowNodeList) { this.workflowNodeList = workflowNodeList; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RemoveDataExportJobRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RemoveDataExportJobRequest.java index acde1255ab7..8944f3e8b35 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RemoveDataExportJobRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RemoveDataExportJobRequest.java @@ -112,6 +112,7 @@ public Builder regionId(String regionId) { } /** + *

The ID of the SQL result set export task. You can call the GetDataExportOrderDetail operation to obtain the value of this parameter. If you set this parameter to Null, no SQL result set export task is suspended.

*

This parameter is required.

* * example: @@ -124,6 +125,7 @@ public Builder jobId(Long jobId) { } /** + *

The ID of the ticket. You can call the ListOrders operation to obtain the ticket ID.

*

This parameter is required.

* * example: @@ -136,7 +138,13 @@ public Builder orderId(Long orderId) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RemoveDataExportJobResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RemoveDataExportJobResponseBody.java index 94244265923..698d1b33f2d 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RemoveDataExportJobResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RemoveDataExportJobResponseBody.java @@ -93,7 +93,10 @@ private Builder(RemoveDataExportJobResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -101,7 +104,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -109,7 +115,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the request ID to query logs and troubleshoot issues.

+ * + * example: + *

0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -117,7 +126,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RemoveTableFromCategoryRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RemoveTableFromCategoryRequest.java index f7990f04f60..772c0b50f15 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RemoveTableFromCategoryRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RemoveTableFromCategoryRequest.java @@ -142,6 +142,7 @@ public Builder regionId(String regionId) { } /** + *

The category ID.

*

This parameter is required.

* * example: @@ -154,6 +155,10 @@ public Builder categoryId(Long categoryId) { } /** + *

The database ID. You can call the ListDatabases operation to query the ID of a physical database and the ListLogicDatabases operation to query the ID of a logical database.

+ *
+ *

The value of DatabaseId is that of DbId.

+ *
*

This parameter is required.

* * example: @@ -166,6 +171,10 @@ public Builder dbId(Long dbId) { } /** + *

The table name.

+ *
+ *

You can also call the ListTables operation to query the table name.

+ *
*

This parameter is required.

* * example: @@ -178,7 +187,10 @@ public Builder tableName(String tableName) { } /** - * TableSchemaName. + *

The schema name of the table, which is required only for SQL Server instances.

+ * + * example: + *

dbo

*/ public Builder tableSchemaName(String tableSchemaName) { this.putQueryParameter("TableSchemaName", tableSchemaName); @@ -187,7 +199,13 @@ public Builder tableSchemaName(String tableSchemaName) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3****

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RemoveTableFromCategoryResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RemoveTableFromCategoryResponseBody.java index 5e4e92d99af..1860eb58c43 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RemoveTableFromCategoryResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RemoveTableFromCategoryResponseBody.java @@ -93,7 +93,10 @@ private Builder(RemoveTableFromCategoryResponseBody model) { } /** - * ErrorCode. + *

The error code returned if the call failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -101,7 +104,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -109,7 +115,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID.

+ * + * example: + *

19DA51A9-AC3E-5C36-8351-07EBCD2B89A1

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -117,7 +126,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RestartDataExportJobRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RestartDataExportJobRequest.java index 1c810510738..20af210e55f 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RestartDataExportJobRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RestartDataExportJobRequest.java @@ -112,6 +112,7 @@ public Builder regionId(String regionId) { } /** + *

The ID of the SQL result set export task. You can call the GetDataExportOrderDetail operation to obtain the value of this parameter. If you set this parameter to Null, no SQL result set export task is suspended.

*

This parameter is required.

* * example: @@ -124,6 +125,7 @@ public Builder jobId(Long jobId) { } /** + *

The ticket ID. You can call the ListOrders operation to obtain the ticket ID.

*

This parameter is required.

* * example: @@ -136,7 +138,13 @@ public Builder orderId(Long orderId) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

23****

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RestartDataExportJobResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RestartDataExportJobResponseBody.java index f1805bc6d70..c172b7653cb 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RestartDataExportJobResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/RestartDataExportJobResponseBody.java @@ -93,7 +93,10 @@ private Builder(RestartDataExportJobResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -101,7 +104,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -109,7 +115,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The ID of the request. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

7FAD400F-7A5C-4193-8F9A-39D86C4F0231

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -117,7 +126,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/SetWorkflowExtraInfoRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/SetWorkflowExtraInfoRequest.java index 3b256963917..bdfb4877349 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/SetWorkflowExtraInfoRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/SetWorkflowExtraInfoRequest.java @@ -195,7 +195,14 @@ public Builder regionId(String regionId) { } /** - * RenderAddApprovalNode. + *

Specifies whether the Sign button is displayed in the ticket approval section of the DMS console for a third-party approval workflow. Valid values:

+ *
    + *
  • true (default): The Sign button is displayed.
  • + *
  • false: The Sign button is not displayed.
  • + *
+ * + * example: + *

false

*/ public Builder renderAddApprovalNode(Boolean renderAddApprovalNode) { this.putQueryParameter("RenderAddApprovalNode", renderAddApprovalNode); @@ -204,7 +211,14 @@ public Builder renderAddApprovalNode(Boolean renderAddApprovalNode) { } /** - * RenderAgree. + *

Specifies whether the Agree button is displayed in the ticket approval section of the DMS console for a third-party approval workflow. Valid values:

+ *
    + *
  • true (default): The Agree button is displayed.
  • + *
  • false: The Agree button is not displayed.
  • + *
+ * + * example: + *

true

*/ public Builder renderAgree(Boolean renderAgree) { this.putQueryParameter("RenderAgree", renderAgree); @@ -213,7 +227,14 @@ public Builder renderAgree(Boolean renderAgree) { } /** - * RenderCancel. + *

Specifies whether the Revoke button is displayed in the ticket approval section of the DMS console for a third-party approval workflow. Valid values:

+ *
    + *
  • true (default): The Revoke button is displayed.
  • + *
  • false: The Revoke button is not displayed.
  • + *
+ * + * example: + *

true

*/ public Builder renderCancel(Boolean renderCancel) { this.putQueryParameter("RenderCancel", renderCancel); @@ -222,7 +243,14 @@ public Builder renderCancel(Boolean renderCancel) { } /** - * RenderReject. + *

Specifies whether the Reject button is displayed in the ticket approval section of the DMS console for a third-party approval workflow. Valid values:

+ *
    + *
  • true (default): The Reject button is displayed.
  • + *
  • false: The Reject button is not displayed.
  • + *
+ * + * example: + *

false

*/ public Builder renderReject(Boolean renderReject) { this.putQueryParameter("RenderReject", renderReject); @@ -231,7 +259,14 @@ public Builder renderReject(Boolean renderReject) { } /** - * RenderTransfer. + *

Specifies whether the Forward button is displayed in the ticket approval section of the DMS console for a third-party approval workflow. Valid values:

+ *
    + *
  • true (default): The Forward button is displayed.
  • + *
  • false: The Forward button is not displayed.
  • + *
+ * + * example: + *

true

*/ public Builder renderTransfer(Boolean renderTransfer) { this.putQueryParameter("RenderTransfer", renderTransfer); @@ -240,7 +275,10 @@ public Builder renderTransfer(Boolean renderTransfer) { } /** - * ThirdpartyWorkflowComment. + *

The remarks of approval workflow for third parties.

+ * + * example: + *

test

*/ public Builder thirdpartyWorkflowComment(String thirdpartyWorkflowComment) { this.putQueryParameter("ThirdpartyWorkflowComment", thirdpartyWorkflowComment); @@ -249,7 +287,10 @@ public Builder thirdpartyWorkflowComment(String thirdpartyWorkflowComment) { } /** - * ThirdpartyWorkflowUrl. + *

The link of approval workflow for third parties.

+ * + * example: + *

https://xxx

*/ public Builder thirdpartyWorkflowUrl(String thirdpartyWorkflowUrl) { this.putQueryParameter("ThirdpartyWorkflowUrl", thirdpartyWorkflowUrl); @@ -258,7 +299,13 @@ public Builder thirdpartyWorkflowUrl(String thirdpartyWorkflowUrl) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -267,6 +314,7 @@ public Builder tid(Long tid) { } /** + *

The ID of the approval workflow. You can call the GetOrderBaseInfo operation to query the ID of the approval workflow.

*

This parameter is required.

* * example: diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/SetWorkflowExtraInfoResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/SetWorkflowExtraInfoResponseBody.java index ac7bb7cb657..4be9ec42864 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/SetWorkflowExtraInfoResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/SetWorkflowExtraInfoResponseBody.java @@ -106,7 +106,10 @@ private Builder(SetWorkflowExtraInfoResponseBody model) { } /** - * Data. + *

Indicates whether the call was successful.

+ * + * example: + *

true

*/ public Builder data(Boolean data) { this.data = data; @@ -114,7 +117,10 @@ public Builder data(Boolean data) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -122,7 +128,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -130,7 +139,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

8401893F-4235-55D5-B563-7CF7A7D037DE

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +150,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/SuspendDataExportJobRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/SuspendDataExportJobRequest.java index bfa19698e5e..6ff5ce169e6 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/SuspendDataExportJobRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/SuspendDataExportJobRequest.java @@ -112,6 +112,7 @@ public Builder regionId(String regionId) { } /** + *

The ID of the SQL result set export task. You can call the GetDataExportOrderDetail operation to obtain the value of this parameter. If you set this parameter to Null, no SQL result set export task is suspended.

*

This parameter is required.

* * example: @@ -124,6 +125,7 @@ public Builder jobId(Long jobId) { } /** + *

The ticket ID. You can call the ListOrders operation to query the ticket ID.

*

This parameter is required.

* * example: @@ -136,7 +138,13 @@ public Builder orderId(Long orderId) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/SuspendDataExportJobResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/SuspendDataExportJobResponseBody.java index 93433226fea..410fb5e15ae 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/SuspendDataExportJobResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/SuspendDataExportJobResponseBody.java @@ -93,7 +93,10 @@ private Builder(SuspendDataExportJobResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -101,7 +104,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -109,7 +115,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

FE8EE2F1-4880-46BC-A704-5CF63EAF9A04

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -117,7 +126,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the operation was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/TryRunTaskFlowRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/TryRunTaskFlowRequest.java index 7e8ce58cb3d..8fa6852bcf1 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/TryRunTaskFlowRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/TryRunTaskFlowRequest.java @@ -82,7 +82,10 @@ public Builder regionId(String regionId) { } /** - * DagId. + *

The task flow ID. You can call the ListTaskFlow or ListLhTaskFlowAndScenario operation to query the ID of the task flow.

+ * + * example: + *

11****

*/ public Builder dagId(Long dagId) { this.putQueryParameter("DagId", dagId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/TryRunTaskFlowResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/TryRunTaskFlowResponseBody.java index 9151591d740..dcc8b857d0b 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/TryRunTaskFlowResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/TryRunTaskFlowResponseBody.java @@ -106,7 +106,14 @@ private Builder(TryRunTaskFlowResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed. Value values:

+ *
    + *
  • If the request was successful, the ErrorCode parameter is not returned.
  • + *
  • If the request failed, ErrorCode is returned. For more information, see the Error codes section in this topic.
  • + *
+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -114,7 +121,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -122,7 +132,10 @@ public Builder errorMessage(String errorMessage) { } /** - * InstanceId. + *

The instance ID of the order.

+ * + * example: + *

169****

*/ public Builder instanceId(String instanceId) { this.instanceId = instanceId; @@ -130,7 +143,10 @@ public Builder instanceId(String instanceId) { } /** - * RequestId. + *

The request ID.

+ * + * example: + *

9997630E-1993-5E6D-9DF1-4EFEE755FE31

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +154,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateAbacPolicyRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateAbacPolicyRequest.java index 08b4fe8347e..46291162178 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateAbacPolicyRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateAbacPolicyRequest.java @@ -140,7 +140,26 @@ public Builder regionId(String regionId) { } /** - * AbacPolicyContent. + *

The content of the policy.

+ * + * example: + *

{ + * "Statement": [ + * { + * "Action": "", + * "Effect": "Allow", + * "Resource": "", + * "Condition": { + * "StringEqualsIgnoreCase": { + * "dms:DbType": [ + * "redis" + * ] + * } + * } + * } + * ], + * "Version": "1" + * }

*/ public Builder abacPolicyContent(String abacPolicyContent) { this.putQueryParameter("AbacPolicyContent", abacPolicyContent); @@ -149,7 +168,10 @@ public Builder abacPolicyContent(String abacPolicyContent) { } /** - * AbacPolicyDesc. + *

The description of the policy.

+ * + * example: + *

test

*/ public Builder abacPolicyDesc(String abacPolicyDesc) { this.putQueryParameter("AbacPolicyDesc", abacPolicyDesc); @@ -158,6 +180,7 @@ public Builder abacPolicyDesc(String abacPolicyDesc) { } /** + *

The ID of the policy.

*

This parameter is required.

* * example: @@ -170,7 +193,10 @@ public Builder abacPolicyId(Long abacPolicyId) { } /** - * AbacPolicyName. + *

The name of the permission policy.

+ * + * example: + *

policy_test

*/ public Builder abacPolicyName(String abacPolicyName) { this.putQueryParameter("AbacPolicyName", abacPolicyName); @@ -179,7 +205,13 @@ public Builder abacPolicyName(String abacPolicyName) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateAbacPolicyResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateAbacPolicyResponseBody.java index 42d55cfd986..7cb4b87315b 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateAbacPolicyResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateAbacPolicyResponseBody.java @@ -106,7 +106,10 @@ private Builder(UpdateAbacPolicyResponseBody model) { } /** - * ErrorCode. + *

The error code that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -114,7 +117,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -122,7 +128,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

CE43759B-5A72-560A-BF3D-862F38B36B9E

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -130,7 +139,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -138,7 +154,10 @@ public Builder success(Boolean success) { } /** - * UpdatePolicyResult. + *

Indicates whether the policy is updated.

+ * + * example: + *

true

*/ public Builder updatePolicyResult(Long updatePolicyResult) { this.updatePolicyResult = updatePolicyResult; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeDatabaseRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeDatabaseRequest.java index 1951b1c11e1..46fb759133b 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeDatabaseRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeDatabaseRequest.java @@ -184,6 +184,7 @@ public Builder regionId(String regionId) { } /** + *

The catalog name.

*

This parameter is required.

* * example: @@ -196,6 +197,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -208,6 +210,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The name of the database that you want to query.

*

This parameter is required.

* * example: @@ -220,7 +223,10 @@ public Builder dbName(String dbName) { } /** - * Description. + *

The description of the database.

+ * + * example: + *

test

*/ public Builder description(String description) { this.putQueryParameter("Description", description); @@ -229,6 +235,7 @@ public Builder description(String description) { } /** + *

The storage path of the database. Supports the OSS, S3, and S3A protocols.

*

This parameter is required.

* * example: @@ -241,7 +248,7 @@ public Builder location(String location) { } /** - * Parameters. + *

The key-value pairs of the database attributes.

*/ public Builder parameters(java.util.Map parameters) { String parametersShrink = shrink(parameters, "Parameters", "json"); @@ -251,7 +258,13 @@ public Builder parameters(java.util.Map parameters) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -260,7 +273,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeDatabaseResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeDatabaseResponseBody.java index 2ea4ac0bbb9..9dd36f7db59 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeDatabaseResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeDatabaseResponseBody.java @@ -106,7 +106,7 @@ private Builder(UpdateDataLakeDatabaseResponseBody model) { } /** - * Database. + *

The database details.

*/ public Builder database(DLDatabase database) { this.database = database; @@ -114,7 +114,10 @@ public Builder database(DLDatabase database) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -122,7 +125,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -130,7 +136,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

4E1D2B4D-3E53-4ABC-999D-1D2520B3471A

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +147,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request succeeded.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeFunctionRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeFunctionRequest.java index 960ec82ae18..90242ed7b5f 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeFunctionRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeFunctionRequest.java @@ -171,6 +171,7 @@ public Builder regionId(String regionId) { } /** + *

The catalog name.

*

This parameter is required.

* * example: @@ -183,6 +184,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -195,6 +197,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The name of the database that you want to query.

*

This parameter is required.

* * example: @@ -207,6 +210,7 @@ public Builder dbName(String dbName) { } /** + *

The details about the function.

*

This parameter is required.

*/ public Builder functionInput(DLFunctionInput functionInput) { @@ -217,6 +221,7 @@ public Builder functionInput(DLFunctionInput functionInput) { } /** + *

The function name.

*

This parameter is required.

* * example: @@ -229,7 +234,13 @@ public Builder functionName(String functionName) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -238,7 +249,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeFunctionResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeFunctionResponseBody.java index d035acd03a5..c594d8e1ce0 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeFunctionResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeFunctionResponseBody.java @@ -106,7 +106,10 @@ private Builder(UpdateDataLakeFunctionResponseBody model) { } /** - * ErrorCode. + *

The error code returned if the request fails.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -114,7 +117,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message returned if the request fails.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -122,7 +128,7 @@ public Builder errorMessage(String errorMessage) { } /** - * Function. + *

The details about the function.

*/ public Builder function(DLFunction function) { this.function = function; @@ -130,7 +136,10 @@ public Builder function(DLFunction function) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

C1D39814-9808-47F8-AFE0-AF167239AC9B

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +147,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request succeeded.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakePartitionRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakePartitionRequest.java index 873bd7ca2a5..3d7d96cfd62 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakePartitionRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakePartitionRequest.java @@ -171,6 +171,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data catalog.

*

This parameter is required.

* * example: @@ -183,6 +184,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -195,6 +197,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The name of the database that you want to query.

*

This parameter is required.

* * example: @@ -207,6 +210,7 @@ public Builder dbName(String dbName) { } /** + *

The information about the created partition.

*

This parameter is required.

*/ public Builder partitionInput(DLPartitionInput partitionInput) { @@ -217,6 +221,7 @@ public Builder partitionInput(DLPartitionInput partitionInput) { } /** + *

The name of the table

*

This parameter is required.

* * example: @@ -229,7 +234,13 @@ public Builder tableName(String tableName) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -238,7 +249,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakePartitionResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakePartitionResponseBody.java index e1c1ff2b821..6c9f326c239 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakePartitionResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakePartitionResponseBody.java @@ -93,7 +93,10 @@ private Builder(UpdateDataLakePartitionResponseBody model) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -101,7 +104,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -109,7 +115,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the ID to query logs and troubleshoot issues.

+ * + * example: + *

427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -117,7 +126,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeTableRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeTableRequest.java index 42e8b63d47b..1d3daf2a065 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeTableRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeTableRequest.java @@ -170,6 +170,7 @@ public Builder regionId(String regionId) { } /** + *

The name of the data catalog.

*

This parameter is required.

* * example: @@ -182,6 +183,7 @@ public Builder catalogName(String catalogName) { } /** + *

The region where the data lake resides.

*

This parameter is required.

* * example: @@ -194,6 +196,7 @@ public Builder dataRegion(String dataRegion) { } /** + *

The database name.

*

This parameter is required.

* * example: @@ -206,6 +209,7 @@ public Builder dbName(String dbName) { } /** + *

The information about the table.

*

This parameter is required.

*/ public Builder tableInput(OpenStructDLTableInput tableInput) { @@ -216,7 +220,10 @@ public Builder tableInput(OpenStructDLTableInput tableInput) { } /** - * TableName. + *

The name of the updated table. If you do not need to update the table name, set the TableName and TableInput parameters to the same value.

+ * + * example: + *

100g_customer

*/ public Builder tableName(String tableName) { this.putQueryParameter("TableName", tableName); @@ -225,7 +232,13 @@ public Builder tableName(String tableName) { } /** - * Tid. + *

The ID of the tenant.

+ *
+ *

To view the ID of the tenant, go to the DMS console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic.

+ *
+ * + * example: + *

3***

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); @@ -234,7 +247,10 @@ public Builder tid(Long tid) { } /** - * WorkspaceId. + *

The workspace ID.

+ * + * example: + *

12****

*/ public Builder workspaceId(Long workspaceId) { this.putQueryParameter("WorkspaceId", workspaceId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeTableResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeTableResponseBody.java index 30e3ec6c479..bc86c93092b 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeTableResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateDataLakeTableResponseBody.java @@ -106,7 +106,10 @@ private Builder(UpdateDataLakeTableResponseBody model) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -114,7 +117,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -122,7 +128,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

C5B8E84B-42B6-4374-AD5A-6264E1753325

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -130,7 +139,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; @@ -138,7 +154,7 @@ public Builder success(Boolean success) { } /** - * Table. + *

The information about the table.

*/ public Builder table(DLTable table) { this.table = table; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateMetaCategoryRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateMetaCategoryRequest.java index 2fa7e452e3c..9f50ed4b924 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateMetaCategoryRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateMetaCategoryRequest.java @@ -112,6 +112,7 @@ public Builder regionId(String regionId) { } /** + *

The category ID.

*

This parameter is required.

* * example: @@ -124,7 +125,7 @@ public Builder categoryId(Long categoryId) { } /** - * Name. + *

The updated name of the category.

*/ public Builder name(String name) { this.putQueryParameter("Name", name); @@ -133,7 +134,10 @@ public Builder name(String name) { } /** - * Tid. + *

The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the tenant ID.

+ * + * example: + *

23****

*/ public Builder tid(Long tid) { this.putQueryParameter("Tid", tid); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateMetaCategoryResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateMetaCategoryResponseBody.java index d9e9c3c4cee..6018676d9c1 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateMetaCategoryResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateMetaCategoryResponseBody.java @@ -106,7 +106,7 @@ private Builder(UpdateMetaCategoryResponseBody model) { } /** - * Category. + *

The information about the category.

*/ public Builder category(MetaCategory category) { this.category = category; @@ -114,7 +114,10 @@ public Builder category(MetaCategory category) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -122,7 +125,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message that is returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -130,7 +136,10 @@ public Builder errorMessage(String errorMessage) { } /** - * RequestId. + *

The request ID.

+ * + * example: + *

0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +147,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(Boolean success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateTaskContentV2Request.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateTaskContentV2Request.java index 1fdfd55c86d..59544c87389 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateTaskContentV2Request.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateTaskContentV2Request.java @@ -96,7 +96,13 @@ public Builder regionId(String regionId) { } /** - * NodeContent. + *

The node configurations after modification.

+ *
+ *

We recommend that you change the SQL type from SELECT to INSERT/CREATE.

+ *
+ * + * example: + *

{ "dbId":12****, "sql":"select * from test_table", "dbType":"lindorm_sql" }

*/ public Builder nodeContent(String nodeContent) { this.putBodyParameter("NodeContent", nodeContent); @@ -105,7 +111,10 @@ public Builder nodeContent(String nodeContent) { } /** - * NodeId. + *

The ID of the task node. You can call the GetTaskInstanceRelation operation to query the node ID.

+ * + * example: + *

449***

*/ public Builder nodeId(String nodeId) { this.putQueryParameter("NodeId", nodeId); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateTaskContentV2ResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateTaskContentV2ResponseBody.java index e0e0c83ae0f..06c0e39be40 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateTaskContentV2ResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateTaskContentV2ResponseBody.java @@ -93,7 +93,10 @@ private Builder(UpdateTaskContentV2ResponseBody model) { } /** - * ErrorCode. + *

The error code returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorCode(String errorCode) { this.errorCode = errorCode; @@ -101,7 +104,10 @@ public Builder errorCode(String errorCode) { } /** - * ErrorMessage. + *

The error message returned if the request failed.

+ * + * example: + *

UnknownError

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -109,7 +115,7 @@ public Builder errorMessage(String errorMessage) { } /** - *

Id of the request

+ *

Id of the request.

* * example: *

B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773

@@ -120,7 +126,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(String success) { this.success = success; diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateWorkspaceRequest.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateWorkspaceRequest.java index 4f92d3eb3f9..98f42f7b7f1 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateWorkspaceRequest.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateWorkspaceRequest.java @@ -102,7 +102,10 @@ private Builder(UpdateWorkspaceRequest request) { } /** - * ClientToken. + *

The client token that is used to ensure the idempotence of the request.

+ * + * example: + *

token-xxx

*/ public Builder clientToken(String clientToken) { this.putBodyParameter("ClientToken", clientToken); @@ -111,7 +114,10 @@ public Builder clientToken(String clientToken) { } /** - * Description. + *

The new description of the workspace.

+ * + * example: + *

test

*/ public Builder description(String description) { this.putQueryParameter("Description", description); @@ -120,6 +126,7 @@ public Builder description(String description) { } /** + *

The workspace ID.

*

This parameter is required.

* * example: @@ -132,7 +139,10 @@ public Builder workspaceId(Long workspaceId) { } /** - * WorkspaceName. + *

The new name of the workspace.

+ * + * example: + *

workspace_xxx

*/ public Builder workspaceName(String workspaceName) { this.putQueryParameter("WorkspaceName", workspaceName); diff --git a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateWorkspaceResponseBody.java b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateWorkspaceResponseBody.java index 5174b0b9922..e593fb4c57b 100644 --- a/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateWorkspaceResponseBody.java +++ b/dms-enterprise-20181101/src/main/java/com/aliyun/sdk/service/dms_enterprise20181101/models/UpdateWorkspaceResponseBody.java @@ -80,7 +80,10 @@ private Builder(UpdateWorkspaceResponseBody model) { } /** - * Data. + *

Indicates whether the call is successful.

+ * + * example: + *

true

*/ public Builder data(String data) { this.data = data; @@ -88,7 +91,10 @@ public Builder data(String data) { } /** - * RequestId. + *

The request ID. You can use the request ID to locate logs and troubleshoot issues.

+ * + * example: + *

C51420E3-144A-4A94-B473-8662FCF4****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -96,7 +102,14 @@ public Builder requestId(String requestId) { } /** - * Success. + *

Indicates whether the request was successful. Valid values:

+ *
    + *
  • true: The request was successful.
  • + *
  • false: The request failed.
  • + *
+ * + * example: + *

true

*/ public Builder success(String success) { this.success = success; diff --git a/iqs-20241111/ChangeLog.txt b/iqs-20241111/ChangeLog.txt index ad352e5e8f0..31bddf67b36 100644 --- a/iqs-20241111/ChangeLog.txt +++ b/iqs-20241111/ChangeLog.txt @@ -1,3 +1,6 @@ +2025-11-24 Version: 1.0.12 +- Generated java-async 2024-11-11 for IQS. + 2025-05-08 Version: 1.0.10 - Generated java-async 2024-11-11 for IQS. diff --git a/iqs-20241111/pom.xml b/iqs-20241111/pom.xml index 9bd1f943568..e0a49b26ac0 100644 --- a/iqs-20241111/pom.xml +++ b/iqs-20241111/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.aliyun alibabacloud-iqs20241111 - 1.0.10 + 1.0.12 jar alibabacloud-iqs20241111 Alibaba Cloud IQS (20241111) Async SDK for Java @@ -25,17 +25,17 @@ sonatype-nexus-snapshots - https://s01.oss.sonatype.org/content/repositories/snapshots + https://central.sonatype.com/repository/maven-snapshots/ sonatype-nexus-staging - https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ + https://central.sonatype.com - - - + scm:git:git://github.com/aliyun/alibabacloud-java-async-sdk.git + scm:git:git@github.com:aliyun/alibabacloud-java-async-sdk.git + https://github.com/aliyun/alibabacloud-java-async-sdk 1.8 @@ -87,17 +87,6 @@ - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.3 - true - - sonatype-nexus-staging - https://s01.oss.sonatype.org/ - true - - org.apache.maven.plugins maven-javadoc-plugin @@ -112,6 +101,16 @@ maven-surefire-plugin 2.22.1 + + org.sonatype.central + central-publishing-maven-plugin + 0.9.0 + true + + central + true + + \ No newline at end of file diff --git a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/AsyncClient.java b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/AsyncClient.java index e9fc909311b..c74af00cc21 100644 --- a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/AsyncClient.java +++ b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/AsyncClient.java @@ -39,12 +39,30 @@ static AsyncClient create() { */ CompletableFuture genericSearch(GenericSearchRequest request); + /** + * @param request the request parameters of GetIqsUsage GetIqsUsageRequest + * @return GetIqsUsageResponse + */ + CompletableFuture getIqsUsage(GetIqsUsageRequest request); + /** * @param request the request parameters of GlobalSearch GlobalSearchRequest * @return GlobalSearchResponse */ CompletableFuture globalSearch(GlobalSearchRequest request); + /** + * @param request the request parameters of ReadPageBasic ReadPageBasicRequest + * @return ReadPageBasicResponse + */ + CompletableFuture readPageBasic(ReadPageBasicRequest request); + + /** + * @param request the request parameters of ReadPageScrape ReadPageScrapeRequest + * @return ReadPageScrapeResponse + */ + CompletableFuture readPageScrape(ReadPageScrapeRequest request); + /** * @param request the request parameters of UnifiedSearch UnifiedSearchRequest * @return UnifiedSearchResponse diff --git a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/DefaultAsyncClient.java b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/DefaultAsyncClient.java index 0e22ccc07f4..b88d0c6bb98 100644 --- a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/DefaultAsyncClient.java +++ b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/DefaultAsyncClient.java @@ -104,6 +104,24 @@ public CompletableFuture genericSearch(GenericSearchReque } } + /** + * @param request the request parameters of GetIqsUsage GetIqsUsageRequest + * @return GetIqsUsageResponse + */ + @Override + public CompletableFuture getIqsUsage(GetIqsUsageRequest request) { + try { + this.handler.validateRequestModel(request); + TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetIqsUsage").setMethod(HttpMethod.GET).setPathRegex("/linked-retrieval/linked-retrieval-admin/v1/iqs/usage").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); + ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetIqsUsageResponse.create()); + return this.handler.execute(params); + } catch (Exception e) { + CompletableFuture future = new CompletableFuture<>(); + future.completeExceptionally(e); + return future; + } + } + /** * @param request the request parameters of GlobalSearch GlobalSearchRequest * @return GlobalSearchResponse @@ -122,6 +140,42 @@ public CompletableFuture globalSearch(GlobalSearchRequest } } + /** + * @param request the request parameters of ReadPageBasic ReadPageBasicRequest + * @return ReadPageBasicResponse + */ + @Override + public CompletableFuture readPageBasic(ReadPageBasicRequest request) { + try { + this.handler.validateRequestModel(request); + TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ReadPageBasic").setMethod(HttpMethod.POST).setPathRegex("/linked-retrieval/linked-retrieval-entry/v1/iqs/readpage/basic").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); + ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ReadPageBasicResponse.create()); + return this.handler.execute(params); + } catch (Exception e) { + CompletableFuture future = new CompletableFuture<>(); + future.completeExceptionally(e); + return future; + } + } + + /** + * @param request the request parameters of ReadPageScrape ReadPageScrapeRequest + * @return ReadPageScrapeResponse + */ + @Override + public CompletableFuture readPageScrape(ReadPageScrapeRequest request) { + try { + this.handler.validateRequestModel(request); + TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("ReadPageScrape").setMethod(HttpMethod.POST).setPathRegex("/linked-retrieval/linked-retrieval-entry/v1/iqs/readpage/scrape").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); + ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ReadPageScrapeResponse.create()); + return this.handler.execute(params); + } catch (Exception e) { + CompletableFuture future = new CompletableFuture<>(); + future.completeExceptionally(e); + return future; + } + } + /** * @param request the request parameters of UnifiedSearch UnifiedSearchRequest * @return UnifiedSearchResponse diff --git a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/GenericSearchRequest.java b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/GenericSearchRequest.java index de3ba7b94ba..12318951eeb 100644 --- a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/GenericSearchRequest.java +++ b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/GenericSearchRequest.java @@ -17,6 +17,10 @@ *

GenericSearchRequest

*/ public class GenericSearchRequest extends Request { + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("advancedParams") + private java.util.Map advancedParams; + @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("enableRerank") private Boolean enableRerank; @@ -42,6 +46,10 @@ public class GenericSearchRequest extends Request { @com.aliyun.core.annotation.NameInMap("returnMarkdownText") private Boolean returnMarkdownText; + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("returnRichMainBody") + private Boolean returnRichMainBody; + @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("returnSummary") private Boolean returnSummary; @@ -56,12 +64,14 @@ public class GenericSearchRequest extends Request { private GenericSearchRequest(Builder builder) { super(builder); + this.advancedParams = builder.advancedParams; this.enableRerank = builder.enableRerank; this.industry = builder.industry; this.page = builder.page; this.query = builder.query; this.returnMainText = builder.returnMainText; this.returnMarkdownText = builder.returnMarkdownText; + this.returnRichMainBody = builder.returnRichMainBody; this.returnSummary = builder.returnSummary; this.sessionId = builder.sessionId; this.timeRange = builder.timeRange; @@ -80,6 +90,13 @@ public Builder toBuilder() { return new Builder(this); } + /** + * @return advancedParams + */ + public java.util.Map getAdvancedParams() { + return this.advancedParams; + } + /** * @return enableRerank */ @@ -122,6 +139,13 @@ public Boolean getReturnMarkdownText() { return this.returnMarkdownText; } + /** + * @return returnRichMainBody + */ + public Boolean getReturnRichMainBody() { + return this.returnRichMainBody; + } + /** * @return returnSummary */ @@ -144,12 +168,14 @@ public String getTimeRange() { } public static final class Builder extends Request.Builder { + private java.util.Map advancedParams; private Boolean enableRerank; private String industry; private Integer page; private String query; private Boolean returnMainText; private Boolean returnMarkdownText; + private Boolean returnRichMainBody; private Boolean returnSummary; private String sessionId; private String timeRange; @@ -160,17 +186,29 @@ private Builder() { private Builder(GenericSearchRequest request) { super(request); + this.advancedParams = request.advancedParams; this.enableRerank = request.enableRerank; this.industry = request.industry; this.page = request.page; this.query = request.query; this.returnMainText = request.returnMainText; this.returnMarkdownText = request.returnMarkdownText; + this.returnRichMainBody = request.returnRichMainBody; this.returnSummary = request.returnSummary; this.sessionId = request.sessionId; this.timeRange = request.timeRange; } + /** + * advancedParams. + */ + public Builder advancedParams(java.util.Map advancedParams) { + String advancedParamsShrink = shrink(advancedParams, "advancedParams", "json"); + this.putQueryParameter("advancedParams", advancedParamsShrink); + this.advancedParams = advancedParams; + return this; + } + /** * enableRerank. */ @@ -225,6 +263,15 @@ public Builder returnMarkdownText(Boolean returnMarkdownText) { return this; } + /** + * returnRichMainBody. + */ + public Builder returnRichMainBody(Boolean returnRichMainBody) { + this.putQueryParameter("returnRichMainBody", returnRichMainBody); + this.returnRichMainBody = returnRichMainBody; + return this; + } + /** * returnSummary. */ diff --git a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/GetIqsUsageRequest.java b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/GetIqsUsageRequest.java new file mode 100644 index 00000000000..fd5524e827d --- /dev/null +++ b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/GetIqsUsageRequest.java @@ -0,0 +1,100 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.iqs20241111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link GetIqsUsageRequest} extends {@link RequestModel} + * + *

GetIqsUsageRequest

+ */ +public class GetIqsUsageRequest extends Request { + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("endDate") + private String endDate; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("startDate") + private String startDate; + + private GetIqsUsageRequest(Builder builder) { + super(builder); + this.endDate = builder.endDate; + this.startDate = builder.startDate; + } + + public static Builder builder() { + return new Builder(); + } + + public static GetIqsUsageRequest create() { + return builder().build(); + } + +@Override + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return endDate + */ + public String getEndDate() { + return this.endDate; + } + + /** + * @return startDate + */ + public String getStartDate() { + return this.startDate; + } + + public static final class Builder extends Request.Builder { + private String endDate; + private String startDate; + + private Builder() { + super(); + } + + private Builder(GetIqsUsageRequest request) { + super(request); + this.endDate = request.endDate; + this.startDate = request.startDate; + } + + /** + * endDate. + */ + public Builder endDate(String endDate) { + this.putQueryParameter("endDate", endDate); + this.endDate = endDate; + return this; + } + + /** + * startDate. + */ + public Builder startDate(String startDate) { + this.putQueryParameter("startDate", startDate); + this.startDate = startDate; + return this; + } + + @Override + public GetIqsUsageRequest build() { + return new GetIqsUsageRequest(this); + } + + } + +} diff --git a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/GetIqsUsageResponse.java b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/GetIqsUsageResponse.java new file mode 100644 index 00000000000..3530dde878b --- /dev/null +++ b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/GetIqsUsageResponse.java @@ -0,0 +1,131 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.iqs20241111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link GetIqsUsageResponse} extends {@link TeaModel} + * + *

GetIqsUsageResponse

+ */ +public class GetIqsUsageResponse extends Response { + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; + + @com.aliyun.core.annotation.NameInMap("statusCode") + private Integer statusCode; + + @com.aliyun.core.annotation.NameInMap("body") + private GetIqsUsageResult body; + + private GetIqsUsageResponse(BuilderImpl builder) { + super(builder); + this.headers = builder.headers; + this.statusCode = builder.statusCode; + this.body = builder.body; + } + + public static GetIqsUsageResponse create() { + return new BuilderImpl().build(); + } + +@Override + public Builder toBuilder() { + return new BuilderImpl(this); + } + + /** + * @return headers + */ + public java.util.Map getHeaders() { + return this.headers; + } + + /** + * @return statusCode + */ + public Integer getStatusCode() { + return this.statusCode; + } + + /** + * @return body + */ + public GetIqsUsageResult getBody() { + return this.body; + } + + public interface Builder extends Response.Builder { + + Builder headers(java.util.Map headers); + + Builder statusCode(Integer statusCode); + + Builder body(GetIqsUsageResult body); + + @Override + GetIqsUsageResponse build(); + + } + + private static final class BuilderImpl + extends Response.BuilderImpl + implements Builder { + private java.util.Map headers; + private Integer statusCode; + private GetIqsUsageResult body; + + private BuilderImpl() { + super(); + } + + private BuilderImpl(GetIqsUsageResponse response) { + super(response); + this.headers = response.headers; + this.statusCode = response.statusCode; + this.body = response.body; + } + + /** + * headers. + */ + @Override + public Builder headers(java.util.Map headers) { + this.headers = headers; + return this; + } + + /** + * statusCode. + */ + @Override + public Builder statusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * body. + */ + @Override + public Builder body(GetIqsUsageResult body) { + this.body = body; + return this; + } + + @Override + public GetIqsUsageResponse build() { + return new GetIqsUsageResponse(this); + } + + } + +} diff --git a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/GetIqsUsageResult.java b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/GetIqsUsageResult.java new file mode 100644 index 00000000000..db1ab7b017c --- /dev/null +++ b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/GetIqsUsageResult.java @@ -0,0 +1,355 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.iqs20241111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link GetIqsUsageResult} extends {@link TeaModel} + * + *

GetIqsUsageResult

+ */ +public class GetIqsUsageResult extends TeaModel { + @com.aliyun.core.annotation.NameInMap("records") + private java.util.List records; + + private GetIqsUsageResult(Builder builder) { + this.records = builder.records; + } + + public static Builder builder() { + return new Builder(); + } + + public static GetIqsUsageResult create() { + return builder().build(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return records + */ + public java.util.List getRecords() { + return this.records; + } + + public static final class Builder { + private java.util.List records; + + private Builder() { + } + + private Builder(GetIqsUsageResult model) { + this.records = model.records; + } + + /** + * records. + */ + public Builder records(java.util.List records) { + this.records = records; + return this; + } + + public GetIqsUsageResult build() { + return new GetIqsUsageResult(this); + } + + } + + /** + * + * {@link GetIqsUsageResult} extends {@link TeaModel} + * + *

GetIqsUsageResult

+ */ + public static class Records extends TeaModel { + @com.aliyun.core.annotation.NameInMap("api") + private String api; + + @com.aliyun.core.annotation.NameInMap("billingQps") + private Integer billingQps; + + @com.aliyun.core.annotation.NameInMap("date") + private String date; + + @com.aliyun.core.annotation.NameInMap("engineType") + private String engineType; + + @com.aliyun.core.annotation.NameInMap("failedCalls") + private Integer failedCalls; + + @com.aliyun.core.annotation.NameInMap("ladderType") + private String ladderType; + + @com.aliyun.core.annotation.NameInMap("mainAccountId") + private String mainAccountId; + + @com.aliyun.core.annotation.NameInMap("subAccountId") + private String subAccountId; + + @com.aliyun.core.annotation.NameInMap("successCalls") + private Integer successCalls; + + @com.aliyun.core.annotation.NameInMap("totalCalls") + private Integer totalCalls; + + @com.aliyun.core.annotation.NameInMap("valueAddedAdvanced") + private Integer valueAddedAdvanced; + + @com.aliyun.core.annotation.NameInMap("valueAddedSummary") + private Integer valueAddedSummary; + + private Records(Builder builder) { + this.api = builder.api; + this.billingQps = builder.billingQps; + this.date = builder.date; + this.engineType = builder.engineType; + this.failedCalls = builder.failedCalls; + this.ladderType = builder.ladderType; + this.mainAccountId = builder.mainAccountId; + this.subAccountId = builder.subAccountId; + this.successCalls = builder.successCalls; + this.totalCalls = builder.totalCalls; + this.valueAddedAdvanced = builder.valueAddedAdvanced; + this.valueAddedSummary = builder.valueAddedSummary; + } + + public static Builder builder() { + return new Builder(); + } + + public static Records create() { + return builder().build(); + } + + /** + * @return api + */ + public String getApi() { + return this.api; + } + + /** + * @return billingQps + */ + public Integer getBillingQps() { + return this.billingQps; + } + + /** + * @return date + */ + public String getDate() { + return this.date; + } + + /** + * @return engineType + */ + public String getEngineType() { + return this.engineType; + } + + /** + * @return failedCalls + */ + public Integer getFailedCalls() { + return this.failedCalls; + } + + /** + * @return ladderType + */ + public String getLadderType() { + return this.ladderType; + } + + /** + * @return mainAccountId + */ + public String getMainAccountId() { + return this.mainAccountId; + } + + /** + * @return subAccountId + */ + public String getSubAccountId() { + return this.subAccountId; + } + + /** + * @return successCalls + */ + public Integer getSuccessCalls() { + return this.successCalls; + } + + /** + * @return totalCalls + */ + public Integer getTotalCalls() { + return this.totalCalls; + } + + /** + * @return valueAddedAdvanced + */ + public Integer getValueAddedAdvanced() { + return this.valueAddedAdvanced; + } + + /** + * @return valueAddedSummary + */ + public Integer getValueAddedSummary() { + return this.valueAddedSummary; + } + + public static final class Builder { + private String api; + private Integer billingQps; + private String date; + private String engineType; + private Integer failedCalls; + private String ladderType; + private String mainAccountId; + private String subAccountId; + private Integer successCalls; + private Integer totalCalls; + private Integer valueAddedAdvanced; + private Integer valueAddedSummary; + + private Builder() { + } + + private Builder(Records model) { + this.api = model.api; + this.billingQps = model.billingQps; + this.date = model.date; + this.engineType = model.engineType; + this.failedCalls = model.failedCalls; + this.ladderType = model.ladderType; + this.mainAccountId = model.mainAccountId; + this.subAccountId = model.subAccountId; + this.successCalls = model.successCalls; + this.totalCalls = model.totalCalls; + this.valueAddedAdvanced = model.valueAddedAdvanced; + this.valueAddedSummary = model.valueAddedSummary; + } + + /** + * api. + */ + public Builder api(String api) { + this.api = api; + return this; + } + + /** + * billingQps. + */ + public Builder billingQps(Integer billingQps) { + this.billingQps = billingQps; + return this; + } + + /** + * date. + */ + public Builder date(String date) { + this.date = date; + return this; + } + + /** + * engineType. + */ + public Builder engineType(String engineType) { + this.engineType = engineType; + return this; + } + + /** + * failedCalls. + */ + public Builder failedCalls(Integer failedCalls) { + this.failedCalls = failedCalls; + return this; + } + + /** + * ladderType. + */ + public Builder ladderType(String ladderType) { + this.ladderType = ladderType; + return this; + } + + /** + * mainAccountId. + */ + public Builder mainAccountId(String mainAccountId) { + this.mainAccountId = mainAccountId; + return this; + } + + /** + * subAccountId. + */ + public Builder subAccountId(String subAccountId) { + this.subAccountId = subAccountId; + return this; + } + + /** + * successCalls. + */ + public Builder successCalls(Integer successCalls) { + this.successCalls = successCalls; + return this; + } + + /** + * totalCalls. + */ + public Builder totalCalls(Integer totalCalls) { + this.totalCalls = totalCalls; + return this; + } + + /** + * valueAddedAdvanced. + */ + public Builder valueAddedAdvanced(Integer valueAddedAdvanced) { + this.valueAddedAdvanced = valueAddedAdvanced; + return this; + } + + /** + * valueAddedSummary. + */ + public Builder valueAddedSummary(Integer valueAddedSummary) { + this.valueAddedSummary = valueAddedSummary; + return this; + } + + public Records build() { + return new Records(this); + } + + } + + } +} diff --git a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageBasicRequest.java b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageBasicRequest.java new file mode 100644 index 00000000000..074c4b0675d --- /dev/null +++ b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageBasicRequest.java @@ -0,0 +1,77 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.iqs20241111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link ReadPageBasicRequest} extends {@link RequestModel} + * + *

ReadPageBasicRequest

+ */ +public class ReadPageBasicRequest extends Request { + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("body") + private ReadPageBody body; + + private ReadPageBasicRequest(Builder builder) { + super(builder); + this.body = builder.body; + } + + public static Builder builder() { + return new Builder(); + } + + public static ReadPageBasicRequest create() { + return builder().build(); + } + +@Override + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return body + */ + public ReadPageBody getBody() { + return this.body; + } + + public static final class Builder extends Request.Builder { + private ReadPageBody body; + + private Builder() { + super(); + } + + private Builder(ReadPageBasicRequest request) { + super(request); + this.body = request.body; + } + + /** + *

post body

+ */ + public Builder body(ReadPageBody body) { + this.putBodyParameter("body", body); + this.body = body; + return this; + } + + @Override + public ReadPageBasicRequest build() { + return new ReadPageBasicRequest(this); + } + + } + +} diff --git a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageBasicResponse.java b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageBasicResponse.java new file mode 100644 index 00000000000..0b7b791ef0c --- /dev/null +++ b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageBasicResponse.java @@ -0,0 +1,131 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.iqs20241111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link ReadPageBasicResponse} extends {@link TeaModel} + * + *

ReadPageBasicResponse

+ */ +public class ReadPageBasicResponse extends Response { + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; + + @com.aliyun.core.annotation.NameInMap("statusCode") + private Integer statusCode; + + @com.aliyun.core.annotation.NameInMap("body") + private ReadPageBasicResponseBody body; + + private ReadPageBasicResponse(BuilderImpl builder) { + super(builder); + this.headers = builder.headers; + this.statusCode = builder.statusCode; + this.body = builder.body; + } + + public static ReadPageBasicResponse create() { + return new BuilderImpl().build(); + } + +@Override + public Builder toBuilder() { + return new BuilderImpl(this); + } + + /** + * @return headers + */ + public java.util.Map getHeaders() { + return this.headers; + } + + /** + * @return statusCode + */ + public Integer getStatusCode() { + return this.statusCode; + } + + /** + * @return body + */ + public ReadPageBasicResponseBody getBody() { + return this.body; + } + + public interface Builder extends Response.Builder { + + Builder headers(java.util.Map headers); + + Builder statusCode(Integer statusCode); + + Builder body(ReadPageBasicResponseBody body); + + @Override + ReadPageBasicResponse build(); + + } + + private static final class BuilderImpl + extends Response.BuilderImpl + implements Builder { + private java.util.Map headers; + private Integer statusCode; + private ReadPageBasicResponseBody body; + + private BuilderImpl() { + super(); + } + + private BuilderImpl(ReadPageBasicResponse response) { + super(response); + this.headers = response.headers; + this.statusCode = response.statusCode; + this.body = response.body; + } + + /** + * headers. + */ + @Override + public Builder headers(java.util.Map headers) { + this.headers = headers; + return this; + } + + /** + * statusCode. + */ + @Override + public Builder statusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * body. + */ + @Override + public Builder body(ReadPageBasicResponseBody body) { + this.body = body; + return this; + } + + @Override + public ReadPageBasicResponse build() { + return new ReadPageBasicResponse(this); + } + + } + +} diff --git a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageBasicResponseBody.java b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageBasicResponseBody.java new file mode 100644 index 00000000000..d3b8ae99358 --- /dev/null +++ b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageBasicResponseBody.java @@ -0,0 +1,133 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.iqs20241111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link ReadPageBasicResponseBody} extends {@link TeaModel} + * + *

ReadPageBasicResponseBody

+ */ +public class ReadPageBasicResponseBody extends TeaModel { + @com.aliyun.core.annotation.NameInMap("data") + private ReadPageItem data; + + @com.aliyun.core.annotation.NameInMap("errorCode") + private String errorCode; + + @com.aliyun.core.annotation.NameInMap("errorMessage") + private String errorMessage; + + @com.aliyun.core.annotation.NameInMap("requestId") + private String requestId; + + private ReadPageBasicResponseBody(Builder builder) { + this.data = builder.data; + this.errorCode = builder.errorCode; + this.errorMessage = builder.errorMessage; + this.requestId = builder.requestId; + } + + public static Builder builder() { + return new Builder(); + } + + public static ReadPageBasicResponseBody create() { + return builder().build(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return data + */ + public ReadPageItem getData() { + return this.data; + } + + /** + * @return errorCode + */ + public String getErrorCode() { + return this.errorCode; + } + + /** + * @return errorMessage + */ + public String getErrorMessage() { + return this.errorMessage; + } + + /** + * @return requestId + */ + public String getRequestId() { + return this.requestId; + } + + public static final class Builder { + private ReadPageItem data; + private String errorCode; + private String errorMessage; + private String requestId; + + private Builder() { + } + + private Builder(ReadPageBasicResponseBody model) { + this.data = model.data; + this.errorCode = model.errorCode; + this.errorMessage = model.errorMessage; + this.requestId = model.requestId; + } + + /** + * data. + */ + public Builder data(ReadPageItem data) { + this.data = data; + return this; + } + + /** + * errorCode. + */ + public Builder errorCode(String errorCode) { + this.errorCode = errorCode; + return this; + } + + /** + * errorMessage. + */ + public Builder errorMessage(String errorMessage) { + this.errorMessage = errorMessage; + return this; + } + + /** + * requestId. + */ + public Builder requestId(String requestId) { + this.requestId = requestId; + return this; + } + + public ReadPageBasicResponseBody build() { + return new ReadPageBasicResponseBody(this); + } + + } + +} diff --git a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageBody.java b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageBody.java new file mode 100644 index 00000000000..c2ced4ccd11 --- /dev/null +++ b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageBody.java @@ -0,0 +1,314 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.iqs20241111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link ReadPageBody} extends {@link TeaModel} + * + *

ReadPageBody

+ */ +public class ReadPageBody extends TeaModel { + @com.aliyun.core.annotation.NameInMap("formats") + private java.util.List formats; + + @com.aliyun.core.annotation.NameInMap("location") + private String location; + + @com.aliyun.core.annotation.NameInMap("maxAge") + private Integer maxAge; + + @com.aliyun.core.annotation.NameInMap("pageTimeout") + private Integer pageTimeout; + + @com.aliyun.core.annotation.NameInMap("readability") + private Readability readability; + + @com.aliyun.core.annotation.NameInMap("timeout") + private Integer timeout; + + @com.aliyun.core.annotation.NameInMap("url") + @com.aliyun.core.annotation.Validation(required = true) + private String url; + + private ReadPageBody(Builder builder) { + this.formats = builder.formats; + this.location = builder.location; + this.maxAge = builder.maxAge; + this.pageTimeout = builder.pageTimeout; + this.readability = builder.readability; + this.timeout = builder.timeout; + this.url = builder.url; + } + + public static Builder builder() { + return new Builder(); + } + + public static ReadPageBody create() { + return builder().build(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return formats + */ + public java.util.List getFormats() { + return this.formats; + } + + /** + * @return location + */ + public String getLocation() { + return this.location; + } + + /** + * @return maxAge + */ + public Integer getMaxAge() { + return this.maxAge; + } + + /** + * @return pageTimeout + */ + public Integer getPageTimeout() { + return this.pageTimeout; + } + + /** + * @return readability + */ + public Readability getReadability() { + return this.readability; + } + + /** + * @return timeout + */ + public Integer getTimeout() { + return this.timeout; + } + + /** + * @return url + */ + public String getUrl() { + return this.url; + } + + public static final class Builder { + private java.util.List formats; + private String location; + private Integer maxAge; + private Integer pageTimeout; + private Readability readability; + private Integer timeout; + private String url; + + private Builder() { + } + + private Builder(ReadPageBody model) { + this.formats = model.formats; + this.location = model.location; + this.maxAge = model.maxAge; + this.pageTimeout = model.pageTimeout; + this.readability = model.readability; + this.timeout = model.timeout; + this.url = model.url; + } + + /** + * formats. + */ + public Builder formats(java.util.List formats) { + this.formats = formats; + return this; + } + + /** + * location. + */ + public Builder location(String location) { + this.location = location; + return this; + } + + /** + * maxAge. + */ + public Builder maxAge(Integer maxAge) { + this.maxAge = maxAge; + return this; + } + + /** + * pageTimeout. + */ + public Builder pageTimeout(Integer pageTimeout) { + this.pageTimeout = pageTimeout; + return this; + } + + /** + * readability. + */ + public Builder readability(Readability readability) { + this.readability = readability; + return this; + } + + /** + * timeout. + */ + public Builder timeout(Integer timeout) { + this.timeout = timeout; + return this; + } + + /** + *

This parameter is required.

+ */ + public Builder url(String url) { + this.url = url; + return this; + } + + public ReadPageBody build() { + return new ReadPageBody(this); + } + + } + + /** + * + * {@link ReadPageBody} extends {@link TeaModel} + * + *

ReadPageBody

+ */ + public static class Readability extends TeaModel { + @com.aliyun.core.annotation.NameInMap("excludeAllImages") + private Boolean excludeAllImages; + + @com.aliyun.core.annotation.NameInMap("excludeAllLinks") + private Boolean excludeAllLinks; + + @com.aliyun.core.annotation.NameInMap("excludedTags") + private java.util.List excludedTags; + + @com.aliyun.core.annotation.NameInMap("readabilityMode") + private String readabilityMode; + + private Readability(Builder builder) { + this.excludeAllImages = builder.excludeAllImages; + this.excludeAllLinks = builder.excludeAllLinks; + this.excludedTags = builder.excludedTags; + this.readabilityMode = builder.readabilityMode; + } + + public static Builder builder() { + return new Builder(); + } + + public static Readability create() { + return builder().build(); + } + + /** + * @return excludeAllImages + */ + public Boolean getExcludeAllImages() { + return this.excludeAllImages; + } + + /** + * @return excludeAllLinks + */ + public Boolean getExcludeAllLinks() { + return this.excludeAllLinks; + } + + /** + * @return excludedTags + */ + public java.util.List getExcludedTags() { + return this.excludedTags; + } + + /** + * @return readabilityMode + */ + public String getReadabilityMode() { + return this.readabilityMode; + } + + public static final class Builder { + private Boolean excludeAllImages; + private Boolean excludeAllLinks; + private java.util.List excludedTags; + private String readabilityMode; + + private Builder() { + } + + private Builder(Readability model) { + this.excludeAllImages = model.excludeAllImages; + this.excludeAllLinks = model.excludeAllLinks; + this.excludedTags = model.excludedTags; + this.readabilityMode = model.readabilityMode; + } + + /** + * excludeAllImages. + */ + public Builder excludeAllImages(Boolean excludeAllImages) { + this.excludeAllImages = excludeAllImages; + return this; + } + + /** + * excludeAllLinks. + */ + public Builder excludeAllLinks(Boolean excludeAllLinks) { + this.excludeAllLinks = excludeAllLinks; + return this; + } + + /** + * excludedTags. + */ + public Builder excludedTags(java.util.List excludedTags) { + this.excludedTags = excludedTags; + return this; + } + + /** + * readabilityMode. + */ + public Builder readabilityMode(String readabilityMode) { + this.readabilityMode = readabilityMode; + return this; + } + + public Readability build() { + return new Readability(this); + } + + } + + } +} diff --git a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageItem.java b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageItem.java new file mode 100644 index 00000000000..6dd7e9dda50 --- /dev/null +++ b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageItem.java @@ -0,0 +1,196 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.iqs20241111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link ReadPageItem} extends {@link TeaModel} + * + *

ReadPageItem

+ */ +public class ReadPageItem extends TeaModel { + @com.aliyun.core.annotation.NameInMap("errorMessage") + private String errorMessage; + + @com.aliyun.core.annotation.NameInMap("html") + private String html; + + @com.aliyun.core.annotation.NameInMap("markdown") + private String markdown; + + @com.aliyun.core.annotation.NameInMap("rawHtml") + private String rawHtml; + + @com.aliyun.core.annotation.NameInMap("screenshot") + private String screenshot; + + @com.aliyun.core.annotation.NameInMap("statusCode") + private Integer statusCode; + + @com.aliyun.core.annotation.NameInMap("text") + private String text; + + private ReadPageItem(Builder builder) { + this.errorMessage = builder.errorMessage; + this.html = builder.html; + this.markdown = builder.markdown; + this.rawHtml = builder.rawHtml; + this.screenshot = builder.screenshot; + this.statusCode = builder.statusCode; + this.text = builder.text; + } + + public static Builder builder() { + return new Builder(); + } + + public static ReadPageItem create() { + return builder().build(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return errorMessage + */ + public String getErrorMessage() { + return this.errorMessage; + } + + /** + * @return html + */ + public String getHtml() { + return this.html; + } + + /** + * @return markdown + */ + public String getMarkdown() { + return this.markdown; + } + + /** + * @return rawHtml + */ + public String getRawHtml() { + return this.rawHtml; + } + + /** + * @return screenshot + */ + public String getScreenshot() { + return this.screenshot; + } + + /** + * @return statusCode + */ + public Integer getStatusCode() { + return this.statusCode; + } + + /** + * @return text + */ + public String getText() { + return this.text; + } + + public static final class Builder { + private String errorMessage; + private String html; + private String markdown; + private String rawHtml; + private String screenshot; + private Integer statusCode; + private String text; + + private Builder() { + } + + private Builder(ReadPageItem model) { + this.errorMessage = model.errorMessage; + this.html = model.html; + this.markdown = model.markdown; + this.rawHtml = model.rawHtml; + this.screenshot = model.screenshot; + this.statusCode = model.statusCode; + this.text = model.text; + } + + /** + * errorMessage. + */ + public Builder errorMessage(String errorMessage) { + this.errorMessage = errorMessage; + return this; + } + + /** + * html. + */ + public Builder html(String html) { + this.html = html; + return this; + } + + /** + * markdown. + */ + public Builder markdown(String markdown) { + this.markdown = markdown; + return this; + } + + /** + * rawHtml. + */ + public Builder rawHtml(String rawHtml) { + this.rawHtml = rawHtml; + return this; + } + + /** + * screenshot. + */ + public Builder screenshot(String screenshot) { + this.screenshot = screenshot; + return this; + } + + /** + * statusCode. + */ + public Builder statusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * text. + */ + public Builder text(String text) { + this.text = text; + return this; + } + + public ReadPageItem build() { + return new ReadPageItem(this); + } + + } + +} diff --git a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageScrapeBody.java b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageScrapeBody.java new file mode 100644 index 00000000000..dcb1eaaa450 --- /dev/null +++ b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageScrapeBody.java @@ -0,0 +1,314 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.iqs20241111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link ReadPageScrapeBody} extends {@link TeaModel} + * + *

ReadPageScrapeBody

+ */ +public class ReadPageScrapeBody extends TeaModel { + @com.aliyun.core.annotation.NameInMap("formats") + private java.util.List formats; + + @com.aliyun.core.annotation.NameInMap("location") + private String location; + + @com.aliyun.core.annotation.NameInMap("maxAge") + private Integer maxAge; + + @com.aliyun.core.annotation.NameInMap("pageTimeout") + private Integer pageTimeout; + + @com.aliyun.core.annotation.NameInMap("readability") + private Readability readability; + + @com.aliyun.core.annotation.NameInMap("timeout") + private Integer timeout; + + @com.aliyun.core.annotation.NameInMap("url") + @com.aliyun.core.annotation.Validation(required = true) + private String url; + + private ReadPageScrapeBody(Builder builder) { + this.formats = builder.formats; + this.location = builder.location; + this.maxAge = builder.maxAge; + this.pageTimeout = builder.pageTimeout; + this.readability = builder.readability; + this.timeout = builder.timeout; + this.url = builder.url; + } + + public static Builder builder() { + return new Builder(); + } + + public static ReadPageScrapeBody create() { + return builder().build(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return formats + */ + public java.util.List getFormats() { + return this.formats; + } + + /** + * @return location + */ + public String getLocation() { + return this.location; + } + + /** + * @return maxAge + */ + public Integer getMaxAge() { + return this.maxAge; + } + + /** + * @return pageTimeout + */ + public Integer getPageTimeout() { + return this.pageTimeout; + } + + /** + * @return readability + */ + public Readability getReadability() { + return this.readability; + } + + /** + * @return timeout + */ + public Integer getTimeout() { + return this.timeout; + } + + /** + * @return url + */ + public String getUrl() { + return this.url; + } + + public static final class Builder { + private java.util.List formats; + private String location; + private Integer maxAge; + private Integer pageTimeout; + private Readability readability; + private Integer timeout; + private String url; + + private Builder() { + } + + private Builder(ReadPageScrapeBody model) { + this.formats = model.formats; + this.location = model.location; + this.maxAge = model.maxAge; + this.pageTimeout = model.pageTimeout; + this.readability = model.readability; + this.timeout = model.timeout; + this.url = model.url; + } + + /** + * formats. + */ + public Builder formats(java.util.List formats) { + this.formats = formats; + return this; + } + + /** + * location. + */ + public Builder location(String location) { + this.location = location; + return this; + } + + /** + * maxAge. + */ + public Builder maxAge(Integer maxAge) { + this.maxAge = maxAge; + return this; + } + + /** + * pageTimeout. + */ + public Builder pageTimeout(Integer pageTimeout) { + this.pageTimeout = pageTimeout; + return this; + } + + /** + * readability. + */ + public Builder readability(Readability readability) { + this.readability = readability; + return this; + } + + /** + * timeout. + */ + public Builder timeout(Integer timeout) { + this.timeout = timeout; + return this; + } + + /** + *

This parameter is required.

+ */ + public Builder url(String url) { + this.url = url; + return this; + } + + public ReadPageScrapeBody build() { + return new ReadPageScrapeBody(this); + } + + } + + /** + * + * {@link ReadPageScrapeBody} extends {@link TeaModel} + * + *

ReadPageScrapeBody

+ */ + public static class Readability extends TeaModel { + @com.aliyun.core.annotation.NameInMap("excludeAllImages") + private Boolean excludeAllImages; + + @com.aliyun.core.annotation.NameInMap("excludeAllLinks") + private Boolean excludeAllLinks; + + @com.aliyun.core.annotation.NameInMap("excludedTags") + private java.util.List excludedTags; + + @com.aliyun.core.annotation.NameInMap("readabilityMode") + private String readabilityMode; + + private Readability(Builder builder) { + this.excludeAllImages = builder.excludeAllImages; + this.excludeAllLinks = builder.excludeAllLinks; + this.excludedTags = builder.excludedTags; + this.readabilityMode = builder.readabilityMode; + } + + public static Builder builder() { + return new Builder(); + } + + public static Readability create() { + return builder().build(); + } + + /** + * @return excludeAllImages + */ + public Boolean getExcludeAllImages() { + return this.excludeAllImages; + } + + /** + * @return excludeAllLinks + */ + public Boolean getExcludeAllLinks() { + return this.excludeAllLinks; + } + + /** + * @return excludedTags + */ + public java.util.List getExcludedTags() { + return this.excludedTags; + } + + /** + * @return readabilityMode + */ + public String getReadabilityMode() { + return this.readabilityMode; + } + + public static final class Builder { + private Boolean excludeAllImages; + private Boolean excludeAllLinks; + private java.util.List excludedTags; + private String readabilityMode; + + private Builder() { + } + + private Builder(Readability model) { + this.excludeAllImages = model.excludeAllImages; + this.excludeAllLinks = model.excludeAllLinks; + this.excludedTags = model.excludedTags; + this.readabilityMode = model.readabilityMode; + } + + /** + * excludeAllImages. + */ + public Builder excludeAllImages(Boolean excludeAllImages) { + this.excludeAllImages = excludeAllImages; + return this; + } + + /** + * excludeAllLinks. + */ + public Builder excludeAllLinks(Boolean excludeAllLinks) { + this.excludeAllLinks = excludeAllLinks; + return this; + } + + /** + * excludedTags. + */ + public Builder excludedTags(java.util.List excludedTags) { + this.excludedTags = excludedTags; + return this; + } + + /** + * readabilityMode. + */ + public Builder readabilityMode(String readabilityMode) { + this.readabilityMode = readabilityMode; + return this; + } + + public Readability build() { + return new Readability(this); + } + + } + + } +} diff --git a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageScrapeRequest.java b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageScrapeRequest.java new file mode 100644 index 00000000000..c1a81024ef8 --- /dev/null +++ b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageScrapeRequest.java @@ -0,0 +1,77 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.iqs20241111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link ReadPageScrapeRequest} extends {@link RequestModel} + * + *

ReadPageScrapeRequest

+ */ +public class ReadPageScrapeRequest extends Request { + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("body") + private ReadPageScrapeBody body; + + private ReadPageScrapeRequest(Builder builder) { + super(builder); + this.body = builder.body; + } + + public static Builder builder() { + return new Builder(); + } + + public static ReadPageScrapeRequest create() { + return builder().build(); + } + +@Override + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return body + */ + public ReadPageScrapeBody getBody() { + return this.body; + } + + public static final class Builder extends Request.Builder { + private ReadPageScrapeBody body; + + private Builder() { + super(); + } + + private Builder(ReadPageScrapeRequest request) { + super(request); + this.body = request.body; + } + + /** + *

post body

+ */ + public Builder body(ReadPageScrapeBody body) { + this.putBodyParameter("body", body); + this.body = body; + return this; + } + + @Override + public ReadPageScrapeRequest build() { + return new ReadPageScrapeRequest(this); + } + + } + +} diff --git a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageScrapeResponse.java b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageScrapeResponse.java new file mode 100644 index 00000000000..5ba9e0eed16 --- /dev/null +++ b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageScrapeResponse.java @@ -0,0 +1,131 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.iqs20241111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link ReadPageScrapeResponse} extends {@link TeaModel} + * + *

ReadPageScrapeResponse

+ */ +public class ReadPageScrapeResponse extends Response { + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; + + @com.aliyun.core.annotation.NameInMap("statusCode") + private Integer statusCode; + + @com.aliyun.core.annotation.NameInMap("body") + private ReadPageScrapeResponseBody body; + + private ReadPageScrapeResponse(BuilderImpl builder) { + super(builder); + this.headers = builder.headers; + this.statusCode = builder.statusCode; + this.body = builder.body; + } + + public static ReadPageScrapeResponse create() { + return new BuilderImpl().build(); + } + +@Override + public Builder toBuilder() { + return new BuilderImpl(this); + } + + /** + * @return headers + */ + public java.util.Map getHeaders() { + return this.headers; + } + + /** + * @return statusCode + */ + public Integer getStatusCode() { + return this.statusCode; + } + + /** + * @return body + */ + public ReadPageScrapeResponseBody getBody() { + return this.body; + } + + public interface Builder extends Response.Builder { + + Builder headers(java.util.Map headers); + + Builder statusCode(Integer statusCode); + + Builder body(ReadPageScrapeResponseBody body); + + @Override + ReadPageScrapeResponse build(); + + } + + private static final class BuilderImpl + extends Response.BuilderImpl + implements Builder { + private java.util.Map headers; + private Integer statusCode; + private ReadPageScrapeResponseBody body; + + private BuilderImpl() { + super(); + } + + private BuilderImpl(ReadPageScrapeResponse response) { + super(response); + this.headers = response.headers; + this.statusCode = response.statusCode; + this.body = response.body; + } + + /** + * headers. + */ + @Override + public Builder headers(java.util.Map headers) { + this.headers = headers; + return this; + } + + /** + * statusCode. + */ + @Override + public Builder statusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * body. + */ + @Override + public Builder body(ReadPageScrapeResponseBody body) { + this.body = body; + return this; + } + + @Override + public ReadPageScrapeResponse build() { + return new ReadPageScrapeResponse(this); + } + + } + +} diff --git a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageScrapeResponseBody.java b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageScrapeResponseBody.java new file mode 100644 index 00000000000..4aee5aebe80 --- /dev/null +++ b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ReadPageScrapeResponseBody.java @@ -0,0 +1,133 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.iqs20241111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link ReadPageScrapeResponseBody} extends {@link TeaModel} + * + *

ReadPageScrapeResponseBody

+ */ +public class ReadPageScrapeResponseBody extends TeaModel { + @com.aliyun.core.annotation.NameInMap("data") + private ReadPageItem data; + + @com.aliyun.core.annotation.NameInMap("errorCode") + private String errorCode; + + @com.aliyun.core.annotation.NameInMap("errorMessage") + private String errorMessage; + + @com.aliyun.core.annotation.NameInMap("requestId") + private String requestId; + + private ReadPageScrapeResponseBody(Builder builder) { + this.data = builder.data; + this.errorCode = builder.errorCode; + this.errorMessage = builder.errorMessage; + this.requestId = builder.requestId; + } + + public static Builder builder() { + return new Builder(); + } + + public static ReadPageScrapeResponseBody create() { + return builder().build(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return data + */ + public ReadPageItem getData() { + return this.data; + } + + /** + * @return errorCode + */ + public String getErrorCode() { + return this.errorCode; + } + + /** + * @return errorMessage + */ + public String getErrorMessage() { + return this.errorMessage; + } + + /** + * @return requestId + */ + public String getRequestId() { + return this.requestId; + } + + public static final class Builder { + private ReadPageItem data; + private String errorCode; + private String errorMessage; + private String requestId; + + private Builder() { + } + + private Builder(ReadPageScrapeResponseBody model) { + this.data = model.data; + this.errorCode = model.errorCode; + this.errorMessage = model.errorMessage; + this.requestId = model.requestId; + } + + /** + * data. + */ + public Builder data(ReadPageItem data) { + this.data = data; + return this; + } + + /** + * errorCode. + */ + public Builder errorCode(String errorCode) { + this.errorCode = errorCode; + return this; + } + + /** + * errorMessage. + */ + public Builder errorMessage(String errorMessage) { + this.errorMessage = errorMessage; + return this; + } + + /** + * requestId. + */ + public Builder requestId(String requestId) { + this.requestId = requestId; + return this; + } + + public ReadPageScrapeResponseBody build() { + return new ReadPageScrapeResponseBody(this); + } + + } + +} diff --git a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/RequestContents.java b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/RequestContents.java index 94029008544..4616027c0f4 100644 --- a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/RequestContents.java +++ b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/RequestContents.java @@ -26,6 +26,9 @@ public class RequestContents extends TeaModel { @com.aliyun.core.annotation.NameInMap("rerankScore") private Boolean rerankScore; + @com.aliyun.core.annotation.NameInMap("richMainBody") + private Boolean richMainBody; + @com.aliyun.core.annotation.NameInMap("summary") private Boolean summary; @@ -33,6 +36,7 @@ private RequestContents(Builder builder) { this.mainText = builder.mainText; this.markdownText = builder.markdownText; this.rerankScore = builder.rerankScore; + this.richMainBody = builder.richMainBody; this.summary = builder.summary; } @@ -69,6 +73,13 @@ public Boolean getRerankScore() { return this.rerankScore; } + /** + * @return richMainBody + */ + public Boolean getRichMainBody() { + return this.richMainBody; + } + /** * @return summary */ @@ -80,6 +91,7 @@ public static final class Builder { private Boolean mainText; private Boolean markdownText; private Boolean rerankScore; + private Boolean richMainBody; private Boolean summary; private Builder() { @@ -89,6 +101,7 @@ private Builder(RequestContents model) { this.mainText = model.mainText; this.markdownText = model.markdownText; this.rerankScore = model.rerankScore; + this.richMainBody = model.richMainBody; this.summary = model.summary; } @@ -116,6 +129,14 @@ public Builder rerankScore(Boolean rerankScore) { return this; } + /** + * richMainBody. + */ + public Builder richMainBody(Boolean richMainBody) { + this.richMainBody = richMainBody; + return this; + } + /** * summary. */ diff --git a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ScorePageItem.java b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ScorePageItem.java index c59f4c4e4a9..25c27a04e20 100644 --- a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ScorePageItem.java +++ b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/ScorePageItem.java @@ -25,6 +25,9 @@ public class ScorePageItem extends TeaModel { @com.aliyun.core.annotation.Validation(required = true) private String displayLink; + @com.aliyun.core.annotation.NameInMap("hostAuthorityScore") + private Double hostAuthorityScore; + @com.aliyun.core.annotation.NameInMap("hostLogo") private String hostLogo; @@ -62,6 +65,9 @@ public class ScorePageItem extends TeaModel { @com.aliyun.core.annotation.Validation(required = true) private Long publishTime; + @com.aliyun.core.annotation.NameInMap("richMainBody") + private String richMainBody; + @com.aliyun.core.annotation.NameInMap("score") private Double score; @@ -78,9 +84,13 @@ public class ScorePageItem extends TeaModel { @com.aliyun.core.annotation.Validation(required = true) private String title; + @com.aliyun.core.annotation.NameInMap("websiteAuthorityScore") + private Integer websiteAuthorityScore; + private ScorePageItem(Builder builder) { this.cardType = builder.cardType; this.displayLink = builder.displayLink; + this.hostAuthorityScore = builder.hostAuthorityScore; this.hostLogo = builder.hostLogo; this.hostname = builder.hostname; this.htmlSnippet = builder.htmlSnippet; @@ -92,11 +102,13 @@ private ScorePageItem(Builder builder) { this.mime = builder.mime; this.pageMap = builder.pageMap; this.publishTime = builder.publishTime; + this.richMainBody = builder.richMainBody; this.score = builder.score; this.siteLabel = builder.siteLabel; this.snippet = builder.snippet; this.summary = builder.summary; this.title = builder.title; + this.websiteAuthorityScore = builder.websiteAuthorityScore; } public static Builder builder() { @@ -125,6 +137,13 @@ public String getDisplayLink() { return this.displayLink; } + /** + * @return hostAuthorityScore + */ + public Double getHostAuthorityScore() { + return this.hostAuthorityScore; + } + /** * @return hostLogo */ @@ -202,6 +221,13 @@ public Long getPublishTime() { return this.publishTime; } + /** + * @return richMainBody + */ + public String getRichMainBody() { + return this.richMainBody; + } + /** * @return score */ @@ -237,9 +263,17 @@ public String getTitle() { return this.title; } + /** + * @return websiteAuthorityScore + */ + public Integer getWebsiteAuthorityScore() { + return this.websiteAuthorityScore; + } + public static final class Builder { private String cardType; private String displayLink; + private Double hostAuthorityScore; private String hostLogo; private String hostname; private String htmlSnippet; @@ -251,11 +285,13 @@ public static final class Builder { private String mime; private java.util.Map pageMap; private Long publishTime; + private String richMainBody; private Double score; private String siteLabel; private String snippet; private String summary; private String title; + private Integer websiteAuthorityScore; private Builder() { } @@ -263,6 +299,7 @@ private Builder() { private Builder(ScorePageItem model) { this.cardType = model.cardType; this.displayLink = model.displayLink; + this.hostAuthorityScore = model.hostAuthorityScore; this.hostLogo = model.hostLogo; this.hostname = model.hostname; this.htmlSnippet = model.htmlSnippet; @@ -274,11 +311,13 @@ private Builder(ScorePageItem model) { this.mime = model.mime; this.pageMap = model.pageMap; this.publishTime = model.publishTime; + this.richMainBody = model.richMainBody; this.score = model.score; this.siteLabel = model.siteLabel; this.snippet = model.snippet; this.summary = model.summary; this.title = model.title; + this.websiteAuthorityScore = model.websiteAuthorityScore; } /** @@ -303,6 +342,14 @@ public Builder displayLink(String displayLink) { return this; } + /** + * hostAuthorityScore. + */ + public Builder hostAuthorityScore(Double hostAuthorityScore) { + this.hostAuthorityScore = hostAuthorityScore; + return this; + } + /** * hostLogo. */ @@ -403,6 +450,14 @@ public Builder publishTime(Long publishTime) { return this; } + /** + * richMainBody. + */ + public Builder richMainBody(String richMainBody) { + this.richMainBody = richMainBody; + return this; + } + /** * score. */ @@ -446,6 +501,14 @@ public Builder title(String title) { return this; } + /** + * websiteAuthorityScore. + */ + public Builder websiteAuthorityScore(Integer websiteAuthorityScore) { + this.websiteAuthorityScore = websiteAuthorityScore; + return this; + } + public ScorePageItem build() { return new ScorePageItem(this); } diff --git a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/SearchCredits.java b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/SearchCredits.java index 5ac2c878c76..c854626d88a 100644 --- a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/SearchCredits.java +++ b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/SearchCredits.java @@ -20,8 +20,12 @@ public class SearchCredits extends TeaModel { @com.aliyun.core.annotation.NameInMap("genericTextSearch") private Integer genericTextSearch; + @com.aliyun.core.annotation.NameInMap("liteAdvancedTextSearch") + private Integer liteAdvancedTextSearch; + private SearchCredits(Builder builder) { this.genericTextSearch = builder.genericTextSearch; + this.liteAdvancedTextSearch = builder.liteAdvancedTextSearch; } public static Builder builder() { @@ -43,14 +47,23 @@ public Integer getGenericTextSearch() { return this.genericTextSearch; } + /** + * @return liteAdvancedTextSearch + */ + public Integer getLiteAdvancedTextSearch() { + return this.liteAdvancedTextSearch; + } + public static final class Builder { private Integer genericTextSearch; + private Integer liteAdvancedTextSearch; private Builder() { } private Builder(SearchCredits model) { this.genericTextSearch = model.genericTextSearch; + this.liteAdvancedTextSearch = model.liteAdvancedTextSearch; } /** @@ -61,6 +74,14 @@ public Builder genericTextSearch(Integer genericTextSearch) { return this; } + /** + * liteAdvancedTextSearch. + */ + public Builder liteAdvancedTextSearch(Integer liteAdvancedTextSearch) { + this.liteAdvancedTextSearch = liteAdvancedTextSearch; + return this; + } + public SearchCredits build() { return new SearchCredits(this); } diff --git a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/UnifiedPageItem.java b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/UnifiedPageItem.java index eb37c4aa7c8..72b003edba9 100644 --- a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/UnifiedPageItem.java +++ b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/UnifiedPageItem.java @@ -17,6 +17,9 @@ *

UnifiedPageItem

*/ public class UnifiedPageItem extends TeaModel { + @com.aliyun.core.annotation.NameInMap("hostAuthorityScore") + private Double hostAuthorityScore; + @com.aliyun.core.annotation.NameInMap("hostLogo") private String hostLogo; @@ -41,6 +44,9 @@ public class UnifiedPageItem extends TeaModel { @com.aliyun.core.annotation.NameInMap("rerankScore") private Double rerankScore; + @com.aliyun.core.annotation.NameInMap("richMainBody") + private String richMainBody; + @com.aliyun.core.annotation.NameInMap("snippet") private String snippet; @@ -50,7 +56,11 @@ public class UnifiedPageItem extends TeaModel { @com.aliyun.core.annotation.NameInMap("title") private String title; + @com.aliyun.core.annotation.NameInMap("websiteAuthorityScore") + private Integer websiteAuthorityScore; + private UnifiedPageItem(Builder builder) { + this.hostAuthorityScore = builder.hostAuthorityScore; this.hostLogo = builder.hostLogo; this.hostname = builder.hostname; this.images = builder.images; @@ -59,9 +69,11 @@ private UnifiedPageItem(Builder builder) { this.markdownText = builder.markdownText; this.publishedTime = builder.publishedTime; this.rerankScore = builder.rerankScore; + this.richMainBody = builder.richMainBody; this.snippet = builder.snippet; this.summary = builder.summary; this.title = builder.title; + this.websiteAuthorityScore = builder.websiteAuthorityScore; } public static Builder builder() { @@ -76,6 +88,13 @@ public Builder toBuilder() { return new Builder(this); } + /** + * @return hostAuthorityScore + */ + public Double getHostAuthorityScore() { + return this.hostAuthorityScore; + } + /** * @return hostLogo */ @@ -132,6 +151,13 @@ public Double getRerankScore() { return this.rerankScore; } + /** + * @return richMainBody + */ + public String getRichMainBody() { + return this.richMainBody; + } + /** * @return snippet */ @@ -153,7 +179,15 @@ public String getTitle() { return this.title; } + /** + * @return websiteAuthorityScore + */ + public Integer getWebsiteAuthorityScore() { + return this.websiteAuthorityScore; + } + public static final class Builder { + private Double hostAuthorityScore; private String hostLogo; private String hostname; private java.util.List images; @@ -162,14 +196,17 @@ public static final class Builder { private String markdownText; private String publishedTime; private Double rerankScore; + private String richMainBody; private String snippet; private String summary; private String title; + private Integer websiteAuthorityScore; private Builder() { } private Builder(UnifiedPageItem model) { + this.hostAuthorityScore = model.hostAuthorityScore; this.hostLogo = model.hostLogo; this.hostname = model.hostname; this.images = model.images; @@ -178,11 +215,21 @@ private Builder(UnifiedPageItem model) { this.markdownText = model.markdownText; this.publishedTime = model.publishedTime; this.rerankScore = model.rerankScore; + this.richMainBody = model.richMainBody; this.snippet = model.snippet; this.summary = model.summary; this.title = model.title; + this.websiteAuthorityScore = model.websiteAuthorityScore; } + /** + * hostAuthorityScore. + */ + public Builder hostAuthorityScore(Double hostAuthorityScore) { + this.hostAuthorityScore = hostAuthorityScore; + return this; + } + /** * hostLogo. */ @@ -247,6 +294,14 @@ public Builder rerankScore(Double rerankScore) { return this; } + /** + * richMainBody. + */ + public Builder richMainBody(String richMainBody) { + this.richMainBody = richMainBody; + return this; + } + /** * snippet. */ @@ -271,6 +326,14 @@ public Builder title(String title) { return this; } + /** + * websiteAuthorityScore. + */ + public Builder websiteAuthorityScore(Integer websiteAuthorityScore) { + this.websiteAuthorityScore = websiteAuthorityScore; + return this; + } + public UnifiedPageItem build() { return new UnifiedPageItem(this); } diff --git a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/UnifiedSearchInput.java b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/UnifiedSearchInput.java index cc91671918d..8fa33bc3a8a 100644 --- a/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/UnifiedSearchInput.java +++ b/iqs-20241111/src/main/java/com/aliyun/sdk/service/iqs20241111/models/UnifiedSearchInput.java @@ -17,6 +17,9 @@ *

UnifiedSearchInput

*/ public class UnifiedSearchInput extends TeaModel { + @com.aliyun.core.annotation.NameInMap("advancedParams") + private java.util.Map advancedParams; + @com.aliyun.core.annotation.NameInMap("category") private String category; @@ -26,6 +29,9 @@ public class UnifiedSearchInput extends TeaModel { @com.aliyun.core.annotation.NameInMap("engineType") private String engineType; + @com.aliyun.core.annotation.NameInMap("location") + private String location; + @com.aliyun.core.annotation.NameInMap("query") private String query; @@ -33,9 +39,11 @@ public class UnifiedSearchInput extends TeaModel { private String timeRange; private UnifiedSearchInput(Builder builder) { + this.advancedParams = builder.advancedParams; this.category = builder.category; this.contents = builder.contents; this.engineType = builder.engineType; + this.location = builder.location; this.query = builder.query; this.timeRange = builder.timeRange; } @@ -52,6 +60,13 @@ public Builder toBuilder() { return new Builder(this); } + /** + * @return advancedParams + */ + public java.util.Map getAdvancedParams() { + return this.advancedParams; + } + /** * @return category */ @@ -73,6 +88,13 @@ public String getEngineType() { return this.engineType; } + /** + * @return location + */ + public String getLocation() { + return this.location; + } + /** * @return query */ @@ -88,9 +110,11 @@ public String getTimeRange() { } public static final class Builder { + private java.util.Map advancedParams; private String category; private RequestContents contents; private String engineType; + private String location; private String query; private String timeRange; @@ -98,13 +122,23 @@ private Builder() { } private Builder(UnifiedSearchInput model) { + this.advancedParams = model.advancedParams; this.category = model.category; this.contents = model.contents; this.engineType = model.engineType; + this.location = model.location; this.query = model.query; this.timeRange = model.timeRange; } + /** + * advancedParams. + */ + public Builder advancedParams(java.util.Map advancedParams) { + this.advancedParams = advancedParams; + return this; + } + /** * category. */ @@ -129,6 +163,14 @@ public Builder engineType(String engineType) { return this; } + /** + * location. + */ + public Builder location(String location) { + this.location = location; + return this; + } + /** * query. */ diff --git a/maxcompute-20220104/ChangeLog.txt b/maxcompute-20220104/ChangeLog.txt index cfccf877e4c..8c7bb25c2e0 100644 --- a/maxcompute-20220104/ChangeLog.txt +++ b/maxcompute-20220104/ChangeLog.txt @@ -1,3 +1,6 @@ +2025-11-24 Version: 3.0.4 +- Generated java-async 2022-01-04 for MaxCompute. + 2025-11-06 Version: 3.0.3 - Generated java-async 2022-01-04 for MaxCompute. diff --git a/maxcompute-20220104/pom.xml b/maxcompute-20220104/pom.xml index 36f7fbc1ee7..dff3d66faf7 100644 --- a/maxcompute-20220104/pom.xml +++ b/maxcompute-20220104/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.aliyun alibabacloud-maxcompute20220104 - 3.0.3 + 3.0.4 jar alibabacloud-maxcompute20220104 Alibaba Cloud MaxCompute (20220104) Async SDK for Java diff --git a/maxcompute-20220104/src/main/java/com/aliyun/sdk/service/maxcompute20220104/AsyncClient.java b/maxcompute-20220104/src/main/java/com/aliyun/sdk/service/maxcompute20220104/AsyncClient.java index 30c6844646d..4531bc693df 100644 --- a/maxcompute-20220104/src/main/java/com/aliyun/sdk/service/maxcompute20220104/AsyncClient.java +++ b/maxcompute-20220104/src/main/java/com/aliyun/sdk/service/maxcompute20220104/AsyncClient.java @@ -557,6 +557,12 @@ static AsyncClient create() { */ CompletableFuture updateProjectIpWhiteList(UpdateProjectIpWhiteListRequest request); + /** + * @param request the request parameters of UpdateProjectModelTier UpdateProjectModelTierRequest + * @return UpdateProjectModelTierResponse + */ + CompletableFuture updateProjectModelTier(UpdateProjectModelTierRequest request); + /** * @param request the request parameters of UpdateQuotaPlan UpdateQuotaPlanRequest * @return UpdateQuotaPlanResponse diff --git a/maxcompute-20220104/src/main/java/com/aliyun/sdk/service/maxcompute20220104/DefaultAsyncClient.java b/maxcompute-20220104/src/main/java/com/aliyun/sdk/service/maxcompute20220104/DefaultAsyncClient.java index b01b09109a8..3101873df03 100644 --- a/maxcompute-20220104/src/main/java/com/aliyun/sdk/service/maxcompute20220104/DefaultAsyncClient.java +++ b/maxcompute-20220104/src/main/java/com/aliyun/sdk/service/maxcompute20220104/DefaultAsyncClient.java @@ -1676,6 +1676,24 @@ public CompletableFuture updateProjectIpWhiteL } } + /** + * @param request the request parameters of UpdateProjectModelTier UpdateProjectModelTierRequest + * @return UpdateProjectModelTierResponse + */ + @Override + public CompletableFuture updateProjectModelTier(UpdateProjectModelTierRequest request) { + try { + this.handler.validateRequestModel(request); + TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("UpdateProjectModelTier").setMethod(HttpMethod.PUT).setPathRegex("/api/v1/projects/{projectName}/modelTier").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); + ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateProjectModelTierResponse.create()); + return this.handler.execute(params); + } catch (Exception e) { + CompletableFuture future = new CompletableFuture<>(); + future.completeExceptionally(e); + return future; + } + } + /** * @param request the request parameters of UpdateQuotaPlan UpdateQuotaPlanRequest * @return UpdateQuotaPlanResponse diff --git a/maxcompute-20220104/src/main/java/com/aliyun/sdk/service/maxcompute20220104/models/UpdateProjectModelTierRequest.java b/maxcompute-20220104/src/main/java/com/aliyun/sdk/service/maxcompute20220104/models/UpdateProjectModelTierRequest.java new file mode 100644 index 00000000000..c0213087558 --- /dev/null +++ b/maxcompute-20220104/src/main/java/com/aliyun/sdk/service/maxcompute20220104/models/UpdateProjectModelTierRequest.java @@ -0,0 +1,81 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.maxcompute20220104.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link UpdateProjectModelTierRequest} extends {@link RequestModel} + * + *

UpdateProjectModelTierRequest

+ */ +public class UpdateProjectModelTierRequest extends Request { + @com.aliyun.core.annotation.Path + @com.aliyun.core.annotation.NameInMap("projectName") + @com.aliyun.core.annotation.Validation(required = true) + private String projectName; + + private UpdateProjectModelTierRequest(Builder builder) { + super(builder); + this.projectName = builder.projectName; + } + + public static Builder builder() { + return new Builder(); + } + + public static UpdateProjectModelTierRequest create() { + return builder().build(); + } + +@Override + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return projectName + */ + public String getProjectName() { + return this.projectName; + } + + public static final class Builder extends Request.Builder { + private String projectName; + + private Builder() { + super(); + } + + private Builder(UpdateProjectModelTierRequest request) { + super(request); + this.projectName = request.projectName; + } + + /** + *

This parameter is required.

+ * + * example: + *

projectA

+ */ + public Builder projectName(String projectName) { + this.putPathParameter("projectName", projectName); + this.projectName = projectName; + return this; + } + + @Override + public UpdateProjectModelTierRequest build() { + return new UpdateProjectModelTierRequest(this); + } + + } + +} diff --git a/maxcompute-20220104/src/main/java/com/aliyun/sdk/service/maxcompute20220104/models/UpdateProjectModelTierResponse.java b/maxcompute-20220104/src/main/java/com/aliyun/sdk/service/maxcompute20220104/models/UpdateProjectModelTierResponse.java new file mode 100644 index 00000000000..611b1cf3fb1 --- /dev/null +++ b/maxcompute-20220104/src/main/java/com/aliyun/sdk/service/maxcompute20220104/models/UpdateProjectModelTierResponse.java @@ -0,0 +1,131 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.maxcompute20220104.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link UpdateProjectModelTierResponse} extends {@link TeaModel} + * + *

UpdateProjectModelTierResponse

+ */ +public class UpdateProjectModelTierResponse extends Response { + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; + + @com.aliyun.core.annotation.NameInMap("statusCode") + private Integer statusCode; + + @com.aliyun.core.annotation.NameInMap("body") + private UpdateProjectModelTierResponseBody body; + + private UpdateProjectModelTierResponse(BuilderImpl builder) { + super(builder); + this.headers = builder.headers; + this.statusCode = builder.statusCode; + this.body = builder.body; + } + + public static UpdateProjectModelTierResponse create() { + return new BuilderImpl().build(); + } + +@Override + public Builder toBuilder() { + return new BuilderImpl(this); + } + + /** + * @return headers + */ + public java.util.Map getHeaders() { + return this.headers; + } + + /** + * @return statusCode + */ + public Integer getStatusCode() { + return this.statusCode; + } + + /** + * @return body + */ + public UpdateProjectModelTierResponseBody getBody() { + return this.body; + } + + public interface Builder extends Response.Builder { + + Builder headers(java.util.Map headers); + + Builder statusCode(Integer statusCode); + + Builder body(UpdateProjectModelTierResponseBody body); + + @Override + UpdateProjectModelTierResponse build(); + + } + + private static final class BuilderImpl + extends Response.BuilderImpl + implements Builder { + private java.util.Map headers; + private Integer statusCode; + private UpdateProjectModelTierResponseBody body; + + private BuilderImpl() { + super(); + } + + private BuilderImpl(UpdateProjectModelTierResponse response) { + super(response); + this.headers = response.headers; + this.statusCode = response.statusCode; + this.body = response.body; + } + + /** + * headers. + */ + @Override + public Builder headers(java.util.Map headers) { + this.headers = headers; + return this; + } + + /** + * statusCode. + */ + @Override + public Builder statusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * body. + */ + @Override + public Builder body(UpdateProjectModelTierResponseBody body) { + this.body = body; + return this; + } + + @Override + public UpdateProjectModelTierResponse build() { + return new UpdateProjectModelTierResponse(this); + } + + } + +} diff --git a/maxcompute-20220104/src/main/java/com/aliyun/sdk/service/maxcompute20220104/models/UpdateProjectModelTierResponseBody.java b/maxcompute-20220104/src/main/java/com/aliyun/sdk/service/maxcompute20220104/models/UpdateProjectModelTierResponseBody.java new file mode 100644 index 00000000000..7a171ae0c7d --- /dev/null +++ b/maxcompute-20220104/src/main/java/com/aliyun/sdk/service/maxcompute20220104/models/UpdateProjectModelTierResponseBody.java @@ -0,0 +1,154 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.maxcompute20220104.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link UpdateProjectModelTierResponseBody} extends {@link TeaModel} + * + *

UpdateProjectModelTierResponseBody

+ */ +public class UpdateProjectModelTierResponseBody extends TeaModel { + @com.aliyun.core.annotation.NameInMap("data") + private String data; + + @com.aliyun.core.annotation.NameInMap("errorCode") + private String errorCode; + + @com.aliyun.core.annotation.NameInMap("errorMsg") + private String errorMsg; + + @com.aliyun.core.annotation.NameInMap("httpCode") + private Integer httpCode; + + @com.aliyun.core.annotation.NameInMap("requestId") + private String requestId; + + private UpdateProjectModelTierResponseBody(Builder builder) { + this.data = builder.data; + this.errorCode = builder.errorCode; + this.errorMsg = builder.errorMsg; + this.httpCode = builder.httpCode; + this.requestId = builder.requestId; + } + + public static Builder builder() { + return new Builder(); + } + + public static UpdateProjectModelTierResponseBody create() { + return builder().build(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return data + */ + public String getData() { + return this.data; + } + + /** + * @return errorCode + */ + public String getErrorCode() { + return this.errorCode; + } + + /** + * @return errorMsg + */ + public String getErrorMsg() { + return this.errorMsg; + } + + /** + * @return httpCode + */ + public Integer getHttpCode() { + return this.httpCode; + } + + /** + * @return requestId + */ + public String getRequestId() { + return this.requestId; + } + + public static final class Builder { + private String data; + private String errorCode; + private String errorMsg; + private Integer httpCode; + private String requestId; + + private Builder() { + } + + private Builder(UpdateProjectModelTierResponseBody model) { + this.data = model.data; + this.errorCode = model.errorCode; + this.errorMsg = model.errorMsg; + this.httpCode = model.httpCode; + this.requestId = model.requestId; + } + + /** + * data. + */ + public Builder data(String data) { + this.data = data; + return this; + } + + /** + * errorCode. + */ + public Builder errorCode(String errorCode) { + this.errorCode = errorCode; + return this; + } + + /** + * errorMsg. + */ + public Builder errorMsg(String errorMsg) { + this.errorMsg = errorMsg; + return this; + } + + /** + * httpCode. + */ + public Builder httpCode(Integer httpCode) { + this.httpCode = httpCode; + return this; + } + + /** + * requestId. + */ + public Builder requestId(String requestId) { + this.requestId = requestId; + return this; + } + + public UpdateProjectModelTierResponseBody build() { + return new UpdateProjectModelTierResponseBody(this); + } + + } + +} diff --git a/servicemesh-20200111/ChangeLog.txt b/servicemesh-20200111/ChangeLog.txt index 5e6c5f79f6f..d37e1b6087f 100644 --- a/servicemesh-20200111/ChangeLog.txt +++ b/servicemesh-20200111/ChangeLog.txt @@ -1,3 +1,6 @@ +2025-11-24 Version: 1.0.7 +- Generated java-async 2020-01-11 for servicemesh. + 2023-11-13 Version: 1.0.6 - Generated java-async 2020-01-11 for servicemesh. diff --git a/servicemesh-20200111/pom.xml b/servicemesh-20200111/pom.xml index 9543bfb38e6..34e550f5e1c 100644 --- a/servicemesh-20200111/pom.xml +++ b/servicemesh-20200111/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.aliyun alibabacloud-servicemesh20200111 - 1.0.6 + 1.0.7 jar alibabacloud-servicemesh20200111 Alibaba Cloud servicemesh (20200111) Async SDK for Java @@ -25,23 +25,23 @@ sonatype-nexus-snapshots - https://s01.oss.sonatype.org/content/repositories/snapshots + https://central.sonatype.com/repository/maven-snapshots/ sonatype-nexus-staging - https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ + https://central.sonatype.com - - - + scm:git:git://github.com/aliyun/alibabacloud-java-async-sdk.git + scm:git:git@github.com:aliyun/alibabacloud-java-async-sdk.git + https://github.com/aliyun/alibabacloud-java-async-sdk 1.8 8 8 - 0.2.4-beta + 0.2.15-beta @@ -76,7 +76,7 @@ org.apache.maven.plugins maven-gpg-plugin - 1.6 + 3.1.0 sign-artifacts @@ -87,17 +87,6 @@ - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.3 - true - - sonatype-nexus-staging - https://s01.oss.sonatype.org/ - true - - org.apache.maven.plugins maven-javadoc-plugin @@ -112,6 +101,16 @@ maven-surefire-plugin 2.22.1 + + org.sonatype.central + central-publishing-maven-plugin + 0.9.0 + true + + central + true + + \ No newline at end of file diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/AsyncClient.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/AsyncClient.java index 9ec57a67ae1..4f69e1edd5b 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/AsyncClient.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/AsyncClient.java @@ -3,6 +3,7 @@ import com.aliyun.core.utils.SdkAutoCloseable; import com.aliyun.sdk.service.servicemesh20200111.models.*; +import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; @@ -18,212 +19,577 @@ static AsyncClient create() { return builder().build(); } + /** + * @param request the request parameters of AddClusterIntoServiceMesh AddClusterIntoServiceMeshRequest + * @return AddClusterIntoServiceMeshResponse + */ CompletableFuture addClusterIntoServiceMesh(AddClusterIntoServiceMeshRequest request); /** - * @deprecated - * + * @deprecated OpenAPI AddVMIntoServiceMesh is deprecated * @param request the request parameters of AddVMIntoServiceMesh AddVMIntoServiceMeshRequest + * @return AddVMIntoServiceMeshResponse */ + @Deprecated CompletableFuture addVMIntoServiceMesh(AddVMIntoServiceMeshRequest request); + /** + * @param request the request parameters of CreateASMGateway CreateASMGatewayRequest + * @return CreateASMGatewayResponse + */ CompletableFuture createASMGateway(CreateASMGatewayRequest request); + /** + * @param request the request parameters of CreateGatewaySecret CreateGatewaySecretRequest + * @return CreateGatewaySecretResponse + */ CompletableFuture createGatewaySecret(CreateGatewaySecretRequest request); + /** + * @param request the request parameters of CreateIstioGatewayDomains CreateIstioGatewayDomainsRequest + * @return CreateIstioGatewayDomainsResponse + */ CompletableFuture createIstioGatewayDomains(CreateIstioGatewayDomainsRequest request); + /** + * @param request the request parameters of CreateIstioGatewayRoutes CreateIstioGatewayRoutesRequest + * @return CreateIstioGatewayRoutesResponse + */ CompletableFuture createIstioGatewayRoutes(CreateIstioGatewayRoutesRequest request); + /** + * @param request the request parameters of CreateServiceMesh CreateServiceMeshRequest + * @return CreateServiceMeshResponse + */ CompletableFuture createServiceMesh(CreateServiceMeshRequest request); + /** + * @param request the request parameters of CreateSwimLane CreateSwimLaneRequest + * @return CreateSwimLaneResponse + */ CompletableFuture createSwimLane(CreateSwimLaneRequest request); + /** + * @param request the request parameters of CreateSwimLaneGroup CreateSwimLaneGroupRequest + * @return CreateSwimLaneGroupResponse + */ CompletableFuture createSwimLaneGroup(CreateSwimLaneGroupRequest request); + /** + * @param request the request parameters of CreateWaypoint CreateWaypointRequest + * @return CreateWaypointResponse + */ CompletableFuture createWaypoint(CreateWaypointRequest request); + /** + * @param request the request parameters of DeleteGatewayRoute DeleteGatewayRouteRequest + * @return DeleteGatewayRouteResponse + */ CompletableFuture deleteGatewayRoute(DeleteGatewayRouteRequest request); + /** + * @param request the request parameters of DeleteGatewaySecret DeleteGatewaySecretRequest + * @return DeleteGatewaySecretResponse + */ CompletableFuture deleteGatewaySecret(DeleteGatewaySecretRequest request); + /** + * @param request the request parameters of DeleteIstioGatewayDomains DeleteIstioGatewayDomainsRequest + * @return DeleteIstioGatewayDomainsResponse + */ CompletableFuture deleteIstioGatewayDomains(DeleteIstioGatewayDomainsRequest request); + /** + * @param request the request parameters of DeleteServiceMesh DeleteServiceMeshRequest + * @return DeleteServiceMeshResponse + */ CompletableFuture deleteServiceMesh(DeleteServiceMeshRequest request); + /** + * @param request the request parameters of DeleteSwimLane DeleteSwimLaneRequest + * @return DeleteSwimLaneResponse + */ CompletableFuture deleteSwimLane(DeleteSwimLaneRequest request); + /** + * @param request the request parameters of DeleteSwimLaneGroup DeleteSwimLaneGroupRequest + * @return DeleteSwimLaneGroupResponse + */ CompletableFuture deleteSwimLaneGroup(DeleteSwimLaneGroupRequest request); + /** + * @param request the request parameters of DeleteWaypoint DeleteWaypointRequest + * @return DeleteWaypointResponse + */ CompletableFuture deleteWaypoint(DeleteWaypointRequest request); + /** + * @param request the request parameters of DescribeASMGatewayImportedServices DescribeASMGatewayImportedServicesRequest + * @return DescribeASMGatewayImportedServicesResponse + */ CompletableFuture describeASMGatewayImportedServices(DescribeASMGatewayImportedServicesRequest request); + /** + * @param request the request parameters of DescribeCCMVersion DescribeCCMVersionRequest + * @return DescribeCCMVersionResponse + */ CompletableFuture describeCCMVersion(DescribeCCMVersionRequest request); + /** + * @param request the request parameters of DescribeCens DescribeCensRequest + * @return DescribeCensResponse + */ CompletableFuture describeCens(DescribeCensRequest request); + /** + * @param request the request parameters of DescribeClusterGrafana DescribeClusterGrafanaRequest + * @return DescribeClusterGrafanaResponse + */ CompletableFuture describeClusterGrafana(DescribeClusterGrafanaRequest request); + /** + * @param request the request parameters of DescribeClusterPrometheus DescribeClusterPrometheusRequest + * @return DescribeClusterPrometheusResponse + */ CompletableFuture describeClusterPrometheus(DescribeClusterPrometheusRequest request); + /** + * @param request the request parameters of DescribeClustersInServiceMesh DescribeClustersInServiceMeshRequest + * @return DescribeClustersInServiceMeshResponse + */ CompletableFuture describeClustersInServiceMesh(DescribeClustersInServiceMeshRequest request); + /** + * @param request the request parameters of DescribeCrTemplates DescribeCrTemplatesRequest + * @return DescribeCrTemplatesResponse + */ CompletableFuture describeCrTemplates(DescribeCrTemplatesRequest request); + /** + * @param request the request parameters of DescribeEipResources DescribeEipResourcesRequest + * @return DescribeEipResourcesResponse + */ CompletableFuture describeEipResources(DescribeEipResourcesRequest request); + /** + * @param request the request parameters of DescribeGatewaySecretDetails DescribeGatewaySecretDetailsRequest + * @return DescribeGatewaySecretDetailsResponse + */ CompletableFuture describeGatewaySecretDetails(DescribeGatewaySecretDetailsRequest request); + /** + * @param request the request parameters of DescribeGuestClusterAccessLogDashboards DescribeGuestClusterAccessLogDashboardsRequest + * @return DescribeGuestClusterAccessLogDashboardsResponse + */ CompletableFuture describeGuestClusterAccessLogDashboards(DescribeGuestClusterAccessLogDashboardsRequest request); + /** + * @param request the request parameters of DescribeGuestClusterNamespaces DescribeGuestClusterNamespacesRequest + * @return DescribeGuestClusterNamespacesResponse + */ CompletableFuture describeGuestClusterNamespaces(DescribeGuestClusterNamespacesRequest request); + /** + * @param request the request parameters of DescribeGuestClusterPods DescribeGuestClusterPodsRequest + * @return DescribeGuestClusterPodsResponse + */ CompletableFuture describeGuestClusterPods(DescribeGuestClusterPodsRequest request); + /** + * @param request the request parameters of DescribeImportedServicesDetail DescribeImportedServicesDetailRequest + * @return DescribeImportedServicesDetailResponse + */ CompletableFuture describeImportedServicesDetail(DescribeImportedServicesDetailRequest request); + /** + * @param request the request parameters of DescribeIstioGatewayDomains DescribeIstioGatewayDomainsRequest + * @return DescribeIstioGatewayDomainsResponse + */ CompletableFuture describeIstioGatewayDomains(DescribeIstioGatewayDomainsRequest request); + /** + * @param request the request parameters of DescribeIstioGatewayRouteDetail DescribeIstioGatewayRouteDetailRequest + * @return DescribeIstioGatewayRouteDetailResponse + */ CompletableFuture describeIstioGatewayRouteDetail(DescribeIstioGatewayRouteDetailRequest request); + /** + * @param request the request parameters of DescribeIstioGatewayRoutes DescribeIstioGatewayRoutesRequest + * @return DescribeIstioGatewayRoutesResponse + */ CompletableFuture describeIstioGatewayRoutes(DescribeIstioGatewayRoutesRequest request); + /** + * @param request the request parameters of DescribeMeshMultiClusterNetwork DescribeMeshMultiClusterNetworkRequest + * @return DescribeMeshMultiClusterNetworkResponse + */ + CompletableFuture describeMeshMultiClusterNetwork(DescribeMeshMultiClusterNetworkRequest request); + + /** + * @param request the request parameters of DescribeMetadata DescribeMetadataRequest + * @return DescribeMetadataResponse + */ CompletableFuture describeMetadata(DescribeMetadataRequest request); + /** + * @param request the request parameters of DescribeNamespaceScopeSidecarConfig DescribeNamespaceScopeSidecarConfigRequest + * @return DescribeNamespaceScopeSidecarConfigResponse + */ CompletableFuture describeNamespaceScopeSidecarConfig(DescribeNamespaceScopeSidecarConfigRequest request); + /** + * @param request the request parameters of DescribeNodesInstanceType DescribeNodesInstanceTypeRequest + * @return DescribeNodesInstanceTypeResponse + */ CompletableFuture describeNodesInstanceType(DescribeNodesInstanceTypeRequest request); + /** + * @param request the request parameters of DescribeReusableSlb DescribeReusableSlbRequest + * @return DescribeReusableSlbResponse + */ CompletableFuture describeReusableSlb(DescribeReusableSlbRequest request); + /** + * @param request the request parameters of DescribeServiceMeshAdditionalStatus DescribeServiceMeshAdditionalStatusRequest + * @return DescribeServiceMeshAdditionalStatusResponse + */ CompletableFuture describeServiceMeshAdditionalStatus(DescribeServiceMeshAdditionalStatusRequest request); + /** + * @param request the request parameters of DescribeServiceMeshClusters DescribeServiceMeshClustersRequest + * @return DescribeServiceMeshClustersResponse + */ CompletableFuture describeServiceMeshClusters(DescribeServiceMeshClustersRequest request); + /** + * @param request the request parameters of DescribeServiceMeshDetail DescribeServiceMeshDetailRequest + * @return DescribeServiceMeshDetailResponse + */ CompletableFuture describeServiceMeshDetail(DescribeServiceMeshDetailRequest request); + /** + * @param request the request parameters of DescribeServiceMeshKubeconfig DescribeServiceMeshKubeconfigRequest + * @return DescribeServiceMeshKubeconfigResponse + */ CompletableFuture describeServiceMeshKubeconfig(DescribeServiceMeshKubeconfigRequest request); + /** + * @param request the request parameters of DescribeServiceMeshLogs DescribeServiceMeshLogsRequest + * @return DescribeServiceMeshLogsResponse + */ CompletableFuture describeServiceMeshLogs(DescribeServiceMeshLogsRequest request); + /** + * @param request the request parameters of DescribeServiceMeshProxyStatus DescribeServiceMeshProxyStatusRequest + * @return DescribeServiceMeshProxyStatusResponse + */ CompletableFuture describeServiceMeshProxyStatus(DescribeServiceMeshProxyStatusRequest request); + /** + * @param request the request parameters of DescribeServiceMeshUpgradeStatus DescribeServiceMeshUpgradeStatusRequest + * @return DescribeServiceMeshUpgradeStatusResponse + */ CompletableFuture describeServiceMeshUpgradeStatus(DescribeServiceMeshUpgradeStatusRequest request); /** - * @deprecated - * + * @deprecated OpenAPI DescribeServiceMeshVMs is deprecated * @param request the request parameters of DescribeServiceMeshVMs DescribeServiceMeshVMsRequest + * @return DescribeServiceMeshVMsResponse */ + @Deprecated CompletableFuture describeServiceMeshVMs(DescribeServiceMeshVMsRequest request); + /** + * @param request the request parameters of DescribeServiceMeshes DescribeServiceMeshesRequest + * @return DescribeServiceMeshesResponse + */ CompletableFuture describeServiceMeshes(DescribeServiceMeshesRequest request); + /** + * @param request the request parameters of DescribeUpgradeVersion DescribeUpgradeVersionRequest + * @return DescribeUpgradeVersionResponse + */ CompletableFuture describeUpgradeVersion(DescribeUpgradeVersionRequest request); + /** + * @param request the request parameters of DescribeUserPermissions DescribeUserPermissionsRequest + * @return DescribeUserPermissionsResponse + */ CompletableFuture describeUserPermissions(DescribeUserPermissionsRequest request); + /** + * @param request the request parameters of DescribeUsersWithPermissions DescribeUsersWithPermissionsRequest + * @return DescribeUsersWithPermissionsResponse + */ CompletableFuture describeUsersWithPermissions(DescribeUsersWithPermissionsRequest request); /** - * @deprecated - * + * @deprecated OpenAPI DescribeVMsInServiceMesh is deprecated * @param request the request parameters of DescribeVMsInServiceMesh DescribeVMsInServiceMeshRequest + * @return DescribeVMsInServiceMeshResponse */ + @Deprecated CompletableFuture describeVMsInServiceMesh(DescribeVMsInServiceMeshRequest request); + /** + * @param request the request parameters of DescribeVSwitches DescribeVSwitchesRequest + * @return DescribeVSwitchesResponse + */ CompletableFuture describeVSwitches(DescribeVSwitchesRequest request); + /** + * @param request the request parameters of DescribeVersions DescribeVersionsRequest + * @return DescribeVersionsResponse + */ CompletableFuture describeVersions(DescribeVersionsRequest request); + /** + * @param request the request parameters of DescribeVpcs DescribeVpcsRequest + * @return DescribeVpcsResponse + */ CompletableFuture describeVpcs(DescribeVpcsRequest request); + /** + * @param request the request parameters of GetCaCert GetCaCertRequest + * @return GetCaCertResponse + */ CompletableFuture getCaCert(GetCaCertRequest request); + /** + * @param request the request parameters of GetDeploymentBySelector GetDeploymentBySelectorRequest + * @return GetDeploymentBySelectorResponse + */ CompletableFuture getDeploymentBySelector(GetDeploymentBySelectorRequest request); + /** + * @param request the request parameters of GetGrafanaDashboardUrl GetGrafanaDashboardUrlRequest + * @return GetGrafanaDashboardUrlResponse + */ CompletableFuture getGrafanaDashboardUrl(GetGrafanaDashboardUrlRequest request); + /** + * @param request the request parameters of GetRegisteredServiceEndpoints GetRegisteredServiceEndpointsRequest + * @return GetRegisteredServiceEndpointsResponse + */ CompletableFuture getRegisteredServiceEndpoints(GetRegisteredServiceEndpointsRequest request); + /** + * @param request the request parameters of GetRegisteredServiceNamespaces GetRegisteredServiceNamespacesRequest + * @return GetRegisteredServiceNamespacesResponse + */ CompletableFuture getRegisteredServiceNamespaces(GetRegisteredServiceNamespacesRequest request); + /** + * @param request the request parameters of GetSwimLaneDetail GetSwimLaneDetailRequest + * @return GetSwimLaneDetailResponse + */ CompletableFuture getSwimLaneDetail(GetSwimLaneDetailRequest request); + /** + * @param request the request parameters of GetSwimLaneGroupList GetSwimLaneGroupListRequest + * @return GetSwimLaneGroupListResponse + */ CompletableFuture getSwimLaneGroupList(GetSwimLaneGroupListRequest request); + /** + * @param request the request parameters of GetSwimLaneList GetSwimLaneListRequest + * @return GetSwimLaneListResponse + */ CompletableFuture getSwimLaneList(GetSwimLaneListRequest request); /** - * @deprecated - * + * @deprecated OpenAPI GetVmAppMeshInfo is deprecated * @param request the request parameters of GetVmAppMeshInfo GetVmAppMeshInfoRequest + * @return GetVmAppMeshInfoResponse */ + @Deprecated CompletableFuture getVmAppMeshInfo(GetVmAppMeshInfoRequest request); /** - * @deprecated - * + * @deprecated OpenAPI GetVmMeta is deprecated * @param request the request parameters of GetVmMeta GetVmMetaRequest + * @return GetVmMetaResponse */ + @Deprecated CompletableFuture getVmMeta(GetVmMetaRequest request); + /** + * @param request the request parameters of GrantUserPermissions GrantUserPermissionsRequest + * @return GrantUserPermissionsResponse + */ CompletableFuture grantUserPermissions(GrantUserPermissionsRequest request); + /** + * @param request the request parameters of ListServiceAccounts ListServiceAccountsRequest + * @return ListServiceAccountsResponse + */ CompletableFuture listServiceAccounts(ListServiceAccountsRequest request); + /** + * @param request the request parameters of ListTagResources ListTagResourcesRequest + * @return ListTagResourcesResponse + */ CompletableFuture listTagResources(ListTagResourcesRequest request); + /** + * @param request the request parameters of ListWaypoints ListWaypointsRequest + * @return ListWaypointsResponse + */ CompletableFuture listWaypoints(ListWaypointsRequest request); + /** + * @param request the request parameters of ModifyApiServerEipResource ModifyApiServerEipResourceRequest + * @return ModifyApiServerEipResourceResponse + */ CompletableFuture modifyApiServerEipResource(ModifyApiServerEipResourceRequest request); + /** + * @param request the request parameters of ModifyPilotEipResource ModifyPilotEipResourceRequest + * @return ModifyPilotEipResourceResponse + */ + CompletableFuture modifyPilotEipResource(ModifyPilotEipResourceRequest request); + + /** + * @param request the request parameters of ModifyServiceMeshName ModifyServiceMeshNameRequest + * @return ModifyServiceMeshNameResponse + */ CompletableFuture modifyServiceMeshName(ModifyServiceMeshNameRequest request); /** - * Before you call this operation, make sure that you understand the billing methods of Simple Log Service. For more information, visit the [pricing page](https://www.aliyun.com/price/product?spm=5176.10695662.1119587.4.194c6a67rcPWQH#/sls/detail). - * + * description : + *

Before you call this operation, make sure that you understand the billing methods of Simple Log Service. For more information, visit the pricing page.

+ * + * @param request the request parameters of ReActivateAudit ReActivateAuditRequest + * @return ReActivateAuditResponse */ CompletableFuture reActivateAudit(ReActivateAuditRequest request); + /** + * @param request the request parameters of RemoveClusterFromServiceMesh RemoveClusterFromServiceMeshRequest + * @return RemoveClusterFromServiceMeshResponse + */ CompletableFuture removeClusterFromServiceMesh(RemoveClusterFromServiceMeshRequest request); /** - * @deprecated - * + * @deprecated OpenAPI RemoveVMFromServiceMesh is deprecated * @param request the request parameters of RemoveVMFromServiceMesh RemoveVMFromServiceMeshRequest + * @return RemoveVMFromServiceMeshResponse */ + @Deprecated CompletableFuture removeVMFromServiceMesh(RemoveVMFromServiceMeshRequest request); + /** + * @param request the request parameters of RevokeKubeconfig RevokeKubeconfigRequest + * @return RevokeKubeconfigResponse + */ CompletableFuture revokeKubeconfig(RevokeKubeconfigRequest request); + /** + * @param request the request parameters of TagResources TagResourcesRequest + * @return TagResourcesResponse + */ CompletableFuture tagResources(TagResourcesRequest request); + /** + * @param request the request parameters of UntagResources UntagResourcesRequest + * @return UntagResourcesResponse + */ CompletableFuture untagResources(UntagResourcesRequest request); + /** + * @param request the request parameters of UpdateASMGateway UpdateASMGatewayRequest + * @return UpdateASMGatewayResponse + */ CompletableFuture updateASMGateway(UpdateASMGatewayRequest request); + /** + * @param request the request parameters of UpdateASMGatewayImportedServices UpdateASMGatewayImportedServicesRequest + * @return UpdateASMGatewayImportedServicesResponse + */ CompletableFuture updateASMGatewayImportedServices(UpdateASMGatewayImportedServicesRequest request); + /** + * @param request the request parameters of UpdateASMNamespaceFromGuestCluster UpdateASMNamespaceFromGuestClusterRequest + * @return UpdateASMNamespaceFromGuestClusterResponse + */ CompletableFuture updateASMNamespaceFromGuestCluster(UpdateASMNamespaceFromGuestClusterRequest request); + /** + * @param request the request parameters of UpdateControlPlaneLogConfig UpdateControlPlaneLogConfigRequest + * @return UpdateControlPlaneLogConfigResponse + */ CompletableFuture updateControlPlaneLogConfig(UpdateControlPlaneLogConfigRequest request); + /** + * @param request the request parameters of UpdateGuestClusterConfig UpdateGuestClusterConfigRequest + * @return UpdateGuestClusterConfigResponse + */ + CompletableFuture updateGuestClusterConfig(UpdateGuestClusterConfigRequest request); + + /** + * @param request the request parameters of UpdateIstioGatewayRoutes UpdateIstioGatewayRoutesRequest + * @return UpdateIstioGatewayRoutesResponse + */ CompletableFuture updateIstioGatewayRoutes(UpdateIstioGatewayRoutesRequest request); + /** + * @param request the request parameters of UpdateIstioInjectionConfig UpdateIstioInjectionConfigRequest + * @return UpdateIstioInjectionConfigResponse + */ CompletableFuture updateIstioInjectionConfig(UpdateIstioInjectionConfigRequest request); + /** + * @param request the request parameters of UpdateIstioRouteAdditionalStatus UpdateIstioRouteAdditionalStatusRequest + * @return UpdateIstioRouteAdditionalStatusResponse + */ CompletableFuture updateIstioRouteAdditionalStatus(UpdateIstioRouteAdditionalStatusRequest request); + /** + * @param request the request parameters of UpdateMeshCRAggregation UpdateMeshCRAggregationRequest + * @return UpdateMeshCRAggregationResponse + */ CompletableFuture updateMeshCRAggregation(UpdateMeshCRAggregationRequest request); + /** + * @param request the request parameters of UpdateMeshFeature UpdateMeshFeatureRequest + * @return UpdateMeshFeatureResponse + */ CompletableFuture updateMeshFeature(UpdateMeshFeatureRequest request); + /** + * @param request the request parameters of UpdateMeshMultiClusterNetwork UpdateMeshMultiClusterNetworkRequest + * @return UpdateMeshMultiClusterNetworkResponse + */ + CompletableFuture updateMeshMultiClusterNetwork(UpdateMeshMultiClusterNetworkRequest request); + + /** + * @param request the request parameters of UpdateNamespaceScopeSidecarConfig UpdateNamespaceScopeSidecarConfigRequest + * @return UpdateNamespaceScopeSidecarConfigResponse + */ CompletableFuture updateNamespaceScopeSidecarConfig(UpdateNamespaceScopeSidecarConfigRequest request); + /** + * @param request the request parameters of UpdateSwimLane UpdateSwimLaneRequest + * @return UpdateSwimLaneResponse + */ CompletableFuture updateSwimLane(UpdateSwimLaneRequest request); + /** + * @param request the request parameters of UpdateSwimLaneGroup UpdateSwimLaneGroupRequest + * @return UpdateSwimLaneGroupResponse + */ CompletableFuture updateSwimLaneGroup(UpdateSwimLaneGroupRequest request); + /** + * @param request the request parameters of UpdateWaypoint UpdateWaypointRequest + * @return UpdateWaypointResponse + */ CompletableFuture updateWaypoint(UpdateWaypointRequest request); + /** + * @param request the request parameters of UpgradeMeshEditionPartially UpgradeMeshEditionPartiallyRequest + * @return UpgradeMeshEditionPartiallyResponse + */ CompletableFuture upgradeMeshEditionPartially(UpgradeMeshEditionPartiallyRequest request); + /** + * @param request the request parameters of UpgradeMeshVersion UpgradeMeshVersionRequest + * @return UpgradeMeshVersionResponse + */ CompletableFuture upgradeMeshVersion(UpgradeMeshVersionRequest request); } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/DefaultAsyncClient.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/DefaultAsyncClient.java index b24418b8f00..a37778b6bdd 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/DefaultAsyncClient.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/DefaultAsyncClient.java @@ -39,6 +39,10 @@ public void close() { this.handler.close(); } + /** + * @param request the request parameters of AddClusterIntoServiceMesh AddClusterIntoServiceMeshRequest + * @return AddClusterIntoServiceMeshResponse + */ @Override public CompletableFuture addClusterIntoServiceMesh(AddClusterIntoServiceMeshRequest request) { try { @@ -54,9 +58,10 @@ public CompletableFuture addClusterIntoServic } /** - * @deprecated - * + * @deprecated OpenAPI AddVMIntoServiceMesh is deprecated * @param request the request parameters of AddVMIntoServiceMesh AddVMIntoServiceMeshRequest + * @return AddVMIntoServiceMeshResponse */ + @Deprecated @Override public CompletableFuture addVMIntoServiceMesh(AddVMIntoServiceMeshRequest request) { try { @@ -71,6 +76,10 @@ public CompletableFuture addVMIntoServiceMesh(AddV } } + /** + * @param request the request parameters of CreateASMGateway CreateASMGatewayRequest + * @return CreateASMGatewayResponse + */ @Override public CompletableFuture createASMGateway(CreateASMGatewayRequest request) { try { @@ -85,6 +94,10 @@ public CompletableFuture createASMGateway(CreateASMGat } } + /** + * @param request the request parameters of CreateGatewaySecret CreateGatewaySecretRequest + * @return CreateGatewaySecretResponse + */ @Override public CompletableFuture createGatewaySecret(CreateGatewaySecretRequest request) { try { @@ -99,6 +112,10 @@ public CompletableFuture createGatewaySecret(Create } } + /** + * @param request the request parameters of CreateIstioGatewayDomains CreateIstioGatewayDomainsRequest + * @return CreateIstioGatewayDomainsResponse + */ @Override public CompletableFuture createIstioGatewayDomains(CreateIstioGatewayDomainsRequest request) { try { @@ -113,6 +130,10 @@ public CompletableFuture createIstioGatewayDo } } + /** + * @param request the request parameters of CreateIstioGatewayRoutes CreateIstioGatewayRoutesRequest + * @return CreateIstioGatewayRoutesResponse + */ @Override public CompletableFuture createIstioGatewayRoutes(CreateIstioGatewayRoutesRequest request) { try { @@ -127,6 +148,10 @@ public CompletableFuture createIstioGatewayRou } } + /** + * @param request the request parameters of CreateServiceMesh CreateServiceMeshRequest + * @return CreateServiceMeshResponse + */ @Override public CompletableFuture createServiceMesh(CreateServiceMeshRequest request) { try { @@ -141,6 +166,10 @@ public CompletableFuture createServiceMesh(CreateServ } } + /** + * @param request the request parameters of CreateSwimLane CreateSwimLaneRequest + * @return CreateSwimLaneResponse + */ @Override public CompletableFuture createSwimLane(CreateSwimLaneRequest request) { try { @@ -155,6 +184,10 @@ public CompletableFuture createSwimLane(CreateSwimLaneRe } } + /** + * @param request the request parameters of CreateSwimLaneGroup CreateSwimLaneGroupRequest + * @return CreateSwimLaneGroupResponse + */ @Override public CompletableFuture createSwimLaneGroup(CreateSwimLaneGroupRequest request) { try { @@ -169,6 +202,10 @@ public CompletableFuture createSwimLaneGroup(Create } } + /** + * @param request the request parameters of CreateWaypoint CreateWaypointRequest + * @return CreateWaypointResponse + */ @Override public CompletableFuture createWaypoint(CreateWaypointRequest request) { try { @@ -183,6 +220,10 @@ public CompletableFuture createWaypoint(CreateWaypointRe } } + /** + * @param request the request parameters of DeleteGatewayRoute DeleteGatewayRouteRequest + * @return DeleteGatewayRouteResponse + */ @Override public CompletableFuture deleteGatewayRoute(DeleteGatewayRouteRequest request) { try { @@ -197,6 +238,10 @@ public CompletableFuture deleteGatewayRoute(DeleteGa } } + /** + * @param request the request parameters of DeleteGatewaySecret DeleteGatewaySecretRequest + * @return DeleteGatewaySecretResponse + */ @Override public CompletableFuture deleteGatewaySecret(DeleteGatewaySecretRequest request) { try { @@ -211,6 +256,10 @@ public CompletableFuture deleteGatewaySecret(Delete } } + /** + * @param request the request parameters of DeleteIstioGatewayDomains DeleteIstioGatewayDomainsRequest + * @return DeleteIstioGatewayDomainsResponse + */ @Override public CompletableFuture deleteIstioGatewayDomains(DeleteIstioGatewayDomainsRequest request) { try { @@ -225,6 +274,10 @@ public CompletableFuture deleteIstioGatewayDo } } + /** + * @param request the request parameters of DeleteServiceMesh DeleteServiceMeshRequest + * @return DeleteServiceMeshResponse + */ @Override public CompletableFuture deleteServiceMesh(DeleteServiceMeshRequest request) { try { @@ -239,6 +292,10 @@ public CompletableFuture deleteServiceMesh(DeleteServ } } + /** + * @param request the request parameters of DeleteSwimLane DeleteSwimLaneRequest + * @return DeleteSwimLaneResponse + */ @Override public CompletableFuture deleteSwimLane(DeleteSwimLaneRequest request) { try { @@ -253,6 +310,10 @@ public CompletableFuture deleteSwimLane(DeleteSwimLaneRe } } + /** + * @param request the request parameters of DeleteSwimLaneGroup DeleteSwimLaneGroupRequest + * @return DeleteSwimLaneGroupResponse + */ @Override public CompletableFuture deleteSwimLaneGroup(DeleteSwimLaneGroupRequest request) { try { @@ -267,6 +328,10 @@ public CompletableFuture deleteSwimLaneGroup(Delete } } + /** + * @param request the request parameters of DeleteWaypoint DeleteWaypointRequest + * @return DeleteWaypointResponse + */ @Override public CompletableFuture deleteWaypoint(DeleteWaypointRequest request) { try { @@ -281,6 +346,10 @@ public CompletableFuture deleteWaypoint(DeleteWaypointRe } } + /** + * @param request the request parameters of DescribeASMGatewayImportedServices DescribeASMGatewayImportedServicesRequest + * @return DescribeASMGatewayImportedServicesResponse + */ @Override public CompletableFuture describeASMGatewayImportedServices(DescribeASMGatewayImportedServicesRequest request) { try { @@ -295,6 +364,10 @@ public CompletableFuture describeASM } } + /** + * @param request the request parameters of DescribeCCMVersion DescribeCCMVersionRequest + * @return DescribeCCMVersionResponse + */ @Override public CompletableFuture describeCCMVersion(DescribeCCMVersionRequest request) { try { @@ -309,6 +382,10 @@ public CompletableFuture describeCCMVersion(Describe } } + /** + * @param request the request parameters of DescribeCens DescribeCensRequest + * @return DescribeCensResponse + */ @Override public CompletableFuture describeCens(DescribeCensRequest request) { try { @@ -323,6 +400,10 @@ public CompletableFuture describeCens(DescribeCensRequest } } + /** + * @param request the request parameters of DescribeClusterGrafana DescribeClusterGrafanaRequest + * @return DescribeClusterGrafanaResponse + */ @Override public CompletableFuture describeClusterGrafana(DescribeClusterGrafanaRequest request) { try { @@ -337,6 +418,10 @@ public CompletableFuture describeClusterGrafana( } } + /** + * @param request the request parameters of DescribeClusterPrometheus DescribeClusterPrometheusRequest + * @return DescribeClusterPrometheusResponse + */ @Override public CompletableFuture describeClusterPrometheus(DescribeClusterPrometheusRequest request) { try { @@ -351,6 +436,10 @@ public CompletableFuture describeClusterProme } } + /** + * @param request the request parameters of DescribeClustersInServiceMesh DescribeClustersInServiceMeshRequest + * @return DescribeClustersInServiceMeshResponse + */ @Override public CompletableFuture describeClustersInServiceMesh(DescribeClustersInServiceMeshRequest request) { try { @@ -365,6 +454,10 @@ public CompletableFuture describeClusters } } + /** + * @param request the request parameters of DescribeCrTemplates DescribeCrTemplatesRequest + * @return DescribeCrTemplatesResponse + */ @Override public CompletableFuture describeCrTemplates(DescribeCrTemplatesRequest request) { try { @@ -379,6 +472,10 @@ public CompletableFuture describeCrTemplates(Descri } } + /** + * @param request the request parameters of DescribeEipResources DescribeEipResourcesRequest + * @return DescribeEipResourcesResponse + */ @Override public CompletableFuture describeEipResources(DescribeEipResourcesRequest request) { try { @@ -393,6 +490,10 @@ public CompletableFuture describeEipResources(Desc } } + /** + * @param request the request parameters of DescribeGatewaySecretDetails DescribeGatewaySecretDetailsRequest + * @return DescribeGatewaySecretDetailsResponse + */ @Override public CompletableFuture describeGatewaySecretDetails(DescribeGatewaySecretDetailsRequest request) { try { @@ -407,6 +508,10 @@ public CompletableFuture describeGatewaySe } } + /** + * @param request the request parameters of DescribeGuestClusterAccessLogDashboards DescribeGuestClusterAccessLogDashboardsRequest + * @return DescribeGuestClusterAccessLogDashboardsResponse + */ @Override public CompletableFuture describeGuestClusterAccessLogDashboards(DescribeGuestClusterAccessLogDashboardsRequest request) { try { @@ -421,6 +526,10 @@ public CompletableFuture descri } } + /** + * @param request the request parameters of DescribeGuestClusterNamespaces DescribeGuestClusterNamespacesRequest + * @return DescribeGuestClusterNamespacesResponse + */ @Override public CompletableFuture describeGuestClusterNamespaces(DescribeGuestClusterNamespacesRequest request) { try { @@ -435,6 +544,10 @@ public CompletableFuture describeGuestCl } } + /** + * @param request the request parameters of DescribeGuestClusterPods DescribeGuestClusterPodsRequest + * @return DescribeGuestClusterPodsResponse + */ @Override public CompletableFuture describeGuestClusterPods(DescribeGuestClusterPodsRequest request) { try { @@ -449,6 +562,10 @@ public CompletableFuture describeGuestClusterP } } + /** + * @param request the request parameters of DescribeImportedServicesDetail DescribeImportedServicesDetailRequest + * @return DescribeImportedServicesDetailResponse + */ @Override public CompletableFuture describeImportedServicesDetail(DescribeImportedServicesDetailRequest request) { try { @@ -463,6 +580,10 @@ public CompletableFuture describeImporte } } + /** + * @param request the request parameters of DescribeIstioGatewayDomains DescribeIstioGatewayDomainsRequest + * @return DescribeIstioGatewayDomainsResponse + */ @Override public CompletableFuture describeIstioGatewayDomains(DescribeIstioGatewayDomainsRequest request) { try { @@ -477,6 +598,10 @@ public CompletableFuture describeIstioGatew } } + /** + * @param request the request parameters of DescribeIstioGatewayRouteDetail DescribeIstioGatewayRouteDetailRequest + * @return DescribeIstioGatewayRouteDetailResponse + */ @Override public CompletableFuture describeIstioGatewayRouteDetail(DescribeIstioGatewayRouteDetailRequest request) { try { @@ -491,6 +616,10 @@ public CompletableFuture describeIstioG } } + /** + * @param request the request parameters of DescribeIstioGatewayRoutes DescribeIstioGatewayRoutesRequest + * @return DescribeIstioGatewayRoutesResponse + */ @Override public CompletableFuture describeIstioGatewayRoutes(DescribeIstioGatewayRoutesRequest request) { try { @@ -505,6 +634,28 @@ public CompletableFuture describeIstioGatewa } } + /** + * @param request the request parameters of DescribeMeshMultiClusterNetwork DescribeMeshMultiClusterNetworkRequest + * @return DescribeMeshMultiClusterNetworkResponse + */ + @Override + public CompletableFuture describeMeshMultiClusterNetwork(DescribeMeshMultiClusterNetworkRequest request) { + try { + this.handler.validateRequestModel(request); + TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeMeshMultiClusterNetwork").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); + ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeMeshMultiClusterNetworkResponse.create()); + return this.handler.execute(params); + } catch (Exception e) { + CompletableFuture future = new CompletableFuture<>(); + future.completeExceptionally(e); + return future; + } + } + + /** + * @param request the request parameters of DescribeMetadata DescribeMetadataRequest + * @return DescribeMetadataResponse + */ @Override public CompletableFuture describeMetadata(DescribeMetadataRequest request) { try { @@ -519,6 +670,10 @@ public CompletableFuture describeMetadata(DescribeMeta } } + /** + * @param request the request parameters of DescribeNamespaceScopeSidecarConfig DescribeNamespaceScopeSidecarConfigRequest + * @return DescribeNamespaceScopeSidecarConfigResponse + */ @Override public CompletableFuture describeNamespaceScopeSidecarConfig(DescribeNamespaceScopeSidecarConfigRequest request) { try { @@ -533,6 +688,10 @@ public CompletableFuture describeNa } } + /** + * @param request the request parameters of DescribeNodesInstanceType DescribeNodesInstanceTypeRequest + * @return DescribeNodesInstanceTypeResponse + */ @Override public CompletableFuture describeNodesInstanceType(DescribeNodesInstanceTypeRequest request) { try { @@ -547,6 +706,10 @@ public CompletableFuture describeNodesInstanc } } + /** + * @param request the request parameters of DescribeReusableSlb DescribeReusableSlbRequest + * @return DescribeReusableSlbResponse + */ @Override public CompletableFuture describeReusableSlb(DescribeReusableSlbRequest request) { try { @@ -561,6 +724,10 @@ public CompletableFuture describeReusableSlb(Descri } } + /** + * @param request the request parameters of DescribeServiceMeshAdditionalStatus DescribeServiceMeshAdditionalStatusRequest + * @return DescribeServiceMeshAdditionalStatusResponse + */ @Override public CompletableFuture describeServiceMeshAdditionalStatus(DescribeServiceMeshAdditionalStatusRequest request) { try { @@ -575,6 +742,10 @@ public CompletableFuture describeSe } } + /** + * @param request the request parameters of DescribeServiceMeshClusters DescribeServiceMeshClustersRequest + * @return DescribeServiceMeshClustersResponse + */ @Override public CompletableFuture describeServiceMeshClusters(DescribeServiceMeshClustersRequest request) { try { @@ -589,6 +760,10 @@ public CompletableFuture describeServiceMes } } + /** + * @param request the request parameters of DescribeServiceMeshDetail DescribeServiceMeshDetailRequest + * @return DescribeServiceMeshDetailResponse + */ @Override public CompletableFuture describeServiceMeshDetail(DescribeServiceMeshDetailRequest request) { try { @@ -603,6 +778,10 @@ public CompletableFuture describeServiceMeshD } } + /** + * @param request the request parameters of DescribeServiceMeshKubeconfig DescribeServiceMeshKubeconfigRequest + * @return DescribeServiceMeshKubeconfigResponse + */ @Override public CompletableFuture describeServiceMeshKubeconfig(DescribeServiceMeshKubeconfigRequest request) { try { @@ -617,6 +796,10 @@ public CompletableFuture describeServiceM } } + /** + * @param request the request parameters of DescribeServiceMeshLogs DescribeServiceMeshLogsRequest + * @return DescribeServiceMeshLogsResponse + */ @Override public CompletableFuture describeServiceMeshLogs(DescribeServiceMeshLogsRequest request) { try { @@ -631,6 +814,10 @@ public CompletableFuture describeServiceMeshLog } } + /** + * @param request the request parameters of DescribeServiceMeshProxyStatus DescribeServiceMeshProxyStatusRequest + * @return DescribeServiceMeshProxyStatusResponse + */ @Override public CompletableFuture describeServiceMeshProxyStatus(DescribeServiceMeshProxyStatusRequest request) { try { @@ -645,6 +832,10 @@ public CompletableFuture describeService } } + /** + * @param request the request parameters of DescribeServiceMeshUpgradeStatus DescribeServiceMeshUpgradeStatusRequest + * @return DescribeServiceMeshUpgradeStatusResponse + */ @Override public CompletableFuture describeServiceMeshUpgradeStatus(DescribeServiceMeshUpgradeStatusRequest request) { try { @@ -660,9 +851,10 @@ public CompletableFuture describeServi } /** - * @deprecated - * + * @deprecated OpenAPI DescribeServiceMeshVMs is deprecated * @param request the request parameters of DescribeServiceMeshVMs DescribeServiceMeshVMsRequest + * @return DescribeServiceMeshVMsResponse */ + @Deprecated @Override public CompletableFuture describeServiceMeshVMs(DescribeServiceMeshVMsRequest request) { try { @@ -677,6 +869,10 @@ public CompletableFuture describeServiceMeshVMs( } } + /** + * @param request the request parameters of DescribeServiceMeshes DescribeServiceMeshesRequest + * @return DescribeServiceMeshesResponse + */ @Override public CompletableFuture describeServiceMeshes(DescribeServiceMeshesRequest request) { try { @@ -691,6 +887,10 @@ public CompletableFuture describeServiceMeshes(De } } + /** + * @param request the request parameters of DescribeUpgradeVersion DescribeUpgradeVersionRequest + * @return DescribeUpgradeVersionResponse + */ @Override public CompletableFuture describeUpgradeVersion(DescribeUpgradeVersionRequest request) { try { @@ -705,6 +905,10 @@ public CompletableFuture describeUpgradeVersion( } } + /** + * @param request the request parameters of DescribeUserPermissions DescribeUserPermissionsRequest + * @return DescribeUserPermissionsResponse + */ @Override public CompletableFuture describeUserPermissions(DescribeUserPermissionsRequest request) { try { @@ -719,6 +923,10 @@ public CompletableFuture describeUserPermission } } + /** + * @param request the request parameters of DescribeUsersWithPermissions DescribeUsersWithPermissionsRequest + * @return DescribeUsersWithPermissionsResponse + */ @Override public CompletableFuture describeUsersWithPermissions(DescribeUsersWithPermissionsRequest request) { try { @@ -734,9 +942,10 @@ public CompletableFuture describeUsersWith } /** - * @deprecated - * + * @deprecated OpenAPI DescribeVMsInServiceMesh is deprecated * @param request the request parameters of DescribeVMsInServiceMesh DescribeVMsInServiceMeshRequest + * @return DescribeVMsInServiceMeshResponse */ + @Deprecated @Override public CompletableFuture describeVMsInServiceMesh(DescribeVMsInServiceMeshRequest request) { try { @@ -751,6 +960,10 @@ public CompletableFuture describeVMsInServiceM } } + /** + * @param request the request parameters of DescribeVSwitches DescribeVSwitchesRequest + * @return DescribeVSwitchesResponse + */ @Override public CompletableFuture describeVSwitches(DescribeVSwitchesRequest request) { try { @@ -765,6 +978,10 @@ public CompletableFuture describeVSwitches(DescribeVS } } + /** + * @param request the request parameters of DescribeVersions DescribeVersionsRequest + * @return DescribeVersionsResponse + */ @Override public CompletableFuture describeVersions(DescribeVersionsRequest request) { try { @@ -779,6 +996,10 @@ public CompletableFuture describeVersions(DescribeVers } } + /** + * @param request the request parameters of DescribeVpcs DescribeVpcsRequest + * @return DescribeVpcsResponse + */ @Override public CompletableFuture describeVpcs(DescribeVpcsRequest request) { try { @@ -793,6 +1014,10 @@ public CompletableFuture describeVpcs(DescribeVpcsRequest } } + /** + * @param request the request parameters of GetCaCert GetCaCertRequest + * @return GetCaCertResponse + */ @Override public CompletableFuture getCaCert(GetCaCertRequest request) { try { @@ -807,6 +1032,10 @@ public CompletableFuture getCaCert(GetCaCertRequest request) } } + /** + * @param request the request parameters of GetDeploymentBySelector GetDeploymentBySelectorRequest + * @return GetDeploymentBySelectorResponse + */ @Override public CompletableFuture getDeploymentBySelector(GetDeploymentBySelectorRequest request) { try { @@ -821,6 +1050,10 @@ public CompletableFuture getDeploymentBySelecto } } + /** + * @param request the request parameters of GetGrafanaDashboardUrl GetGrafanaDashboardUrlRequest + * @return GetGrafanaDashboardUrlResponse + */ @Override public CompletableFuture getGrafanaDashboardUrl(GetGrafanaDashboardUrlRequest request) { try { @@ -835,6 +1068,10 @@ public CompletableFuture getGrafanaDashboardUrl( } } + /** + * @param request the request parameters of GetRegisteredServiceEndpoints GetRegisteredServiceEndpointsRequest + * @return GetRegisteredServiceEndpointsResponse + */ @Override public CompletableFuture getRegisteredServiceEndpoints(GetRegisteredServiceEndpointsRequest request) { try { @@ -849,6 +1086,10 @@ public CompletableFuture getRegisteredSer } } + /** + * @param request the request parameters of GetRegisteredServiceNamespaces GetRegisteredServiceNamespacesRequest + * @return GetRegisteredServiceNamespacesResponse + */ @Override public CompletableFuture getRegisteredServiceNamespaces(GetRegisteredServiceNamespacesRequest request) { try { @@ -863,6 +1104,10 @@ public CompletableFuture getRegisteredSe } } + /** + * @param request the request parameters of GetSwimLaneDetail GetSwimLaneDetailRequest + * @return GetSwimLaneDetailResponse + */ @Override public CompletableFuture getSwimLaneDetail(GetSwimLaneDetailRequest request) { try { @@ -877,6 +1122,10 @@ public CompletableFuture getSwimLaneDetail(GetSwimLan } } + /** + * @param request the request parameters of GetSwimLaneGroupList GetSwimLaneGroupListRequest + * @return GetSwimLaneGroupListResponse + */ @Override public CompletableFuture getSwimLaneGroupList(GetSwimLaneGroupListRequest request) { try { @@ -891,6 +1140,10 @@ public CompletableFuture getSwimLaneGroupList(GetS } } + /** + * @param request the request parameters of GetSwimLaneList GetSwimLaneListRequest + * @return GetSwimLaneListResponse + */ @Override public CompletableFuture getSwimLaneList(GetSwimLaneListRequest request) { try { @@ -906,9 +1159,10 @@ public CompletableFuture getSwimLaneList(GetSwimLaneLis } /** - * @deprecated - * + * @deprecated OpenAPI GetVmAppMeshInfo is deprecated * @param request the request parameters of GetVmAppMeshInfo GetVmAppMeshInfoRequest + * @return GetVmAppMeshInfoResponse */ + @Deprecated @Override public CompletableFuture getVmAppMeshInfo(GetVmAppMeshInfoRequest request) { try { @@ -924,9 +1178,10 @@ public CompletableFuture getVmAppMeshInfo(GetVmAppMesh } /** - * @deprecated - * + * @deprecated OpenAPI GetVmMeta is deprecated * @param request the request parameters of GetVmMeta GetVmMetaRequest + * @return GetVmMetaResponse */ + @Deprecated @Override public CompletableFuture getVmMeta(GetVmMetaRequest request) { try { @@ -941,6 +1196,10 @@ public CompletableFuture getVmMeta(GetVmMetaRequest request) } } + /** + * @param request the request parameters of GrantUserPermissions GrantUserPermissionsRequest + * @return GrantUserPermissionsResponse + */ @Override public CompletableFuture grantUserPermissions(GrantUserPermissionsRequest request) { try { @@ -955,6 +1214,10 @@ public CompletableFuture grantUserPermissions(Gran } } + /** + * @param request the request parameters of ListServiceAccounts ListServiceAccountsRequest + * @return ListServiceAccountsResponse + */ @Override public CompletableFuture listServiceAccounts(ListServiceAccountsRequest request) { try { @@ -969,6 +1232,10 @@ public CompletableFuture listServiceAccounts(ListSe } } + /** + * @param request the request parameters of ListTagResources ListTagResourcesRequest + * @return ListTagResourcesResponse + */ @Override public CompletableFuture listTagResources(ListTagResourcesRequest request) { try { @@ -983,6 +1250,10 @@ public CompletableFuture listTagResources(ListTagResou } } + /** + * @param request the request parameters of ListWaypoints ListWaypointsRequest + * @return ListWaypointsResponse + */ @Override public CompletableFuture listWaypoints(ListWaypointsRequest request) { try { @@ -997,6 +1268,10 @@ public CompletableFuture listWaypoints(ListWaypointsReque } } + /** + * @param request the request parameters of ModifyApiServerEipResource ModifyApiServerEipResourceRequest + * @return ModifyApiServerEipResourceResponse + */ @Override public CompletableFuture modifyApiServerEipResource(ModifyApiServerEipResourceRequest request) { try { @@ -1011,6 +1286,28 @@ public CompletableFuture modifyApiServerEipR } } + /** + * @param request the request parameters of ModifyPilotEipResource ModifyPilotEipResourceRequest + * @return ModifyPilotEipResourceResponse + */ + @Override + public CompletableFuture modifyPilotEipResource(ModifyPilotEipResourceRequest request) { + try { + this.handler.validateRequestModel(request); + TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyPilotEipResource").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); + ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyPilotEipResourceResponse.create()); + return this.handler.execute(params); + } catch (Exception e) { + CompletableFuture future = new CompletableFuture<>(); + future.completeExceptionally(e); + return future; + } + } + + /** + * @param request the request parameters of ModifyServiceMeshName ModifyServiceMeshNameRequest + * @return ModifyServiceMeshNameResponse + */ @Override public CompletableFuture modifyServiceMeshName(ModifyServiceMeshNameRequest request) { try { @@ -1026,8 +1323,11 @@ public CompletableFuture modifyServiceMeshName(Mo } /** - * Before you call this operation, make sure that you understand the billing methods of Simple Log Service. For more information, visit the [pricing page](https://www.aliyun.com/price/product?spm=5176.10695662.1119587.4.194c6a67rcPWQH#/sls/detail). - * + * description : + *

Before you call this operation, make sure that you understand the billing methods of Simple Log Service. For more information, visit the pricing page.

+ * + * @param request the request parameters of ReActivateAudit ReActivateAuditRequest + * @return ReActivateAuditResponse */ @Override public CompletableFuture reActivateAudit(ReActivateAuditRequest request) { @@ -1043,6 +1343,10 @@ public CompletableFuture reActivateAudit(ReActivateAudi } } + /** + * @param request the request parameters of RemoveClusterFromServiceMesh RemoveClusterFromServiceMeshRequest + * @return RemoveClusterFromServiceMeshResponse + */ @Override public CompletableFuture removeClusterFromServiceMesh(RemoveClusterFromServiceMeshRequest request) { try { @@ -1058,9 +1362,10 @@ public CompletableFuture removeClusterFrom } /** - * @deprecated - * + * @deprecated OpenAPI RemoveVMFromServiceMesh is deprecated * @param request the request parameters of RemoveVMFromServiceMesh RemoveVMFromServiceMeshRequest + * @return RemoveVMFromServiceMeshResponse */ + @Deprecated @Override public CompletableFuture removeVMFromServiceMesh(RemoveVMFromServiceMeshRequest request) { try { @@ -1075,6 +1380,10 @@ public CompletableFuture removeVMFromServiceMes } } + /** + * @param request the request parameters of RevokeKubeconfig RevokeKubeconfigRequest + * @return RevokeKubeconfigResponse + */ @Override public CompletableFuture revokeKubeconfig(RevokeKubeconfigRequest request) { try { @@ -1089,6 +1398,10 @@ public CompletableFuture revokeKubeconfig(RevokeKubeco } } + /** + * @param request the request parameters of TagResources TagResourcesRequest + * @return TagResourcesResponse + */ @Override public CompletableFuture tagResources(TagResourcesRequest request) { try { @@ -1103,6 +1416,10 @@ public CompletableFuture tagResources(TagResourcesRequest } } + /** + * @param request the request parameters of UntagResources UntagResourcesRequest + * @return UntagResourcesResponse + */ @Override public CompletableFuture untagResources(UntagResourcesRequest request) { try { @@ -1117,6 +1434,10 @@ public CompletableFuture untagResources(UntagResourcesRe } } + /** + * @param request the request parameters of UpdateASMGateway UpdateASMGatewayRequest + * @return UpdateASMGatewayResponse + */ @Override public CompletableFuture updateASMGateway(UpdateASMGatewayRequest request) { try { @@ -1131,6 +1452,10 @@ public CompletableFuture updateASMGateway(UpdateASMGat } } + /** + * @param request the request parameters of UpdateASMGatewayImportedServices UpdateASMGatewayImportedServicesRequest + * @return UpdateASMGatewayImportedServicesResponse + */ @Override public CompletableFuture updateASMGatewayImportedServices(UpdateASMGatewayImportedServicesRequest request) { try { @@ -1145,6 +1470,10 @@ public CompletableFuture updateASMGate } } + /** + * @param request the request parameters of UpdateASMNamespaceFromGuestCluster UpdateASMNamespaceFromGuestClusterRequest + * @return UpdateASMNamespaceFromGuestClusterResponse + */ @Override public CompletableFuture updateASMNamespaceFromGuestCluster(UpdateASMNamespaceFromGuestClusterRequest request) { try { @@ -1159,6 +1488,10 @@ public CompletableFuture updateASMNa } } + /** + * @param request the request parameters of UpdateControlPlaneLogConfig UpdateControlPlaneLogConfigRequest + * @return UpdateControlPlaneLogConfigResponse + */ @Override public CompletableFuture updateControlPlaneLogConfig(UpdateControlPlaneLogConfigRequest request) { try { @@ -1173,6 +1506,28 @@ public CompletableFuture updateControlPlane } } + /** + * @param request the request parameters of UpdateGuestClusterConfig UpdateGuestClusterConfigRequest + * @return UpdateGuestClusterConfigResponse + */ + @Override + public CompletableFuture updateGuestClusterConfig(UpdateGuestClusterConfigRequest request) { + try { + this.handler.validateRequestModel(request); + TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateGuestClusterConfig").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); + ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateGuestClusterConfigResponse.create()); + return this.handler.execute(params); + } catch (Exception e) { + CompletableFuture future = new CompletableFuture<>(); + future.completeExceptionally(e); + return future; + } + } + + /** + * @param request the request parameters of UpdateIstioGatewayRoutes UpdateIstioGatewayRoutesRequest + * @return UpdateIstioGatewayRoutesResponse + */ @Override public CompletableFuture updateIstioGatewayRoutes(UpdateIstioGatewayRoutesRequest request) { try { @@ -1187,6 +1542,10 @@ public CompletableFuture updateIstioGatewayRou } } + /** + * @param request the request parameters of UpdateIstioInjectionConfig UpdateIstioInjectionConfigRequest + * @return UpdateIstioInjectionConfigResponse + */ @Override public CompletableFuture updateIstioInjectionConfig(UpdateIstioInjectionConfigRequest request) { try { @@ -1201,6 +1560,10 @@ public CompletableFuture updateIstioInjectio } } + /** + * @param request the request parameters of UpdateIstioRouteAdditionalStatus UpdateIstioRouteAdditionalStatusRequest + * @return UpdateIstioRouteAdditionalStatusResponse + */ @Override public CompletableFuture updateIstioRouteAdditionalStatus(UpdateIstioRouteAdditionalStatusRequest request) { try { @@ -1215,6 +1578,10 @@ public CompletableFuture updateIstioRo } } + /** + * @param request the request parameters of UpdateMeshCRAggregation UpdateMeshCRAggregationRequest + * @return UpdateMeshCRAggregationResponse + */ @Override public CompletableFuture updateMeshCRAggregation(UpdateMeshCRAggregationRequest request) { try { @@ -1229,6 +1596,10 @@ public CompletableFuture updateMeshCRAggregatio } } + /** + * @param request the request parameters of UpdateMeshFeature UpdateMeshFeatureRequest + * @return UpdateMeshFeatureResponse + */ @Override public CompletableFuture updateMeshFeature(UpdateMeshFeatureRequest request) { try { @@ -1243,6 +1614,28 @@ public CompletableFuture updateMeshFeature(UpdateMesh } } + /** + * @param request the request parameters of UpdateMeshMultiClusterNetwork UpdateMeshMultiClusterNetworkRequest + * @return UpdateMeshMultiClusterNetworkResponse + */ + @Override + public CompletableFuture updateMeshMultiClusterNetwork(UpdateMeshMultiClusterNetworkRequest request) { + try { + this.handler.validateRequestModel(request); + TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateMeshMultiClusterNetwork").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); + ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateMeshMultiClusterNetworkResponse.create()); + return this.handler.execute(params); + } catch (Exception e) { + CompletableFuture future = new CompletableFuture<>(); + future.completeExceptionally(e); + return future; + } + } + + /** + * @param request the request parameters of UpdateNamespaceScopeSidecarConfig UpdateNamespaceScopeSidecarConfigRequest + * @return UpdateNamespaceScopeSidecarConfigResponse + */ @Override public CompletableFuture updateNamespaceScopeSidecarConfig(UpdateNamespaceScopeSidecarConfigRequest request) { try { @@ -1257,6 +1650,10 @@ public CompletableFuture updateNamesp } } + /** + * @param request the request parameters of UpdateSwimLane UpdateSwimLaneRequest + * @return UpdateSwimLaneResponse + */ @Override public CompletableFuture updateSwimLane(UpdateSwimLaneRequest request) { try { @@ -1271,6 +1668,10 @@ public CompletableFuture updateSwimLane(UpdateSwimLaneRe } } + /** + * @param request the request parameters of UpdateSwimLaneGroup UpdateSwimLaneGroupRequest + * @return UpdateSwimLaneGroupResponse + */ @Override public CompletableFuture updateSwimLaneGroup(UpdateSwimLaneGroupRequest request) { try { @@ -1285,6 +1686,10 @@ public CompletableFuture updateSwimLaneGroup(Update } } + /** + * @param request the request parameters of UpdateWaypoint UpdateWaypointRequest + * @return UpdateWaypointResponse + */ @Override public CompletableFuture updateWaypoint(UpdateWaypointRequest request) { try { @@ -1299,6 +1704,10 @@ public CompletableFuture updateWaypoint(UpdateWaypointRe } } + /** + * @param request the request parameters of UpgradeMeshEditionPartially UpgradeMeshEditionPartiallyRequest + * @return UpgradeMeshEditionPartiallyResponse + */ @Override public CompletableFuture upgradeMeshEditionPartially(UpgradeMeshEditionPartiallyRequest request) { try { @@ -1313,6 +1722,10 @@ public CompletableFuture upgradeMeshEdition } } + /** + * @param request the request parameters of UpgradeMeshVersion UpgradeMeshVersionRequest + * @return UpgradeMeshVersionResponse + */ @Override public CompletableFuture upgradeMeshVersion(UpgradeMeshVersionRequest request) { try { diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddClusterIntoServiceMeshRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddClusterIntoServiceMeshRequest.java index 43253cdfd6c..977ec165f3e 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddClusterIntoServiceMeshRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddClusterIntoServiceMeshRequest.java @@ -1,35 +1,50 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link AddClusterIntoServiceMeshRequest} extends {@link RequestModel} * *

AddClusterIntoServiceMeshRequest

*/ public class AddClusterIntoServiceMeshRequest extends Request { - @Body - @NameInMap("ClusterId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ClusterId") + @com.aliyun.core.annotation.Validation(required = true) private String clusterId; - @Body - @NameInMap("IgnoreNamespaceCheck") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("DiscoveryOnly") + private Boolean discoveryOnly; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IgnoreNamespaceCheck") private Boolean ignoreNamespaceCheck; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Kubeconfig") + private String kubeconfig; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private AddClusterIntoServiceMeshRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; + this.discoveryOnly = builder.discoveryOnly; this.ignoreNamespaceCheck = builder.ignoreNamespaceCheck; + this.kubeconfig = builder.kubeconfig; this.serviceMeshId = builder.serviceMeshId; } @@ -41,7 +56,7 @@ public static AddClusterIntoServiceMeshRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -53,6 +68,13 @@ public String getClusterId() { return this.clusterId; } + /** + * @return discoveryOnly + */ + public Boolean getDiscoveryOnly() { + return this.discoveryOnly; + } + /** * @return ignoreNamespaceCheck */ @@ -60,6 +82,13 @@ public Boolean getIgnoreNamespaceCheck() { return this.ignoreNamespaceCheck; } + /** + * @return kubeconfig + */ + public String getKubeconfig() { + return this.kubeconfig; + } + /** * @return serviceMeshId */ @@ -69,7 +98,9 @@ public String getServiceMeshId() { public static final class Builder extends Request.Builder { private String clusterId; + private Boolean discoveryOnly; private Boolean ignoreNamespaceCheck; + private String kubeconfig; private String serviceMeshId; private Builder() { @@ -79,12 +110,18 @@ private Builder() { private Builder(AddClusterIntoServiceMeshRequest request) { super(request); this.clusterId = request.clusterId; + this.discoveryOnly = request.discoveryOnly; this.ignoreNamespaceCheck = request.ignoreNamespaceCheck; + this.kubeconfig = request.kubeconfig; this.serviceMeshId = request.serviceMeshId; } /** - * ClusterId. + *

The ID of the cluster to be added.

+ *

This parameter is required.

+ * + * example: + *

ce3c25e247da24f3aab9b7edfae83****

*/ public Builder clusterId(String clusterId) { this.putBodyParameter("ClusterId", clusterId); @@ -93,7 +130,22 @@ public Builder clusterId(String clusterId) { } /** - * IgnoreNamespaceCheck. + *

Indicates whether to add the cluster to an ASM instance in only service discovery mode.

+ * + * example: + *

false

+ */ + public Builder discoveryOnly(Boolean discoveryOnly) { + this.putBodyParameter("DiscoveryOnly", discoveryOnly); + this.discoveryOnly = discoveryOnly; + return this; + } + + /** + *

Specifies whether to check that the cluster you want to add to the ASM instance belongs to the istio-system namespace. This parameter is often used in scenarios where you migrate traffic from self-managed open source Istio to ASM. Valid values: true and false.

+ * + * example: + *

false

*/ public Builder ignoreNamespaceCheck(Boolean ignoreNamespaceCheck) { this.putBodyParameter("IgnoreNamespaceCheck", ignoreNamespaceCheck); @@ -102,7 +154,23 @@ public Builder ignoreNamespaceCheck(Boolean ignoreNamespaceCheck) { } /** - * ServiceMeshId. + *

The cluster certificate.

+ * + * example: + *

apiVersion: v1 clusters: - cluster: server: https://47.110.xx.xx:6443 certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURUakNDQWphZ0F3SUJBZ0lVYzBQVy82ejR1aHlxYkRRdnNsV1htSmpJeFdNd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1BqRW5NQThHQTFVRUNoTUlhR0Z1WjNwb2IzVXdGQVlEVlFRS0V3MWhiR2xpWVdKaElHTnNiM1ZrTVJNdwpFUVlEVlFRREV3cHJkV0psY201bGRHVnpNQ0FYRFRJeU1EUXdOekExTVRnd01Gb1lEekl3TlRJd016TXdNRFV4Ck9EQXdXakErTVNjd0R3WURWUVFLRXdob1lXNW5lbWh2ZFRBVUJnTlZCQW9URFdGc2FXSmhZbUVnWTJ4dmRXUXgKRXpBUkJnTlZCQU1UQ210MVltVnlibVYwWlhNd2dnRWlNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUJE****

+ */ + public Builder kubeconfig(String kubeconfig) { + this.putBodyParameter("Kubeconfig", kubeconfig); + this.kubeconfig = kubeconfig; + return this; + } + + /** + *

The ID of the Service Mesh (ASM) instance.

+ *

This parameter is required.

+ * + * example: + *

cb8963379255149cb98c8686f274x****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddClusterIntoServiceMeshResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddClusterIntoServiceMeshResponse.java index 49b73d2e812..ede3e72e934 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddClusterIntoServiceMeshResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddClusterIntoServiceMeshResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link AddClusterIntoServiceMeshResponse} extends {@link TeaModel} * *

AddClusterIntoServiceMeshResponse

*/ public class AddClusterIntoServiceMeshResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private AddClusterIntoServiceMeshResponseBody body; private AddClusterIntoServiceMeshResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static AddClusterIntoServiceMeshResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public AddClusterIntoServiceMeshResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private AddClusterIntoServiceMeshResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(AddClusterIntoServiceMeshResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddClusterIntoServiceMeshResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddClusterIntoServiceMeshResponseBody.java index 5802b123405..393f019bb37 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddClusterIntoServiceMeshResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddClusterIntoServiceMeshResponseBody.java @@ -1,24 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link AddClusterIntoServiceMeshResponseBody} extends {@link TeaModel} * *

AddClusterIntoServiceMeshResponseBody

*/ public class AddClusterIntoServiceMeshResponseBody extends TeaModel { - @NameInMap("Code") + @com.aliyun.core.annotation.NameInMap("Code") private String code; - @NameInMap("Message") + @com.aliyun.core.annotation.NameInMap("Message") private String message; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private AddClusterIntoServiceMeshResponseBody(Builder builder) { @@ -35,6 +40,10 @@ public static AddClusterIntoServiceMeshResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return code */ @@ -61,8 +70,20 @@ public static final class Builder { private String message; private String requestId; + private Builder() { + } + + private Builder(AddClusterIntoServiceMeshResponseBody model) { + this.code = model.code; + this.message = model.message; + this.requestId = model.requestId; + } + /** - * Code. + *

The returned status code.

+ * + * example: + *

200

*/ public Builder code(String code) { this.code = code; @@ -70,7 +91,10 @@ public Builder code(String code) { } /** - * Message. + *

The returned message.

+ * + * example: + *

success

*/ public Builder message(String message) { this.message = message; @@ -78,7 +102,10 @@ public Builder message(String message) { } /** - * RequestId. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddVMIntoServiceMeshRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddVMIntoServiceMeshRequest.java index df801504bf0..7007a9c87a0 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddVMIntoServiceMeshRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddVMIntoServiceMeshRequest.java @@ -1,25 +1,30 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link AddVMIntoServiceMeshRequest} extends {@link RequestModel} * *

AddVMIntoServiceMeshRequest

*/ public class AddVMIntoServiceMeshRequest extends Request { - @Query - @NameInMap("EcsId") - @Validation(required = true) + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("EcsId") + @com.aliyun.core.annotation.Validation(required = true) private String ecsId; - @Query - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private AddVMIntoServiceMeshRequest(Builder builder) { @@ -36,7 +41,7 @@ public static AddVMIntoServiceMeshRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -70,7 +75,11 @@ private Builder(AddVMIntoServiceMeshRequest request) { } /** - * The ID of the ECS instance. + *

The ID of the ECS instance.

+ *

This parameter is required.

+ * + * example: + *

i-2ze90ts4e7dj3650****

*/ public Builder ecsId(String ecsId) { this.putQueryParameter("EcsId", ecsId); @@ -79,7 +88,11 @@ public Builder ecsId(String ecsId) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

ccb37ff104caf419fbf48fb38e6f3****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putQueryParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddVMIntoServiceMeshResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddVMIntoServiceMeshResponse.java index bfc194317b2..58e3b5e5bfa 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddVMIntoServiceMeshResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddVMIntoServiceMeshResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link AddVMIntoServiceMeshResponse} extends {@link TeaModel} * *

AddVMIntoServiceMeshResponse

*/ public class AddVMIntoServiceMeshResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private AddVMIntoServiceMeshResponseBody body; private AddVMIntoServiceMeshResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static AddVMIntoServiceMeshResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public AddVMIntoServiceMeshResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private AddVMIntoServiceMeshResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(AddVMIntoServiceMeshResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddVMIntoServiceMeshResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddVMIntoServiceMeshResponseBody.java index cb2cf0f7792..cb0f792cd70 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddVMIntoServiceMeshResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/AddVMIntoServiceMeshResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link AddVMIntoServiceMeshResponseBody} extends {@link TeaModel} * *

AddVMIntoServiceMeshResponseBody

*/ public class AddVMIntoServiceMeshResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private AddVMIntoServiceMeshResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static AddVMIntoServiceMeshResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(AddVMIntoServiceMeshResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

4b2c0fe0-6705-4614-8521-6b9d289163c8

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CCMVersionsValue.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CCMVersionsValue.java index c282a0c1314..a2eaacf5195 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CCMVersionsValue.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CCMVersionsValue.java @@ -1,38 +1,48 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CCMVersionsValue} extends {@link TeaModel} * *

CCMVersionsValue

*/ public class CCMVersionsValue extends TeaModel { - @NameInMap("QueryState") + @com.aliyun.core.annotation.NameInMap("QueryState") private String queryState; - @NameInMap("Version") + @com.aliyun.core.annotation.NameInMap("Version") private String version; - @NameInMap("SLBGracefulDrainSupport") - private Boolean SLBGracefulDrainSupport; + @com.aliyun.core.annotation.NameInMap("SLBGracefulDrainSupported") + private Boolean SLBGracefulDrainSupported; - @NameInMap("ClusterId") + @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; - @NameInMap("Message") + @com.aliyun.core.annotation.NameInMap("Message") private String message; + @com.aliyun.core.annotation.NameInMap("SLBGracefulDrainSupport") + @Deprecated + private Boolean SLBGracefulDrainSupport; + private CCMVersionsValue(Builder builder) { this.queryState = builder.queryState; this.version = builder.version; - this.SLBGracefulDrainSupport = builder.SLBGracefulDrainSupport; + this.SLBGracefulDrainSupported = builder.SLBGracefulDrainSupported; this.clusterId = builder.clusterId; this.message = builder.message; + this.SLBGracefulDrainSupport = builder.SLBGracefulDrainSupport; } public static Builder builder() { @@ -43,6 +53,10 @@ public static CCMVersionsValue create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return queryState */ @@ -58,10 +72,10 @@ public String getVersion() { } /** - * @return SLBGracefulDrainSupport + * @return SLBGracefulDrainSupported */ - public Boolean getSLBGracefulDrainSupport() { - return this.SLBGracefulDrainSupport; + public Boolean getSLBGracefulDrainSupported() { + return this.SLBGracefulDrainSupported; } /** @@ -78,15 +92,43 @@ public String getMessage() { return this.message; } + /** + * @return SLBGracefulDrainSupport + */ + public Boolean getSLBGracefulDrainSupport() { + return this.SLBGracefulDrainSupport; + } + public static final class Builder { private String queryState; private String version; - private Boolean SLBGracefulDrainSupport; + private Boolean SLBGracefulDrainSupported; private String clusterId; private String message; + private Boolean SLBGracefulDrainSupport; + + private Builder() { + } + + private Builder(CCMVersionsValue model) { + this.queryState = model.queryState; + this.version = model.version; + this.SLBGracefulDrainSupported = model.SLBGracefulDrainSupported; + this.clusterId = model.clusterId; + this.message = model.message; + this.SLBGracefulDrainSupport = model.SLBGracefulDrainSupport; + } /** - * QueryState. + *

The status of the query. Valid values:

+ *
    + *
  • time_out: The query times out.
  • + *
  • failed: The query fails.
  • + *
  • Empty string: The query is successful.
  • + *
+ * + * example: + *

time_out

*/ public Builder queryState(String queryState) { this.queryState = queryState; @@ -94,7 +136,10 @@ public Builder queryState(String queryState) { } /** - * Version. + *

The CCM version.

+ * + * example: + *

v2.0.1

*/ public Builder version(String version) { this.version = version; @@ -102,15 +147,21 @@ public Builder version(String version) { } /** - * SLBGracefulDrainSupport. + *

Indicates whether Classic Load Balancer (CLB) graceful shutdown is supported.

+ * + * example: + *

true

*/ - public Builder SLBGracefulDrainSupport(Boolean SLBGracefulDrainSupport) { - this.SLBGracefulDrainSupport = SLBGracefulDrainSupport; + public Builder SLBGracefulDrainSupported(Boolean SLBGracefulDrainSupported) { + this.SLBGracefulDrainSupported = SLBGracefulDrainSupported; return this; } /** - * ClusterId. + *

The ID of the cluster instance on the data plane.

+ * + * example: + *

cfbb81b9b51a44b299349xxxxxxxxxxxx

*/ public Builder clusterId(String clusterId) { this.clusterId = clusterId; @@ -118,13 +169,24 @@ public Builder clusterId(String clusterId) { } /** - * Message. + *

The additional information that is returned when the query fails. This parameter is empty if the query is successful.

+ * + * example: + *

timeout error

*/ public Builder message(String message) { this.message = message; return this; } + /** + * SLBGracefulDrainSupport. + */ + public Builder SLBGracefulDrainSupport(Boolean SLBGracefulDrainSupport) { + this.SLBGracefulDrainSupport = SLBGracefulDrainSupport; + return this; + } + public CCMVersionsValue build() { return new CCMVersionsValue(this); } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateASMGatewayRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateASMGatewayRequest.java index 356602ec8c7..a9f0689ffaa 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateASMGatewayRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateASMGatewayRequest.java @@ -1,28 +1,33 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateASMGatewayRequest} extends {@link RequestModel} * *

CreateASMGatewayRequest

*/ public class CreateASMGatewayRequest extends Request { - @Body - @NameInMap("Body") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Body") private String body; - @Body - @NameInMap("IstioGatewayName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IstioGatewayName") private String istioGatewayName; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private CreateASMGatewayRequest(Builder builder) { @@ -40,7 +45,7 @@ public static CreateASMGatewayRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -83,7 +88,10 @@ private Builder(CreateASMGatewayRequest request) { } /** - * The YAML content that is used to create the ASM gateway. + *

The YAML content that is used to create the ASM gateway.

+ * + * example: + *

{"apiVersion":"istio.alibabacloud.com/v1beta1","kind":"IstioGateway","metadata":{"name":"ingressgateway","namespace":"istio-system"},"spec":{"gatewayType":"ingress","clusterIds":["xxxxx"],"ports":[{"name":"http-0","port":80,"targetPort":80,"protocol":"TCP"},{"name":"https-1","port":443,"targetPort":443,"protocol":"TCP"}],"serviceAnnotations":{"service.beta.kubernetes.io/alicloud-loadbalancer-address-type":"internet","service.beta.kubernetes.io/alibaba-cloud-loadbalancer-spec":"slb.s1.small"},"replicaCount":2,"resources":{"limits":{"cpu":"2","memory":"4G"},"requests":{"cpu":"200m","memory":"256Mi"}},"serviceType":"LoadBalancer","maxReplicas":2,"minReplicas":2}}

*/ public Builder body(String body) { this.putBodyParameter("Body", body); @@ -92,7 +100,10 @@ public Builder body(String body) { } /** - * The name of the ASM gateway. + *

The name of the ASM gateway.

+ * + * example: + *

ingressgateway

*/ public Builder istioGatewayName(String istioGatewayName) { this.putBodyParameter("IstioGatewayName", istioGatewayName); @@ -101,7 +112,11 @@ public Builder istioGatewayName(String istioGatewayName) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

cb8963379255149cb98c8686f274x****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateASMGatewayResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateASMGatewayResponse.java index 17d6a4d5400..407978182d7 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateASMGatewayResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateASMGatewayResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateASMGatewayResponse} extends {@link TeaModel} * *

CreateASMGatewayResponse

*/ public class CreateASMGatewayResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private CreateASMGatewayResponseBody body; private CreateASMGatewayResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static CreateASMGatewayResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public CreateASMGatewayResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private CreateASMGatewayResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(CreateASMGatewayResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateASMGatewayResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateASMGatewayResponseBody.java index c9f0c1f1f7a..d08084181d5 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateASMGatewayResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateASMGatewayResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateASMGatewayResponseBody} extends {@link TeaModel} * *

CreateASMGatewayResponseBody

*/ public class CreateASMGatewayResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private CreateASMGatewayResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static CreateASMGatewayResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(CreateASMGatewayResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateGatewaySecretRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateGatewaySecretRequest.java index 46628ca9511..58e1ef8c50a 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateGatewaySecretRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateGatewaySecretRequest.java @@ -1,36 +1,41 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateGatewaySecretRequest} extends {@link RequestModel} * *

CreateGatewaySecretRequest

*/ public class CreateGatewaySecretRequest extends Request { - @Body - @NameInMap("Cert") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Cert") private String cert; - @Body - @NameInMap("IstioGatewayName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IstioGatewayName") private String istioGatewayName; - @Body - @NameInMap("Key") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Key") private String key; - @Body - @NameInMap("SecretName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SecretName") private String secretName; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private CreateGatewaySecretRequest(Builder builder) { @@ -50,7 +55,7 @@ public static CreateGatewaySecretRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -111,7 +116,10 @@ private Builder(CreateGatewaySecretRequest request) { } /** - * The content of the certificate. + *

The content of the certificate.

+ * + * example: + *

-----BEGIN CERTIFICATE----- MIIC2DCCAcACA-----END CERTIF****-----

*/ public Builder cert(String cert) { this.putBodyParameter("Cert", cert); @@ -120,7 +128,10 @@ public Builder cert(String cert) { } /** - * The name of the ASM gateway. + *

The name of the ASM gateway.

+ * + * example: + *

ingressgateway

*/ public Builder istioGatewayName(String istioGatewayName) { this.putBodyParameter("IstioGatewayName", istioGatewayName); @@ -129,7 +140,10 @@ public Builder istioGatewayName(String istioGatewayName) { } /** - * The private key of the certificate. + *

The private key of the certificate.

+ * + * example: + *

MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC2ag/Bzcgm****

*/ public Builder key(String key) { this.putBodyParameter("Key", key); @@ -138,7 +152,10 @@ public Builder key(String key) { } /** - * The name of the secret. + *

The name of the secret.

+ * + * example: + *

bookinfo-secret

*/ public Builder secretName(String secretName) { this.putBodyParameter("SecretName", secretName); @@ -147,7 +164,11 @@ public Builder secretName(String secretName) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateGatewaySecretResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateGatewaySecretResponse.java index 48eea4045ca..04595f1a5a1 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateGatewaySecretResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateGatewaySecretResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateGatewaySecretResponse} extends {@link TeaModel} * *

CreateGatewaySecretResponse

*/ public class CreateGatewaySecretResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private CreateGatewaySecretResponseBody body; private CreateGatewaySecretResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static CreateGatewaySecretResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public CreateGatewaySecretResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private CreateGatewaySecretResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(CreateGatewaySecretResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateGatewaySecretResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateGatewaySecretResponseBody.java index e2110e1cf2f..bb2c8ddc2cd 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateGatewaySecretResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateGatewaySecretResponseBody.java @@ -1,22 +1,27 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateGatewaySecretResponseBody} extends {@link TeaModel} * *

CreateGatewaySecretResponseBody

*/ public class CreateGatewaySecretResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("SecretCreateRecord") - private java.util.Map < String, SecretCreateRecordValue > secretCreateRecord; + @com.aliyun.core.annotation.NameInMap("SecretCreateRecord") + private java.util.Map secretCreateRecord; private CreateGatewaySecretResponseBody(Builder builder) { this.requestId = builder.requestId; @@ -31,6 +36,10 @@ public static CreateGatewaySecretResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -41,16 +50,27 @@ public String getRequestId() { /** * @return secretCreateRecord */ - public java.util.Map < String, SecretCreateRecordValue > getSecretCreateRecord() { + public java.util.Map getSecretCreateRecord() { return this.secretCreateRecord; } public static final class Builder { private String requestId; - private java.util.Map < String, SecretCreateRecordValue > secretCreateRecord; + private java.util.Map secretCreateRecord; + + private Builder() { + } + + private Builder(CreateGatewaySecretResponseBody model) { + this.requestId = model.requestId; + this.secretCreateRecord = model.secretCreateRecord; + } /** - * The request ID. + *

The request ID.

+ * + * example: + *

31d3a0f0-07ed-4f6e-9004-1804498c****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -58,9 +78,9 @@ public Builder requestId(String requestId) { } /** - * The record of creating the secret. + *

The record of creating the secret.

*/ - public Builder secretCreateRecord(java.util.Map < String, SecretCreateRecordValue > secretCreateRecord) { + public Builder secretCreateRecord(java.util.Map secretCreateRecord) { this.secretCreateRecord = secretCreateRecord; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayDomainsRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayDomainsRequest.java index 1c3776e3661..be25549a558 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayDomainsRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayDomainsRequest.java @@ -1,61 +1,66 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateIstioGatewayDomainsRequest} extends {@link RequestModel} * *

CreateIstioGatewayDomainsRequest

*/ public class CreateIstioGatewayDomainsRequest extends Request { - @Body - @NameInMap("Credential") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Credential") private String credential; - @Body - @NameInMap("ForceHttps") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ForceHttps") private Boolean forceHttps; - @Body - @NameInMap("Hosts") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Hosts") + @com.aliyun.core.annotation.Validation(required = true) private String hosts; - @Body - @NameInMap("IstioGatewayName") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IstioGatewayName") + @com.aliyun.core.annotation.Validation(required = true) private String istioGatewayName; - @Body - @NameInMap("Limit") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Limit") private String limit; - @Body - @NameInMap("Namespace") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; - @Body - @NameInMap("Number") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Number") + @com.aliyun.core.annotation.Validation(required = true) private Integer number; - @Body - @NameInMap("PortName") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("PortName") + @com.aliyun.core.annotation.Validation(required = true) private String portName; - @Body - @NameInMap("Protocol") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Protocol") + @com.aliyun.core.annotation.Validation(required = true) private String protocol; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private CreateIstioGatewayDomainsRequest(Builder builder) { @@ -80,7 +85,7 @@ public static CreateIstioGatewayDomainsRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -186,7 +191,10 @@ private Builder(CreateIstioGatewayDomainsRequest request) { } /** - * The name of the secret that contains the Transport Layer Security (TLS) certificate and certificate authority (CA) certificate. + *

The name of the secret that contains the Transport Layer Security (TLS) certificate and certificate authority (CA) certificate.

+ * + * example: + *

bookinfo-secret

*/ public Builder credential(String credential) { this.putBodyParameter("Credential", credential); @@ -195,11 +203,14 @@ public Builder credential(String credential) { } /** - * Specifies whether to forcibly use TLS to protect connection security. - *

+ *

Specifies whether to forcibly use TLS to protect connection security.

+ *
    + *
  • true: forcibly uses TLS to protect connection security.
  • + *
  • false: does not forcibly use TLS to protect connection security.
  • + *
* - * * `true`: forcibly uses TLS to protect connection security. - * * `false`: does not forcibly use TLS to protect connection security. + * example: + *

true

*/ public Builder forceHttps(Boolean forceHttps) { this.putBodyParameter("ForceHttps", forceHttps); @@ -208,7 +219,11 @@ public Builder forceHttps(Boolean forceHttps) { } /** - * The one or more domain names that are exposed by the ASM gateway. Separate multiple domain names with commas (,). + *

The one or more domain names that are exposed by the ASM gateway. Separate multiple domain names with commas (,).

+ *

This parameter is required.

+ * + * example: + *

example.com,demo.com

*/ public Builder hosts(String hosts) { this.putBodyParameter("Hosts", hosts); @@ -217,7 +232,11 @@ public Builder hosts(String hosts) { } /** - * The name of the ASM gateway. + *

The name of the ASM gateway.

+ *

This parameter is required.

+ * + * example: + *

ingressgateway

*/ public Builder istioGatewayName(String istioGatewayName) { this.putBodyParameter("IstioGatewayName", istioGatewayName); @@ -226,7 +245,10 @@ public Builder istioGatewayName(String istioGatewayName) { } /** - * The maximum number of ASM gateways to query. + *

The maximum number of ASM gateways to query.

+ * + * example: + *

10

*/ public Builder limit(String limit) { this.putBodyParameter("Limit", limit); @@ -235,7 +257,10 @@ public Builder limit(String limit) { } /** - * The name of the namespace. + *

The name of the namespace.

+ * + * example: + *

default

*/ public Builder namespace(String namespace) { this.putBodyParameter("Namespace", namespace); @@ -244,7 +269,11 @@ public Builder namespace(String namespace) { } /** - * The port that is provided by the ASM gateway. + *

The port that is provided by the ASM gateway.

+ *

This parameter is required.

+ * + * example: + *

443

*/ public Builder number(Integer number) { this.putBodyParameter("Number", number); @@ -253,7 +282,11 @@ public Builder number(Integer number) { } /** - * The name of the port. + *

The name of the port.

+ *

This parameter is required.

+ * + * example: + *

http-demo

*/ public Builder portName(String portName) { this.putBodyParameter("PortName", portName); @@ -262,7 +295,11 @@ public Builder portName(String portName) { } /** - * The type of the protocol. Valid values: `HTTP`, `HTTPS`, `GRPC`, `HTTP2`, `MONGO`, `TCP`, and `TLS`. + *

The type of the protocol. Valid values: HTTP, HTTPS, GRPC, HTTP2, MONGO, TCP, and TLS.

+ *

This parameter is required.

+ * + * example: + *

HTTPS

*/ public Builder protocol(String protocol) { this.putBodyParameter("Protocol", protocol); @@ -271,7 +308,11 @@ public Builder protocol(String protocol) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayDomainsResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayDomainsResponse.java index 44708b4f1ea..dc15b14f421 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayDomainsResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayDomainsResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateIstioGatewayDomainsResponse} extends {@link TeaModel} * *

CreateIstioGatewayDomainsResponse

*/ public class CreateIstioGatewayDomainsResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private CreateIstioGatewayDomainsResponseBody body; private CreateIstioGatewayDomainsResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static CreateIstioGatewayDomainsResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public CreateIstioGatewayDomainsResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private CreateIstioGatewayDomainsResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(CreateIstioGatewayDomainsResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayDomainsResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayDomainsResponseBody.java index ce04e193dcc..f44fd101699 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayDomainsResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayDomainsResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateIstioGatewayDomainsResponseBody} extends {@link TeaModel} * *

CreateIstioGatewayDomainsResponseBody

*/ public class CreateIstioGatewayDomainsResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private CreateIstioGatewayDomainsResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static CreateIstioGatewayDomainsResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(CreateIstioGatewayDomainsResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

31d3a0f0-07ed-4f6e-9004-1804498c****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayRoutesRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayRoutesRequest.java index 370d5404564..769e8ab962e 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayRoutesRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayRoutesRequest.java @@ -1,40 +1,45 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateIstioGatewayRoutesRequest} extends {@link RequestModel} * *

CreateIstioGatewayRoutesRequest

*/ public class CreateIstioGatewayRoutesRequest extends Request { - @Body - @NameInMap("Description") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Description") private String description; - @Body - @NameInMap("GatewayRoute") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("GatewayRoute") private GatewayRoute gatewayRoute; - @Body - @NameInMap("IstioGatewayName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IstioGatewayName") private String istioGatewayName; - @Body - @NameInMap("Priority") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Priority") private Integer priority; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; - @Body - @NameInMap("Status") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Status") private Integer status; private CreateIstioGatewayRoutesRequest(Builder builder) { @@ -55,7 +60,7 @@ public static CreateIstioGatewayRoutesRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -125,7 +130,10 @@ private Builder(CreateIstioGatewayRoutesRequest request) { } /** - * The description of the routing rule. + *

The description of the routing rule.

+ * + * example: + *

demo route

*/ public Builder description(String description) { this.putBodyParameter("Description", description); @@ -134,7 +142,7 @@ public Builder description(String description) { } /** - * The information about the routing rule to be created for the ASM gateway. + *

The information about the routing rule to be created for the ASM gateway.

*/ public Builder gatewayRoute(GatewayRoute gatewayRoute) { String gatewayRouteShrink = shrink(gatewayRoute, "GatewayRoute", "json"); @@ -144,7 +152,10 @@ public Builder gatewayRoute(GatewayRoute gatewayRoute) { } /** - * The name of the ASM gateway. + *

The name of the ASM gateway.

+ * + * example: + *

ingressgateway

*/ public Builder istioGatewayName(String istioGatewayName) { this.putBodyParameter("IstioGatewayName", istioGatewayName); @@ -153,7 +164,10 @@ public Builder istioGatewayName(String istioGatewayName) { } /** - * The priority of the routing rule. The value of this parameter is an integer. A smaller value indicates a higher priority. + *

The priority of the routing rule. The value of this parameter is an integer. A smaller value indicates a higher priority.

+ * + * example: + *

1

*/ public Builder priority(Integer priority) { this.putBodyParameter("Priority", priority); @@ -162,7 +176,11 @@ public Builder priority(Integer priority) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); @@ -171,12 +189,15 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * The status of the routing rule. Valid values: - *

+ *

The status of the routing rule. Valid values:

+ *
    + *
  • 0: The routing rule is valid.
  • + *
  • 1: The routing rule is invalid.
  • + *
  • 2: An error occurs during the creation or update of the routing rule.
  • + *
* - * * `0`: The routing rule is valid. - * * `1`: The routing rule is invalid. - * * `2`: An error occurs during the creation or update of the routing rule. + * example: + *

1

*/ public Builder status(Integer status) { this.putBodyParameter("Status", status); @@ -191,11 +212,17 @@ public CreateIstioGatewayRoutesRequest build() { } + /** + * + * {@link CreateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

CreateIstioGatewayRoutesRequest

+ */ public static class Delegate extends TeaModel { - @NameInMap("Name") + @com.aliyun.core.annotation.NameInMap("Name") private String name; - @NameInMap("Namespace") + @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; private Delegate(Builder builder) { @@ -229,8 +256,19 @@ public static final class Builder { private String name; private String namespace; + private Builder() { + } + + private Builder(Delegate model) { + this.name = model.name; + this.namespace = model.namespace; + } + /** - * The name of the virtual service. + *

The name of the virtual service.

+ * + * example: + *

reviews

*/ public Builder name(String name) { this.name = name; @@ -238,7 +276,10 @@ public Builder name(String name) { } /** - * The namespace to which the virtual service belongs. + *

The namespace to which the virtual service belongs.

+ * + * example: + *

default

*/ public Builder namespace(String namespace) { this.namespace = namespace; @@ -252,8 +293,14 @@ public Delegate build() { } } + /** + * + * {@link CreateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

CreateIstioGatewayRoutesRequest

+ */ public static class Percentage extends TeaModel { - @NameInMap("Value") + @com.aliyun.core.annotation.NameInMap("Value") private Float value; private Percentage(Builder builder) { @@ -278,8 +325,18 @@ public Float getValue() { public static final class Builder { private Float value; + private Builder() { + } + + private Builder(Percentage model) { + this.value = model.value; + } + /** - * The percentage of requests that are aborted with the specified error code, which is expressed as a decimal. + *

The percentage of requests that are aborted with the specified error code, which is expressed as a decimal.

+ * + * example: + *

0.1

*/ public Builder value(Float value) { this.value = value; @@ -293,11 +350,17 @@ public Percentage build() { } } + /** + * + * {@link CreateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

CreateIstioGatewayRoutesRequest

+ */ public static class Abort extends TeaModel { - @NameInMap("HttpStatus") + @com.aliyun.core.annotation.NameInMap("HttpStatus") private Integer httpStatus; - @NameInMap("Percentage") + @com.aliyun.core.annotation.NameInMap("Percentage") private Percentage percentage; private Abort(Builder builder) { @@ -331,8 +394,19 @@ public static final class Builder { private Integer httpStatus; private Percentage percentage; + private Builder() { + } + + private Builder(Abort model) { + this.httpStatus = model.httpStatus; + this.percentage = model.percentage; + } + /** - * The HTTP status code. + *

The HTTP status code.

+ * + * example: + *

400

*/ public Builder httpStatus(Integer httpStatus) { this.httpStatus = httpStatus; @@ -340,7 +414,7 @@ public Builder httpStatus(Integer httpStatus) { } /** - * The percentage of requests that are aborted with the specified error code. + *

The percentage of requests that are aborted with the specified error code.

*/ public Builder percentage(Percentage percentage) { this.percentage = percentage; @@ -354,8 +428,14 @@ public Abort build() { } } + /** + * + * {@link CreateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

CreateIstioGatewayRoutesRequest

+ */ public static class DelayPercentage extends TeaModel { - @NameInMap("Value") + @com.aliyun.core.annotation.NameInMap("Value") private Float value; private DelayPercentage(Builder builder) { @@ -380,8 +460,18 @@ public Float getValue() { public static final class Builder { private Float value; + private Builder() { + } + + private Builder(DelayPercentage model) { + this.value = model.value; + } + /** - * The percentage of requests to which the delay fault is injected, which is expressed as a decimal. + *

The percentage of requests to which the delay fault is injected, which is expressed as a decimal.

+ * + * example: + *

0.1

*/ public Builder value(Float value) { this.value = value; @@ -395,11 +485,17 @@ public DelayPercentage build() { } } + /** + * + * {@link CreateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

CreateIstioGatewayRoutesRequest

+ */ public static class Delay extends TeaModel { - @NameInMap("FixedDelay") + @com.aliyun.core.annotation.NameInMap("FixedDelay") private String fixedDelay; - @NameInMap("Percentage") + @com.aliyun.core.annotation.NameInMap("Percentage") private DelayPercentage percentage; private Delay(Builder builder) { @@ -433,8 +529,19 @@ public static final class Builder { private String fixedDelay; private DelayPercentage percentage; + private Builder() { + } + + private Builder(Delay model) { + this.fixedDelay = model.fixedDelay; + this.percentage = model.percentage; + } + /** - * The fixed duration for request delay. + *

The fixed duration for request delay.

+ * + * example: + *

5s

*/ public Builder fixedDelay(String fixedDelay) { this.fixedDelay = fixedDelay; @@ -442,7 +549,7 @@ public Builder fixedDelay(String fixedDelay) { } /** - * The percentage of requests to which the delay fault is injected. + *

The percentage of requests to which the delay fault is injected.

*/ public Builder percentage(DelayPercentage percentage) { this.percentage = percentage; @@ -456,11 +563,17 @@ public Delay build() { } } + /** + * + * {@link CreateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

CreateIstioGatewayRoutesRequest

+ */ public static class Fault extends TeaModel { - @NameInMap("Abort") + @com.aliyun.core.annotation.NameInMap("Abort") private Abort abort; - @NameInMap("Delay") + @com.aliyun.core.annotation.NameInMap("Delay") private Delay delay; private Fault(Builder builder) { @@ -494,8 +607,16 @@ public static final class Builder { private Abort abort; private Delay delay; + private Builder() { + } + + private Builder(Fault model) { + this.abort = model.abort; + this.delay = model.delay; + } + /** - * The configurations for aborting requests with specified error codes. + *

The configurations for aborting requests with specified error codes.

*/ public Builder abort(Abort abort) { this.abort = abort; @@ -503,7 +624,7 @@ public Builder abort(Abort abort) { } /** - * The duration to delay a request. + *

The duration to delay a request.

*/ public Builder delay(Delay delay) { this.delay = delay; @@ -517,14 +638,20 @@ public Fault build() { } } + /** + * + * {@link CreateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

CreateIstioGatewayRoutesRequest

+ */ public static class HTTPRedirect extends TeaModel { - @NameInMap("Authority") + @com.aliyun.core.annotation.NameInMap("Authority") private String authority; - @NameInMap("RedirectCode") + @com.aliyun.core.annotation.NameInMap("RedirectCode") private Integer redirectCode; - @NameInMap("Uri") + @com.aliyun.core.annotation.NameInMap("Uri") private String uri; private HTTPRedirect(Builder builder) { @@ -567,8 +694,20 @@ public static final class Builder { private Integer redirectCode; private String uri; + private Builder() { + } + + private Builder(HTTPRedirect model) { + this.authority = model.authority; + this.redirectCode = model.redirectCode; + this.uri = model.uri; + } + /** - * The value to be used to overwrite the value of the Authority or Host header during redirection.`` + *

The value to be used to overwrite the value of the Authority or Host header during redirection.``

+ * + * example: + *

newratings.default.svc.cluster.local

*/ public Builder authority(String authority) { this.authority = authority; @@ -576,7 +715,10 @@ public Builder authority(String authority) { } /** - * The HTTP status code to be used to indicate URL redirection. Default value: 301. + *

The HTTP status code to be used to indicate URL redirection. Default value: 301.

+ * + * example: + *

301

*/ public Builder redirectCode(Integer redirectCode) { this.redirectCode = redirectCode; @@ -584,7 +726,10 @@ public Builder redirectCode(Integer redirectCode) { } /** - * The value to be used to overwrite the URL path during redirection. + *

The value to be used to overwrite the URL path during redirection.

+ * + * example: + *

/v1/getProductRatings

*/ public Builder uri(String uri) { this.uri = uri; @@ -598,11 +743,17 @@ public HTTPRedirect build() { } } + /** + * + * {@link CreateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

CreateIstioGatewayRoutesRequest

+ */ public static class Mirror extends TeaModel { - @NameInMap("Host") + @com.aliyun.core.annotation.NameInMap("Host") private String host; - @NameInMap("Subset") + @com.aliyun.core.annotation.NameInMap("Subset") private String subset; private Mirror(Builder builder) { @@ -636,8 +787,19 @@ public static final class Builder { private String host; private String subset; + private Builder() { + } + + private Builder(Mirror model) { + this.host = model.host; + this.subset = model.subset; + } + /** - * The name of the service defined in the service registry. + *

The name of the service defined in the service registry.

+ * + * example: + *

reviews.default.svc.cluster.local

*/ public Builder host(String host) { this.host = host; @@ -645,7 +807,10 @@ public Builder host(String host) { } /** - * The name of the service subset. + *

The name of the service subset.

+ * + * example: + *

v1

*/ public Builder subset(String subset) { this.subset = subset; @@ -659,8 +824,14 @@ public Mirror build() { } } + /** + * + * {@link CreateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

CreateIstioGatewayRoutesRequest

+ */ public static class MirrorPercentage extends TeaModel { - @NameInMap("Value") + @com.aliyun.core.annotation.NameInMap("Value") private Float value; private MirrorPercentage(Builder builder) { @@ -685,8 +856,18 @@ public Float getValue() { public static final class Builder { private Float value; + private Builder() { + } + + private Builder(MirrorPercentage model) { + this.value = model.value; + } + /** - * The percentage of requests that are mirrored to another destination except for the original destination, which is expressed as a decimal. + *

The percentage of requests that are mirrored to another destination except for the original destination, which is expressed as a decimal.

+ * + * example: + *

0.2

*/ public Builder value(Float value) { this.value = value; @@ -700,8 +881,14 @@ public MirrorPercentage build() { } } + /** + * + * {@link CreateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

CreateIstioGatewayRoutesRequest

+ */ public static class RetryRemoteLocalities extends TeaModel { - @NameInMap("Value") + @com.aliyun.core.annotation.NameInMap("Value") private Boolean value; private RetryRemoteLocalities(Builder builder) { @@ -726,14 +913,23 @@ public Boolean getValue() { public static final class Builder { private Boolean value; + private Builder() { + } + + private Builder(RetryRemoteLocalities model) { + this.value = model.value; + } + /** - * Specifies whether to allow retries to other localities. Valid values: - *

+ *

Specifies whether to allow retries to other localities. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * * `true` - * * `false` - * - * Default value: `false`. + * example: + *

false

*/ public Builder value(Boolean value) { this.value = value; @@ -747,17 +943,23 @@ public RetryRemoteLocalities build() { } } + /** + * + * {@link CreateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

CreateIstioGatewayRoutesRequest

+ */ public static class Retries extends TeaModel { - @NameInMap("Attempts") + @com.aliyun.core.annotation.NameInMap("Attempts") private Integer attempts; - @NameInMap("PerTryTimeout") + @com.aliyun.core.annotation.NameInMap("PerTryTimeout") private String perTryTimeout; - @NameInMap("RetryOn") + @com.aliyun.core.annotation.NameInMap("RetryOn") private String retryOn; - @NameInMap("RetryRemoteLocalities") + @com.aliyun.core.annotation.NameInMap("RetryRemoteLocalities") private RetryRemoteLocalities retryRemoteLocalities; private Retries(Builder builder) { @@ -809,8 +1011,21 @@ public static final class Builder { private String retryOn; private RetryRemoteLocalities retryRemoteLocalities; + private Builder() { + } + + private Builder(Retries model) { + this.attempts = model.attempts; + this.perTryTimeout = model.perTryTimeout; + this.retryOn = model.retryOn; + this.retryRemoteLocalities = model.retryRemoteLocalities; + } + /** - * The number of retries that are allowed for a request. + *

The number of retries that are allowed for a request.

+ * + * example: + *

3

*/ public Builder attempts(Integer attempts) { this.attempts = attempts; @@ -818,7 +1033,10 @@ public Builder attempts(Integer attempts) { } /** - * The timeout period for each retry. Example: `5s`. + *

The timeout period for each retry. Example: 5s.

+ * + * example: + *

5s

*/ public Builder perTryTimeout(String perTryTimeout) { this.perTryTimeout = perTryTimeout; @@ -826,7 +1044,10 @@ public Builder perTryTimeout(String perTryTimeout) { } /** - * The condition for retries. Example: `connect-failure,refused-stream,503`. + *

The condition for retries. Example: connect-failure,refused-stream,503.

+ * + * example: + *

connect-failure,refused-stream,503

*/ public Builder retryOn(String retryOn) { this.retryOn = retryOn; @@ -834,7 +1055,7 @@ public Builder retryOn(String retryOn) { } /** - * Specifies whether to allow retries to other localities. + *

Specifies whether to allow retries to other localities.

*/ public Builder retryRemoteLocalities(RetryRemoteLocalities retryRemoteLocalities) { this.retryRemoteLocalities = retryRemoteLocalities; @@ -848,11 +1069,17 @@ public Retries build() { } } + /** + * + * {@link CreateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

CreateIstioGatewayRoutesRequest

+ */ public static class Rewrite extends TeaModel { - @NameInMap("Authority") + @com.aliyun.core.annotation.NameInMap("Authority") private String authority; - @NameInMap("Uri") + @com.aliyun.core.annotation.NameInMap("Uri") private String uri; private Rewrite(Builder builder) { @@ -886,8 +1113,19 @@ public static final class Builder { private String authority; private String uri; + private Builder() { + } + + private Builder(Rewrite model) { + this.authority = model.authority; + this.uri = model.uri; + } + /** - * The value to be used to overwrite the value of the Authority or Host header. + *

The value to be used to overwrite the value of the Authority or Host header.

+ * + * example: + *

newratings.default.svc.cluster.local

*/ public Builder authority(String authority) { this.authority = authority; @@ -895,7 +1133,10 @@ public Builder authority(String authority) { } /** - * The value to be used to overwrite the path or prefix of the URI. + *

The value to be used to overwrite the path or prefix of the URI.

+ * + * example: + *

/v1/getProductRatings

*/ public Builder uri(String uri) { this.uri = uri; @@ -909,29 +1150,35 @@ public Rewrite build() { } } + /** + * + * {@link CreateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

CreateIstioGatewayRoutesRequest

+ */ public static class HTTPAdvancedOptions extends TeaModel { - @NameInMap("Delegate") + @com.aliyun.core.annotation.NameInMap("Delegate") private Delegate delegate; - @NameInMap("Fault") + @com.aliyun.core.annotation.NameInMap("Fault") private Fault fault; - @NameInMap("HTTPRedirect") + @com.aliyun.core.annotation.NameInMap("HTTPRedirect") private HTTPRedirect HTTPRedirect; - @NameInMap("Mirror") + @com.aliyun.core.annotation.NameInMap("Mirror") private Mirror mirror; - @NameInMap("MirrorPercentage") + @com.aliyun.core.annotation.NameInMap("MirrorPercentage") private MirrorPercentage mirrorPercentage; - @NameInMap("Retries") + @com.aliyun.core.annotation.NameInMap("Retries") private Retries retries; - @NameInMap("Rewrite") + @com.aliyun.core.annotation.NameInMap("Rewrite") private Rewrite rewrite; - @NameInMap("Timeout") + @com.aliyun.core.annotation.NameInMap("Timeout") private String timeout; private HTTPAdvancedOptions(Builder builder) { @@ -1019,8 +1266,22 @@ public static final class Builder { private Rewrite rewrite; private String timeout; + private Builder() { + } + + private Builder(HTTPAdvancedOptions model) { + this.delegate = model.delegate; + this.fault = model.fault; + this.HTTPRedirect = model.HTTPRedirect; + this.mirror = model.mirror; + this.mirrorPercentage = model.mirrorPercentage; + this.retries = model.retries; + this.rewrite = model.rewrite; + this.timeout = model.timeout; + } + /** - * The virtual service that defines traffic routing. + *

The virtual service that defines traffic routing.

*/ public Builder delegate(Delegate delegate) { this.delegate = delegate; @@ -1028,7 +1289,7 @@ public Builder delegate(Delegate delegate) { } /** - * The configurations of fault injection. + *

The configurations of fault injection.

*/ public Builder fault(Fault fault) { this.fault = fault; @@ -1036,7 +1297,7 @@ public Builder fault(Fault fault) { } /** - * The HTTP redirection rule. + *

The HTTP redirection rule.

*/ public Builder HTTPRedirect(HTTPRedirect HTTPRedirect) { this.HTTPRedirect = HTTPRedirect; @@ -1044,7 +1305,7 @@ public Builder HTTPRedirect(HTTPRedirect HTTPRedirect) { } /** - * The configurations for mirroring HTTP traffic to another destination in addition to forwarding requests to the specified destination. + *

The configurations for mirroring HTTP traffic to another destination in addition to forwarding requests to the specified destination.

*/ public Builder mirror(Mirror mirror) { this.mirror = mirror; @@ -1052,7 +1313,7 @@ public Builder mirror(Mirror mirror) { } /** - * The percentage of requests that are mirrored to another destination except for the original destination. + *

The percentage of requests that are mirrored to another destination except for the original destination.

*/ public Builder mirrorPercentage(MirrorPercentage mirrorPercentage) { this.mirrorPercentage = mirrorPercentage; @@ -1060,7 +1321,7 @@ public Builder mirrorPercentage(MirrorPercentage mirrorPercentage) { } /** - * The configurations of retries for failed requests. + *

The configurations of retries for failed requests.

*/ public Builder retries(Retries retries) { this.retries = retries; @@ -1068,7 +1329,7 @@ public Builder retries(Retries retries) { } /** - * The configurations for rewriting the virtual service. + *

The configurations for rewriting the virtual service.

*/ public Builder rewrite(Rewrite rewrite) { this.rewrite = rewrite; @@ -1076,7 +1337,10 @@ public Builder rewrite(Rewrite rewrite) { } /** - * The timeout period for requests. + *

The timeout period for requests.

+ * + * example: + *

5s

*/ public Builder timeout(String timeout) { this.timeout = timeout; @@ -1090,14 +1354,20 @@ public HTTPAdvancedOptions build() { } } + /** + * + * {@link CreateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

CreateIstioGatewayRoutesRequest

+ */ public static class Headers extends TeaModel { - @NameInMap("MatchingContent") + @com.aliyun.core.annotation.NameInMap("MatchingContent") private String matchingContent; - @NameInMap("MatchingMode") + @com.aliyun.core.annotation.NameInMap("MatchingMode") private String matchingMode; - @NameInMap("Name") + @com.aliyun.core.annotation.NameInMap("Name") private String name; private Headers(Builder builder) { @@ -1140,8 +1410,20 @@ public static final class Builder { private String matchingMode; private String name; + private Builder() { + } + + private Builder(Headers model) { + this.matchingContent = model.matchingContent; + this.matchingMode = model.matchingMode; + this.name = model.name; + } + /** - * The header value to be matched. + *

The header value to be matched.

+ * + * example: + *

v1

*/ public Builder matchingContent(String matchingContent) { this.matchingContent = matchingContent; @@ -1149,12 +1431,15 @@ public Builder matchingContent(String matchingContent) { } /** - * The matching mode for the header value. Valid values: - *

+ *

The matching mode for the header value. Valid values:

+ *
    + *
  • exact: exact match
  • + *
  • prefix: match by prefix
  • + *
  • regex: match by regular expression
  • + *
* - * * `exact`: exact match - * * `prefix`: match by prefix - * * `regex`: match by regular expression + * example: + *

exact

*/ public Builder matchingMode(String matchingMode) { this.matchingMode = matchingMode; @@ -1162,7 +1447,10 @@ public Builder matchingMode(String matchingMode) { } /** - * The header key to be matched. + *

The header key to be matched.

+ * + * example: + *

x-request-id

*/ public Builder name(String name) { this.name = name; @@ -1176,11 +1464,17 @@ public Headers build() { } } + /** + * + * {@link CreateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

CreateIstioGatewayRoutesRequest

+ */ public static class TLSMatchAttributes extends TeaModel { - @NameInMap("SNIHosts") - private java.util.List < String > SNIHosts; + @com.aliyun.core.annotation.NameInMap("SNIHosts") + private java.util.List SNIHosts; - @NameInMap("TLSPort") + @com.aliyun.core.annotation.NameInMap("TLSPort") private Integer TLSPort; private TLSMatchAttributes(Builder builder) { @@ -1199,7 +1493,7 @@ public static TLSMatchAttributes create() { /** * @return SNIHosts */ - public java.util.List < String > getSNIHosts() { + public java.util.List getSNIHosts() { return this.SNIHosts; } @@ -1211,19 +1505,30 @@ public Integer getTLSPort() { } public static final class Builder { - private java.util.List < String > SNIHosts; + private java.util.List SNIHosts; private Integer TLSPort; + private Builder() { + } + + private Builder(TLSMatchAttributes model) { + this.SNIHosts = model.SNIHosts; + this.TLSPort = model.TLSPort; + } + /** - * The Server Name Indication (SNI) values to be matched. + *

The Server Name Indication (SNI) values to be matched.

*/ - public Builder SNIHosts(java.util.List < String > SNIHosts) { + public Builder SNIHosts(java.util.List SNIHosts) { this.SNIHosts = SNIHosts; return this; } /** - * The TLS port. + *

The TLS port.

+ * + * example: + *

443

*/ public Builder TLSPort(Integer TLSPort) { this.TLSPort = TLSPort; @@ -1237,11 +1542,17 @@ public TLSMatchAttributes build() { } } + /** + * + * {@link CreateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

CreateIstioGatewayRoutesRequest

+ */ public static class URI extends TeaModel { - @NameInMap("MatchingContent") + @com.aliyun.core.annotation.NameInMap("MatchingContent") private String matchingContent; - @NameInMap("MatchingMode") + @com.aliyun.core.annotation.NameInMap("MatchingMode") private String matchingMode; private URI(Builder builder) { @@ -1275,8 +1586,19 @@ public static final class Builder { private String matchingContent; private String matchingMode; + private Builder() { + } + + private Builder(URI model) { + this.matchingContent = model.matchingContent; + this.matchingMode = model.matchingMode; + } + /** - * The content to be matched. + *

The content to be matched.

+ * + * example: + *

/ratings/v2/

*/ public Builder matchingContent(String matchingContent) { this.matchingContent = matchingContent; @@ -1284,12 +1606,15 @@ public Builder matchingContent(String matchingContent) { } /** - * The matching mode for the routing rule. Valid values: - *

+ *

The matching mode for the routing rule. Valid values:

+ *
    + *
  • exact: exact match
  • + *
  • prefix: match by prefix
  • + *
  • regex: match by regular expression
  • + *
* - * * `exact`: exact match - * * `prefix`: match by prefix - * * `regex`: match by regular expression + * example: + *

prefix

*/ public Builder matchingMode(String matchingMode) { this.matchingMode = matchingMode; @@ -1303,17 +1628,23 @@ public URI build() { } } + /** + * + * {@link CreateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

CreateIstioGatewayRoutesRequest

+ */ public static class MatchRequest extends TeaModel { - @NameInMap("Headers") - private java.util.List < Headers> headers; + @com.aliyun.core.annotation.NameInMap("Headers") + private java.util.List headers; - @NameInMap("Ports") - private java.util.List < Integer > ports; + @com.aliyun.core.annotation.NameInMap("Ports") + private java.util.List ports; - @NameInMap("TLSMatchAttributes") - private java.util.List < TLSMatchAttributes> TLSMatchAttributes; + @com.aliyun.core.annotation.NameInMap("TLSMatchAttributes") + private java.util.List TLSMatchAttributes; - @NameInMap("URI") + @com.aliyun.core.annotation.NameInMap("URI") private URI URI; private MatchRequest(Builder builder) { @@ -1334,21 +1665,21 @@ public static MatchRequest create() { /** * @return headers */ - public java.util.List < Headers> getHeaders() { + public java.util.List getHeaders() { return this.headers; } /** * @return ports */ - public java.util.List < Integer > getPorts() { + public java.util.List getPorts() { return this.ports; } /** * @return TLSMatchAttributes */ - public java.util.List < TLSMatchAttributes> getTLSMatchAttributes() { + public java.util.List getTLSMatchAttributes() { return this.TLSMatchAttributes; } @@ -1360,37 +1691,47 @@ public URI getURI() { } public static final class Builder { - private java.util.List < Headers> headers; - private java.util.List < Integer > ports; - private java.util.List < TLSMatchAttributes> TLSMatchAttributes; + private java.util.List headers; + private java.util.List ports; + private java.util.List TLSMatchAttributes; private URI URI; + private Builder() { + } + + private Builder(MatchRequest model) { + this.headers = model.headers; + this.ports = model.ports; + this.TLSMatchAttributes = model.TLSMatchAttributes; + this.URI = model.URI; + } + /** - * The request headers to be matched. + *

The request headers to be matched.

*/ - public Builder headers(java.util.List < Headers> headers) { + public Builder headers(java.util.List headers) { this.headers = headers; return this; } /** - * The ports of destination services for Layer 4 weighted routing. + *

The ports of destination services for Layer 4 weighted routing.

*/ - public Builder ports(java.util.List < Integer > ports) { + public Builder ports(java.util.List ports) { this.ports = ports; return this; } /** - * The matching rule for Transport Layer Security (TLS) traffic. + *

The matching rule for Transport Layer Security (TLS) traffic.

*/ - public Builder TLSMatchAttributes(java.util.List < TLSMatchAttributes> TLSMatchAttributes) { + public Builder TLSMatchAttributes(java.util.List TLSMatchAttributes) { this.TLSMatchAttributes = TLSMatchAttributes; return this; } /** - * The matching rule for URIs. + *

The matching rule for URIs.

*/ public Builder URI(URI URI) { this.URI = URI; @@ -1404,8 +1745,14 @@ public MatchRequest build() { } } + /** + * + * {@link CreateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

CreateIstioGatewayRoutesRequest

+ */ public static class Port extends TeaModel { - @NameInMap("Number") + @com.aliyun.core.annotation.NameInMap("Number") private Integer number; private Port(Builder builder) { @@ -1430,8 +1777,18 @@ public Integer getNumber() { public static final class Builder { private Integer number; + private Builder() { + } + + private Builder(Port model) { + this.number = model.number; + } + /** - * The port number. + *

The port number.

+ * + * example: + *

80

*/ public Builder number(Integer number) { this.number = number; @@ -1445,14 +1802,20 @@ public Port build() { } } + /** + * + * {@link CreateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

CreateIstioGatewayRoutesRequest

+ */ public static class Destination extends TeaModel { - @NameInMap("Host") + @com.aliyun.core.annotation.NameInMap("Host") private String host; - @NameInMap("Port") + @com.aliyun.core.annotation.NameInMap("Port") private Port port; - @NameInMap("Subset") + @com.aliyun.core.annotation.NameInMap("Subset") private String subset; private Destination(Builder builder) { @@ -1495,8 +1858,20 @@ public static final class Builder { private Port port; private String subset; + private Builder() { + } + + private Builder(Destination model) { + this.host = model.host; + this.port = model.port; + this.subset = model.subset; + } + /** - * The name of the service defined in the service registry. + *

The name of the service defined in the service registry.

+ * + * example: + *

reviews

*/ public Builder host(String host) { this.host = host; @@ -1504,7 +1879,7 @@ public Builder host(String host) { } /** - * The port. + *

The port.

*/ public Builder port(Port port) { this.port = port; @@ -1512,7 +1887,10 @@ public Builder port(Port port) { } /** - * The name of the service subset. + *

The name of the service subset.

+ * + * example: + *

v1

*/ public Builder subset(String subset) { this.subset = subset; @@ -1526,11 +1904,17 @@ public Destination build() { } } + /** + * + * {@link CreateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

CreateIstioGatewayRoutesRequest

+ */ public static class RouteDestinations extends TeaModel { - @NameInMap("Destination") + @com.aliyun.core.annotation.NameInMap("Destination") private Destination destination; - @NameInMap("Weight") + @com.aliyun.core.annotation.NameInMap("Weight") private Integer weight; private RouteDestinations(Builder builder) { @@ -1564,8 +1948,16 @@ public static final class Builder { private Destination destination; private Integer weight; + private Builder() { + } + + private Builder(RouteDestinations model) { + this.destination = model.destination; + this.weight = model.weight; + } + /** - * The unique endpoint of the destination service to which the specified requests are sent. + *

The unique endpoint of the destination service to which the specified requests are sent.

*/ public Builder destination(Destination destination) { this.destination = destination; @@ -1573,7 +1965,10 @@ public Builder destination(Destination destination) { } /** - * The weight of the service subset. + *

The weight of the service subset.

+ * + * example: + *

80

*/ public Builder weight(Integer weight) { this.weight = weight; @@ -1587,29 +1982,35 @@ public RouteDestinations build() { } } + /** + * + * {@link CreateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

CreateIstioGatewayRoutesRequest

+ */ public static class GatewayRoute extends TeaModel { - @NameInMap("Domains") - private java.util.List < String > domains; + @com.aliyun.core.annotation.NameInMap("Domains") + private java.util.List domains; - @NameInMap("HTTPAdvancedOptions") + @com.aliyun.core.annotation.NameInMap("HTTPAdvancedOptions") private HTTPAdvancedOptions HTTPAdvancedOptions; - @NameInMap("MatchRequest") + @com.aliyun.core.annotation.NameInMap("MatchRequest") private MatchRequest matchRequest; - @NameInMap("Namespace") + @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; - @NameInMap("RawVSRoute") + @com.aliyun.core.annotation.NameInMap("RawVSRoute") private Object rawVSRoute; - @NameInMap("RouteDestinations") - private java.util.List < RouteDestinations> routeDestinations; + @com.aliyun.core.annotation.NameInMap("RouteDestinations") + private java.util.List routeDestinations; - @NameInMap("RouteName") + @com.aliyun.core.annotation.NameInMap("RouteName") private String routeName; - @NameInMap("RouteType") + @com.aliyun.core.annotation.NameInMap("RouteType") private String routeType; private GatewayRoute(Builder builder) { @@ -1634,7 +2035,7 @@ public static GatewayRoute create() { /** * @return domains */ - public java.util.List < String > getDomains() { + public java.util.List getDomains() { return this.domains; } @@ -1669,7 +2070,7 @@ public Object getRawVSRoute() { /** * @return routeDestinations */ - public java.util.List < RouteDestinations> getRouteDestinations() { + public java.util.List getRouteDestinations() { return this.routeDestinations; } @@ -1688,25 +2089,39 @@ public String getRouteType() { } public static final class Builder { - private java.util.List < String > domains; + private java.util.List domains; private HTTPAdvancedOptions HTTPAdvancedOptions; private MatchRequest matchRequest; private String namespace; private Object rawVSRoute; - private java.util.List < RouteDestinations> routeDestinations; + private java.util.List routeDestinations; private String routeName; private String routeType; + private Builder() { + } + + private Builder(GatewayRoute model) { + this.domains = model.domains; + this.HTTPAdvancedOptions = model.HTTPAdvancedOptions; + this.matchRequest = model.matchRequest; + this.namespace = model.namespace; + this.rawVSRoute = model.rawVSRoute; + this.routeDestinations = model.routeDestinations; + this.routeName = model.routeName; + this.routeType = model.routeType; + } + /** - * The requested domain names. + *

The requested domain names.

*/ - public Builder domains(java.util.List < String > domains) { + public Builder domains(java.util.List domains) { this.domains = domains; return this; } /** - * The advanced settings for routing HTTP traffic. + *

The advanced settings for routing HTTP traffic.

*/ public Builder HTTPAdvancedOptions(HTTPAdvancedOptions HTTPAdvancedOptions) { this.HTTPAdvancedOptions = HTTPAdvancedOptions; @@ -1714,7 +2129,7 @@ public Builder HTTPAdvancedOptions(HTTPAdvancedOptions HTTPAdvancedOptions) { } /** - * The matching rules for traffic routing. + *

The matching rules for traffic routing.

*/ public Builder matchRequest(MatchRequest matchRequest) { this.matchRequest = matchRequest; @@ -1722,7 +2137,10 @@ public Builder matchRequest(MatchRequest matchRequest) { } /** - * The namespace. + *

The namespace.

+ * + * example: + *

default

*/ public Builder namespace(String namespace) { this.namespace = namespace; @@ -1730,7 +2148,36 @@ public Builder namespace(String namespace) { } /** - * A JSON string. This parameter corresponds to the three routing types in virtual services and provides configuration entries for advanced features. The value of this parameter overwrites the configurations in RouteName, RouteType, MatchRequest, and HTTPAdvancedOptions. + *

A JSON string. This parameter corresponds to the three routing types in virtual services and provides configuration entries for advanced features. The value of this parameter overwrites the configurations in RouteName, RouteType, MatchRequest, and HTTPAdvancedOptions.

+ * + * example: + *

{ + * "http": { + * "route": [ + * { + * "destination": { + * "host": "httpbin" + * } + * } + * ], + * "name": "httpbin", + * "match": [ + * { + * "uri": { + * "prefix": "/" + * } + * } + * ], + * "fault": { + * "delay": { + * "fixedDelay": "2s", + * "percentage": { + * "value": 70 + * } + * } + * } + * } + * }

*/ public Builder rawVSRoute(Object rawVSRoute) { this.rawVSRoute = rawVSRoute; @@ -1738,15 +2185,18 @@ public Builder rawVSRoute(Object rawVSRoute) { } /** - * The endpoints of destination services for Layer 4 weighted routing. + *

The endpoints of destination services for Layer 4 weighted routing.

*/ - public Builder routeDestinations(java.util.List < RouteDestinations> routeDestinations) { + public Builder routeDestinations(java.util.List routeDestinations) { this.routeDestinations = routeDestinations; return this; } /** - * The name of the routing rule. + *

The name of the routing rule.

+ * + * example: + *

reviews-v2-routes

*/ public Builder routeName(String routeName) { this.routeName = routeName; @@ -1754,7 +2204,10 @@ public Builder routeName(String routeName) { } /** - * The type of the traffic to be routed. Valid values: `HTTP`, `TLS`, and `TCP`. + *

The type of the traffic to be routed. Valid values: HTTP, TLS, and TCP.

+ * + * example: + *

HTTP

*/ public Builder routeType(String routeType) { this.routeType = routeType; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayRoutesResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayRoutesResponse.java index e5f06c8e133..50556c6342a 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayRoutesResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayRoutesResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateIstioGatewayRoutesResponse} extends {@link TeaModel} * *

CreateIstioGatewayRoutesResponse

*/ public class CreateIstioGatewayRoutesResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private CreateIstioGatewayRoutesResponseBody body; private CreateIstioGatewayRoutesResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static CreateIstioGatewayRoutesResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public CreateIstioGatewayRoutesResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private CreateIstioGatewayRoutesResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(CreateIstioGatewayRoutesResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayRoutesResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayRoutesResponseBody.java index 09567fc0755..623cd974f5e 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayRoutesResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayRoutesResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateIstioGatewayRoutesResponseBody} extends {@link TeaModel} * *

CreateIstioGatewayRoutesResponseBody

*/ public class CreateIstioGatewayRoutesResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private CreateIstioGatewayRoutesResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static CreateIstioGatewayRoutesResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(CreateIstioGatewayRoutesResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

31d3a0f0-07ed-4f6e-9004-1804498c****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateServiceMeshRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateServiceMeshRequest.java index 39a32194ba8..c30854a786c 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateServiceMeshRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateServiceMeshRequest.java @@ -1,318 +1,337 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateServiceMeshRequest} extends {@link RequestModel} * *

CreateServiceMeshRequest

*/ public class CreateServiceMeshRequest extends Request { - @Body - @NameInMap("AccessLogEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("AccessLogEnabled") private Boolean accessLogEnabled; - @Body - @NameInMap("AccessLogFile") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("AccessLogFile") private String accessLogFile; - @Body - @NameInMap("AccessLogFormat") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("AccessLogFormat") private String accessLogFormat; - @Body - @NameInMap("AccessLogProject") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("AccessLogProject") private String accessLogProject; - @Body - @NameInMap("AccessLogServiceEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("AccessLogServiceEnabled") private Boolean accessLogServiceEnabled; - @Body - @NameInMap("AccessLogServiceHost") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("AccessLogServiceHost") private String accessLogServiceHost; - @Body - @NameInMap("AccessLogServicePort") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("AccessLogServicePort") private Integer accessLogServicePort; - @Body - @NameInMap("ApiServerLoadBalancerSpec") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ApiServerLoadBalancerSpec") private String apiServerLoadBalancerSpec; - @Body - @NameInMap("ApiServerPublicEip") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ApiServerPublicEip") private Boolean apiServerPublicEip; - @Body - @NameInMap("AuditProject") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("AuditProject") private String auditProject; - @Body - @NameInMap("AutoRenew") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("AutoRenew") private Boolean autoRenew; - @Body - @NameInMap("AutoRenewPeriod") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("AutoRenewPeriod") private Integer autoRenewPeriod; - @Body - @NameInMap("CRAggregationEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("CRAggregationEnabled") private Boolean CRAggregationEnabled; - @Body - @NameInMap("ChargeType") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("CertChain") + private String certChain; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ChargeType") private String chargeType; - @Body - @NameInMap("ClusterDomain") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ClusterDomain") private String clusterDomain; - @Body - @NameInMap("ClusterSpec") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ClusterSpec") private String clusterSpec; - @Body - @NameInMap("ConfigSourceEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ConfigSourceEnabled") private Boolean configSourceEnabled; - @Body - @NameInMap("ConfigSourceNacosID") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ConfigSourceNacosID") private String configSourceNacosID; - @Body - @NameInMap("ControlPlaneLogEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ControlPlaneLogEnabled") private Boolean controlPlaneLogEnabled; - @Body - @NameInMap("ControlPlaneLogProject") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ControlPlaneLogProject") private String controlPlaneLogProject; - @Body - @NameInMap("CustomizedPrometheus") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("CustomizedPrometheus") private Boolean customizedPrometheus; - @Body - @NameInMap("CustomizedZipkin") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("CustomizedZipkin") private Boolean customizedZipkin; - @Body - @NameInMap("DNSProxyingEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("DNSProxyingEnabled") private Boolean DNSProxyingEnabled; - @Body - @NameInMap("DubboFilterEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("DubboFilterEnabled") private Boolean dubboFilterEnabled; - @Body - @NameInMap("Edition") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Edition") private String edition; - @Body - @NameInMap("EnableAmbient") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("EnableACMG") + private Boolean enableACMG; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("EnableAmbient") private Boolean enableAmbient; - @Body - @NameInMap("EnableAudit") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("EnableAudit") private Boolean enableAudit; - @Body - @NameInMap("EnableCRHistory") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("EnableCRHistory") private Boolean enableCRHistory; - @Body - @NameInMap("EnableSDSServer") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("EnableSDSServer") private Boolean enableSDSServer; - @Body - @NameInMap("ExcludeIPRanges") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ExcludeIPRanges") private String excludeIPRanges; - @Body - @NameInMap("ExcludeInboundPorts") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ExcludeInboundPorts") private String excludeInboundPorts; - @Body - @NameInMap("ExcludeOutboundPorts") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ExcludeOutboundPorts") private String excludeOutboundPorts; - @Body - @NameInMap("ExistingCaCert") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ExistingCaCert") private String existingCaCert; - @Body - @NameInMap("ExistingCaKey") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ExistingCaKey") private String existingCaKey; - @Body - @NameInMap("ExistingCaType") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ExistingCaType") + @Deprecated private String existingCaType; - @Body - @NameInMap("ExistingRootCaCert") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ExistingRootCaCert") private String existingRootCaCert; - @Body - @NameInMap("ExistingRootCaKey") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ExistingRootCaKey") + @Deprecated private String existingRootCaKey; - @Body - @NameInMap("FilterGatewayClusterConfig") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("FilterGatewayClusterConfig") private Boolean filterGatewayClusterConfig; - @Body - @NameInMap("GatewayAPIEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("GatewayAPIEnabled") private Boolean gatewayAPIEnabled; - @Body - @NameInMap("GuestCluster") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("GuestCluster") private String guestCluster; - @Body - @NameInMap("IncludeIPRanges") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IncludeIPRanges") private String includeIPRanges; - @Body - @NameInMap("IstioVersion") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IstioVersion") private String istioVersion; - @Body - @NameInMap("KialiEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("KialiEnabled") private Boolean kialiEnabled; - @Body - @NameInMap("LocalityLBConf") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("LocalityLBConf") private String localityLBConf; - @Body - @NameInMap("LocalityLoadBalancing") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("LocalityLoadBalancing") private Boolean localityLoadBalancing; - @Body - @NameInMap("MSEEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("MSEEnabled") private Boolean MSEEnabled; - @Body - @NameInMap("MultiBufferEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("MultiBufferEnabled") private Boolean multiBufferEnabled; - @Body - @NameInMap("MultiBufferPollDelay") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("MultiBufferPollDelay") private String multiBufferPollDelay; - @Body - @NameInMap("MysqlFilterEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("MysqlFilterEnabled") private Boolean mysqlFilterEnabled; - @Body - @NameInMap("Name") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Name") private String name; - @Body - @NameInMap("OPALimitCPU") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("OPALimitCPU") private String OPALimitCPU; - @Body - @NameInMap("OPALimitMemory") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("OPALimitMemory") private String OPALimitMemory; - @Body - @NameInMap("OPALogLevel") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("OPALogLevel") private String OPALogLevel; - @Body - @NameInMap("OPARequestCPU") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("OPARequestCPU") private String OPARequestCPU; - @Body - @NameInMap("OPARequestMemory") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("OPARequestMemory") private String OPARequestMemory; - @Body - @NameInMap("OpaEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("OpaEnabled") private Boolean opaEnabled; - @Body - @NameInMap("OpenAgentPolicy") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("OpenAgentPolicy") private Boolean openAgentPolicy; - @Body - @NameInMap("Period") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Period") private Integer period; - @Body - @NameInMap("PilotLoadBalancerSpec") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("PilotLoadBalancerSpec") private String pilotLoadBalancerSpec; - @Body - @NameInMap("PrometheusUrl") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("PlaygroundScene") + private String playgroundScene; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("PrometheusUrl") private String prometheusUrl; - @Body - @NameInMap("ProxyLimitCPU") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ProxyLimitCPU") private String proxyLimitCPU; - @Body - @NameInMap("ProxyLimitMemory") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ProxyLimitMemory") private String proxyLimitMemory; - @Body - @NameInMap("ProxyRequestCPU") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ProxyRequestCPU") private String proxyRequestCPU; - @Body - @NameInMap("ProxyRequestMemory") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ProxyRequestMemory") private String proxyRequestMemory; - @Body - @NameInMap("RedisFilterEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("RedisFilterEnabled") private Boolean redisFilterEnabled; - @Body - @NameInMap("RegionId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("RegionId") + @com.aliyun.core.annotation.Validation(required = true) private String regionId; - @Query - @NameInMap("Tag") - private java.util.List < Tag> tag; + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("Tag") + private java.util.List tag; - @Body - @NameInMap("Telemetry") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Telemetry") private Boolean telemetry; - @Body - @NameInMap("ThriftFilterEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ThriftFilterEnabled") private Boolean thriftFilterEnabled; - @Body - @NameInMap("TraceSampling") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("TraceSampling") private Float traceSampling; - @Body - @NameInMap("Tracing") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Tracing") private Boolean tracing; - @Body - @NameInMap("UseExistingCA") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("UseExistingCA") private Boolean useExistingCA; - @Body - @NameInMap("VSwitches") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("VSwitches") + @com.aliyun.core.annotation.Validation(required = true) private String vSwitches; - @Body - @NameInMap("VpcId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("VpcId") + @com.aliyun.core.annotation.Validation(required = true) private String vpcId; - @Body - @NameInMap("WebAssemblyFilterEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("WebAssemblyFilterEnabled") private Boolean webAssemblyFilterEnabled; private CreateServiceMeshRequest(Builder builder) { @@ -330,6 +349,7 @@ private CreateServiceMeshRequest(Builder builder) { this.autoRenew = builder.autoRenew; this.autoRenewPeriod = builder.autoRenewPeriod; this.CRAggregationEnabled = builder.CRAggregationEnabled; + this.certChain = builder.certChain; this.chargeType = builder.chargeType; this.clusterDomain = builder.clusterDomain; this.clusterSpec = builder.clusterSpec; @@ -342,6 +362,7 @@ private CreateServiceMeshRequest(Builder builder) { this.DNSProxyingEnabled = builder.DNSProxyingEnabled; this.dubboFilterEnabled = builder.dubboFilterEnabled; this.edition = builder.edition; + this.enableACMG = builder.enableACMG; this.enableAmbient = builder.enableAmbient; this.enableAudit = builder.enableAudit; this.enableCRHistory = builder.enableCRHistory; @@ -376,6 +397,7 @@ private CreateServiceMeshRequest(Builder builder) { this.openAgentPolicy = builder.openAgentPolicy; this.period = builder.period; this.pilotLoadBalancerSpec = builder.pilotLoadBalancerSpec; + this.playgroundScene = builder.playgroundScene; this.prometheusUrl = builder.prometheusUrl; this.proxyLimitCPU = builder.proxyLimitCPU; this.proxyLimitMemory = builder.proxyLimitMemory; @@ -402,7 +424,7 @@ public static CreateServiceMeshRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -498,6 +520,13 @@ public Boolean getCRAggregationEnabled() { return this.CRAggregationEnabled; } + /** + * @return certChain + */ + public String getCertChain() { + return this.certChain; + } + /** * @return chargeType */ @@ -582,6 +611,13 @@ public String getEdition() { return this.edition; } + /** + * @return enableACMG + */ + public Boolean getEnableACMG() { + return this.enableACMG; + } + /** * @return enableAmbient */ @@ -820,6 +856,13 @@ public String getPilotLoadBalancerSpec() { return this.pilotLoadBalancerSpec; } + /** + * @return playgroundScene + */ + public String getPlaygroundScene() { + return this.playgroundScene; + } + /** * @return prometheusUrl */ @@ -872,7 +915,7 @@ public String getRegionId() { /** * @return tag */ - public java.util.List < Tag> getTag() { + public java.util.List getTag() { return this.tag; } @@ -946,6 +989,7 @@ public static final class Builder extends Request.Builder tag; + private java.util.List tag; private Boolean telemetry; private Boolean thriftFilterEnabled; private Float traceSampling; @@ -1028,6 +1074,7 @@ private Builder(CreateServiceMeshRequest request) { this.autoRenew = request.autoRenew; this.autoRenewPeriod = request.autoRenewPeriod; this.CRAggregationEnabled = request.CRAggregationEnabled; + this.certChain = request.certChain; this.chargeType = request.chargeType; this.clusterDomain = request.clusterDomain; this.clusterSpec = request.clusterSpec; @@ -1040,6 +1087,7 @@ private Builder(CreateServiceMeshRequest request) { this.DNSProxyingEnabled = request.DNSProxyingEnabled; this.dubboFilterEnabled = request.dubboFilterEnabled; this.edition = request.edition; + this.enableACMG = request.enableACMG; this.enableAmbient = request.enableAmbient; this.enableAudit = request.enableAudit; this.enableCRHistory = request.enableCRHistory; @@ -1074,6 +1122,7 @@ private Builder(CreateServiceMeshRequest request) { this.openAgentPolicy = request.openAgentPolicy; this.period = request.period; this.pilotLoadBalancerSpec = request.pilotLoadBalancerSpec; + this.playgroundScene = request.playgroundScene; this.prometheusUrl = request.prometheusUrl; this.proxyLimitCPU = request.proxyLimitCPU; this.proxyLimitMemory = request.proxyLimitMemory; @@ -1093,13 +1142,15 @@ private Builder(CreateServiceMeshRequest request) { } /** - * Specifies whether to enable access log collection. Valid values: - *

+ *

Specifies whether to enable access log collection. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * * `true` - * * `false` - * - * Default value: `false`. + * example: + *

false

*/ public Builder accessLogEnabled(Boolean accessLogEnabled) { this.putBodyParameter("AccessLogEnabled", accessLogEnabled); @@ -1108,11 +1159,14 @@ public Builder accessLogEnabled(Boolean accessLogEnabled) { } /** - * Specifies whether to enable access log collection. Valid values: - *

+ *

Specifies whether to enable access log collection. Valid values:

+ *
    + *
  • "": disables access log collection.
  • + *
  • /dev/stdout: enables access log collection. Access logs are written to /dev/stdout.
  • + *
* - * * "": disables access log collection. - * * `/dev/stdout`: enables access log collection. Access logs are written to /dev/stdout. + * example: + *

/dev/stdout

*/ public Builder accessLogFile(String accessLogFile) { this.putBodyParameter("AccessLogFile", accessLogFile); @@ -1121,7 +1175,10 @@ public Builder accessLogFile(String accessLogFile) { } /** - * Custom fields of access logs. To set this parameter, you must enable access log collection. Otherwise, you cannot set this parameter. The value must be a JSON string. The following key values must be contained: authority_for, bytes_received, bytes_sent, downstream_local_address, downstream_remote_address, duration, istio_policy_status, method, path, protocol, requested_server_name, response_code, response_flags, route_name, start_time, trace_id, upstream_cluster, upstream_host, upstream_local_address, upstream_service_time, upstream_transport_failure_reason, user_agent, and x_forwarded_for. + *

Custom fields of access logs. To set this parameter, you must enable access log collection. Otherwise, you cannot set this parameter. The value must be a JSON string. The following key values must be contained: authority_for, bytes_received, bytes_sent, downstream_local_address, downstream_remote_address, duration, istio_policy_status, method, path, protocol, requested_server_name, response_code, response_flags, route_name, start_time, trace_id, upstream_cluster, upstream_host, upstream_local_address, upstream_service_time, upstream_transport_failure_reason, user_agent, and x_forwarded_for.

+ * + * example: + *

{"authority_for":"%REQ(:AUTHORITY)%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","duration":"%DURATION%","istio_policy_status":"%DYNAMIC_METADATA(istio.mixer:status)%","method":"%REQ(:METHOD)%","path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","request_id":"%REQ(X-REQUEST-ID)%","requested_server_name":"%REQUESTED_SERVER_NAME%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","route_name":"%ROUTE_NAME%","start_time":"%START_TIME%","trace_id":"%REQ(X-B3-TRACEID)%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_host":"%UPSTREAM_HOST%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","upstream_service_time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","user_agent":"%REQ(USER-AGENT)%","x_forwarded_for":"%REQ(X-FORWARDED-FOR)%"}

*/ public Builder accessLogFormat(String accessLogFormat) { this.putBodyParameter("AccessLogFormat", accessLogFormat); @@ -1130,7 +1187,10 @@ public Builder accessLogFormat(String accessLogFormat) { } /** - * The SLS project from which access logs are collected. + *

The SLS project from which access logs are collected.

+ * + * example: + *

mesh-log-cf245a429b6ff4b6e97f20797758*****

*/ public Builder accessLogProject(String accessLogProject) { this.putBodyParameter("AccessLogProject", accessLogProject); @@ -1139,13 +1199,15 @@ public Builder accessLogProject(String accessLogProject) { } /** - * Specifies whether to enable gRPC Access Log Service (ALS) of Envoy. gRPC is short for Google Remote Procedure Call. Valid values: - *

- * - * * `true` - * * `false` + *

Specifies whether to enable gRPC Access Log Service (ALS) of Envoy. gRPC is short for Google Remote Procedure Call. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder accessLogServiceEnabled(Boolean accessLogServiceEnabled) { this.putBodyParameter("AccessLogServiceEnabled", accessLogServiceEnabled); @@ -1154,7 +1216,10 @@ public Builder accessLogServiceEnabled(Boolean accessLogServiceEnabled) { } /** - * The endpoint of Envoy\"s gRPC ALS. + *

The endpoint of Envoy"s gRPC ALS.

+ * + * example: + *

0.0.0.0

*/ public Builder accessLogServiceHost(String accessLogServiceHost) { this.putBodyParameter("AccessLogServiceHost", accessLogServiceHost); @@ -1163,7 +1228,10 @@ public Builder accessLogServiceHost(String accessLogServiceHost) { } /** - * The port of Envoy\"s gRPC ALS. + *

The port of Envoy"s gRPC ALS.

+ * + * example: + *

9999

*/ public Builder accessLogServicePort(Integer accessLogServicePort) { this.putBodyParameter("AccessLogServicePort", accessLogServicePort); @@ -1172,7 +1240,10 @@ public Builder accessLogServicePort(Integer accessLogServicePort) { } /** - * The type of the CLB instance that is bound to Istio Pilot. Valid values: `slb.s1.small`, `slb.s2.small`, `slb.s2.medium`, `slb.s3.small`, `slb.s3.medium`, and `slb.s3.large`. + *

The type of the Classic Load Balancer (CLB) instance that is bound to the API server. Valid values: slb.s1.small, slb.s2.small, slb.s2.medium, slb.s3.small, slb.s3.medium, and slb.s3.large.

+ * + * example: + *

slb.s1.small

*/ public Builder apiServerLoadBalancerSpec(String apiServerLoadBalancerSpec) { this.putBodyParameter("ApiServerLoadBalancerSpec", apiServerLoadBalancerSpec); @@ -1181,15 +1252,18 @@ public Builder apiServerLoadBalancerSpec(String apiServerLoadBalancerSpec) { } /** - * Specifies whether to expose the API server to the Internet. Valid values: - *

+ *

Specifies whether to expose the API server to the Internet. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

+ *
+ *

If you set this parameter to false, the API server cannot be accessed over the Internet.

+ *
* - * * `true` - * * `false` - * - * Default value: `false`. - * - * > If you set this parameter to `false`, the API server cannot be accessed over the Internet. + * example: + *

false

*/ public Builder apiServerPublicEip(Boolean apiServerPublicEip) { this.putBodyParameter("ApiServerPublicEip", apiServerPublicEip); @@ -1198,10 +1272,11 @@ public Builder apiServerPublicEip(Boolean apiServerPublicEip) { } /** - * The name of the Log Service project that is used for mesh audit. - *

+ *

The name of the Log Service project that is used for mesh audit.

+ *

Default value: mesh-log-{ASM instance ID}.

* - * Default value: mesh-log-{ASM instance ID}. + * example: + *

mesh-log-xxxx

*/ public Builder auditProject(String auditProject) { this.putBodyParameter("AuditProject", auditProject); @@ -1210,12 +1285,14 @@ public Builder auditProject(String auditProject) { } /** - * Specifies whether to enable auto-renewal for the CLB instance if the CLB instance uses the subscription billing method. Valid values: - *

+ *

Specifies whether to enable auto-renewal for the CLB instance if the CLB instance uses the subscription billing method. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * - true - * - * - false + * example: + *

true

*/ public Builder autoRenew(Boolean autoRenew) { this.putBodyParameter("AutoRenew", autoRenew); @@ -1224,7 +1301,10 @@ public Builder autoRenew(Boolean autoRenew) { } /** - * The auto-renewal period of the CLB instance. This parameter is valid only if the `ChargeType` parameter is set to `PrePay`. If the original subscription period of the CLB instance is less than one year, the value of this parameter indicates the number of months for auto-renewal. If the original subscription period of the CLB instance is more than one year, the value of this parameter indicates the number of years for auto-renewal. + *

The auto-renewal period of the subscription CLB instance. This parameter is valid only if ChargeType is set to PrePay. If the original subscription period of the CLB instance is less than one year, the value of this parameter indicates the number of months for auto-renewal. If the original subscription period of the CLB instance is more than one year, the value of this parameter indicates the number of years for auto-renewal.

+ * + * example: + *

3

*/ public Builder autoRenewPeriod(Integer autoRenewPeriod) { this.putBodyParameter("AutoRenewPeriod", autoRenewPeriod); @@ -1233,13 +1313,15 @@ public Builder autoRenewPeriod(Integer autoRenewPeriod) { } /** - * Specifies whether to allow the Kubernetes API of clusters on the data plane to access Istio resources. The version of the ASM instance must be V1.9.7.93 or later. Valid values: - *

+ *

Specifies whether to allow the Kubernetes API of clusters on the data plane to access Istio resources. The version of the ASM instance must be V1.9.7.93 or later. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * * `true` - * * `false` - * - * Default value: `false`. + * example: + *

false

*/ public Builder CRAggregationEnabled(Boolean CRAggregationEnabled) { this.putBodyParameter("CRAggregationEnabled", CRAggregationEnabled); @@ -1248,11 +1330,26 @@ public Builder CRAggregationEnabled(Boolean CRAggregationEnabled) { } /** - * The billing method of the CLB instance. Valid values: - *

+ *

The certificate chain from the CA certificate to the root certificate. At least two certificates are included in the chain.

* - * * `PayOnDemand`: pay-as-you-go. - * * `PrePay`: subscription. + * example: + *

Base64 encoded PEM certificate chain.

+ */ + public Builder certChain(String certChain) { + this.putBodyParameter("CertChain", certChain); + this.certChain = certChain; + return this; + } + + /** + *

The billing method of the CLB instance. Valid values:

+ *
    + *
  • PayOnDemand: pay-as-you-go
  • + *
  • PrePay: subscription
  • + *
+ * + * example: + *

PrePay

*/ public Builder chargeType(String chargeType) { this.putBodyParameter("ChargeType", chargeType); @@ -1261,7 +1358,10 @@ public Builder chargeType(String chargeType) { } /** - * ClusterDomain. + *

ASM cluster domain.

+ * + * example: + *

cluster.local

*/ public Builder clusterDomain(String clusterDomain) { this.putBodyParameter("ClusterDomain", clusterDomain); @@ -1270,14 +1370,18 @@ public Builder clusterDomain(String clusterDomain) { } /** - * The edition of the ASM instance. Valid values: - *

- * - * - `standard`: Standard Edition - * - * - `enterprise`: Enterprise Edition + *

The edition of the ASM instance. Valid values:

+ *
    + *
  • standard: Standard Edition

    + *
  • + *
  • enterprise: Enterprise Edition

    + *
  • + *
  • ultimate: Ultimate Edition

    + *
  • + *
* - * - `ultimate`: Ultimate Edition + * example: + *

standard

*/ public Builder clusterSpec(String clusterSpec) { this.putBodyParameter("ClusterSpec", clusterSpec); @@ -1286,13 +1390,15 @@ public Builder clusterSpec(String clusterSpec) { } /** - * Specifies whether to enable the external service registry. Valid values: - *

+ *

Specifies whether to enable the external service registry. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * * `true` - * * `false` - * - * Default value: `false`. + * example: + *

false

*/ public Builder configSourceEnabled(Boolean configSourceEnabled) { this.putBodyParameter("ConfigSourceEnabled", configSourceEnabled); @@ -1301,7 +1407,10 @@ public Builder configSourceEnabled(Boolean configSourceEnabled) { } /** - * The instance ID of the Nacos registry. + *

The instance ID of the Nacos registry.

+ * + * example: + *

mse-cn-tl326******

*/ public Builder configSourceNacosID(String configSourceNacosID) { this.putBodyParameter("ConfigSourceNacosID", configSourceNacosID); @@ -1310,13 +1419,15 @@ public Builder configSourceNacosID(String configSourceNacosID) { } /** - * Specifies whether to enable the collection of control plane logs. Valid values: - *

+ *

Specifies whether to enable the collection of control plane logs. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * * `true` - * * `false` - * - * Default value: `false`. + * example: + *

false

*/ public Builder controlPlaneLogEnabled(Boolean controlPlaneLogEnabled) { this.putBodyParameter("ControlPlaneLogEnabled", controlPlaneLogEnabled); @@ -1325,7 +1436,10 @@ public Builder controlPlaneLogEnabled(Boolean controlPlaneLogEnabled) { } /** - * The name of the Log Service project that is used to collect the logs of the control plane. + *

The name of the Log Service project that is used to collect the logs of the control plane.

+ * + * example: + *

mesh-log-cf245a429b6ff4b6e97f20797758*****

*/ public Builder controlPlaneLogProject(String controlPlaneLogProject) { this.putBodyParameter("ControlPlaneLogProject", controlPlaneLogProject); @@ -1334,13 +1448,15 @@ public Builder controlPlaneLogProject(String controlPlaneLogProject) { } /** - * Specifies whether to use a custom Prometheus instance. Valid values: - *

+ *

Specifies whether to use a custom Prometheus instance. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * * `true` - * * `false` - * - * Default value: `false`. + * example: + *

false

*/ public Builder customizedPrometheus(Boolean customizedPrometheus) { this.putBodyParameter("CustomizedPrometheus", customizedPrometheus); @@ -1349,13 +1465,15 @@ public Builder customizedPrometheus(Boolean customizedPrometheus) { } /** - * Specifies whether to use a self-managed Zipkin system to collect tracing data. Valid values: - *

- * - * * `true`: uses a self-managed Zipkin system to collect tracing data. - * * `false`: uses Alibaba Cloud Tracing Analysis to collect tracing data. + *

Specifies whether to use a self-managed Zipkin system to collect tracing data. Valid values:

+ *
    + *
  • true: uses a self-managed Zipkin system to collect tracing data.
  • + *
  • false: uses Alibaba Cloud Tracing Analysis to collect tracing data.
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder customizedZipkin(Boolean customizedZipkin) { this.putBodyParameter("CustomizedZipkin", customizedZipkin); @@ -1364,13 +1482,15 @@ public Builder customizedZipkin(Boolean customizedZipkin) { } /** - * Specifies whether to enable the DNS proxy feature. Valid values: - *

- * - * * `true` - * * `false` + *

Specifies whether to enable the DNS proxy feature. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder DNSProxyingEnabled(Boolean DNSProxyingEnabled) { this.putBodyParameter("DNSProxyingEnabled", DNSProxyingEnabled); @@ -1379,13 +1499,15 @@ public Builder DNSProxyingEnabled(Boolean DNSProxyingEnabled) { } /** - * Specifies whether to enable Dubbo Filter. Valid values: - *

+ *

Specifies whether to enable Dubbo Filter. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * * `true` - * * `false` - * - * Default value: `false`. + * example: + *

false

*/ public Builder dubboFilterEnabled(Boolean dubboFilterEnabled) { this.putBodyParameter("DubboFilterEnabled", dubboFilterEnabled); @@ -1394,7 +1516,10 @@ public Builder dubboFilterEnabled(Boolean dubboFilterEnabled) { } /** - * The edition of the ASM instance. + *

The edition of the ASM instance.

+ * + * example: + *

Pro

*/ public Builder edition(String edition) { this.putBodyParameter("Edition", edition); @@ -1403,7 +1528,22 @@ public Builder edition(String edition) { } /** - * Specifies whether to enable the Ambient Mesh mode for the ASM instance. + *

Specifies whether to enable the ACMG mode for the ASM instance.

+ * + * example: + *

false

+ */ + public Builder enableACMG(Boolean enableACMG) { + this.putBodyParameter("EnableACMG", enableACMG); + this.enableACMG = enableACMG; + return this; + } + + /** + *

Specifies whether to enable the Ambient Mesh mode for the ASM instance.

+ * + * example: + *

false

*/ public Builder enableAmbient(Boolean enableAmbient) { this.putBodyParameter("EnableAmbient", enableAmbient); @@ -1412,13 +1552,15 @@ public Builder enableAmbient(Boolean enableAmbient) { } /** - * Specifies whether to enable the mesh audit feature. To enable this feature, make sure that you have activated [Log Service](https://sls.console.aliyun.com/). Valid values: - *

+ *

Specifies whether to enable the mesh audit feature. To enable this feature, make sure that you have activated Log Service. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * * `true` - * * `false` - * - * Default value: `false`. + * example: + *

false

*/ public Builder enableAudit(Boolean enableAudit) { this.putBodyParameter("EnableAudit", enableAudit); @@ -1427,13 +1569,15 @@ public Builder enableAudit(Boolean enableAudit) { } /** - * Specifies whether to enable the rollback feature for Istio resources. Valid values: - *

- * - * * `true` - * * `false` + *

Specifies whether to enable the rollback feature for Istio resources. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder enableCRHistory(Boolean enableCRHistory) { this.putBodyParameter("EnableCRHistory", enableCRHistory); @@ -1442,13 +1586,15 @@ public Builder enableCRHistory(Boolean enableCRHistory) { } /** - * Specifies whether to enable Secret Discovery Service (SDS). Valid values: - *

+ *

Specifies whether to enable Secret Discovery Service (SDS). Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * * `true` - * * `false` - * - * Default value: `false`. + * example: + *

false

*/ public Builder enableSDSServer(Boolean enableSDSServer) { this.putBodyParameter("EnableSDSServer", enableSDSServer); @@ -1457,7 +1603,10 @@ public Builder enableSDSServer(Boolean enableSDSServer) { } /** - * The IP ranges in CIDR form to be excluded from redirection to the sidecar proxy in the ASM instance. + *

The IP ranges in CIDR form to be excluded from redirection to the sidecar proxy in the ASM instance.

+ * + * example: + *

100.100.10*.***

*/ public Builder excludeIPRanges(String excludeIPRanges) { this.putBodyParameter("ExcludeIPRanges", excludeIPRanges); @@ -1466,7 +1615,10 @@ public Builder excludeIPRanges(String excludeIPRanges) { } /** - * The inbound ports to be excluded from redirection to the sidecar proxy in the ASM instance. Separate multiple port numbers with commas (,). + *

The inbound ports to be excluded from redirection to the sidecar proxy in the ASM instance. Separate multiple port numbers with commas (,).

+ * + * example: + *

80,81

*/ public Builder excludeInboundPorts(String excludeInboundPorts) { this.putBodyParameter("ExcludeInboundPorts", excludeInboundPorts); @@ -1475,7 +1627,10 @@ public Builder excludeInboundPorts(String excludeInboundPorts) { } /** - * The outbound ports to be excluded from redirection to the sidecar proxy in the ASM instance. Separate multiple port numbers with commas (,). + *

The outbound ports to be excluded from redirection to the sidecar proxy in the ASM instance. Separate multiple port numbers with commas (,).

+ * + * example: + *

80,81

*/ public Builder excludeOutboundPorts(String excludeOutboundPorts) { this.putBodyParameter("ExcludeOutboundPorts", excludeOutboundPorts); @@ -1484,7 +1639,10 @@ public Builder excludeOutboundPorts(String excludeOutboundPorts) { } /** - * The existing CA certificate, which is encoded in Base64. This parameter is used in scenarios where you migrate open source Istio to ASM. It specifies the content of the ca-cert.pem file in the istio-ca-secret secret. The secret is in the istio-system namespace of the Kubernetes cluster where the open source Istio is installed. + *

The existing CA certificate, which is encoded in Base64. This parameter is used in scenarios where you migrate open source Istio to ASM. It specifies the content of the ca-cert.pem file in the istio-ca-secret secret. The secret is in the istio-system namespace of the Kubernetes cluster where the open source Istio is installed.

+ * + * example: + *

CA cert content, base64 encoded format.

*/ public Builder existingCaCert(String existingCaCert) { this.putBodyParameter("ExistingCaCert", existingCaCert); @@ -1493,7 +1651,10 @@ public Builder existingCaCert(String existingCaCert) { } /** - * The existing CA key, which is encoded in Base64. This parameter is used in scenarios where you migrate open source Istio to ASM. It specifies the content of the ca-key.pem file in the istio-ca-secret secret. The secret is in the istio-system namespace of the Kubernetes cluster where the open source Istio is installed. + *

The existing CA key, which is encoded in Base64. This parameter is used in scenarios where you migrate open source Istio to ASM. It specifies the content of the ca-key.pem file in the istio-ca-secret secret. The secret is in the istio-system namespace of the Kubernetes cluster where the open source Istio is installed.

+ * + * example: + *

CA key content, base64 encoded format.

*/ public Builder existingCaKey(String existingCaKey) { this.putBodyParameter("ExistingCaKey", existingCaKey); @@ -1502,11 +1663,14 @@ public Builder existingCaKey(String existingCaKey) { } /** - * The type of the existing CA certificate. Valid values: - *

+ *

The type of the existing CA certificate. Valid values:

+ *
    + *
  • 1: Self-signed certificate generated by istiod. The certificate corresponds to the secret named istio-ca-secret in the istio-system namespace. If you use this type of certificate, you must set the ExistingCaCert and ExistingCaKey parameters.
  • + *
  • 2: Administrator-specified certificate. For more information, see plugin ca cert. In most cases, the certificate corresponds to the secret named cacerts in the istio-system namespace. If you use this type of certificate, you must set the ExisingRootCaCert and ExisingRootCaKey parameters.
  • + *
* - * * 1: Self-signed certificate generated by istiod. The certificate corresponds to the secret named istio-ca-secret in the istio-system namespace. If you use this type of certificate, you must set the `ExistingCaCert` and `ExsitingCaKey` parameters. - * * 2: Administrator-specified certificate. For more information, see [plugin ca cert](https://istio.io/latest/docs/tasks/security/cert-management/plugin-ca-cert/). In most cases, the certificate corresponds to the secret named cacerts in the istio-system namespace. If you use this type of certificate, you must set the `ExisingRootCaCert` and `ExisingRootCaKey` parameters. + * example: + *

1

*/ public Builder existingCaType(String existingCaType) { this.putBodyParameter("ExistingCaType", existingCaType); @@ -1515,7 +1679,10 @@ public Builder existingCaType(String existingCaType) { } /** - * The existing root certificate, which is encoded in Base64. + *

The existing root certificate, which is encoded in Base64.

+ * + * example: + *

Existing CA cert content, base64 encoded format.

*/ public Builder existingRootCaCert(String existingRootCaCert) { this.putBodyParameter("ExistingRootCaCert", existingRootCaCert); @@ -1524,7 +1691,10 @@ public Builder existingRootCaCert(String existingRootCaCert) { } /** - * The private key that corresponds to the root certificate, which is encoded in Base64. + *

The private key that corresponds to the root certificate, which is encoded in Base64.

+ * + * example: + *

Existing CA key content, base64 encoded format.

*/ public Builder existingRootCaKey(String existingRootCaKey) { this.putBodyParameter("ExistingRootCaKey", existingRootCaKey); @@ -1533,13 +1703,15 @@ public Builder existingRootCaKey(String existingRootCaKey) { } /** - * Specifies whether to enable gateway configuration filtering. Valid values: - *

- * - * * `true` - * * `false` + *

Specifies whether to enable gateway configuration filtering. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder filterGatewayClusterConfig(Boolean filterGatewayClusterConfig) { this.putBodyParameter("FilterGatewayClusterConfig", filterGatewayClusterConfig); @@ -1548,13 +1720,15 @@ public Builder filterGatewayClusterConfig(Boolean filterGatewayClusterConfig) { } /** - * Specifies whether to enable Gateway API. Valid values: - *

+ *

Specifies whether to enable Gateway API. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * * `true` - * * `false` - * - * Default value: `false`. + * example: + *

false

*/ public Builder gatewayAPIEnabled(Boolean gatewayAPIEnabled) { this.putBodyParameter("GatewayAPIEnabled", gatewayAPIEnabled); @@ -1563,7 +1737,10 @@ public Builder gatewayAPIEnabled(Boolean gatewayAPIEnabled) { } /** - * When you create an ASM instance, you can add a cluster to the ASM instance. If you do not specify this parameter, no cluster is added to the ASM instance. The cluster and the ASM instance must be in the same vSwitch of the same VPC and have the same domain name. + *

When you create an ASM instance, you can add a cluster to the ASM instance. If you do not specify this parameter, no cluster is added to the ASM instance. The cluster and the ASM instance must be in the same vSwitch of the same VPC and have the same domain name.

+ * + * example: + *

ACK cluster id

*/ public Builder guestCluster(String guestCluster) { this.putBodyParameter("GuestCluster", guestCluster); @@ -1572,7 +1749,12 @@ public Builder guestCluster(String guestCluster) { } /** - * The IP ranges in CIDR form for which traffic is to be redirected to the sidecar proxy in the ASM instance. + *

The IP ranges in CIDR form for which traffic is to be redirected to the sidecar proxy in the ASM instance.

+ * + * example: + *
    + *
  • + *
*/ public Builder includeIPRanges(String includeIPRanges) { this.putBodyParameter("IncludeIPRanges", includeIPRanges); @@ -1581,7 +1763,10 @@ public Builder includeIPRanges(String includeIPRanges) { } /** - * The Istio version of the ASM instance. + *

The Istio version of the ASM instance.

+ * + * example: + *

v1.5.4.1-g5960ec40-aliyun

*/ public Builder istioVersion(String istioVersion) { this.putBodyParameter("IstioVersion", istioVersion); @@ -1590,13 +1775,15 @@ public Builder istioVersion(String istioVersion) { } /** - * Specifies whether to enable the mesh topology feature. To enable this feature, make sure that you have enabled Prometheus monitoring. If Prometheus monitoring is disabled, you must set this parameter to `false`.`` Valid values: - *

+ *

Specifies whether to enable the mesh topology feature. To enable this feature, make sure that you have enabled Prometheus monitoring. If Prometheus monitoring is disabled, you must set this parameter to false.`` Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * * `true` - * * `false` - * - * Default value: `false`. + * example: + *

false

*/ public Builder kialiEnabled(Boolean kialiEnabled) { this.putBodyParameter("KialiEnabled", kialiEnabled); @@ -1605,7 +1792,10 @@ public Builder kialiEnabled(Boolean kialiEnabled) { } /** - * The configurations for the access to the nearest instance. + *

The configurations for the access to the nearest instance.

+ * + * example: + *

{"failover":[{"from":"cn-hangzhou","to":"cn-shanghai"}]}

*/ public Builder localityLBConf(String localityLBConf) { this.putBodyParameter("LocalityLBConf", localityLBConf); @@ -1614,13 +1804,15 @@ public Builder localityLBConf(String localityLBConf) { } /** - * Specifies whether to route traffic to the nearest instance. Valid values: - *

+ *

Specifies whether to route traffic to the nearest instance. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * * `true` - * * `false` - * - * Default value: `false`. + * example: + *

false

*/ public Builder localityLoadBalancing(Boolean localityLoadBalancing) { this.putBodyParameter("LocalityLoadBalancing", localityLoadBalancing); @@ -1629,13 +1821,15 @@ public Builder localityLoadBalancing(Boolean localityLoadBalancing) { } /** - * Specifies whether to enable Microservices Engine (MSE). Valid values: - *

- * - * * `true` - * * `false` + *

Specifies whether to enable Microservices Engine (MSE). Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder MSEEnabled(Boolean MSEEnabled) { this.putBodyParameter("MSEEnabled", MSEEnabled); @@ -1644,15 +1838,17 @@ public Builder MSEEnabled(Boolean MSEEnabled) { } /** - * Specifies whether to enable MultiBuffer-based Transport Layer Security (TLS) acceleration. Valid values: - *

- * - * - `true` + *

Specifies whether to enable MultiBuffer-based Transport Layer Security (TLS) acceleration. Valid values:

+ *
    + *
  • true

    + *
  • + *
  • false

    + *
  • + *
+ *

Default value: true

* - * - `false` - * - * - * Default value: `true` + * example: + *

true

*/ public Builder multiBufferEnabled(Boolean multiBufferEnabled) { this.putBodyParameter("MultiBufferEnabled", multiBufferEnabled); @@ -1661,7 +1857,10 @@ public Builder multiBufferEnabled(Boolean multiBufferEnabled) { } /** - * The pull-request latency. Default value: 30. Unit: seconds. + *

The pull-request latency. Default value: 30. Unit: seconds.

+ * + * example: + *

30s

*/ public Builder multiBufferPollDelay(String multiBufferPollDelay) { this.putBodyParameter("MultiBufferPollDelay", multiBufferPollDelay); @@ -1670,13 +1869,15 @@ public Builder multiBufferPollDelay(String multiBufferPollDelay) { } /** - * Specifies whether to enable MySQL Filter. Valid values: - *

- * - * * `true` - * * `false` + *

Specifies whether to enable MySQL Filter. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder mysqlFilterEnabled(Boolean mysqlFilterEnabled) { this.putBodyParameter("MysqlFilterEnabled", mysqlFilterEnabled); @@ -1685,7 +1886,10 @@ public Builder mysqlFilterEnabled(Boolean mysqlFilterEnabled) { } /** - * The name of the ASM instance. + *

The name of the ASM instance.

+ * + * example: + *

mesh1

*/ public Builder name(String name) { this.putBodyParameter("Name", name); @@ -1694,7 +1898,10 @@ public Builder name(String name) { } /** - * The maximum number of CPU cores that are available to the OPA container. + *

The maximum number of CPU cores that are available to the OPA container.

+ * + * example: + *

2

*/ public Builder OPALimitCPU(String OPALimitCPU) { this.putBodyParameter("OPALimitCPU", OPALimitCPU); @@ -1703,7 +1910,10 @@ public Builder OPALimitCPU(String OPALimitCPU) { } /** - * The maximum size of the memory that is available to the OPA container. You can specify the parameter value in the standard quantity representation form used by Kubernetes. 1 Mi equals 1,024 KB. + *

The maximum size of the memory that is available to the OPA container. You can specify the parameter value in the standard quantity representation form used by Kubernetes. 1 Mi equals 1,024 KB.

+ * + * example: + *

1024Mi

*/ public Builder OPALimitMemory(String OPALimitMemory) { this.putBodyParameter("OPALimitMemory", OPALimitMemory); @@ -1712,7 +1922,10 @@ public Builder OPALimitMemory(String OPALimitMemory) { } /** - * The log level of the OPA container. + *

The log level of the OPA container.

+ * + * example: + *

info

*/ public Builder OPALogLevel(String OPALogLevel) { this.putBodyParameter("OPALogLevel", OPALogLevel); @@ -1721,7 +1934,10 @@ public Builder OPALogLevel(String OPALogLevel) { } /** - * The minimum number of CPU cores that are required by the OPA container. You can specify the parameter value in the standard representation form of CPUs in Kubernetes. For example, if you set the value to 1, one CPU core is required. + *

The minimum number of CPU cores that are required by the OPA container. You can specify the parameter value in the standard representation form of CPUs in Kubernetes. For example, if you set the value to 1, one CPU core is required.

+ * + * example: + *

1

*/ public Builder OPARequestCPU(String OPARequestCPU) { this.putBodyParameter("OPARequestCPU", OPARequestCPU); @@ -1730,7 +1946,10 @@ public Builder OPARequestCPU(String OPARequestCPU) { } /** - * The minimum size of the memory that is required by the OPA container. You can specify the parameter value in the standard quantity representation form used by Kubernetes. 1 Mi equals 1,024 KB. + *

The minimum size of the memory that is required by the OPA container. You can specify the parameter value in the standard quantity representation form used by Kubernetes. 1 Mi equals 1,024 KB.

+ * + * example: + *

512Mi

*/ public Builder OPARequestMemory(String OPARequestMemory) { this.putBodyParameter("OPARequestMemory", OPARequestMemory); @@ -1739,13 +1958,15 @@ public Builder OPARequestMemory(String OPARequestMemory) { } /** - * Specifies whether to enable the OPA plug-in. Valid values: - *

- * - * * `true` - * * `false` + *

Specifies whether to enable the OPA plug-in. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder opaEnabled(Boolean opaEnabled) { this.putBodyParameter("OpaEnabled", opaEnabled); @@ -1754,13 +1975,15 @@ public Builder opaEnabled(Boolean opaEnabled) { } /** - * Specifies whether to install the Open Policy Agent (OPA) plug-in. Valid values: - *

+ *

Specifies whether to install the Open Policy Agent (OPA) plug-in. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * * `true` - * * `false` - * - * Default value: `false`. + * example: + *

false

*/ public Builder openAgentPolicy(Boolean openAgentPolicy) { this.putBodyParameter("OpenAgentPolicy", openAgentPolicy); @@ -1769,7 +1992,10 @@ public Builder openAgentPolicy(Boolean openAgentPolicy) { } /** - * The auto-renewal period of the CLB instance. This parameter is valid only if `ChargeType` is set to `PrePaid`. The value of this parameter indicates the purchased month of the CLB instance when the subscription billing method is used. For example, if the subscription period is one year, set this parameter to 12. + *

The subscription period of the CLB instance. This parameter is valid only if ChargeType is set to PrePay. The value of this parameter indicates the subscription period of the CLB instance. Unit: month. For example, if the subscription period is one year, set this parameter to 12.

+ * + * example: + *

3

*/ public Builder period(Integer period) { this.putBodyParameter("Period", period); @@ -1778,7 +2004,10 @@ public Builder period(Integer period) { } /** - * The type of the CLB instance that is bound to Istio Pilot. Valid values: `slb.s1.small`, `slb.s2.small`, `slb.s2.medium`, `slb.s3.small`, `slb.s3.medium`, and `slb.s3.large`. + *

The type of the CLB instance that is bound to Istio Pilot. Valid values: slb.s1.small, slb.s2.small, slb.s2.medium, slb.s3.small, slb.s3.medium, and slb.s3.large.

+ * + * example: + *

slb.s1.small

*/ public Builder pilotLoadBalancerSpec(String pilotLoadBalancerSpec) { this.putBodyParameter("PilotLoadBalancerSpec", pilotLoadBalancerSpec); @@ -1787,7 +2016,25 @@ public Builder pilotLoadBalancerSpec(String pilotLoadBalancerSpec) { } /** - * The endpoint of the custom Prometheus instance. + *

The playground scenario. If you specify this parameter, an ASM playground instance is created. Valid values:

+ *
    + *
  • ewmaLb: the exponentially weighted moving average (EWMA) load balancing algorithm.
  • + *
+ * + * example: + *

ewmaLb

+ */ + public Builder playgroundScene(String playgroundScene) { + this.putBodyParameter("PlaygroundScene", playgroundScene); + this.playgroundScene = playgroundScene; + return this; + } + + /** + *

The endpoint of the custom Prometheus instance.

+ * + * example: + *

http://prometheus:9090

*/ public Builder prometheusUrl(String prometheusUrl) { this.putBodyParameter("PrometheusUrl", prometheusUrl); @@ -1796,7 +2043,10 @@ public Builder prometheusUrl(String prometheusUrl) { } /** - * The maximum number of CPU cores that are available to the proxy container. + *

The maximum number of CPU cores that are available to the proxy container.

+ * + * example: + *

2000m

*/ public Builder proxyLimitCPU(String proxyLimitCPU) { this.putBodyParameter("ProxyLimitCPU", proxyLimitCPU); @@ -1805,7 +2055,10 @@ public Builder proxyLimitCPU(String proxyLimitCPU) { } /** - * The maximum size of the memory that is available to the proxy container. + *

The maximum size of the memory that is available to the proxy container.

+ * + * example: + *

1024Mi

*/ public Builder proxyLimitMemory(String proxyLimitMemory) { this.putBodyParameter("ProxyLimitMemory", proxyLimitMemory); @@ -1814,7 +2067,10 @@ public Builder proxyLimitMemory(String proxyLimitMemory) { } /** - * The minimum number of CPU cores that are required by the proxy container. + *

The minimum number of CPU cores that are required by the proxy container.

+ * + * example: + *

100m

*/ public Builder proxyRequestCPU(String proxyRequestCPU) { this.putBodyParameter("ProxyRequestCPU", proxyRequestCPU); @@ -1823,7 +2079,10 @@ public Builder proxyRequestCPU(String proxyRequestCPU) { } /** - * The minimum size of the memory that is required by the proxy container. + *

The minimum size of the memory that is required by the proxy container.

+ * + * example: + *

128Mi

*/ public Builder proxyRequestMemory(String proxyRequestMemory) { this.putBodyParameter("ProxyRequestMemory", proxyRequestMemory); @@ -1832,13 +2091,15 @@ public Builder proxyRequestMemory(String proxyRequestMemory) { } /** - * Specifies whether to enable Redis Filter. Valid values: - *

+ *

Specifies whether to enable Redis Filter. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * * `true` - * * `false` - * - * Default value: `false`. + * example: + *

true

*/ public Builder redisFilterEnabled(Boolean redisFilterEnabled) { this.putBodyParameter("RedisFilterEnabled", redisFilterEnabled); @@ -1847,7 +2108,11 @@ public Builder redisFilterEnabled(Boolean redisFilterEnabled) { } /** - * The ID of the region in which the ASM instance resides. + *

The ID of the region in which the ASM instance resides.

+ *

This parameter is required.

+ * + * example: + *

cn-hangzhou

*/ public Builder regionId(String regionId) { this.putBodyParameter("RegionId", regionId); @@ -1856,26 +2121,28 @@ public Builder regionId(String regionId) { } /** - * Tag of the ASM instance. A tag contains the following information: - *

- * - * * key: the name of the tag - * * value: the value of the tag + *

Tag of the ASM instance. A tag contains the following information:

+ *
    + *
  • key: the name of the tag
  • + *
  • value: the value of the tag
  • + *
*/ - public Builder tag(java.util.List < Tag> tag) { + public Builder tag(java.util.List tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } /** - * Specifies whether to enable Prometheus monitoring. We recommend that you use Prometheus Service of [Application Real-Time Monitoring Service (ARMS)](https://arms.console.aliyun.com/). Valid values: - *

+ *

Specifies whether to enable Prometheus monitoring. We recommend that you use Prometheus Service of Application Real-Time Monitoring Service (ARMS). Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * * `true` - * * `false` - * - * Default value: `false`. + * example: + *

false

*/ public Builder telemetry(Boolean telemetry) { this.putBodyParameter("Telemetry", telemetry); @@ -1884,13 +2151,15 @@ public Builder telemetry(Boolean telemetry) { } /** - * Specifies whether to enable Thrift Filter. Valid values: - *

- * - * * `true` - * * `false` + *

Specifies whether to enable Thrift Filter. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder thriftFilterEnabled(Boolean thriftFilterEnabled) { this.putBodyParameter("ThriftFilterEnabled", thriftFilterEnabled); @@ -1899,7 +2168,10 @@ public Builder thriftFilterEnabled(Boolean thriftFilterEnabled) { } /** - * The sampling percentage of Tracing Analysis. + *

The sampling percentage of Tracing Analysis.

+ * + * example: + *

100

*/ public Builder traceSampling(Float traceSampling) { this.putBodyParameter("TraceSampling", traceSampling); @@ -1908,13 +2180,15 @@ public Builder traceSampling(Float traceSampling) { } /** - * Specifies whether to enable the Tracing Analysis feature. Valid values: - *

- * - * * `true` - * * `false` + *

Specifies whether to enable the Tracing Analysis feature. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder tracing(Boolean tracing) { this.putBodyParameter("Tracing", tracing); @@ -1923,7 +2197,10 @@ public Builder tracing(Boolean tracing) { } /** - * Specifies whether to use an existing CA certificate and private key. + *

Specifies whether to use an existing CA certificate and private key.

+ * + * example: + *

false

*/ public Builder useExistingCA(Boolean useExistingCA) { this.putBodyParameter("UseExistingCA", useExistingCA); @@ -1932,7 +2209,11 @@ public Builder useExistingCA(Boolean useExistingCA) { } /** - * The ID of the vSwitch to which the ASM instance is connected. + *

The ID of the vSwitch to which the ASM instance is connected.

+ *

This parameter is required.

+ * + * example: + *

["vsw-xzegf5dndkbf4m6eg****"]

*/ public Builder vSwitches(String vSwitches) { this.putBodyParameter("VSwitches", vSwitches); @@ -1941,7 +2222,11 @@ public Builder vSwitches(String vSwitches) { } /** - * The ID of the virtual private cloud (VPC) in which the ASM instance resides. + *

The ID of the virtual private cloud (VPC) in which the ASM instance resides.

+ *

This parameter is required.

+ * + * example: + *

vpc-xzelac2tw4ic7wz31****

*/ public Builder vpcId(String vpcId) { this.putBodyParameter("VpcId", vpcId); @@ -1950,13 +2235,15 @@ public Builder vpcId(String vpcId) { } /** - * Specifies whether to enable WebAssembly Filter. Valid values: - *

+ *

Specifies whether to enable WebAssembly Filter. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * * `true` - * * `false` - * - * Default value: `false`. + * example: + *

false

*/ public Builder webAssemblyFilterEnabled(Boolean webAssemblyFilterEnabled) { this.putBodyParameter("WebAssemblyFilterEnabled", webAssemblyFilterEnabled); @@ -1971,11 +2258,17 @@ public CreateServiceMeshRequest build() { } + /** + * + * {@link CreateServiceMeshRequest} extends {@link TeaModel} + * + *

CreateServiceMeshRequest

+ */ public static class Tag extends TeaModel { - @NameInMap("Key") + @com.aliyun.core.annotation.NameInMap("Key") private String key; - @NameInMap("Value") + @com.aliyun.core.annotation.NameInMap("Value") private String value; private Tag(Builder builder) { @@ -2009,8 +2302,19 @@ public static final class Builder { private String key; private String value; + private Builder() { + } + + private Builder(Tag model) { + this.key = model.key; + this.value = model.value; + } + /** - * The name of the tag. + *

The name of the tag.

+ * + * example: + *

env

*/ public Builder key(String key) { this.key = key; @@ -2018,7 +2322,10 @@ public Builder key(String key) { } /** - * The value of the tag. + *

The value of the tag.

+ * + * example: + *

prod

*/ public Builder value(String value) { this.value = value; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateServiceMeshResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateServiceMeshResponse.java index 52a71d9d7a9..447ed013a0d 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateServiceMeshResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateServiceMeshResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateServiceMeshResponse} extends {@link TeaModel} * *

CreateServiceMeshResponse

*/ public class CreateServiceMeshResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private CreateServiceMeshResponseBody body; private CreateServiceMeshResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static CreateServiceMeshResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public CreateServiceMeshResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private CreateServiceMeshResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(CreateServiceMeshResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateServiceMeshResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateServiceMeshResponseBody.java index 59cef260c37..5598686cd86 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateServiceMeshResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateServiceMeshResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateServiceMeshResponseBody} extends {@link TeaModel} * *

CreateServiceMeshResponseBody

*/ public class CreateServiceMeshResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") private String serviceMeshId; private CreateServiceMeshResponseBody(Builder builder) { @@ -31,6 +36,10 @@ public static CreateServiceMeshResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -49,8 +58,19 @@ public static final class Builder { private String requestId; private String serviceMeshId; + private Builder() { + } + + private Builder(CreateServiceMeshResponseBody model) { + this.requestId = model.requestId; + this.serviceMeshId = model.serviceMeshId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -58,7 +78,10 @@ public Builder requestId(String requestId) { } /** - * The ID of the ASM instance. + *

The ID of the ASM instance.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.serviceMeshId = serviceMeshId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneGroupRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneGroupRequest.java index 62b24f6a388..cfe64603d11 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneGroupRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneGroupRequest.java @@ -1,58 +1,68 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateSwimLaneGroupRequest} extends {@link RequestModel} * *

CreateSwimLaneGroupRequest

*/ public class CreateSwimLaneGroupRequest extends Request { - @Body - @NameInMap("GroupName") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("GroupName") + @com.aliyun.core.annotation.Validation(required = true) private String groupName; - @Body - @NameInMap("IngressGatewayName") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IngressGatewayName") + @com.aliyun.core.annotation.Validation(required = true) private String ingressGatewayName; - @Body - @NameInMap("IngressType") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IngressGatewayNamespace") + private String ingressGatewayNamespace; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IngressType") + @com.aliyun.core.annotation.Validation(required = true) private String ingressType; - @Body - @NameInMap("IsPermissive") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IsPermissive") private Boolean isPermissive; - @Body - @NameInMap("RouteHeader") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("RouteHeader") private String routeHeader; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; - @Body - @NameInMap("ServicesList") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServicesList") + @com.aliyun.core.annotation.Validation(required = true) private String servicesList; - @Body - @NameInMap("TraceHeader") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("TraceHeader") private String traceHeader; private CreateSwimLaneGroupRequest(Builder builder) { super(builder); this.groupName = builder.groupName; this.ingressGatewayName = builder.ingressGatewayName; + this.ingressGatewayNamespace = builder.ingressGatewayNamespace; this.ingressType = builder.ingressType; this.isPermissive = builder.isPermissive; this.routeHeader = builder.routeHeader; @@ -69,7 +79,7 @@ public static CreateSwimLaneGroupRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -88,6 +98,13 @@ public String getIngressGatewayName() { return this.ingressGatewayName; } + /** + * @return ingressGatewayNamespace + */ + public String getIngressGatewayNamespace() { + return this.ingressGatewayNamespace; + } + /** * @return ingressType */ @@ -133,6 +150,7 @@ public String getTraceHeader() { public static final class Builder extends Request.Builder { private String groupName; private String ingressGatewayName; + private String ingressGatewayNamespace; private String ingressType; private Boolean isPermissive; private String routeHeader; @@ -148,6 +166,7 @@ private Builder(CreateSwimLaneGroupRequest request) { super(request); this.groupName = request.groupName; this.ingressGatewayName = request.ingressGatewayName; + this.ingressGatewayNamespace = request.ingressGatewayNamespace; this.ingressType = request.ingressType; this.isPermissive = request.isPermissive; this.routeHeader = request.routeHeader; @@ -157,7 +176,11 @@ private Builder(CreateSwimLaneGroupRequest request) { } /** - * The name of the lane group. + *

The name of the lane group.

+ *

This parameter is required.

+ * + * example: + *

test

*/ public Builder groupName(String groupName) { this.putBodyParameter("GroupName", groupName); @@ -166,7 +189,11 @@ public Builder groupName(String groupName) { } /** - * The name of the ingress gateway. + *

The name of the ingress gateway.

+ *

This parameter is required.

+ * + * example: + *

ingressgateway

*/ public Builder ingressGatewayName(String ingressGatewayName) { this.putBodyParameter("IngressGatewayName", ingressGatewayName); @@ -175,7 +202,20 @@ public Builder ingressGatewayName(String ingressGatewayName) { } /** - * The type of the gateway for ingress traffic. Only ASM ingress gateways are supported. + * IngressGatewayNamespace. + */ + public Builder ingressGatewayNamespace(String ingressGatewayNamespace) { + this.putBodyParameter("IngressGatewayNamespace", ingressGatewayNamespace); + this.ingressGatewayNamespace = ingressGatewayNamespace; + return this; + } + + /** + *

The type of the gateway for ingress traffic. Only ASM ingress gateways are supported.

+ *

This parameter is required.

+ * + * example: + *

ASM

*/ public Builder ingressType(String ingressType) { this.putBodyParameter("IngressType", ingressType); @@ -184,7 +224,10 @@ public Builder ingressType(String ingressType) { } /** - * IsPermissive. + *

Specifies whether the permissive mode is enabled for the lane group to be created.

+ * + * example: + *

false

*/ public Builder isPermissive(Boolean isPermissive) { this.putBodyParameter("IsPermissive", isPermissive); @@ -193,7 +236,10 @@ public Builder isPermissive(Boolean isPermissive) { } /** - * RouteHeader. + *

The request routing header of the lane group if you plan to create a lane group in permissive mode. This parameter must be specified when IsPermissive is set to true.

+ * + * example: + *

x-asm-prefer-tag

*/ public Builder routeHeader(String routeHeader) { this.putBodyParameter("RouteHeader", routeHeader); @@ -202,7 +248,11 @@ public Builder routeHeader(String routeHeader) { } /** - * The ID of the Alibaba Cloud Service Mesh (ASM) instance. + *

The ID of the Alibaba Cloud Service Mesh (ASM) instance.

+ *

This parameter is required.

+ * + * example: + *

xxx

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); @@ -211,7 +261,11 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * A list of services associated with the lane group. The value is a JSON array. The format of a service is `$Cluster name/$Cluster ID/$Namespace/$Service name`. + *

A list of services associated with the lane group. The value is a JSON array. The format of a service is $Cluster name/$Cluster ID/$Namespace/$Service name.

+ *

This parameter is required.

+ * + * example: + *

["sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc"]

*/ public Builder servicesList(String servicesList) { this.putBodyParameter("ServicesList", servicesList); @@ -220,7 +274,10 @@ public Builder servicesList(String servicesList) { } /** - * TraceHeader. + *

The end-to-end (E2E) pass-through request header of the lane group if you plan to create a lane group in permissive mode. This parameter must be specified when IsPermissive is set to true.

+ * + * example: + *

my-request-id

*/ public Builder traceHeader(String traceHeader) { this.putBodyParameter("TraceHeader", traceHeader); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneGroupResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneGroupResponse.java index 9414d86146b..334f9247677 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneGroupResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneGroupResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateSwimLaneGroupResponse} extends {@link TeaModel} * *

CreateSwimLaneGroupResponse

*/ public class CreateSwimLaneGroupResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private CreateSwimLaneGroupResponseBody body; private CreateSwimLaneGroupResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static CreateSwimLaneGroupResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public CreateSwimLaneGroupResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private CreateSwimLaneGroupResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(CreateSwimLaneGroupResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneGroupResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneGroupResponseBody.java index 7701280d878..a75dbf4afaf 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneGroupResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneGroupResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateSwimLaneGroupResponseBody} extends {@link TeaModel} * *

CreateSwimLaneGroupResponseBody

*/ public class CreateSwimLaneGroupResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private CreateSwimLaneGroupResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static CreateSwimLaneGroupResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(CreateSwimLaneGroupResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

yyyy

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneRequest.java index 4a5a0bb3e9f..93b2d023796 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneRequest.java @@ -1,40 +1,45 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateSwimLaneRequest} extends {@link RequestModel} * *

CreateSwimLaneRequest

*/ public class CreateSwimLaneRequest extends Request { - @Body - @NameInMap("GroupName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("GroupName") private String groupName; - @Body - @NameInMap("LabelSelectorKey") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("LabelSelectorKey") private String labelSelectorKey; - @Body - @NameInMap("LabelSelectorValue") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("LabelSelectorValue") private String labelSelectorValue; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; - @Body - @NameInMap("ServicesList") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServicesList") private String servicesList; - @Body - @NameInMap("SwimLaneName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SwimLaneName") private String swimLaneName; private CreateSwimLaneRequest(Builder builder) { @@ -55,7 +60,7 @@ public static CreateSwimLaneRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -125,7 +130,10 @@ private Builder(CreateSwimLaneRequest request) { } /** - * The name of the lane group. + *

The name of the lane group.

+ * + * example: + *

test

*/ public Builder groupName(String groupName) { this.putBodyParameter("GroupName", groupName); @@ -134,7 +142,10 @@ public Builder groupName(String groupName) { } /** - * The label key of the associated service workload. Set the value to `ASM_TRAFFIC_TAG`. + *

The label key of the associated service workload. Set the value to ASM_TRAFFIC_TAG.

+ * + * example: + *

ASM_TRAFFIC_TAG

*/ public Builder labelSelectorKey(String labelSelectorKey) { this.putBodyParameter("LabelSelectorKey", labelSelectorKey); @@ -143,7 +154,10 @@ public Builder labelSelectorKey(String labelSelectorKey) { } /** - * The label value of the associated service workload.`` + *

The label value of the associated service workload.``

+ * + * example: + *

v3

*/ public Builder labelSelectorValue(String labelSelectorValue) { this.putBodyParameter("LabelSelectorValue", labelSelectorValue); @@ -152,7 +166,11 @@ public Builder labelSelectorValue(String labelSelectorValue) { } /** - * The ID of the Service Mesh (ASM) instance. + *

The ID of the Service Mesh (ASM) instance.

+ *

This parameter is required.

+ * + * example: + *
*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); @@ -161,7 +179,10 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * The list of services associated with the lane. The value is a JSON array. The format of a single service is `$Cluster name/$Cluster ID/$Namespace/$Service name`. + *

The list of services associated with the lane. The value is a JSON array. The format of a single service is $Cluster name/$Cluster ID/$Namespace/$Service name.

+ * + * example: + *

["sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc"]

*/ public Builder servicesList(String servicesList) { this.putBodyParameter("ServicesList", servicesList); @@ -170,7 +191,10 @@ public Builder servicesList(String servicesList) { } /** - * The name of the lane. + *

The name of the lane.

+ * + * example: + *

s3

*/ public Builder swimLaneName(String swimLaneName) { this.putBodyParameter("SwimLaneName", swimLaneName); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneResponse.java index eda627c4fd9..4afa468a6ed 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateSwimLaneResponse} extends {@link TeaModel} * *

CreateSwimLaneResponse

*/ public class CreateSwimLaneResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private CreateSwimLaneResponseBody body; private CreateSwimLaneResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static CreateSwimLaneResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public CreateSwimLaneResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private CreateSwimLaneResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(CreateSwimLaneResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneResponseBody.java index 0055b76d80c..c0e7e032d30 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateSwimLaneResponseBody} extends {@link TeaModel} * *

CreateSwimLaneResponseBody

*/ public class CreateSwimLaneResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private CreateSwimLaneResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static CreateSwimLaneResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(CreateSwimLaneResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *
*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateWaypointRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateWaypointRequest.java index d4e83c004bc..95a87b5a2f5 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateWaypointRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateWaypointRequest.java @@ -1,80 +1,85 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateWaypointRequest} extends {@link RequestModel} * *

CreateWaypointRequest

*/ public class CreateWaypointRequest extends Request { - @Body - @NameInMap("ClusterId") - @Validation(required = true, minLength = 1) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ClusterId") + @com.aliyun.core.annotation.Validation(required = true, minLength = 1) private String clusterId; - @Body - @NameInMap("HPAEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("HPAEnabled") private Boolean HPAEnabled; - @Body - @NameInMap("HPAMaxReplicas") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("HPAMaxReplicas") private Integer HPAMaxReplicas; - @Body - @NameInMap("HPAMinReplicas") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("HPAMinReplicas") private Integer HPAMinReplicas; - @Body - @NameInMap("HPATargetCPU") - @Validation(maximum = 100) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("HPATargetCPU") + @com.aliyun.core.annotation.Validation(maximum = 100) private Integer HPATargetCPU; - @Body - @NameInMap("HPATargetMemory") - @Validation(maximum = 100) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("HPATargetMemory") + @com.aliyun.core.annotation.Validation(maximum = 100) private Integer HPATargetMemory; - @Body - @NameInMap("LimitCPU") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("LimitCPU") private String limitCPU; - @Body - @NameInMap("LimitMemory") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("LimitMemory") private String limitMemory; - @Body - @NameInMap("Namespace") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Namespace") + @com.aliyun.core.annotation.Validation(required = true) private String namespace; - @Body - @NameInMap("PreferECI") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("PreferECI") private Boolean preferECI; - @Body - @NameInMap("Replicas") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Replicas") private Integer replicas; - @Body - @NameInMap("RequestCPU") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("RequestCPU") private String requestCPU; - @Body - @NameInMap("RequestMemory") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("RequestMemory") private String requestMemory; - @Body - @NameInMap("ServiceAccount") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceAccount") private String serviceAccount; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true, minLength = 1) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true, minLength = 1) private String serviceMeshId; private CreateWaypointRequest(Builder builder) { @@ -104,7 +109,7 @@ public static CreateWaypointRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -255,7 +260,11 @@ private Builder(CreateWaypointRequest request) { } /** - * The ID of the cluster on the data plane. + *

The ID of the cluster on the data plane.

+ *

This parameter is required.

+ * + * example: + *

cb8963379255149cb98c8686f274x****

*/ public Builder clusterId(String clusterId) { this.putBodyParameter("ClusterId", clusterId); @@ -264,7 +273,10 @@ public Builder clusterId(String clusterId) { } /** - * Specifies whether to enable Horizontal Pod Autoscaling (HPA). + *

Specifies whether to enable Horizontal Pod Autoscaling (HPA).

+ * + * example: + *

false

*/ public Builder HPAEnabled(Boolean HPAEnabled) { this.putBodyParameter("HPAEnabled", HPAEnabled); @@ -273,7 +285,10 @@ public Builder HPAEnabled(Boolean HPAEnabled) { } /** - * The maximum number of waypoint proxy pods when HPA is enabled. + *

The maximum number of waypoint proxy pods when HPA is enabled.

+ * + * example: + *

4

*/ public Builder HPAMaxReplicas(Integer HPAMaxReplicas) { this.putBodyParameter("HPAMaxReplicas", HPAMaxReplicas); @@ -282,7 +297,10 @@ public Builder HPAMaxReplicas(Integer HPAMaxReplicas) { } /** - * The minimum number of waypoint proxy pods when HPA is enabled. + *

The minimum number of waypoint proxy pods when HPA is enabled.

+ * + * example: + *

2

*/ public Builder HPAMinReplicas(Integer HPAMinReplicas) { this.putBodyParameter("HPAMinReplicas", HPAMinReplicas); @@ -291,7 +309,10 @@ public Builder HPAMinReplicas(Integer HPAMinReplicas) { } /** - * The expected CPU utilization when HPA is enabled. + *

The expected CPU utilization when HPA is enabled.

+ * + * example: + *

93

*/ public Builder HPATargetCPU(Integer HPATargetCPU) { this.putBodyParameter("HPATargetCPU", HPATargetCPU); @@ -300,7 +321,10 @@ public Builder HPATargetCPU(Integer HPATargetCPU) { } /** - * The expected memory usage when HPA is enabled. + *

The expected memory usage when HPA is enabled.

+ * + * example: + *

91

*/ public Builder HPATargetMemory(Integer HPATargetMemory) { this.putBodyParameter("HPATargetMemory", HPATargetMemory); @@ -309,7 +333,10 @@ public Builder HPATargetMemory(Integer HPATargetMemory) { } /** - * The maximum number of CPU cores that are available to the waypoint proxy pods. + *

The maximum number of CPU cores that are available to the waypoint proxy pods.

+ * + * example: + *

2000m

*/ public Builder limitCPU(String limitCPU) { this.putBodyParameter("LimitCPU", limitCPU); @@ -318,7 +345,10 @@ public Builder limitCPU(String limitCPU) { } /** - * The maximum size of the memory that is available to the waypoint proxy pods. + *

The maximum size of the memory that is available to the waypoint proxy pods.

+ * + * example: + *

1024Mi

*/ public Builder limitMemory(String limitMemory) { this.putBodyParameter("LimitMemory", limitMemory); @@ -327,7 +357,11 @@ public Builder limitMemory(String limitMemory) { } /** - * The namespace. + *

The namespace.

+ *

This parameter is required.

+ * + * example: + *

default

*/ public Builder namespace(String namespace) { this.putBodyParameter("Namespace", namespace); @@ -336,7 +370,10 @@ public Builder namespace(String namespace) { } /** - * Specifies whether to deploy waypoint proxy pods based on Elastic Container Instance (ECI). + *

Specifies whether to deploy waypoint proxy pods based on Elastic Container Instance (ECI).

+ * + * example: + *

false

*/ public Builder preferECI(Boolean preferECI) { this.putBodyParameter("PreferECI", preferECI); @@ -345,7 +382,10 @@ public Builder preferECI(Boolean preferECI) { } /** - * The number of waypoint proxy pods. + *

The number of waypoint proxy pods.

+ * + * example: + *

1

*/ public Builder replicas(Integer replicas) { this.putBodyParameter("Replicas", replicas); @@ -354,7 +394,10 @@ public Builder replicas(Integer replicas) { } /** - * The number of CPU cores requested by the waypoint proxy pods. + *

The number of CPU cores requested by the waypoint proxy pods.

+ * + * example: + *

100m

*/ public Builder requestCPU(String requestCPU) { this.putBodyParameter("RequestCPU", requestCPU); @@ -363,7 +406,10 @@ public Builder requestCPU(String requestCPU) { } /** - * The size of the memory requested by the waypoint proxy pods. + *

The size of the memory requested by the waypoint proxy pods.

+ * + * example: + *

128Mi

*/ public Builder requestMemory(String requestMemory) { this.putBodyParameter("RequestMemory", requestMemory); @@ -372,7 +418,10 @@ public Builder requestMemory(String requestMemory) { } /** - * The service account on which the waypoint proxy takes effect. If you do not specify this parameter, the waypoint proxy takes effect for the entire namespace. + *

The service account on which the waypoint proxy takes effect. If you do not specify this parameter, the waypoint proxy takes effect for the entire namespace.

+ * + * example: + *

bookinfo-productpage

*/ public Builder serviceAccount(String serviceAccount) { this.putBodyParameter("ServiceAccount", serviceAccount); @@ -381,7 +430,11 @@ public Builder serviceAccount(String serviceAccount) { } /** - * The Service Mesh (ASM) instance ID. + *

The Service Mesh (ASM) instance ID.

+ *

This parameter is required.

+ * + * example: + *

ce134b0727aa2492db69f6c3880e****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateWaypointResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateWaypointResponse.java index 80a48cb7320..407d64dd390 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateWaypointResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateWaypointResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateWaypointResponse} extends {@link TeaModel} * *

CreateWaypointResponse

*/ public class CreateWaypointResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private CreateWaypointResponseBody body; private CreateWaypointResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static CreateWaypointResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public CreateWaypointResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private CreateWaypointResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(CreateWaypointResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateWaypointResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateWaypointResponseBody.java index 8ca0b347c9c..27fe1ffaf52 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateWaypointResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/CreateWaypointResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link CreateWaypointResponseBody} extends {@link TeaModel} * *

CreateWaypointResponseBody

*/ public class CreateWaypointResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private CreateWaypointResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static CreateWaypointResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(CreateWaypointResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

71680038-8009-5073-B43E-C057E9******

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewayRouteRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewayRouteRequest.java index ba4213384a3..6ed0dfcbead 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewayRouteRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewayRouteRequest.java @@ -1,28 +1,33 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DeleteGatewayRouteRequest} extends {@link RequestModel} * *

DeleteGatewayRouteRequest

*/ public class DeleteGatewayRouteRequest extends Request { - @Body - @NameInMap("IstioGatewayName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IstioGatewayName") private String istioGatewayName; - @Body - @NameInMap("RouteName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("RouteName") private String routeName; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DeleteGatewayRouteRequest(Builder builder) { @@ -40,7 +45,7 @@ public static DeleteGatewayRouteRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -83,7 +88,10 @@ private Builder(DeleteGatewayRouteRequest request) { } /** - * The name of the ASM gateway. + *

The name of the ASM gateway.

+ * + * example: + *

ingressgateway

*/ public Builder istioGatewayName(String istioGatewayName) { this.putBodyParameter("IstioGatewayName", istioGatewayName); @@ -92,7 +100,10 @@ public Builder istioGatewayName(String istioGatewayName) { } /** - * The name of the routing rule. + *

The name of the routing rule.

+ * + * example: + *

http-route

*/ public Builder routeName(String routeName) { this.putBodyParameter("RouteName", routeName); @@ -101,7 +112,11 @@ public Builder routeName(String routeName) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewayRouteResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewayRouteResponse.java index 98a975bdace..bb28d4d2e45 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewayRouteResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewayRouteResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DeleteGatewayRouteResponse} extends {@link TeaModel} * *

DeleteGatewayRouteResponse

*/ public class DeleteGatewayRouteResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DeleteGatewayRouteResponseBody body; private DeleteGatewayRouteResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DeleteGatewayRouteResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DeleteGatewayRouteResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DeleteGatewayRouteResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DeleteGatewayRouteResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewayRouteResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewayRouteResponseBody.java index bf47bc3c4cf..ec040c51094 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewayRouteResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewayRouteResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DeleteGatewayRouteResponseBody} extends {@link TeaModel} * *

DeleteGatewayRouteResponseBody

*/ public class DeleteGatewayRouteResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DeleteGatewayRouteResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static DeleteGatewayRouteResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(DeleteGatewayRouteResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

31d3a0f0-07ed-4f6e-9004-1804498c****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewaySecretRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewaySecretRequest.java index bb3e36e5d41..00bbfdae19f 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewaySecretRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewaySecretRequest.java @@ -1,28 +1,33 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DeleteGatewaySecretRequest} extends {@link RequestModel} * *

DeleteGatewaySecretRequest

*/ public class DeleteGatewaySecretRequest extends Request { - @Body - @NameInMap("IstioGatewayName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IstioGatewayName") private String istioGatewayName; - @Body - @NameInMap("SecretName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SecretName") private String secretName; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DeleteGatewaySecretRequest(Builder builder) { @@ -40,7 +45,7 @@ public static DeleteGatewaySecretRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -83,7 +88,10 @@ private Builder(DeleteGatewaySecretRequest request) { } /** - * The name of the ASM gateway. + *

The name of the ASM gateway.

+ * + * example: + *

ingressgateway

*/ public Builder istioGatewayName(String istioGatewayName) { this.putBodyParameter("IstioGatewayName", istioGatewayName); @@ -92,7 +100,10 @@ public Builder istioGatewayName(String istioGatewayName) { } /** - * The name of the secret. + *

The name of the secret.

+ * + * example: + *

bookinfo-secret

*/ public Builder secretName(String secretName) { this.putBodyParameter("SecretName", secretName); @@ -101,7 +112,11 @@ public Builder secretName(String secretName) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewaySecretResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewaySecretResponse.java index c8ef9fa3599..405cf0bb352 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewaySecretResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewaySecretResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DeleteGatewaySecretResponse} extends {@link TeaModel} * *

DeleteGatewaySecretResponse

*/ public class DeleteGatewaySecretResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DeleteGatewaySecretResponseBody body; private DeleteGatewaySecretResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DeleteGatewaySecretResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DeleteGatewaySecretResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DeleteGatewaySecretResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DeleteGatewaySecretResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewaySecretResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewaySecretResponseBody.java index 02bdd5a598c..b706606505e 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewaySecretResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewaySecretResponseBody.java @@ -1,22 +1,27 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DeleteGatewaySecretResponseBody} extends {@link TeaModel} * *

DeleteGatewaySecretResponseBody

*/ public class DeleteGatewaySecretResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("SecretDeleteRecord") - private java.util.Map < String, SecretDeleteRecordValue > secretDeleteRecord; + @com.aliyun.core.annotation.NameInMap("SecretDeleteRecord") + private java.util.Map secretDeleteRecord; private DeleteGatewaySecretResponseBody(Builder builder) { this.requestId = builder.requestId; @@ -31,6 +36,10 @@ public static DeleteGatewaySecretResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -41,16 +50,27 @@ public String getRequestId() { /** * @return secretDeleteRecord */ - public java.util.Map < String, SecretDeleteRecordValue > getSecretDeleteRecord() { + public java.util.Map getSecretDeleteRecord() { return this.secretDeleteRecord; } public static final class Builder { private String requestId; - private java.util.Map < String, SecretDeleteRecordValue > secretDeleteRecord; + private java.util.Map secretDeleteRecord; + + private Builder() { + } + + private Builder(DeleteGatewaySecretResponseBody model) { + this.requestId = model.requestId; + this.secretDeleteRecord = model.secretDeleteRecord; + } /** - * The request ID. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -58,9 +78,9 @@ public Builder requestId(String requestId) { } /** - * The records of deleting the secret in all clusters. + *

The records of deleting the secret in all clusters.

*/ - public Builder secretDeleteRecord(java.util.Map < String, SecretDeleteRecordValue > secretDeleteRecord) { + public Builder secretDeleteRecord(java.util.Map secretDeleteRecord) { this.secretDeleteRecord = secretDeleteRecord; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteIstioGatewayDomainsRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteIstioGatewayDomainsRequest.java index 5e2ccaf64c2..c617cb40431 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteIstioGatewayDomainsRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteIstioGatewayDomainsRequest.java @@ -1,40 +1,45 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DeleteIstioGatewayDomainsRequest} extends {@link RequestModel} * *

DeleteIstioGatewayDomainsRequest

*/ public class DeleteIstioGatewayDomainsRequest extends Request { - @Body - @NameInMap("Hosts") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Hosts") private String hosts; - @Body - @NameInMap("IstioGatewayName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IstioGatewayName") private String istioGatewayName; - @Body - @NameInMap("Limit") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Limit") private String limit; - @Body - @NameInMap("Namespace") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; - @Body - @NameInMap("PortName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("PortName") private String portName; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DeleteIstioGatewayDomainsRequest(Builder builder) { @@ -55,7 +60,7 @@ public static DeleteIstioGatewayDomainsRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -125,7 +130,10 @@ private Builder(DeleteIstioGatewayDomainsRequest request) { } /** - * The domain names of the one or more hosts that are exposed by the ASM gateway. Separate multiple domain names with commas (,). + *

The domain names of the one or more hosts that are exposed by the ASM gateway. Separate multiple domain names with commas (,).

+ * + * example: + *

example.com,demo.com

*/ public Builder hosts(String hosts) { this.putBodyParameter("Hosts", hosts); @@ -134,7 +142,10 @@ public Builder hosts(String hosts) { } /** - * The name of the ASM gateway. + *

The name of the ASM gateway.

+ * + * example: + *

ingressgateway

*/ public Builder istioGatewayName(String istioGatewayName) { this.putBodyParameter("IstioGatewayName", istioGatewayName); @@ -143,7 +154,10 @@ public Builder istioGatewayName(String istioGatewayName) { } /** - * The maximum number of Istio gateways to query. + *

The maximum number of Istio gateways to query.

+ * + * example: + *

10

*/ public Builder limit(String limit) { this.putBodyParameter("Limit", limit); @@ -152,7 +166,10 @@ public Builder limit(String limit) { } /** - * The name of the namespace. + *

The name of the namespace.

+ * + * example: + *

default

*/ public Builder namespace(String namespace) { this.putBodyParameter("Namespace", namespace); @@ -161,7 +178,10 @@ public Builder namespace(String namespace) { } /** - * The port name. + *

The port name.

+ * + * example: + *

https

*/ public Builder portName(String portName) { this.putBodyParameter("PortName", portName); @@ -170,7 +190,11 @@ public Builder portName(String portName) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteIstioGatewayDomainsResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteIstioGatewayDomainsResponse.java index 4e627d806a5..11680e6202c 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteIstioGatewayDomainsResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteIstioGatewayDomainsResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DeleteIstioGatewayDomainsResponse} extends {@link TeaModel} * *

DeleteIstioGatewayDomainsResponse

*/ public class DeleteIstioGatewayDomainsResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DeleteIstioGatewayDomainsResponseBody body; private DeleteIstioGatewayDomainsResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DeleteIstioGatewayDomainsResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DeleteIstioGatewayDomainsResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DeleteIstioGatewayDomainsResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DeleteIstioGatewayDomainsResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteIstioGatewayDomainsResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteIstioGatewayDomainsResponseBody.java index 1989d64d0d1..d447a2cc281 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteIstioGatewayDomainsResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteIstioGatewayDomainsResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DeleteIstioGatewayDomainsResponseBody} extends {@link TeaModel} * *

DeleteIstioGatewayDomainsResponseBody

*/ public class DeleteIstioGatewayDomainsResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DeleteIstioGatewayDomainsResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static DeleteIstioGatewayDomainsResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(DeleteIstioGatewayDomainsResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

31d3a0f0-07ed-4f6e-9004-1804498c****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteServiceMeshRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteServiceMeshRequest.java index d05bb98b273..e201cda8903 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteServiceMeshRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteServiceMeshRequest.java @@ -1,28 +1,33 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DeleteServiceMeshRequest} extends {@link RequestModel} * *

DeleteServiceMeshRequest

*/ public class DeleteServiceMeshRequest extends Request { - @Body - @NameInMap("Force") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Force") private Boolean force; - @Body - @NameInMap("RetainResources") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("RetainResources") private String retainResources; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DeleteServiceMeshRequest(Builder builder) { @@ -40,7 +45,7 @@ public static DeleteServiceMeshRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -83,13 +88,15 @@ private Builder(DeleteServiceMeshRequest request) { } /** - * Specifies whether to forcibly delete the ASM instance. Valid values: - *

+ *

Specifies whether to forcibly delete the ASM instance. Valid values:

+ *
    + *
  • true: forcibly deletes the ASM instance.
  • + *
  • false: does not forcibly delete the ASM instance.
  • + *
+ *

Default value: false.

* - * * `true`: forcibly deletes the ASM instance. - * * `false`: does not forcibly delete the ASM instance. - * - * Default value: false. + * example: + *

false

*/ public Builder force(Boolean force) { this.putBodyParameter("Force", force); @@ -98,7 +105,10 @@ public Builder force(Boolean force) { } /** - * A JSON string that can be parsed into a string array. You can use this JSON string to specify the IDs of the resource instances that need to be retained when the ASM instance is deleted. + *

A JSON string that can be parsed into a string array. You can use this JSON string to specify the IDs of the resource instances that need to be retained when the ASM instance is deleted.

+ * + * example: + *

[" lb-bp1fxvl3q8akbj6m*****", "lb-bp1hoxkolggdw0y3*****"]

*/ public Builder retainResources(String retainResources) { this.putBodyParameter("RetainResources", retainResources); @@ -107,7 +117,11 @@ public Builder retainResources(String retainResources) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteServiceMeshResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteServiceMeshResponse.java index 05bb9479877..33249951fe1 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteServiceMeshResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteServiceMeshResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DeleteServiceMeshResponse} extends {@link TeaModel} * *

DeleteServiceMeshResponse

*/ public class DeleteServiceMeshResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DeleteServiceMeshResponseBody body; private DeleteServiceMeshResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DeleteServiceMeshResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DeleteServiceMeshResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DeleteServiceMeshResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DeleteServiceMeshResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteServiceMeshResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteServiceMeshResponseBody.java index 1b463d6ed07..ac81cad9cc0 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteServiceMeshResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteServiceMeshResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DeleteServiceMeshResponseBody} extends {@link TeaModel} * *

DeleteServiceMeshResponseBody

*/ public class DeleteServiceMeshResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DeleteServiceMeshResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static DeleteServiceMeshResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(DeleteServiceMeshResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

11fd0027-c27e-41bb-a565-75583054****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneGroupRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneGroupRequest.java index c6d3f846688..a72a01cf661 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneGroupRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneGroupRequest.java @@ -1,24 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DeleteSwimLaneGroupRequest} extends {@link RequestModel} * *

DeleteSwimLaneGroupRequest

*/ public class DeleteSwimLaneGroupRequest extends Request { - @Body - @NameInMap("GroupName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("GroupName") private String groupName; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DeleteSwimLaneGroupRequest(Builder builder) { @@ -35,7 +40,7 @@ public static DeleteSwimLaneGroupRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -69,7 +74,10 @@ private Builder(DeleteSwimLaneGroupRequest request) { } /** - * The name of the lane group. + *

The name of the lane group.

+ * + * example: + *

test

*/ public Builder groupName(String groupName) { this.putBodyParameter("GroupName", groupName); @@ -78,7 +86,11 @@ public Builder groupName(String groupName) { } /** - * The ID of the Service Mesh (ASM) instance. + *

The ID of the Service Mesh (ASM) instance.

+ *

This parameter is required.

+ * + * example: + *

xxx

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneGroupResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneGroupResponse.java index 00074b4ca28..8ef27e10a4a 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneGroupResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneGroupResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DeleteSwimLaneGroupResponse} extends {@link TeaModel} * *

DeleteSwimLaneGroupResponse

*/ public class DeleteSwimLaneGroupResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DeleteSwimLaneGroupResponseBody body; private DeleteSwimLaneGroupResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DeleteSwimLaneGroupResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DeleteSwimLaneGroupResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DeleteSwimLaneGroupResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DeleteSwimLaneGroupResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneGroupResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneGroupResponseBody.java index 87ab6667fa7..df164659ee2 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneGroupResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneGroupResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DeleteSwimLaneGroupResponseBody} extends {@link TeaModel} * *

DeleteSwimLaneGroupResponseBody

*/ public class DeleteSwimLaneGroupResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DeleteSwimLaneGroupResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static DeleteSwimLaneGroupResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(DeleteSwimLaneGroupResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

xxxx

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneRequest.java index 119f3226e8a..cbf348bd8d5 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneRequest.java @@ -1,28 +1,33 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DeleteSwimLaneRequest} extends {@link RequestModel} * *

DeleteSwimLaneRequest

*/ public class DeleteSwimLaneRequest extends Request { - @Body - @NameInMap("GroupName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("GroupName") private String groupName; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; - @Body - @NameInMap("SwimLaneName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SwimLaneName") private String swimLaneName; private DeleteSwimLaneRequest(Builder builder) { @@ -40,7 +45,7 @@ public static DeleteSwimLaneRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -83,7 +88,10 @@ private Builder(DeleteSwimLaneRequest request) { } /** - * The name of the lane group. + *

The name of the lane group.

+ * + * example: + *

test

*/ public Builder groupName(String groupName) { this.putBodyParameter("GroupName", groupName); @@ -92,7 +100,11 @@ public Builder groupName(String groupName) { } /** - * The ID of the Service Mesh (ASM) instance. + *

The ID of the Service Mesh (ASM) instance.

+ *

This parameter is required.

+ * + * example: + *

xxx

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); @@ -101,7 +113,10 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * The name of the lane. + *

The name of the lane.

+ * + * example: + *

s1

*/ public Builder swimLaneName(String swimLaneName) { this.putBodyParameter("SwimLaneName", swimLaneName); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneResponse.java index 2d87cb1d492..10230c9d3e0 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DeleteSwimLaneResponse} extends {@link TeaModel} * *

DeleteSwimLaneResponse

*/ public class DeleteSwimLaneResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DeleteSwimLaneResponseBody body; private DeleteSwimLaneResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DeleteSwimLaneResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DeleteSwimLaneResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DeleteSwimLaneResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DeleteSwimLaneResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneResponseBody.java index 59f92d637e6..4e35ebf3433 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DeleteSwimLaneResponseBody} extends {@link TeaModel} * *

DeleteSwimLaneResponseBody

*/ public class DeleteSwimLaneResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DeleteSwimLaneResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static DeleteSwimLaneResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(DeleteSwimLaneResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

xxx

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteWaypointRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteWaypointRequest.java index e94e0285a57..0c58fb968d8 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteWaypointRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteWaypointRequest.java @@ -1,35 +1,40 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DeleteWaypointRequest} extends {@link RequestModel} * *

DeleteWaypointRequest

*/ public class DeleteWaypointRequest extends Request { - @Body - @NameInMap("ClusterId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ClusterId") + @com.aliyun.core.annotation.Validation(required = true) private String clusterId; - @Body - @NameInMap("Name") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Name") + @com.aliyun.core.annotation.Validation(required = true) private String name; - @Body - @NameInMap("Namespace") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Namespace") + @com.aliyun.core.annotation.Validation(required = true) private String namespace; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DeleteWaypointRequest(Builder builder) { @@ -48,7 +53,7 @@ public static DeleteWaypointRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -100,7 +105,11 @@ private Builder(DeleteWaypointRequest request) { } /** - * The ID of the cluster on the data plane. + *

The ID of the cluster on the data plane.

+ *

This parameter is required.

+ * + * example: + *

ce3c25e247da24f3aab9b7edfae83****

*/ public Builder clusterId(String clusterId) { this.putBodyParameter("ClusterId", clusterId); @@ -109,7 +118,11 @@ public Builder clusterId(String clusterId) { } /** - * Waypoint名称。 + *

Waypoint name.

+ *

This parameter is required.

+ * + * example: + *

bookinfo-reviews

*/ public Builder name(String name) { this.putBodyParameter("Name", name); @@ -118,7 +131,11 @@ public Builder name(String name) { } /** - * The namespace. + *

The namespace.

+ *

This parameter is required.

+ * + * example: + *

default

*/ public Builder namespace(String namespace) { this.putBodyParameter("Namespace", namespace); @@ -127,7 +144,11 @@ public Builder namespace(String namespace) { } /** - * The Service Mesh (ASM) instance ID. + *

The Service Mesh (ASM) instance ID.

+ *

This parameter is required.

+ * + * example: + *

cb8963379255149cb98c8686f274x****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteWaypointResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteWaypointResponse.java index 29448e097ba..c9428faaa93 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteWaypointResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteWaypointResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DeleteWaypointResponse} extends {@link TeaModel} * *

DeleteWaypointResponse

*/ public class DeleteWaypointResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DeleteWaypointResponseBody body; private DeleteWaypointResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DeleteWaypointResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DeleteWaypointResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DeleteWaypointResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DeleteWaypointResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteWaypointResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteWaypointResponseBody.java index ff4da15f0bb..c955e707004 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteWaypointResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DeleteWaypointResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DeleteWaypointResponseBody} extends {@link TeaModel} * *

DeleteWaypointResponseBody

*/ public class DeleteWaypointResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DeleteWaypointResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static DeleteWaypointResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(DeleteWaypointResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeASMGatewayImportedServicesRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeASMGatewayImportedServicesRequest.java index caa8dbe478a..e91ef2f0f4a 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeASMGatewayImportedServicesRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeASMGatewayImportedServicesRequest.java @@ -1,28 +1,33 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeASMGatewayImportedServicesRequest} extends {@link RequestModel} * *

DescribeASMGatewayImportedServicesRequest

*/ public class DescribeASMGatewayImportedServicesRequest extends Request { - @Body - @NameInMap("ASMGatewayName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ASMGatewayName") private String ASMGatewayName; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; - @Body - @NameInMap("ServiceNamespace") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceNamespace") private String serviceNamespace; private DescribeASMGatewayImportedServicesRequest(Builder builder) { @@ -40,7 +45,7 @@ public static DescribeASMGatewayImportedServicesRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -83,7 +88,10 @@ private Builder(DescribeASMGatewayImportedServicesRequest request) { } /** - * The name of the ASM gateway. + *

The name of the ASM gateway.

+ * + * example: + *

ingressgateway

*/ public Builder ASMGatewayName(String ASMGatewayName) { this.putBodyParameter("ASMGatewayName", ASMGatewayName); @@ -92,7 +100,11 @@ public Builder ASMGatewayName(String ASMGatewayName) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); @@ -101,7 +113,10 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * The namespace in which the services reside. + *

The namespace in which the services reside.

+ * + * example: + *

default

*/ public Builder serviceNamespace(String serviceNamespace) { this.putBodyParameter("ServiceNamespace", serviceNamespace); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeASMGatewayImportedServicesResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeASMGatewayImportedServicesResponse.java index 7cf5603b1a8..54f033f5a77 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeASMGatewayImportedServicesResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeASMGatewayImportedServicesResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeASMGatewayImportedServicesResponse} extends {@link TeaModel} * *

DescribeASMGatewayImportedServicesResponse

*/ public class DescribeASMGatewayImportedServicesResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeASMGatewayImportedServicesResponseBody body; private DescribeASMGatewayImportedServicesResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeASMGatewayImportedServicesResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeASMGatewayImportedServicesResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeASMGatewayImportedServicesResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeASMGatewayImportedServicesResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeASMGatewayImportedServicesResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeASMGatewayImportedServicesResponseBody.java index 161015903e0..c9f6994eb90 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeASMGatewayImportedServicesResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeASMGatewayImportedServicesResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeASMGatewayImportedServicesResponseBody} extends {@link TeaModel} * *

DescribeASMGatewayImportedServicesResponseBody

*/ public class DescribeASMGatewayImportedServicesResponseBody extends TeaModel { - @NameInMap("ImportedServices") - private java.util.List < ImportedServices> importedServices; + @com.aliyun.core.annotation.NameInMap("ImportedServices") + private java.util.List importedServices; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeASMGatewayImportedServicesResponseBody(Builder builder) { @@ -31,10 +36,14 @@ public static DescribeASMGatewayImportedServicesResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return importedServices */ - public java.util.List < ImportedServices> getImportedServices() { + public java.util.List getImportedServices() { return this.importedServices; } @@ -46,19 +55,30 @@ public String getRequestId() { } public static final class Builder { - private java.util.List < ImportedServices> importedServices; + private java.util.List importedServices; private String requestId; + private Builder() { + } + + private Builder(DescribeASMGatewayImportedServicesResponseBody model) { + this.importedServices = model.importedServices; + this.requestId = model.requestId; + } + /** - * The list of the imported services. + *

The list of the imported services.

*/ - public Builder importedServices(java.util.List < ImportedServices> importedServices) { + public Builder importedServices(java.util.List importedServices) { this.importedServices = importedServices; return this; } /** - * The request ID. + *

The request ID.

+ * + * example: + *

11fd0027-c27e-41bb-a565-75583054****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -71,11 +91,17 @@ public DescribeASMGatewayImportedServicesResponseBody build() { } + /** + * + * {@link DescribeASMGatewayImportedServicesResponseBody} extends {@link TeaModel} + * + *

DescribeASMGatewayImportedServicesResponseBody

+ */ public static class ImportedServices extends TeaModel { - @NameInMap("ServiceName") + @com.aliyun.core.annotation.NameInMap("ServiceName") private String serviceName; - @NameInMap("ServiceNamespace") + @com.aliyun.core.annotation.NameInMap("ServiceNamespace") private String serviceNamespace; private ImportedServices(Builder builder) { @@ -109,8 +135,19 @@ public static final class Builder { private String serviceName; private String serviceNamespace; + private Builder() { + } + + private Builder(ImportedServices model) { + this.serviceName = model.serviceName; + this.serviceNamespace = model.serviceNamespace; + } + /** - * The name of a service. + *

The name of a service.

+ * + * example: + *

productpage

*/ public Builder serviceName(String serviceName) { this.serviceName = serviceName; @@ -118,7 +155,10 @@ public Builder serviceName(String serviceName) { } /** - * The namespace in which the service resides. + *

The namespace in which the service resides.

+ * + * example: + *

default

*/ public Builder serviceNamespace(String serviceNamespace) { this.serviceNamespace = serviceNamespace; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCCMVersionRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCCMVersionRequest.java index e8024bbb003..f90bc9349be 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCCMVersionRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCCMVersionRequest.java @@ -1,20 +1,25 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeCCMVersionRequest} extends {@link RequestModel} * *

DescribeCCMVersionRequest

*/ public class DescribeCCMVersionRequest extends Request { - @Query - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DescribeCCMVersionRequest(Builder builder) { @@ -30,7 +35,7 @@ public static DescribeCCMVersionRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -55,7 +60,11 @@ private Builder(DescribeCCMVersionRequest request) { } /** - * The versions of the CCM component in all clusters on the data plane. + *

The ID of the Service Mesh (ASM) instance.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putQueryParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCCMVersionResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCCMVersionResponse.java index 09efd1a37b2..59fbea1ed18 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCCMVersionResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCCMVersionResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeCCMVersionResponse} extends {@link TeaModel} * *

DescribeCCMVersionResponse

*/ public class DescribeCCMVersionResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeCCMVersionResponseBody body; private DescribeCCMVersionResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeCCMVersionResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeCCMVersionResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeCCMVersionResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeCCMVersionResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCCMVersionResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCCMVersionResponseBody.java index 3ae77ccc5f1..584330b45bc 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCCMVersionResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCCMVersionResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeCCMVersionResponseBody} extends {@link TeaModel} * *

DescribeCCMVersionResponseBody

*/ public class DescribeCCMVersionResponseBody extends TeaModel { - @NameInMap("CCMVersions") - private java.util.Map < String, CCMVersionsValue > CCMVersions; + @com.aliyun.core.annotation.NameInMap("CCMVersions") + private java.util.Map CCMVersions; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeCCMVersionResponseBody(Builder builder) { @@ -31,10 +36,14 @@ public static DescribeCCMVersionResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return CCMVersions */ - public java.util.Map < String, CCMVersionsValue > getCCMVersions() { + public java.util.Map getCCMVersions() { return this.CCMVersions; } @@ -46,19 +55,30 @@ public String getRequestId() { } public static final class Builder { - private java.util.Map < String, CCMVersionsValue > CCMVersions; + private java.util.Map CCMVersions; private String requestId; + private Builder() { + } + + private Builder(DescribeCCMVersionResponseBody model) { + this.CCMVersions = model.CCMVersions; + this.requestId = model.requestId; + } + /** - * The ID of the request. + *

The versions of the CCM component in all clusters on the data plane.

*/ - public Builder CCMVersions(java.util.Map < String, CCMVersionsValue > CCMVersions) { + public Builder CCMVersions(java.util.Map CCMVersions) { this.CCMVersions = CCMVersions; return this; } /** - * RequestId. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCensRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCensRequest.java index 38fcc8bf445..b919a762d02 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCensRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCensRequest.java @@ -1,19 +1,24 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeCensRequest} extends {@link RequestModel} * *

DescribeCensRequest

*/ public class DescribeCensRequest extends Request { - @Query - @NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") private String serviceMeshId; private DescribeCensRequest(Builder builder) { @@ -29,7 +34,7 @@ public static DescribeCensRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -54,7 +59,10 @@ private Builder(DescribeCensRequest request) { } /** - * The ASM instance ID. + *

The ID of the ASM instance.

+ * + * example: + *

ce134b0727aa2492db69f6c3880e1****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putQueryParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCensResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCensResponse.java index 78d470e2219..a855056d914 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCensResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCensResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeCensResponse} extends {@link TeaModel} * *

DescribeCensResponse

*/ public class DescribeCensResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeCensResponseBody body; private DescribeCensResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeCensResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeCensResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder private static final class BuilderImpl extends Response.BuilderImpl implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeCensResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeCensResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCensResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCensResponseBody.java index ff75c9d7480..7c08e4117ad 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCensResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCensResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeCensResponseBody} extends {@link TeaModel} * *

DescribeCensResponseBody

*/ public class DescribeCensResponseBody extends TeaModel { - @NameInMap("Clusters") - private java.util.List < String > clusters; + @com.aliyun.core.annotation.NameInMap("Clusters") + private java.util.List clusters; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeCensResponseBody(Builder builder) { @@ -31,10 +36,14 @@ public static DescribeCensResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return clusters */ - public java.util.List < String > getClusters() { + public java.util.List getClusters() { return this.clusters; } @@ -46,19 +55,30 @@ public String getRequestId() { } public static final class Builder { - private java.util.List < String > clusters; + private java.util.List clusters; private String requestId; + private Builder() { + } + + private Builder(DescribeCensResponseBody model) { + this.clusters = model.clusters; + this.requestId = model.requestId; + } + /** - * The list of Kubernetes clusters that are added to the same ASM instance but are in different VPCs and are not connected by using a Cloud Enterprise Network (CEN) instance. + *

The list of Kubernetes clusters that are added to the same ASM instance but are in different VPCs and are not connected by using a Cloud Enterprise Network (CEN) instance.

*/ - public Builder clusters(java.util.List < String > clusters) { + public Builder clusters(java.util.List clusters) { this.clusters = clusters; return this; } /** - * The request ID. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterGrafanaRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterGrafanaRequest.java index 58372259064..a9b0df19c30 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterGrafanaRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterGrafanaRequest.java @@ -1,30 +1,40 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeClusterGrafanaRequest} extends {@link RequestModel} * *

DescribeClusterGrafanaRequest

*/ public class DescribeClusterGrafanaRequest extends Request { - @Query - @NameInMap("K8sClusterId") - @Validation(required = true) + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("K8sClusterId") + @com.aliyun.core.annotation.Validation(required = true) private String k8sClusterId; - @Query - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ReAddPrometheusIntegration") + private String reAddPrometheusIntegration; + + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DescribeClusterGrafanaRequest(Builder builder) { super(builder); this.k8sClusterId = builder.k8sClusterId; + this.reAddPrometheusIntegration = builder.reAddPrometheusIntegration; this.serviceMeshId = builder.serviceMeshId; } @@ -36,7 +46,7 @@ public static DescribeClusterGrafanaRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -48,6 +58,13 @@ public String getK8sClusterId() { return this.k8sClusterId; } + /** + * @return reAddPrometheusIntegration + */ + public String getReAddPrometheusIntegration() { + return this.reAddPrometheusIntegration; + } + /** * @return serviceMeshId */ @@ -57,6 +74,7 @@ public String getServiceMeshId() { public static final class Builder extends Request.Builder { private String k8sClusterId; + private String reAddPrometheusIntegration; private String serviceMeshId; private Builder() { @@ -66,11 +84,16 @@ private Builder() { private Builder(DescribeClusterGrafanaRequest request) { super(request); this.k8sClusterId = request.k8sClusterId; + this.reAddPrometheusIntegration = request.reAddPrometheusIntegration; this.serviceMeshId = request.serviceMeshId; } /** - * The ID of the cluster on the data plane. + *

The ID of the cluster on the data plane.

+ *

This parameter is required.

+ * + * example: + *

ce3c25e247da24f3aab9b7edfae83****

*/ public Builder k8sClusterId(String k8sClusterId) { this.putQueryParameter("K8sClusterId", k8sClusterId); @@ -79,7 +102,23 @@ public Builder k8sClusterId(String k8sClusterId) { } /** - * The ASM instance ID. + *

Specifies whether to integrate Managed Service for Prometheus for the cluster on the data plane.

+ * + * example: + *

false

+ */ + public Builder reAddPrometheusIntegration(String reAddPrometheusIntegration) { + this.putQueryParameter("ReAddPrometheusIntegration", reAddPrometheusIntegration); + this.reAddPrometheusIntegration = reAddPrometheusIntegration; + return this; + } + + /** + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

cb8963379255149cb98c8686f274x****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putQueryParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterGrafanaResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterGrafanaResponse.java index 4e8cc39df98..080e4229728 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterGrafanaResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterGrafanaResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeClusterGrafanaResponse} extends {@link TeaModel} * *

DescribeClusterGrafanaResponse

*/ public class DescribeClusterGrafanaResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeClusterGrafanaResponseBody body; private DescribeClusterGrafanaResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeClusterGrafanaResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeClusterGrafanaResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeClusterGrafanaResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeClusterGrafanaResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterGrafanaResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterGrafanaResponseBody.java index a420bff5295..4063cdea5a9 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterGrafanaResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterGrafanaResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeClusterGrafanaResponseBody} extends {@link TeaModel} * *

DescribeClusterGrafanaResponseBody

*/ public class DescribeClusterGrafanaResponseBody extends TeaModel { - @NameInMap("Dashboards") - private java.util.List < Dashboards> dashboards; + @com.aliyun.core.annotation.NameInMap("Dashboards") + private java.util.List dashboards; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeClusterGrafanaResponseBody(Builder builder) { @@ -31,10 +36,14 @@ public static DescribeClusterGrafanaResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return dashboards */ - public java.util.List < Dashboards> getDashboards() { + public java.util.List getDashboards() { return this.dashboards; } @@ -46,19 +55,30 @@ public String getRequestId() { } public static final class Builder { - private java.util.List < Dashboards> dashboards; + private java.util.List dashboards; private String requestId; + private Builder() { + } + + private Builder(DescribeClusterGrafanaResponseBody model) { + this.dashboards = model.dashboards; + this.requestId = model.requestId; + } + /** - * The information of Grafana dashboards. + *

The information about Grafana dashboards.

*/ - public Builder dashboards(java.util.List < Dashboards> dashboards) { + public Builder dashboards(java.util.List dashboards) { this.dashboards = dashboards; return this; } /** - * The request ID. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -71,11 +91,17 @@ public DescribeClusterGrafanaResponseBody build() { } + /** + * + * {@link DescribeClusterGrafanaResponseBody} extends {@link TeaModel} + * + *

DescribeClusterGrafanaResponseBody

+ */ public static class Dashboards extends TeaModel { - @NameInMap("Title") + @com.aliyun.core.annotation.NameInMap("Title") private String title; - @NameInMap("Url") + @com.aliyun.core.annotation.NameInMap("Url") private String url; private Dashboards(Builder builder) { @@ -109,8 +135,19 @@ public static final class Builder { private String title; private String url; + private Builder() { + } + + private Builder(Dashboards model) { + this.title = model.title; + this.url = model.url; + } + /** - * The title of the Grafana dashboard. + *

The title of the Grafana dashboard.

+ * + * example: + *

test

*/ public Builder title(String title) { this.title = title; @@ -118,7 +155,10 @@ public Builder title(String title) { } /** - * The endpoint of a Grafana dashboard. + *

The endpoint of the Grafana dashboard.

+ * + * example: + *

test.com

*/ public Builder url(String url) { this.url = url; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterPrometheusRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterPrometheusRequest.java index 1bc46444fe4..8bfe96f4919 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterPrometheusRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterPrometheusRequest.java @@ -1,27 +1,32 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeClusterPrometheusRequest} extends {@link RequestModel} * *

DescribeClusterPrometheusRequest

*/ public class DescribeClusterPrometheusRequest extends Request { - @Query - @NameInMap("K8sClusterId") + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("K8sClusterId") private String k8sClusterId; - @Query - @NameInMap("K8sClusterRegionId") + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("K8sClusterRegionId") private String k8sClusterRegionId; - @Query - @NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") private String serviceMeshId; private DescribeClusterPrometheusRequest(Builder builder) { @@ -39,7 +44,7 @@ public static DescribeClusterPrometheusRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -82,7 +87,10 @@ private Builder(DescribeClusterPrometheusRequest request) { } /** - * The ID of the cluster on the data plane. + *

The ID of the cluster on the data plane.

+ * + * example: + *

ce3c25e247da24f3aab9b7edfae83****

*/ public Builder k8sClusterId(String k8sClusterId) { this.putQueryParameter("K8sClusterId", k8sClusterId); @@ -91,7 +99,10 @@ public Builder k8sClusterId(String k8sClusterId) { } /** - * The ID of the region where the cluster on the data plane resides. + *

The ID of the region where the cluster on the data plane resides.

+ * + * example: + *

cn-hangzhou

*/ public Builder k8sClusterRegionId(String k8sClusterRegionId) { this.putQueryParameter("K8sClusterRegionId", k8sClusterRegionId); @@ -100,7 +111,10 @@ public Builder k8sClusterRegionId(String k8sClusterRegionId) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ * + * example: + *

cb8963379255149cb98c8686f274x****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putQueryParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterPrometheusResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterPrometheusResponse.java index 8bff56feccb..681361d5972 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterPrometheusResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterPrometheusResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeClusterPrometheusResponse} extends {@link TeaModel} * *

DescribeClusterPrometheusResponse

*/ public class DescribeClusterPrometheusResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeClusterPrometheusResponseBody body; private DescribeClusterPrometheusResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeClusterPrometheusResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeClusterPrometheusResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeClusterPrometheusResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeClusterPrometheusResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterPrometheusResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterPrometheusResponseBody.java index a3ca3f987e1..0eb0cb7ef47 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterPrometheusResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterPrometheusResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeClusterPrometheusResponseBody} extends {@link TeaModel} * *

DescribeClusterPrometheusResponseBody

*/ public class DescribeClusterPrometheusResponseBody extends TeaModel { - @NameInMap("Prometheus") + @com.aliyun.core.annotation.NameInMap("Prometheus") private String prometheus; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeClusterPrometheusResponseBody(Builder builder) { @@ -31,6 +36,10 @@ public static DescribeClusterPrometheusResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return prometheus */ @@ -49,8 +58,19 @@ public static final class Builder { private String prometheus; private String requestId; + private Builder() { + } + + private Builder(DescribeClusterPrometheusResponseBody model) { + this.prometheus = model.prometheus; + this.requestId = model.requestId; + } + /** - * The public endpoint of the Prometheus service that is used to monitor a cluster in the ASM instance. + *

The public endpoint of the Prometheus service that is used to monitor a cluster in the ASM instance.

+ * + * example: + *

p.com

*/ public Builder prometheus(String prometheus) { this.prometheus = prometheus; @@ -58,7 +78,10 @@ public Builder prometheus(String prometheus) { } /** - * The request ID. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClustersInServiceMeshRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClustersInServiceMeshRequest.java index 1ca054bf2fb..f99e4674983 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClustersInServiceMeshRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClustersInServiceMeshRequest.java @@ -1,20 +1,25 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeClustersInServiceMeshRequest} extends {@link RequestModel} * *

DescribeClustersInServiceMeshRequest

*/ public class DescribeClustersInServiceMeshRequest extends Request { - @Query - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DescribeClustersInServiceMeshRequest(Builder builder) { @@ -30,7 +35,7 @@ public static DescribeClustersInServiceMeshRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -55,7 +60,11 @@ private Builder(DescribeClustersInServiceMeshRequest request) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

cb8963379255149cb98c8686f274x****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putQueryParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClustersInServiceMeshResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClustersInServiceMeshResponse.java index a8d7638df91..ad7e500fc63 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClustersInServiceMeshResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClustersInServiceMeshResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeClustersInServiceMeshResponse} extends {@link TeaModel} * *

DescribeClustersInServiceMeshResponse

*/ public class DescribeClustersInServiceMeshResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeClustersInServiceMeshResponseBody body; private DescribeClustersInServiceMeshResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeClustersInServiceMeshResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeClustersInServiceMeshResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeClustersInServiceMeshResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeClustersInServiceMeshResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClustersInServiceMeshResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClustersInServiceMeshResponseBody.java index 19a5cc4654b..c95215a6e60 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClustersInServiceMeshResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClustersInServiceMeshResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeClustersInServiceMeshResponseBody} extends {@link TeaModel} * *

DescribeClustersInServiceMeshResponseBody

*/ public class DescribeClustersInServiceMeshResponseBody extends TeaModel { - @NameInMap("Clusters") - private java.util.List < Clusters> clusters; + @com.aliyun.core.annotation.NameInMap("Clusters") + private java.util.List clusters; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeClustersInServiceMeshResponseBody(Builder builder) { @@ -31,10 +36,14 @@ public static DescribeClustersInServiceMeshResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return clusters */ - public java.util.List < Clusters> getClusters() { + public java.util.List getClusters() { return this.clusters; } @@ -46,19 +55,30 @@ public String getRequestId() { } public static final class Builder { - private java.util.List < Clusters> clusters; + private java.util.List clusters; private String requestId; + private Builder() { + } + + private Builder(DescribeClustersInServiceMeshResponseBody model) { + this.clusters = model.clusters; + this.requestId = model.requestId; + } + /** - * The list of the clusters in the ASM instance. + *

The list of the clusters in the ASM instance.

*/ - public Builder clusters(java.util.List < Clusters> clusters) { + public Builder clusters(java.util.List clusters) { this.clusters = clusters; return this; } /** - * The request ID. + *

The request ID.

+ * + * example: + *

31d3a0f0-07ed-4f6e-9004-1804498c****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -71,11 +91,17 @@ public DescribeClustersInServiceMeshResponseBody build() { } + /** + * + * {@link DescribeClustersInServiceMeshResponseBody} extends {@link TeaModel} + * + *

DescribeClustersInServiceMeshResponseBody

+ */ public static class AccessLogDashboards extends TeaModel { - @NameInMap("Title") + @com.aliyun.core.annotation.NameInMap("Title") private String title; - @NameInMap("Url") + @com.aliyun.core.annotation.NameInMap("Url") private String url; private AccessLogDashboards(Builder builder) { @@ -109,8 +135,19 @@ public static final class Builder { private String title; private String url; + private Builder() { + } + + private Builder(AccessLogDashboards model) { + this.title = model.title; + this.url = model.url; + } + /** - * The name of the dashboard for access logs. + *

The name of the dashboard for access logs.

+ * + * example: + *

mesh-access-log_details_cn

*/ public Builder title(String title) { this.title = title; @@ -118,7 +155,7 @@ public Builder title(String title) { } /** - * The URL of the dashboard for access logs. + *

The URL of the dashboard for access logs.

*/ public Builder url(String url) { this.url = url; @@ -132,47 +169,164 @@ public AccessLogDashboards build() { } } + /** + * + * {@link DescribeClustersInServiceMeshResponseBody} extends {@link TeaModel} + * + *

DescribeClustersInServiceMeshResponseBody

+ */ + public static class SMC extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Enabled") + private Boolean enabled; + + private SMC(Builder builder) { + this.enabled = builder.enabled; + } + + public static Builder builder() { + return new Builder(); + } + + public static SMC create() { + return builder().build(); + } + + /** + * @return enabled + */ + public Boolean getEnabled() { + return this.enabled; + } + + public static final class Builder { + private Boolean enabled; + + private Builder() { + } + + private Builder(SMC model) { + this.enabled = model.enabled; + } + + /** + * Enabled. + */ + public Builder enabled(Boolean enabled) { + this.enabled = enabled; + return this; + } + + public SMC build() { + return new SMC(this); + } + + } + + } + /** + * + * {@link DescribeClustersInServiceMeshResponseBody} extends {@link TeaModel} + * + *

DescribeClustersInServiceMeshResponseBody

+ */ + public static class GuestClusterConfig extends TeaModel { + @com.aliyun.core.annotation.NameInMap("SMC") + private SMC SMC; + + private GuestClusterConfig(Builder builder) { + this.SMC = builder.SMC; + } + + public static Builder builder() { + return new Builder(); + } + + public static GuestClusterConfig create() { + return builder().build(); + } + + /** + * @return SMC + */ + public SMC getSMC() { + return this.SMC; + } + + public static final class Builder { + private SMC SMC; + + private Builder() { + } + + private Builder(GuestClusterConfig model) { + this.SMC = model.SMC; + } + + /** + * SMC. + */ + public Builder SMC(SMC SMC) { + this.SMC = SMC; + return this; + } + + public GuestClusterConfig build() { + return new GuestClusterConfig(this); + } + + } + + } + /** + * + * {@link DescribeClustersInServiceMeshResponseBody} extends {@link TeaModel} + * + *

DescribeClustersInServiceMeshResponseBody

+ */ public static class Clusters extends TeaModel { - @NameInMap("AccessLogDashboards") - private java.util.List < AccessLogDashboards> accessLogDashboards; + @com.aliyun.core.annotation.NameInMap("AccessLogDashboards") + private java.util.List accessLogDashboards; - @NameInMap("ClusterDomain") + @com.aliyun.core.annotation.NameInMap("ClusterDomain") private String clusterDomain; - @NameInMap("ClusterId") + @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; - @NameInMap("ClusterType") + @com.aliyun.core.annotation.NameInMap("ClusterType") private String clusterType; - @NameInMap("CreationTime") + @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; - @NameInMap("ErrorMessage") + @com.aliyun.core.annotation.NameInMap("ErrorMessage") private String errorMessage; - @NameInMap("LogtailInstalledState") + @com.aliyun.core.annotation.NameInMap("GuestClusterConfig") + private GuestClusterConfig guestClusterConfig; + + @com.aliyun.core.annotation.NameInMap("LogtailInstalledState") private String logtailInstalledState; - @NameInMap("Name") + @com.aliyun.core.annotation.NameInMap("Name") private String name; - @NameInMap("RegionId") + @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; - @NameInMap("SgId") + @com.aliyun.core.annotation.NameInMap("SgId") private String sgId; - @NameInMap("State") + @com.aliyun.core.annotation.NameInMap("State") private String state; - @NameInMap("UpdateTime") + @com.aliyun.core.annotation.NameInMap("UpdateTime") private String updateTime; - @NameInMap("Version") + @com.aliyun.core.annotation.NameInMap("Version") private String version; - @NameInMap("VpcId") + @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; private Clusters(Builder builder) { @@ -182,6 +336,7 @@ private Clusters(Builder builder) { this.clusterType = builder.clusterType; this.creationTime = builder.creationTime; this.errorMessage = builder.errorMessage; + this.guestClusterConfig = builder.guestClusterConfig; this.logtailInstalledState = builder.logtailInstalledState; this.name = builder.name; this.regionId = builder.regionId; @@ -203,7 +358,7 @@ public static Clusters create() { /** * @return accessLogDashboards */ - public java.util.List < AccessLogDashboards> getAccessLogDashboards() { + public java.util.List getAccessLogDashboards() { return this.accessLogDashboards; } @@ -242,6 +397,13 @@ public String getErrorMessage() { return this.errorMessage; } + /** + * @return guestClusterConfig + */ + public GuestClusterConfig getGuestClusterConfig() { + return this.guestClusterConfig; + } + /** * @return logtailInstalledState */ @@ -299,12 +461,13 @@ public String getVpcId() { } public static final class Builder { - private java.util.List < AccessLogDashboards> accessLogDashboards; + private java.util.List accessLogDashboards; private String clusterDomain; private String clusterId; private String clusterType; private String creationTime; private String errorMessage; + private GuestClusterConfig guestClusterConfig; private String logtailInstalledState; private String name; private String regionId; @@ -314,16 +477,40 @@ public static final class Builder { private String version; private String vpcId; + private Builder() { + } + + private Builder(Clusters model) { + this.accessLogDashboards = model.accessLogDashboards; + this.clusterDomain = model.clusterDomain; + this.clusterId = model.clusterId; + this.clusterType = model.clusterType; + this.creationTime = model.creationTime; + this.errorMessage = model.errorMessage; + this.guestClusterConfig = model.guestClusterConfig; + this.logtailInstalledState = model.logtailInstalledState; + this.name = model.name; + this.regionId = model.regionId; + this.sgId = model.sgId; + this.state = model.state; + this.updateTime = model.updateTime; + this.version = model.version; + this.vpcId = model.vpcId; + } + /** - * The configurations of access log collection. + *

The configurations of access log collection.

*/ - public Builder accessLogDashboards(java.util.List < AccessLogDashboards> accessLogDashboards) { + public Builder accessLogDashboards(java.util.List accessLogDashboards) { this.accessLogDashboards = accessLogDashboards; return this; } /** - * The domain name of the cluster. + *

The domain name of the cluster.

+ * + * example: + *

example.com

*/ public Builder clusterDomain(String clusterDomain) { this.clusterDomain = clusterDomain; @@ -331,7 +518,10 @@ public Builder clusterDomain(String clusterDomain) { } /** - * The ID of the cluster. + *

The ID of the cluster.

+ * + * example: + *

c80f45444b3da447da60a911390c2****

*/ public Builder clusterId(String clusterId) { this.clusterId = clusterId; @@ -339,7 +529,10 @@ public Builder clusterId(String clusterId) { } /** - * The type of the cluster. + *

The type of the cluster.

+ * + * example: + *

Ask

*/ public Builder clusterType(String clusterType) { this.clusterType = clusterType; @@ -347,7 +540,10 @@ public Builder clusterType(String clusterType) { } /** - * The time when the cluster was created. + *

The time when the cluster was created.

+ * + * example: + *

2020-05-12T15:38:16+08:00

*/ public Builder creationTime(String creationTime) { this.creationTime = creationTime; @@ -355,7 +551,10 @@ public Builder creationTime(String creationTime) { } /** - * The error message. + *

The error message.

+ * + * example: + *

,

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -363,14 +562,25 @@ public Builder errorMessage(String errorMessage) { } /** - * Indicates whether the Logtail component is installed in the cluster. Valid values: - *

- * - * * `logtail_installed`: The Logtail component is installed. - * - * \-`logtail_uninstalled`: The Logtail component is not installed. + * GuestClusterConfig. + */ + public Builder guestClusterConfig(GuestClusterConfig guestClusterConfig) { + this.guestClusterConfig = guestClusterConfig; + return this; + } + + /** + *

Indicates whether the Logtail component is installed in the cluster. Valid values:

+ *
    + *
  • logtail_installed: The Logtail component is installed.
  • + *
+ *

-logtail_uninstalled: The Logtail component is not installed.

+ *
    + *
  • logtail_state_get_error: The Logtail component failed to be installed.
  • + *
* - * * `logtail_state_get_error`: The Logtail component failed to be installed. + * example: + *

logtail_installed

*/ public Builder logtailInstalledState(String logtailInstalledState) { this.logtailInstalledState = logtailInstalledState; @@ -378,7 +588,10 @@ public Builder logtailInstalledState(String logtailInstalledState) { } /** - * The name of the cluster. + *

The name of the cluster.

+ * + * example: + *

ask1

*/ public Builder name(String name) { this.name = name; @@ -386,7 +599,10 @@ public Builder name(String name) { } /** - * The ID of the region in which the cluster resides. + *

The ID of the region in which the cluster resides.

+ * + * example: + *

cn-hangzhou

*/ public Builder regionId(String regionId) { this.regionId = regionId; @@ -394,7 +610,10 @@ public Builder regionId(String regionId) { } /** - * The ID of the security group. + *

The ID of the security group.

+ * + * example: + *

sg-bp197668l6iupljy****

*/ public Builder sgId(String sgId) { this.sgId = sgId; @@ -402,7 +621,10 @@ public Builder sgId(String sgId) { } /** - * The status of the cluster. + *

The status of the cluster.

+ * + * example: + *

running

*/ public Builder state(String state) { this.state = state; @@ -410,7 +632,10 @@ public Builder state(String state) { } /** - * The time when the cluster was last modified. + *

The time when the cluster was last modified.

+ * + * example: + *

2020-05-12T15:38:16+08:00

*/ public Builder updateTime(String updateTime) { this.updateTime = updateTime; @@ -418,7 +643,10 @@ public Builder updateTime(String updateTime) { } /** - * The version number of the cluster. + *

The version number of the cluster.

+ * + * example: + *

v1.16.6-aliyun.1

*/ public Builder version(String version) { this.version = version; @@ -426,7 +654,10 @@ public Builder version(String version) { } /** - * The ID of the virtual private cloud (VPC). + *

The ID of the virtual private cloud (VPC).

+ * + * example: + *

vpc-2zew0rajjkmxy2369****

*/ public Builder vpcId(String vpcId) { this.vpcId = vpcId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCrTemplatesRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCrTemplatesRequest.java index 07684a8b9bc..aa5519896d0 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCrTemplatesRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCrTemplatesRequest.java @@ -1,25 +1,30 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeCrTemplatesRequest} extends {@link RequestModel} * *

DescribeCrTemplatesRequest

*/ public class DescribeCrTemplatesRequest extends Request { - @Body - @NameInMap("IstioVersion") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IstioVersion") + @com.aliyun.core.annotation.Validation(required = true) private String istioVersion; - @Body - @NameInMap("Kind") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Kind") + @com.aliyun.core.annotation.Validation(required = true) private String kind; private DescribeCrTemplatesRequest(Builder builder) { @@ -36,7 +41,7 @@ public static DescribeCrTemplatesRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -70,7 +75,11 @@ private Builder(DescribeCrTemplatesRequest request) { } /** - * The Istio version used in ASM. + *

The version of Istio used by the ASM instance.

+ *

This parameter is required.

+ * + * example: + *

v1.9.7.31-g24cdcb43-aliyun

*/ public Builder istioVersion(String istioVersion) { this.putBodyParameter("IstioVersion", istioVersion); @@ -79,20 +88,24 @@ public Builder istioVersion(String istioVersion) { } /** - * The type of Istio resource whose common YAML templates you want to query. Valid values: - *

+ *

The type of Istio resource whose common YAML templates you want to query. Valid values:

+ *
    + *
  • AuthorizationPolicy
  • + *
  • RequestAuthentication
  • + *
  • PeerAuthentication
  • + *
  • WorkloadGroup
  • + *
  • WorkloadEntry
  • + *
  • Sidecar
  • + *
  • EnvoyFilter
  • + *
  • ServiceEntry
  • + *
  • Gateway
  • + *
  • DestinationRule
  • + *
  • VirtualService
  • + *
+ *

This parameter is required.

* - * * AuthorizationPolicy - * * RequestAuthentication - * * PeerAuthentication - * * WorkloadGroup - * * WorkloadEntry - * * Sidecar - * * EnvoyFilter - * * ServiceEntry - * * Gateway - * * DestinationRule - * * VirtualService + * example: + *

VirtualService

*/ public Builder kind(String kind) { this.putBodyParameter("Kind", kind); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCrTemplatesResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCrTemplatesResponse.java index aa6690fb3ae..5bb1445923c 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCrTemplatesResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCrTemplatesResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeCrTemplatesResponse} extends {@link TeaModel} * *

DescribeCrTemplatesResponse

*/ public class DescribeCrTemplatesResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeCrTemplatesResponseBody body; private DescribeCrTemplatesResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeCrTemplatesResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeCrTemplatesResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeCrTemplatesResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeCrTemplatesResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCrTemplatesResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCrTemplatesResponseBody.java index 10d5eca4932..904b7b9d581 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCrTemplatesResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCrTemplatesResponseBody.java @@ -1,22 +1,27 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeCrTemplatesResponseBody} extends {@link TeaModel} * *

DescribeCrTemplatesResponseBody

*/ public class DescribeCrTemplatesResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("Templates") - private java.util.List < Templates> templates; + @com.aliyun.core.annotation.NameInMap("Templates") + private java.util.List templates; private DescribeCrTemplatesResponseBody(Builder builder) { this.requestId = builder.requestId; @@ -31,6 +36,10 @@ public static DescribeCrTemplatesResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -41,16 +50,27 @@ public String getRequestId() { /** * @return templates */ - public java.util.List < Templates> getTemplates() { + public java.util.List getTemplates() { return this.templates; } public static final class Builder { private String requestId; - private java.util.List < Templates> templates; + private java.util.List templates; + + private Builder() { + } + + private Builder(DescribeCrTemplatesResponseBody model) { + this.requestId = model.requestId; + this.templates = model.templates; + } /** - * The request ID. + *

The request ID.

+ * + * example: + *

74E97AE2-2900-55C1-A069-C3C1EA*****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -58,9 +78,9 @@ public Builder requestId(String requestId) { } /** - * The common YAML templates for the specified type of Istio resource. + *

The common YAML templates for the specified type of Istio resource.

*/ - public Builder templates(java.util.List < Templates> templates) { + public Builder templates(java.util.List templates) { this.templates = templates; return this; } @@ -71,14 +91,20 @@ public DescribeCrTemplatesResponseBody build() { } + /** + * + * {@link DescribeCrTemplatesResponseBody} extends {@link TeaModel} + * + *

DescribeCrTemplatesResponseBody

+ */ public static class Templates extends TeaModel { - @NameInMap("ChineseName") + @com.aliyun.core.annotation.NameInMap("ChineseName") private String chineseName; - @NameInMap("EnglishName") + @com.aliyun.core.annotation.NameInMap("EnglishName") private String englishName; - @NameInMap("Yaml") + @com.aliyun.core.annotation.NameInMap("Yaml") private String yaml; private Templates(Builder builder) { @@ -121,8 +147,17 @@ public static final class Builder { private String englishName; private String yaml; + private Builder() { + } + + private Builder(Templates model) { + this.chineseName = model.chineseName; + this.englishName = model.englishName; + this.yaml = model.yaml; + } + /** - * The Chinese name of the YAML template. + *

The Chinese name of the YAML template.

*/ public Builder chineseName(String chineseName) { this.chineseName = chineseName; @@ -130,7 +165,10 @@ public Builder chineseName(String chineseName) { } /** - * The English name of the YAML template. + *

The English name of the YAML template.

+ * + * example: + *

HTTP basic routing

*/ public Builder englishName(String englishName) { this.englishName = englishName; @@ -138,7 +176,10 @@ public Builder englishName(String englishName) { } /** - * The content in the YAML template. + *

The content in the YAML template.

+ * + * example: + *

apiVersion: networking.istio.io/v1beta1\nkind: VirtualService\nmetadata:\n name: reviews-route # Name for this VirtualService.\nspec:\n hosts:\n - reviews.prod.svc.cluster.local # Service that this VirtualSerivce belongs to. \n http:\n - name: "reviews-route" # Name for the route.\n route:\n - destination: # Uniquely identifies the instances of a service to which all traffic should be forwarded to.\n host: reviews.prod.svc.cluster.local # The name of a service from the service registry or ServiceEntry.\n port:\n number: 8080"

*/ public Builder yaml(String yaml) { this.yaml = yaml; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeEipResourcesRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeEipResourcesRequest.java index 39947f3e863..a6982a121e0 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeEipResourcesRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeEipResourcesRequest.java @@ -1,27 +1,32 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeEipResourcesRequest} extends {@link RequestModel} * *

DescribeEipResourcesRequest

*/ public class DescribeEipResourcesRequest extends Request { - @Body - @NameInMap("PageNum") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("PageNum") private Integer pageNum; - @Body - @NameInMap("PageSize") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; - @Body - @NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") private String serviceMeshId; private DescribeEipResourcesRequest(Builder builder) { @@ -39,7 +44,7 @@ public static DescribeEipResourcesRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -82,7 +87,10 @@ private Builder(DescribeEipResourcesRequest request) { } /** - * The number of the page to return. Default value: 1. + *

The number of the page to return. Default value: 1.

+ * + * example: + *

1

*/ public Builder pageNum(Integer pageNum) { this.putBodyParameter("PageNum", pageNum); @@ -91,7 +99,10 @@ public Builder pageNum(Integer pageNum) { } /** - * The number of entries to return on each page. + *

The number of entries to return on each page.

+ * + * example: + *

50

*/ public Builder pageSize(Integer pageSize) { this.putBodyParameter("PageSize", pageSize); @@ -100,7 +111,10 @@ public Builder pageSize(Integer pageSize) { } /** - * The ID of the ASM instance. + *

The ID of the ASM instance.

+ * + * example: + *

cb8963379255149cb98c8686f274x****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeEipResourcesResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeEipResourcesResponse.java index 3c853abe4fd..f98225102fb 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeEipResourcesResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeEipResourcesResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeEipResourcesResponse} extends {@link TeaModel} * *

DescribeEipResourcesResponse

*/ public class DescribeEipResourcesResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeEipResourcesResponseBody body; private DescribeEipResourcesResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeEipResourcesResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeEipResourcesResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeEipResourcesResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeEipResourcesResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeEipResourcesResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeEipResourcesResponseBody.java index 605c3172566..3db254864ad 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeEipResourcesResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeEipResourcesResponseBody.java @@ -1,24 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeEipResourcesResponseBody} extends {@link TeaModel} * *

DescribeEipResourcesResponseBody

*/ public class DescribeEipResourcesResponseBody extends TeaModel { - @NameInMap("EipList") - private java.util.List < EipList> eipList; + @com.aliyun.core.annotation.NameInMap("EipList") + private java.util.List eipList; - @NameInMap("PageResult") + @com.aliyun.core.annotation.NameInMap("PageResult") private PageResult pageResult; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeEipResourcesResponseBody(Builder builder) { @@ -35,10 +40,14 @@ public static DescribeEipResourcesResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return eipList */ - public java.util.List < EipList> getEipList() { + public java.util.List getEipList() { return this.eipList; } @@ -57,20 +66,29 @@ public String getRequestId() { } public static final class Builder { - private java.util.List < EipList> eipList; + private java.util.List eipList; private PageResult pageResult; private String requestId; + private Builder() { + } + + private Builder(DescribeEipResourcesResponseBody model) { + this.eipList = model.eipList; + this.pageResult = model.pageResult; + this.requestId = model.requestId; + } + /** - * The EIPs. + *

The EIPs.

*/ - public Builder eipList(java.util.List < EipList> eipList) { + public Builder eipList(java.util.List eipList) { this.eipList = eipList; return this; } /** - * The pagination information. + *

The pagination information.

*/ public Builder pageResult(PageResult pageResult) { this.pageResult = pageResult; @@ -78,7 +96,10 @@ public Builder pageResult(PageResult pageResult) { } /** - * The ID of the request. + *

The ID of the request.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -91,17 +112,23 @@ public DescribeEipResourcesResponseBody build() { } + /** + * + * {@link DescribeEipResourcesResponseBody} extends {@link TeaModel} + * + *

DescribeEipResourcesResponseBody

+ */ public static class EipList extends TeaModel { - @NameInMap("AllocationId") + @com.aliyun.core.annotation.NameInMap("AllocationId") private String allocationId; - @NameInMap("InstanceType") + @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; - @NameInMap("IpAddress") + @com.aliyun.core.annotation.NameInMap("IpAddress") private String ipAddress; - @NameInMap("Status") + @com.aliyun.core.annotation.NameInMap("Status") private String status; private EipList(Builder builder) { @@ -153,8 +180,21 @@ public static final class Builder { private String ipAddress; private String status; + private Builder() { + } + + private Builder(EipList model) { + this.allocationId = model.allocationId; + this.instanceType = model.instanceType; + this.ipAddress = model.ipAddress; + this.status = model.status; + } + /** - * The ID of the EIP. + *

The ID of the EIP.

+ * + * example: + *

eip-2zeerraiwb7ujxscd****

*/ public Builder allocationId(String allocationId) { this.allocationId = allocationId; @@ -162,16 +202,18 @@ public Builder allocationId(String allocationId) { } /** - * The type of the resource that is associated with the EIP. Valid values: - *

- * - * * `EcsInstance`: an ECS instance in a VPC - * * `SlbInstance`: a Server Load Balancer (SLB) instance in a VPC - * * `Nat`: a NAT gateway - * * `HaVip`: a high-availability virtual IP address (HAVIP) - * * `NetworkInterface`: a secondary elastic network interface (ENI) + *

The type of the resource that is associated with the EIP. Valid values:

+ *
    + *
  • EcsInstance: an ECS instance in a VPC
  • + *
  • SlbInstance: a Server Load Balancer (SLB) instance in a VPC
  • + *
  • Nat: a NAT gateway
  • + *
  • HaVip: a high-availability virtual IP address (HAVIP)
  • + *
  • NetworkInterface: a secondary elastic network interface (ENI)
  • + *
+ *

Default value: EcsInstance.

* - * Default value: `EcsInstance`. + * example: + *

SlbInstance

*/ public Builder instanceType(String instanceType) { this.instanceType = instanceType; @@ -179,7 +221,10 @@ public Builder instanceType(String instanceType) { } /** - * The IP address of the EIP. + *

The IP address of the EIP.

+ * + * example: + *

120.xx.xx.112

*/ public Builder ipAddress(String ipAddress) { this.ipAddress = ipAddress; @@ -187,13 +232,16 @@ public Builder ipAddress(String ipAddress) { } /** - * The status of the EIP. Valid values: - *

+ *

The status of the EIP. Valid values:

+ *
    + *
  • Associating: The EIP is being associated with a resource.
  • + *
  • Unassociating: The EIP is being disassociated from a resource.
  • + *
  • InUse: The EIP is associated with a resource.
  • + *
  • Available: The EIP is available.
  • + *
* - * * `Associating`: The EIP is being associated with a resource. - * * `Unassociating`: The EIP is being disassociated from a resource. - * * `InUse`: The EIP is associated with a resource. - * * `Available`: The EIP is available. + * example: + *

InUse

*/ public Builder status(String status) { this.status = status; @@ -207,14 +255,20 @@ public EipList build() { } } + /** + * + * {@link DescribeEipResourcesResponseBody} extends {@link TeaModel} + * + *

DescribeEipResourcesResponseBody

+ */ public static class PageResult extends TeaModel { - @NameInMap("PageNumber") + @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; - @NameInMap("PageSize") + @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; - @NameInMap("TotalCount") + @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private PageResult(Builder builder) { @@ -257,8 +311,20 @@ public static final class Builder { private Integer pageSize; private Integer totalCount; + private Builder() { + } + + private Builder(PageResult model) { + this.pageNumber = model.pageNumber; + this.pageSize = model.pageSize; + this.totalCount = model.totalCount; + } + /** - * The page number of the returned page. + *

The page number of the returned page.

+ * + * example: + *

1

*/ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; @@ -266,7 +332,10 @@ public Builder pageNumber(Integer pageNumber) { } /** - * The number of entries returned per page. + *

The number of entries returned per page.

+ * + * example: + *

10

*/ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; @@ -274,7 +343,10 @@ public Builder pageSize(Integer pageSize) { } /** - * The number of entries returned. + *

The number of entries returned.

+ * + * example: + *

10

*/ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGatewaySecretDetailsRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGatewaySecretDetailsRequest.java index ec14ecba48b..8fb03f73e7b 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGatewaySecretDetailsRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGatewaySecretDetailsRequest.java @@ -1,24 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeGatewaySecretDetailsRequest} extends {@link RequestModel} * *

DescribeGatewaySecretDetailsRequest

*/ public class DescribeGatewaySecretDetailsRequest extends Request { - @Body - @NameInMap("IstioGatewayName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IstioGatewayName") private String istioGatewayName; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DescribeGatewaySecretDetailsRequest(Builder builder) { @@ -35,7 +40,7 @@ public static DescribeGatewaySecretDetailsRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -69,7 +74,10 @@ private Builder(DescribeGatewaySecretDetailsRequest request) { } /** - * The name of the ASM gateway. + *

The name of the ASM gateway.

+ * + * example: + *

ingressgateway

*/ public Builder istioGatewayName(String istioGatewayName) { this.putBodyParameter("IstioGatewayName", istioGatewayName); @@ -78,7 +86,11 @@ public Builder istioGatewayName(String istioGatewayName) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGatewaySecretDetailsResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGatewaySecretDetailsResponse.java index 14019968c6a..be850229070 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGatewaySecretDetailsResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGatewaySecretDetailsResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeGatewaySecretDetailsResponse} extends {@link TeaModel} * *

DescribeGatewaySecretDetailsResponse

*/ public class DescribeGatewaySecretDetailsResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeGatewaySecretDetailsResponseBody body; private DescribeGatewaySecretDetailsResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeGatewaySecretDetailsResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeGatewaySecretDetailsResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeGatewaySecretDetailsResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeGatewaySecretDetailsResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGatewaySecretDetailsResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGatewaySecretDetailsResponseBody.java index b965185e50f..d51ed074893 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGatewaySecretDetailsResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGatewaySecretDetailsResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeGatewaySecretDetailsResponseBody} extends {@link TeaModel} * *

DescribeGatewaySecretDetailsResponseBody

*/ public class DescribeGatewaySecretDetailsResponseBody extends TeaModel { - @NameInMap("GatewaySecretDetails") - private java.util.List < GatewaySecretDetails> gatewaySecretDetails; + @com.aliyun.core.annotation.NameInMap("GatewaySecretDetails") + private java.util.List gatewaySecretDetails; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeGatewaySecretDetailsResponseBody(Builder builder) { @@ -31,10 +36,14 @@ public static DescribeGatewaySecretDetailsResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return gatewaySecretDetails */ - public java.util.List < GatewaySecretDetails> getGatewaySecretDetails() { + public java.util.List getGatewaySecretDetails() { return this.gatewaySecretDetails; } @@ -46,19 +55,30 @@ public String getRequestId() { } public static final class Builder { - private java.util.List < GatewaySecretDetails> gatewaySecretDetails; + private java.util.List gatewaySecretDetails; private String requestId; + private Builder() { + } + + private Builder(DescribeGatewaySecretDetailsResponseBody model) { + this.gatewaySecretDetails = model.gatewaySecretDetails; + this.requestId = model.requestId; + } + /** - * The detailed information about the secret of the ASM gateway. + *

The detailed information about the secret of the ASM gateway.

*/ - public Builder gatewaySecretDetails(java.util.List < GatewaySecretDetails> gatewaySecretDetails) { + public Builder gatewaySecretDetails(java.util.List gatewaySecretDetails) { this.gatewaySecretDetails = gatewaySecretDetails; return this; } /** - * The request ID. + *

The request ID.

+ * + * example: + *

31d3a0f0-07ed-4f6e-9004-1804498c****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -71,26 +91,32 @@ public DescribeGatewaySecretDetailsResponseBody build() { } + /** + * + * {@link DescribeGatewaySecretDetailsResponseBody} extends {@link TeaModel} + * + *

DescribeGatewaySecretDetailsResponseBody

+ */ public static class GatewaySecretDetails extends TeaModel { - @NameInMap("ExpiredTime") + @com.aliyun.core.annotation.NameInMap("ExpiredTime") private String expiredTime; - @NameInMap("GatewayName") + @com.aliyun.core.annotation.NameInMap("GatewayName") private String gatewayName; - @NameInMap("IssueTime") + @com.aliyun.core.annotation.NameInMap("IssueTime") private String issueTime; - @NameInMap("Message") + @com.aliyun.core.annotation.NameInMap("Message") private String message; - @NameInMap("SNI") + @com.aliyun.core.annotation.NameInMap("SNI") private String SNI; - @NameInMap("SecretName") + @com.aliyun.core.annotation.NameInMap("SecretName") private String secretName; - @NameInMap("State") + @com.aliyun.core.annotation.NameInMap("State") private String state; private GatewaySecretDetails(Builder builder) { @@ -169,8 +195,24 @@ public static final class Builder { private String secretName; private String state; + private Builder() { + } + + private Builder(GatewaySecretDetails model) { + this.expiredTime = model.expiredTime; + this.gatewayName = model.gatewayName; + this.issueTime = model.issueTime; + this.message = model.message; + this.SNI = model.SNI; + this.secretName = model.secretName; + this.state = model.state; + } + /** - * The time when the certificate expires. + *

The time when the certificate expires.

+ * + * example: + *

2023-03-03 07:45

*/ public Builder expiredTime(String expiredTime) { this.expiredTime = expiredTime; @@ -178,7 +220,10 @@ public Builder expiredTime(String expiredTime) { } /** - * The name of the gateway. + *

The name of the gateway.

+ * + * example: + *

bookinfo-gateway

*/ public Builder gatewayName(String gatewayName) { this.gatewayName = gatewayName; @@ -186,7 +231,10 @@ public Builder gatewayName(String gatewayName) { } /** - * The time when the certificate was issued. + *

The time when the certificate was issued.

+ * + * example: + *

2022-03-03 07:45

*/ public Builder issueTime(String issueTime) { this.issueTime = issueTime; @@ -194,9 +242,13 @@ public Builder issueTime(String issueTime) { } /** - * * An error message is returned if the status of the gateway is abnormal. Examples: `tls.crt not exist`, `tls.key not exist`, and `secret type must be kubernetes.io/tls`. - *

- * * An empty value is returned if the status of the gateway is normal. + *

    + *
  • An error message is returned if the status of the gateway is abnormal. Examples: tls.crt not exist, tls.key not exist, and secret type must be kubernetes.io/tls.
  • + *
  • An empty value is returned if the status of the gateway is normal.
  • + *
+ * + * example: + *

tls.crt not exist

*/ public Builder message(String message) { this.message = message; @@ -204,7 +256,10 @@ public Builder message(String message) { } /** - * The Server Name Indication (SNI) value. + *

The Server Name Indication (SNI) value.

+ * + * example: + *

demo.com

*/ public Builder SNI(String SNI) { this.SNI = SNI; @@ -212,7 +267,10 @@ public Builder SNI(String SNI) { } /** - * The name of the secret. + *

The name of the secret.

+ * + * example: + *

demo-secret

*/ public Builder secretName(String secretName) { this.secretName = secretName; @@ -220,11 +278,14 @@ public Builder secretName(String secretName) { } /** - * The status of the certificate. Valid values: - *

+ *

The status of the certificate. Valid values:

+ *
    + *
  • normal
  • + *
  • abnormal
  • + *
* - * * `normal` - * * `abnormal` + * example: + *

normal

*/ public Builder state(String state) { this.state = state; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterAccessLogDashboardsRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterAccessLogDashboardsRequest.java index e9d74e4acbb..518fc85fd75 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterAccessLogDashboardsRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterAccessLogDashboardsRequest.java @@ -1,20 +1,25 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeGuestClusterAccessLogDashboardsRequest} extends {@link RequestModel} * *

DescribeGuestClusterAccessLogDashboardsRequest

*/ public class DescribeGuestClusterAccessLogDashboardsRequest extends Request { - @Body - @NameInMap("K8sClusterId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("K8sClusterId") + @com.aliyun.core.annotation.Validation(required = true) private String k8sClusterId; private DescribeGuestClusterAccessLogDashboardsRequest(Builder builder) { @@ -30,7 +35,7 @@ public static DescribeGuestClusterAccessLogDashboardsRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -55,7 +60,11 @@ private Builder(DescribeGuestClusterAccessLogDashboardsRequest request) { } /** - * The ID of the cluster on the data plane. + *

The ID of the cluster on the data plane.

+ *

This parameter is required.

+ * + * example: + *

ce3c25e247da24f3aab9b7edfae83****

*/ public Builder k8sClusterId(String k8sClusterId) { this.putBodyParameter("K8sClusterId", k8sClusterId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterAccessLogDashboardsResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterAccessLogDashboardsResponse.java index 58549f16229..81e4dda1b21 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterAccessLogDashboardsResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterAccessLogDashboardsResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeGuestClusterAccessLogDashboardsResponse} extends {@link TeaModel} * *

DescribeGuestClusterAccessLogDashboardsResponse

*/ public class DescribeGuestClusterAccessLogDashboardsResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeGuestClusterAccessLogDashboardsResponseBody body; private DescribeGuestClusterAccessLogDashboardsResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeGuestClusterAccessLogDashboardsResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeGuestClusterAccessLogDashboardsResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeGuestClusterAccessLogDashboardsResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeGuestClusterAccessLogDashboardsResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterAccessLogDashboardsResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterAccessLogDashboardsResponseBody.java index f9ca91d6b1f..2981cb82aea 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterAccessLogDashboardsResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterAccessLogDashboardsResponseBody.java @@ -1,24 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeGuestClusterAccessLogDashboardsResponseBody} extends {@link TeaModel} * *

DescribeGuestClusterAccessLogDashboardsResponseBody

*/ public class DescribeGuestClusterAccessLogDashboardsResponseBody extends TeaModel { - @NameInMap("Dashboards") - private java.util.List < Dashboards> dashboards; + @com.aliyun.core.annotation.NameInMap("Dashboards") + private java.util.List dashboards; - @NameInMap("K8sClusterId") + @com.aliyun.core.annotation.NameInMap("K8sClusterId") private String k8sClusterId; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeGuestClusterAccessLogDashboardsResponseBody(Builder builder) { @@ -35,10 +40,14 @@ public static DescribeGuestClusterAccessLogDashboardsResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return dashboards */ - public java.util.List < Dashboards> getDashboards() { + public java.util.List getDashboards() { return this.dashboards; } @@ -57,20 +66,32 @@ public String getRequestId() { } public static final class Builder { - private java.util.List < Dashboards> dashboards; + private java.util.List dashboards; private String k8sClusterId; private String requestId; + private Builder() { + } + + private Builder(DescribeGuestClusterAccessLogDashboardsResponseBody model) { + this.dashboards = model.dashboards; + this.k8sClusterId = model.k8sClusterId; + this.requestId = model.requestId; + } + /** - * The access log dashboards of the cluster on the data plane. + *

The access log dashboards of the cluster on the data plane.

*/ - public Builder dashboards(java.util.List < Dashboards> dashboards) { + public Builder dashboards(java.util.List dashboards) { this.dashboards = dashboards; return this; } /** - * The ID of the cluster on the data plane. + *

The ID of the cluster on the data plane.

+ * + * example: + *

ce3c25e247da24f3aab9b7edfae83****

*/ public Builder k8sClusterId(String k8sClusterId) { this.k8sClusterId = k8sClusterId; @@ -78,7 +99,10 @@ public Builder k8sClusterId(String k8sClusterId) { } /** - * The request ID. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -91,11 +115,17 @@ public DescribeGuestClusterAccessLogDashboardsResponseBody build() { } + /** + * + * {@link DescribeGuestClusterAccessLogDashboardsResponseBody} extends {@link TeaModel} + * + *

DescribeGuestClusterAccessLogDashboardsResponseBody

+ */ public static class Dashboards extends TeaModel { - @NameInMap("Title") + @com.aliyun.core.annotation.NameInMap("Title") private String title; - @NameInMap("Url") + @com.aliyun.core.annotation.NameInMap("Url") private String url; private Dashboards(Builder builder) { @@ -129,8 +159,19 @@ public static final class Builder { private String title; private String url; + private Builder() { + } + + private Builder(Dashboards model) { + this.title = model.title; + this.url = model.url; + } + /** - * The title of the dashboard. + *

The title of the dashboard.

+ * + * example: + *

test

*/ public Builder title(String title) { this.title = title; @@ -138,7 +179,10 @@ public Builder title(String title) { } /** - * The URL of a dashboard. + *

The URL of a dashboard.

+ * + * example: + *

test.com

*/ public Builder url(String url) { this.url = url; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterNamespacesRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterNamespacesRequest.java index 90d14dbb267..46dd214bb15 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterNamespacesRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterNamespacesRequest.java @@ -1,29 +1,34 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeGuestClusterNamespacesRequest} extends {@link RequestModel} * *

DescribeGuestClusterNamespacesRequest

*/ public class DescribeGuestClusterNamespacesRequest extends Request { - @Body - @NameInMap("GuestClusterID") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("GuestClusterID") + @com.aliyun.core.annotation.Validation(required = true) private String guestClusterID; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; - @Body - @NameInMap("ShowNsLabels") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ShowNsLabels") private Boolean showNsLabels; private DescribeGuestClusterNamespacesRequest(Builder builder) { @@ -41,7 +46,7 @@ public static DescribeGuestClusterNamespacesRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -84,7 +89,11 @@ private Builder(DescribeGuestClusterNamespacesRequest request) { } /** - * The ID of the Kubernetes cluster that is added to the ASM instance. + *

The ID of the Kubernetes cluster that is added to the ASM instance.

+ *

This parameter is required.

+ * + * example: + *

c584d805c7bd442b8bac421f9849f****

*/ public Builder guestClusterID(String guestClusterID) { this.putBodyParameter("GuestClusterID", guestClusterID); @@ -93,7 +102,11 @@ public Builder guestClusterID(String guestClusterID) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

ce134b0727aa2492db69f6c3880e****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); @@ -102,7 +115,10 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * Specifies whether to return the labels of the namespaces. + *

Specifies whether to return the labels of the namespaces.

+ * + * example: + *

true

*/ public Builder showNsLabels(Boolean showNsLabels) { this.putBodyParameter("ShowNsLabels", showNsLabels); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterNamespacesResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterNamespacesResponse.java index 569b01c7f5c..071172bc7be 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterNamespacesResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterNamespacesResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeGuestClusterNamespacesResponse} extends {@link TeaModel} * *

DescribeGuestClusterNamespacesResponse

*/ public class DescribeGuestClusterNamespacesResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeGuestClusterNamespacesResponseBody body; private DescribeGuestClusterNamespacesResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeGuestClusterNamespacesResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeGuestClusterNamespacesResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeGuestClusterNamespacesResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeGuestClusterNamespacesResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterNamespacesResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterNamespacesResponseBody.java index 5d3d6e662d5..5fff3c1066a 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterNamespacesResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterNamespacesResponseBody.java @@ -1,24 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeGuestClusterNamespacesResponseBody} extends {@link TeaModel} * *

DescribeGuestClusterNamespacesResponseBody

*/ public class DescribeGuestClusterNamespacesResponseBody extends TeaModel { - @NameInMap("NsLabels") - private java.util.Map < String, ? > nsLabels; + @com.aliyun.core.annotation.NameInMap("NsLabels") + private java.util.Map nsLabels; - @NameInMap("NsList") - private java.util.List < String > nsList; + @com.aliyun.core.annotation.NameInMap("NsList") + private java.util.List nsList; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeGuestClusterNamespacesResponseBody(Builder builder) { @@ -35,17 +40,21 @@ public static DescribeGuestClusterNamespacesResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return nsLabels */ - public java.util.Map < String, ? > getNsLabels() { + public java.util.Map getNsLabels() { return this.nsLabels; } /** * @return nsList */ - public java.util.List < String > getNsList() { + public java.util.List getNsList() { return this.nsList; } @@ -57,28 +66,43 @@ public String getRequestId() { } public static final class Builder { - private java.util.Map < String, ? > nsLabels; - private java.util.List < String > nsList; + private java.util.Map nsLabels; + private java.util.List nsList; private String requestId; + private Builder() { + } + + private Builder(DescribeGuestClusterNamespacesResponseBody model) { + this.nsLabels = model.nsLabels; + this.nsList = model.nsList; + this.requestId = model.requestId; + } + /** - * The labels of the namespaces. Labels are returned only when `ShowNsLabels` is set to `true`. + *

The labels of the namespaces. Labels are returned only when ShowNsLabels is set to true.

+ * + * example: + *

{"default":{"istio-injection":"enabled"}}

*/ - public Builder nsLabels(java.util.Map < String, ? > nsLabels) { + public Builder nsLabels(java.util.Map nsLabels) { this.nsLabels = nsLabels; return this; } /** - * The names of the namespaces. + *

The names of the namespaces.

*/ - public Builder nsList(java.util.List < String > nsList) { + public Builder nsList(java.util.List nsList) { this.nsList = nsList; return this; } /** - * The request ID. + *

The request ID.

+ * + * example: + *

31d3a0f0-07ed-4f6e-9004-1804498c****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterPodsRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterPodsRequest.java index f887381cbed..0304aaa4d83 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterPodsRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterPodsRequest.java @@ -1,30 +1,35 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeGuestClusterPodsRequest} extends {@link RequestModel} * *

DescribeGuestClusterPodsRequest

*/ public class DescribeGuestClusterPodsRequest extends Request { - @Body - @NameInMap("GuestClusterID") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("GuestClusterID") + @com.aliyun.core.annotation.Validation(required = true) private String guestClusterID; - @Body - @NameInMap("Namespace") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Namespace") + @com.aliyun.core.annotation.Validation(required = true) private String namespace; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DescribeGuestClusterPodsRequest(Builder builder) { @@ -42,7 +47,7 @@ public static DescribeGuestClusterPodsRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -85,7 +90,11 @@ private Builder(DescribeGuestClusterPodsRequest request) { } /** - * The ID of the Kubernetes cluster that is added to the ASM instance. + *

The ID of the Kubernetes cluster that is added to the ASM instance.

+ *

This parameter is required.

+ * + * example: + *

c49ad2169d5a04f2d89dfc4b6bcu****

*/ public Builder guestClusterID(String guestClusterID) { this.putBodyParameter("GuestClusterID", guestClusterID); @@ -94,7 +103,11 @@ public Builder guestClusterID(String guestClusterID) { } /** - * The namespace. + *

The namespace.

+ *

This parameter is required.

+ * + * example: + *

default

*/ public Builder namespace(String namespace) { this.putBodyParameter("Namespace", namespace); @@ -103,7 +116,11 @@ public Builder namespace(String namespace) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

c78d60f98fa43403ab6e0701b2678****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterPodsResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterPodsResponse.java index 1bc9847850e..f083a1e7c24 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterPodsResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterPodsResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeGuestClusterPodsResponse} extends {@link TeaModel} * *

DescribeGuestClusterPodsResponse

*/ public class DescribeGuestClusterPodsResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeGuestClusterPodsResponseBody body; private DescribeGuestClusterPodsResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeGuestClusterPodsResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeGuestClusterPodsResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeGuestClusterPodsResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeGuestClusterPodsResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterPodsResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterPodsResponseBody.java index 7eff59fd8fc..8968563d62b 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterPodsResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterPodsResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeGuestClusterPodsResponseBody} extends {@link TeaModel} * *

DescribeGuestClusterPodsResponseBody

*/ public class DescribeGuestClusterPodsResponseBody extends TeaModel { - @NameInMap("PodList") - private java.util.List < String > podList; + @com.aliyun.core.annotation.NameInMap("PodList") + private java.util.List podList; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeGuestClusterPodsResponseBody(Builder builder) { @@ -31,10 +36,14 @@ public static DescribeGuestClusterPodsResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return podList */ - public java.util.List < String > getPodList() { + public java.util.List getPodList() { return this.podList; } @@ -46,19 +55,30 @@ public String getRequestId() { } public static final class Builder { - private java.util.List < String > podList; + private java.util.List podList; private String requestId; + private Builder() { + } + + private Builder(DescribeGuestClusterPodsResponseBody model) { + this.podList = model.podList; + this.requestId = model.requestId; + } + /** - * The list of the names of the queried pods. + *

The list of the names of the queried pods.

*/ - public Builder podList(java.util.List < String > podList) { + public Builder podList(java.util.List podList) { this.podList = podList; return this; } /** - * The request ID. + *

The request ID.

+ * + * example: + *

EDDC0D86-2FC3-56FB-9213-96EB0A3523F1

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeImportedServicesDetailRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeImportedServicesDetailRequest.java index cd846e2ddf4..1493ed08bec 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeImportedServicesDetailRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeImportedServicesDetailRequest.java @@ -1,28 +1,33 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeImportedServicesDetailRequest} extends {@link RequestModel} * *

DescribeImportedServicesDetailRequest

*/ public class DescribeImportedServicesDetailRequest extends Request { - @Body - @NameInMap("ASMGatewayName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ASMGatewayName") private String ASMGatewayName; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; - @Body - @NameInMap("ServiceNamespace") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceNamespace") private String serviceNamespace; private DescribeImportedServicesDetailRequest(Builder builder) { @@ -40,7 +45,7 @@ public static DescribeImportedServicesDetailRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -83,7 +88,10 @@ private Builder(DescribeImportedServicesDetailRequest request) { } /** - * The name of the ASM gateway. + *

The name of the ASM gateway.

+ * + * example: + *

ingressgateway

*/ public Builder ASMGatewayName(String ASMGatewayName) { this.putBodyParameter("ASMGatewayName", ASMGatewayName); @@ -92,7 +100,11 @@ public Builder ASMGatewayName(String ASMGatewayName) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

cb8963379255149cb98c8686f274x****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); @@ -101,7 +113,10 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * The namespace in which the services reside. + *

The namespace in which the services reside.

+ * + * example: + *

default

*/ public Builder serviceNamespace(String serviceNamespace) { this.putBodyParameter("ServiceNamespace", serviceNamespace); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeImportedServicesDetailResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeImportedServicesDetailResponse.java index 22023df511a..e8975eb2374 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeImportedServicesDetailResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeImportedServicesDetailResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeImportedServicesDetailResponse} extends {@link TeaModel} * *

DescribeImportedServicesDetailResponse

*/ public class DescribeImportedServicesDetailResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeImportedServicesDetailResponseBody body; private DescribeImportedServicesDetailResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeImportedServicesDetailResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeImportedServicesDetailResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeImportedServicesDetailResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeImportedServicesDetailResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeImportedServicesDetailResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeImportedServicesDetailResponseBody.java index 0cc5945935e..c7f921483c3 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeImportedServicesDetailResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeImportedServicesDetailResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeImportedServicesDetailResponseBody} extends {@link TeaModel} * *

DescribeImportedServicesDetailResponseBody

*/ public class DescribeImportedServicesDetailResponseBody extends TeaModel { - @NameInMap("Details") - private java.util.List < Details> details; + @com.aliyun.core.annotation.NameInMap("Details") + private java.util.List
details; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeImportedServicesDetailResponseBody(Builder builder) { @@ -31,10 +36,14 @@ public static DescribeImportedServicesDetailResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return details */ - public java.util.List < Details> getDetails() { + public java.util.List
getDetails() { return this.details; } @@ -46,19 +55,30 @@ public String getRequestId() { } public static final class Builder { - private java.util.List < Details> details; + private java.util.List
details; private String requestId; + private Builder() { + } + + private Builder(DescribeImportedServicesDetailResponseBody model) { + this.details = model.details; + this.requestId = model.requestId; + } + /** - * The details of the services. + *

The details of the services.

*/ - public Builder details(java.util.List < Details> details) { + public Builder details(java.util.List
details) { this.details = details; return this; } /** - * The request ID. + *

The request ID.

+ * + * example: + *

E0496204-7586-5B4C-B364-2361CC0EDxxxx

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -71,20 +91,26 @@ public DescribeImportedServicesDetailResponseBody build() { } + /** + * + * {@link DescribeImportedServicesDetailResponseBody} extends {@link TeaModel} + * + *

DescribeImportedServicesDetailResponseBody

+ */ public static class Ports extends TeaModel { - @NameInMap("Name") + @com.aliyun.core.annotation.NameInMap("Name") private String name; - @NameInMap("NodePort") + @com.aliyun.core.annotation.NameInMap("NodePort") private Integer nodePort; - @NameInMap("Port") + @com.aliyun.core.annotation.NameInMap("Port") private Integer port; - @NameInMap("Protocol") + @com.aliyun.core.annotation.NameInMap("Protocol") private String protocol; - @NameInMap("TargetPort") + @com.aliyun.core.annotation.NameInMap("TargetPort") private Integer targetPort; private Ports(Builder builder) { @@ -145,8 +171,22 @@ public static final class Builder { private String protocol; private Integer targetPort; + private Builder() { + } + + private Builder(Ports model) { + this.name = model.name; + this.nodePort = model.nodePort; + this.port = model.port; + this.protocol = model.protocol; + this.targetPort = model.targetPort; + } + /** - * The name of a port. + *

The name of a port.

+ * + * example: + *

http-0

*/ public Builder name(String name) { this.name = name; @@ -154,7 +194,10 @@ public Builder name(String name) { } /** - * The node port. + *

The node port.

+ * + * example: + *

12345

*/ public Builder nodePort(Integer nodePort) { this.nodePort = nodePort; @@ -162,7 +205,10 @@ public Builder nodePort(Integer nodePort) { } /** - * The port number. + *

The port number.

+ * + * example: + *

80

*/ public Builder port(Integer port) { this.port = port; @@ -170,7 +216,10 @@ public Builder port(Integer port) { } /** - * The protocol of the port. + *

The protocol of the port.

+ * + * example: + *

tcp

*/ public Builder protocol(String protocol) { this.protocol = protocol; @@ -178,7 +227,10 @@ public Builder protocol(String protocol) { } /** - * The container port. + *

The container port.

+ * + * example: + *

8080

*/ public Builder targetPort(Integer targetPort) { this.targetPort = targetPort; @@ -192,23 +244,29 @@ public Ports build() { } } + /** + * + * {@link DescribeImportedServicesDetailResponseBody} extends {@link TeaModel} + * + *

DescribeImportedServicesDetailResponseBody

+ */ public static class Details extends TeaModel { - @NameInMap("ClusterIds") - private java.util.List < String > clusterIds; + @com.aliyun.core.annotation.NameInMap("ClusterIds") + private java.util.List clusterIds; - @NameInMap("Labels") - private java.util.Map < String, String > labels; + @com.aliyun.core.annotation.NameInMap("Labels") + private java.util.Map labels; - @NameInMap("Namespace") + @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; - @NameInMap("Ports") - private java.util.List < Ports> ports; + @com.aliyun.core.annotation.NameInMap("Ports") + private java.util.List ports; - @NameInMap("ServiceName") + @com.aliyun.core.annotation.NameInMap("ServiceName") private String serviceName; - @NameInMap("ServiceType") + @com.aliyun.core.annotation.NameInMap("ServiceType") private String serviceType; private Details(Builder builder) { @@ -231,14 +289,14 @@ public static Details create() { /** * @return clusterIds */ - public java.util.List < String > getClusterIds() { + public java.util.List getClusterIds() { return this.clusterIds; } /** * @return labels */ - public java.util.Map < String, String > getLabels() { + public java.util.Map getLabels() { return this.labels; } @@ -252,7 +310,7 @@ public String getNamespace() { /** * @return ports */ - public java.util.List < Ports> getPorts() { + public java.util.List getPorts() { return this.ports; } @@ -271,31 +329,46 @@ public String getServiceType() { } public static final class Builder { - private java.util.List < String > clusterIds; - private java.util.Map < String, String > labels; + private java.util.List clusterIds; + private java.util.Map labels; private String namespace; - private java.util.List < Ports> ports; + private java.util.List ports; private String serviceName; private String serviceType; + private Builder() { + } + + private Builder(Details model) { + this.clusterIds = model.clusterIds; + this.labels = model.labels; + this.namespace = model.namespace; + this.ports = model.ports; + this.serviceName = model.serviceName; + this.serviceType = model.serviceType; + } + /** - * The clusters on the data plane. + *

The clusters on the data plane.

*/ - public Builder clusterIds(java.util.List < String > clusterIds) { + public Builder clusterIds(java.util.List clusterIds) { this.clusterIds = clusterIds; return this; } /** - * The labels of the service. + *

The labels of the service.

*/ - public Builder labels(java.util.Map < String, String > labels) { + public Builder labels(java.util.Map labels) { this.labels = labels; return this; } /** - * The namespace in which the service resides. + *

The namespace in which the service resides.

+ * + * example: + *

default

*/ public Builder namespace(String namespace) { this.namespace = namespace; @@ -303,15 +376,18 @@ public Builder namespace(String namespace) { } /** - * The ports declared for the service. + *

The ports declared for the service.

*/ - public Builder ports(java.util.List < Ports> ports) { + public Builder ports(java.util.List ports) { this.ports = ports; return this; } /** - * The name of a service. + *

The name of a service.

+ * + * example: + *

productpage

*/ public Builder serviceName(String serviceName) { this.serviceName = serviceName; @@ -319,7 +395,10 @@ public Builder serviceName(String serviceName) { } /** - * The type of the service. + *

The type of the service.

+ * + * example: + *

Kubernetes

*/ public Builder serviceType(String serviceType) { this.serviceType = serviceType; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayDomainsRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayDomainsRequest.java index e284e18f75c..3c032fef8df 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayDomainsRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayDomainsRequest.java @@ -1,32 +1,37 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeIstioGatewayDomainsRequest} extends {@link RequestModel} * *

DescribeIstioGatewayDomainsRequest

*/ public class DescribeIstioGatewayDomainsRequest extends Request { - @Body - @NameInMap("IstioGatewayName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IstioGatewayName") private String istioGatewayName; - @Body - @NameInMap("Limit") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Limit") private String limit; - @Body - @NameInMap("Namespace") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DescribeIstioGatewayDomainsRequest(Builder builder) { @@ -45,7 +50,7 @@ public static DescribeIstioGatewayDomainsRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -97,7 +102,10 @@ private Builder(DescribeIstioGatewayDomainsRequest request) { } /** - * The name of the ASM gateway. + *

The name of the ASM gateway.

+ * + * example: + *

ingressgateway

*/ public Builder istioGatewayName(String istioGatewayName) { this.putBodyParameter("IstioGatewayName", istioGatewayName); @@ -106,7 +114,10 @@ public Builder istioGatewayName(String istioGatewayName) { } /** - * The maximum number of Istio gateways to query. + *

The maximum number of Istio gateways to query.

+ * + * example: + *

10

*/ public Builder limit(String limit) { this.putBodyParameter("Limit", limit); @@ -115,7 +126,10 @@ public Builder limit(String limit) { } /** - * The namespace in which the ASM gateway resides. + *

The namespace in which the ASM gateway resides.

+ * + * example: + *

default

*/ public Builder namespace(String namespace) { this.putBodyParameter("Namespace", namespace); @@ -124,7 +138,11 @@ public Builder namespace(String namespace) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayDomainsResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayDomainsResponse.java index fa1b384120f..2b94bc56ce4 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayDomainsResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayDomainsResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeIstioGatewayDomainsResponse} extends {@link TeaModel} * *

DescribeIstioGatewayDomainsResponse

*/ public class DescribeIstioGatewayDomainsResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeIstioGatewayDomainsResponseBody body; private DescribeIstioGatewayDomainsResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeIstioGatewayDomainsResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeIstioGatewayDomainsResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeIstioGatewayDomainsResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeIstioGatewayDomainsResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayDomainsResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayDomainsResponseBody.java index decbaee61dc..bd3eda1fed5 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayDomainsResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayDomainsResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeIstioGatewayDomainsResponseBody} extends {@link TeaModel} * *

DescribeIstioGatewayDomainsResponseBody

*/ public class DescribeIstioGatewayDomainsResponseBody extends TeaModel { - @NameInMap("GatewaySecretDetails") - private java.util.List < GatewaySecretDetails> gatewaySecretDetails; + @com.aliyun.core.annotation.NameInMap("GatewaySecretDetails") + private java.util.List gatewaySecretDetails; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeIstioGatewayDomainsResponseBody(Builder builder) { @@ -31,10 +36,14 @@ public static DescribeIstioGatewayDomainsResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return gatewaySecretDetails */ - public java.util.List < GatewaySecretDetails> getGatewaySecretDetails() { + public java.util.List getGatewaySecretDetails() { return this.gatewaySecretDetails; } @@ -46,19 +55,30 @@ public String getRequestId() { } public static final class Builder { - private java.util.List < GatewaySecretDetails> gatewaySecretDetails; + private java.util.List gatewaySecretDetails; private String requestId; + private Builder() { + } + + private Builder(DescribeIstioGatewayDomainsResponseBody model) { + this.gatewaySecretDetails = model.gatewaySecretDetails; + this.requestId = model.requestId; + } + /** - * The domain names that are exposed by the ASM gateway. + *

The domain names that are exposed by the ASM gateway.

*/ - public Builder gatewaySecretDetails(java.util.List < GatewaySecretDetails> gatewaySecretDetails) { + public Builder gatewaySecretDetails(java.util.List gatewaySecretDetails) { this.gatewaySecretDetails = gatewaySecretDetails; return this; } /** - * The request ID. + *

The request ID.

+ * + * example: + *

31d3a0f0-07ed-4f6e-9004-1804498c****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -71,26 +91,32 @@ public DescribeIstioGatewayDomainsResponseBody build() { } + /** + * + * {@link DescribeIstioGatewayDomainsResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayDomainsResponseBody

+ */ public static class GatewaySecretDetails extends TeaModel { - @NameInMap("CredentialName") + @com.aliyun.core.annotation.NameInMap("CredentialName") private String credentialName; - @NameInMap("Detail") + @com.aliyun.core.annotation.NameInMap("Detail") private String detail; - @NameInMap("Domains") - private java.util.List < String > domains; + @com.aliyun.core.annotation.NameInMap("Domains") + private java.util.List domains; - @NameInMap("GatewayCRName") + @com.aliyun.core.annotation.NameInMap("GatewayCRName") private String gatewayCRName; - @NameInMap("Namespace") + @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; - @NameInMap("PortName") + @com.aliyun.core.annotation.NameInMap("PortName") private String portName; - @NameInMap("Protocol") + @com.aliyun.core.annotation.NameInMap("Protocol") private String protocol; private GatewaySecretDetails(Builder builder) { @@ -128,7 +154,7 @@ public String getDetail() { /** * @return domains */ - public java.util.List < String > getDomains() { + public java.util.List getDomains() { return this.domains; } @@ -163,14 +189,30 @@ public String getProtocol() { public static final class Builder { private String credentialName; private String detail; - private java.util.List < String > domains; + private java.util.List domains; private String gatewayCRName; private String namespace; private String portName; private String protocol; + private Builder() { + } + + private Builder(GatewaySecretDetails model) { + this.credentialName = model.credentialName; + this.detail = model.detail; + this.domains = model.domains; + this.gatewayCRName = model.gatewayCRName; + this.namespace = model.namespace; + this.portName = model.portName; + this.protocol = model.protocol; + } + /** - * The name of the secret that contains the Transport Layer Security (TLS) certificate and certificate authority (CA) certificate. + *

The name of the secret that contains the Transport Layer Security (TLS) certificate and certificate authority (CA) certificate.

+ * + * example: + *

bookinfo-secret

*/ public Builder credentialName(String credentialName) { this.credentialName = credentialName; @@ -178,7 +220,10 @@ public Builder credentialName(String credentialName) { } /** - * The details of the domain name in the JSON format. + *

The details of the domain name in the JSON format.

+ * + * example: + *

{ "servers": [ { "port": { "number": 27018, "name": "mongo", "protocol": "MONGO" }, "hosts": [ "*" ] } ] }

*/ public Builder detail(String detail) { this.detail = detail; @@ -186,15 +231,18 @@ public Builder detail(String detail) { } /** - * The list of domain names. + *

The list of domain names.

*/ - public Builder domains(java.util.List < String > domains) { + public Builder domains(java.util.List domains) { this.domains = domains; return this; } /** - * The name of the Istio gateway. + *

The name of the Istio gateway.

+ * + * example: + *

ingressgateway

*/ public Builder gatewayCRName(String gatewayCRName) { this.gatewayCRName = gatewayCRName; @@ -202,7 +250,10 @@ public Builder gatewayCRName(String gatewayCRName) { } /** - * The namespace in which the ASM gateway resides. + *

The namespace in which the ASM gateway resides.

+ * + * example: + *

default

*/ public Builder namespace(String namespace) { this.namespace = namespace; @@ -210,7 +261,10 @@ public Builder namespace(String namespace) { } /** - * The port name. + *

The port name.

+ * + * example: + *

https-demo

*/ public Builder portName(String portName) { this.portName = portName; @@ -218,7 +272,10 @@ public Builder portName(String portName) { } /** - * The type of the protocol. Valid values: `HTTP`, `HTTPS`, `GRPC`, `HTTP2`, `MONGO`, `TCP`, and `TLS`. + *

The type of the protocol. Valid values: HTTP, HTTPS, GRPC, HTTP2, MONGO, TCP, and TLS.

+ * + * example: + *

HTTPS

*/ public Builder protocol(String protocol) { this.protocol = protocol; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRouteDetailRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRouteDetailRequest.java index 1c982e96a01..17198e34628 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRouteDetailRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRouteDetailRequest.java @@ -1,28 +1,33 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeIstioGatewayRouteDetailRequest} extends {@link RequestModel} * *

DescribeIstioGatewayRouteDetailRequest

*/ public class DescribeIstioGatewayRouteDetailRequest extends Request { - @Body - @NameInMap("IstioGatewayName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IstioGatewayName") private String istioGatewayName; - @Body - @NameInMap("RouteName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("RouteName") private String routeName; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DescribeIstioGatewayRouteDetailRequest(Builder builder) { @@ -40,7 +45,7 @@ public static DescribeIstioGatewayRouteDetailRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -83,7 +88,10 @@ private Builder(DescribeIstioGatewayRouteDetailRequest request) { } /** - * The name of the ASM gateway. + *

The name of the ASM gateway.

+ * + * example: + *

ingressgateway

*/ public Builder istioGatewayName(String istioGatewayName) { this.putBodyParameter("IstioGatewayName", istioGatewayName); @@ -92,7 +100,10 @@ public Builder istioGatewayName(String istioGatewayName) { } /** - * The name of the routing rule. + *

The name of the routing rule.

+ * + * example: + *

demo-route

*/ public Builder routeName(String routeName) { this.putBodyParameter("RouteName", routeName); @@ -101,7 +112,11 @@ public Builder routeName(String routeName) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRouteDetailResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRouteDetailResponse.java index 42b3ea2ee13..e6225063e17 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRouteDetailResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRouteDetailResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeIstioGatewayRouteDetailResponse} extends {@link TeaModel} * *

DescribeIstioGatewayRouteDetailResponse

*/ public class DescribeIstioGatewayRouteDetailResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeIstioGatewayRouteDetailResponseBody body; private DescribeIstioGatewayRouteDetailResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeIstioGatewayRouteDetailResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeIstioGatewayRouteDetailResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeIstioGatewayRouteDetailResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeIstioGatewayRouteDetailResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRouteDetailResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRouteDetailResponseBody.java index 5aa2dcd5340..654d08a9f97 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRouteDetailResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRouteDetailResponseBody.java @@ -1,33 +1,38 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} * *

DescribeIstioGatewayRouteDetailResponseBody

*/ public class DescribeIstioGatewayRouteDetailResponseBody extends TeaModel { - @NameInMap("Description") + @com.aliyun.core.annotation.NameInMap("Description") private String description; - @NameInMap("Namespace") + @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; - @NameInMap("Priority") + @com.aliyun.core.annotation.NameInMap("Priority") private Integer priority; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("RouteDetail") + @com.aliyun.core.annotation.NameInMap("RouteDetail") private RouteDetail routeDetail; - @NameInMap("Status") + @com.aliyun.core.annotation.NameInMap("Status") private Integer status; private DescribeIstioGatewayRouteDetailResponseBody(Builder builder) { @@ -47,6 +52,10 @@ public static DescribeIstioGatewayRouteDetailResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return description */ @@ -97,8 +106,23 @@ public static final class Builder { private RouteDetail routeDetail; private Integer status; + private Builder() { + } + + private Builder(DescribeIstioGatewayRouteDetailResponseBody model) { + this.description = model.description; + this.namespace = model.namespace; + this.priority = model.priority; + this.requestId = model.requestId; + this.routeDetail = model.routeDetail; + this.status = model.status; + } + /** - * The description of the routing rule. + *

The description of the routing rule.

+ * + * example: + *

demo route

*/ public Builder description(String description) { this.description = description; @@ -106,7 +130,10 @@ public Builder description(String description) { } /** - * The namespace. + *

The namespace.

+ * + * example: + *

default

*/ public Builder namespace(String namespace) { this.namespace = namespace; @@ -114,7 +141,10 @@ public Builder namespace(String namespace) { } /** - * The priority of the routing rule. The value of this parameter is an integer. A smaller value indicates a higher priority. + *

The priority of the routing rule. The value of this parameter is an integer. A smaller value indicates a higher priority.

+ * + * example: + *

1

*/ public Builder priority(Integer priority) { this.priority = priority; @@ -122,7 +152,10 @@ public Builder priority(Integer priority) { } /** - * The request ID. + *

The request ID.

+ * + * example: + *

31d3a0f0-07ed-4f6e-9004-1804498c****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -130,7 +163,7 @@ public Builder requestId(String requestId) { } /** - * The detailed information about the routing rule. + *

The detailed information about the routing rule.

*/ public Builder routeDetail(RouteDetail routeDetail) { this.routeDetail = routeDetail; @@ -138,12 +171,15 @@ public Builder routeDetail(RouteDetail routeDetail) { } /** - * The status of the routing rule. Valid values: - *

+ *

The status of the routing rule. Valid values:

+ *
    + *
  • 0: The routing rule is valid.
  • + *
  • 1: The routing rule is invalid.
  • + *
  • 2: An error occurs during the creation or update of the routing rule.
  • + *
* - * * `0`: The routing rule is valid. - * * `1`: The routing rule is invalid. - * * `2`: An error occurs during the creation or update of the routing rule. + * example: + *

1

*/ public Builder status(Integer status) { this.status = status; @@ -156,11 +192,17 @@ public DescribeIstioGatewayRouteDetailResponseBody build() { } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class Delegate extends TeaModel { - @NameInMap("Name") + @com.aliyun.core.annotation.NameInMap("Name") private String name; - @NameInMap("Namespace") + @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; private Delegate(Builder builder) { @@ -194,8 +236,19 @@ public static final class Builder { private String name; private String namespace; + private Builder() { + } + + private Builder(Delegate model) { + this.name = model.name; + this.namespace = model.namespace; + } + /** - * The name of the virtual service. + *

The name of the virtual service.

+ * + * example: + *

reviews

*/ public Builder name(String name) { this.name = name; @@ -203,7 +256,10 @@ public Builder name(String name) { } /** - * The namespace to which the virtual service belongs. + *

The namespace to which the virtual service belongs.

+ * + * example: + *

default

*/ public Builder namespace(String namespace) { this.namespace = namespace; @@ -217,8 +273,14 @@ public Delegate build() { } } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class Percentage extends TeaModel { - @NameInMap("Value") + @com.aliyun.core.annotation.NameInMap("Value") private Float value; private Percentage(Builder builder) { @@ -243,8 +305,18 @@ public Float getValue() { public static final class Builder { private Float value; + private Builder() { + } + + private Builder(Percentage model) { + this.value = model.value; + } + /** - * The percentage of requests that are mirrored to another destination except for the original destination, which is expressed as a decimal. + *

The percentage of requests that are mirrored to another destination except for the original destination, which is expressed as a decimal.

+ * + * example: + *

0.1

*/ public Builder value(Float value) { this.value = value; @@ -258,11 +330,17 @@ public Percentage build() { } } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class Abort extends TeaModel { - @NameInMap("HttpStatus") + @com.aliyun.core.annotation.NameInMap("HttpStatus") private Integer httpStatus; - @NameInMap("Percentage") + @com.aliyun.core.annotation.NameInMap("Percentage") private Percentage percentage; private Abort(Builder builder) { @@ -296,8 +374,19 @@ public static final class Builder { private Integer httpStatus; private Percentage percentage; + private Builder() { + } + + private Builder(Abort model) { + this.httpStatus = model.httpStatus; + this.percentage = model.percentage; + } + /** - * The HTTP status code. + *

The HTTP status code.

+ * + * example: + *

400

*/ public Builder httpStatus(Integer httpStatus) { this.httpStatus = httpStatus; @@ -305,7 +394,7 @@ public Builder httpStatus(Integer httpStatus) { } /** - * The percentage of requests that are aborted with the specified error code. + *

The percentage of requests that are aborted with the specified error code.

*/ public Builder percentage(Percentage percentage) { this.percentage = percentage; @@ -319,8 +408,14 @@ public Abort build() { } } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class DelayPercentage extends TeaModel { - @NameInMap("Value") + @com.aliyun.core.annotation.NameInMap("Value") private Float value; private DelayPercentage(Builder builder) { @@ -345,8 +440,18 @@ public Float getValue() { public static final class Builder { private Float value; + private Builder() { + } + + private Builder(DelayPercentage model) { + this.value = model.value; + } + /** - * The percentage of requests that are aborted with the specified error code, which is expressed as a decimal. + *

The percentage of requests that are aborted with the specified error code, which is expressed as a decimal.

+ * + * example: + *

0.1

*/ public Builder value(Float value) { this.value = value; @@ -360,14 +465,20 @@ public DelayPercentage build() { } } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class Delay extends TeaModel { - @NameInMap("ExponentialDelay") + @com.aliyun.core.annotation.NameInMap("ExponentialDelay") private String exponentialDelay; - @NameInMap("FixedDelay") + @com.aliyun.core.annotation.NameInMap("FixedDelay") private String fixedDelay; - @NameInMap("Percentage") + @com.aliyun.core.annotation.NameInMap("Percentage") private DelayPercentage percentage; private Delay(Builder builder) { @@ -410,8 +521,20 @@ public static final class Builder { private String fixedDelay; private DelayPercentage percentage; + private Builder() { + } + + private Builder(Delay model) { + this.exponentialDelay = model.exponentialDelay; + this.fixedDelay = model.fixedDelay; + this.percentage = model.percentage; + } + /** - * The duration for request delay is expressed as 2 raised to the power of x. You must specify the value of x. + *

The duration for request delay is expressed as 2 raised to the power of x. You must specify the value of x.

+ * + * example: + *

3

*/ public Builder exponentialDelay(String exponentialDelay) { this.exponentialDelay = exponentialDelay; @@ -419,7 +542,10 @@ public Builder exponentialDelay(String exponentialDelay) { } /** - * The fixed duration for request delay. + *

The fixed duration for request delay.

+ * + * example: + *

5s

*/ public Builder fixedDelay(String fixedDelay) { this.fixedDelay = fixedDelay; @@ -427,7 +553,7 @@ public Builder fixedDelay(String fixedDelay) { } /** - * The percentage of requests to which the delay fault is injected. + *

The percentage of requests to which the delay fault is injected.

*/ public Builder percentage(DelayPercentage percentage) { this.percentage = percentage; @@ -441,11 +567,17 @@ public Delay build() { } } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class Fault extends TeaModel { - @NameInMap("Abort") + @com.aliyun.core.annotation.NameInMap("Abort") private Abort abort; - @NameInMap("Delay") + @com.aliyun.core.annotation.NameInMap("Delay") private Delay delay; private Fault(Builder builder) { @@ -479,8 +611,16 @@ public static final class Builder { private Abort abort; private Delay delay; + private Builder() { + } + + private Builder(Fault model) { + this.abort = model.abort; + this.delay = model.delay; + } + /** - * The configurations for aborting requests with specified error codes. + *

The configurations for aborting requests with specified error codes.

*/ public Builder abort(Abort abort) { this.abort = abort; @@ -488,7 +628,7 @@ public Builder abort(Abort abort) { } /** - * The duration to delay a request. + *

The duration to delay a request.

*/ public Builder delay(Delay delay) { this.delay = delay; @@ -502,14 +642,20 @@ public Fault build() { } } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class HTTPRedirect extends TeaModel { - @NameInMap("Authority") + @com.aliyun.core.annotation.NameInMap("Authority") private String authority; - @NameInMap("RedirectCode") + @com.aliyun.core.annotation.NameInMap("RedirectCode") private Integer redirectCode; - @NameInMap("Uri") + @com.aliyun.core.annotation.NameInMap("Uri") private String uri; private HTTPRedirect(Builder builder) { @@ -552,8 +698,20 @@ public static final class Builder { private Integer redirectCode; private String uri; + private Builder() { + } + + private Builder(HTTPRedirect model) { + this.authority = model.authority; + this.redirectCode = model.redirectCode; + this.uri = model.uri; + } + /** - * The value to be used to overwrite the value of the Authority or Host header during redirection. + *

The value to be used to overwrite the value of the Authority or Host header during redirection.

+ * + * example: + *

newratings.default.svc.cluster.local

*/ public Builder authority(String authority) { this.authority = authority; @@ -561,7 +719,10 @@ public Builder authority(String authority) { } /** - * The HTTP status code to be used to indicate URL redirection. Default value: 301. + *

The HTTP status code to be used to indicate URL redirection. Default value: 301.

+ * + * example: + *

301

*/ public Builder redirectCode(Integer redirectCode) { this.redirectCode = redirectCode; @@ -569,7 +730,10 @@ public Builder redirectCode(Integer redirectCode) { } /** - * The value to be used to overwrite the URL path during redirection. + *

The value to be used to overwrite the URL path during redirection.

+ * + * example: + *

/v1/getProductRatings

*/ public Builder uri(String uri) { this.uri = uri; @@ -583,11 +747,17 @@ public HTTPRedirect build() { } } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class Mirror extends TeaModel { - @NameInMap("Host") + @com.aliyun.core.annotation.NameInMap("Host") private String host; - @NameInMap("Subset") + @com.aliyun.core.annotation.NameInMap("Subset") private String subset; private Mirror(Builder builder) { @@ -621,8 +791,19 @@ public static final class Builder { private String host; private String subset; + private Builder() { + } + + private Builder(Mirror model) { + this.host = model.host; + this.subset = model.subset; + } + /** - * The name of the service defined in the service registry. + *

The name of the service defined in the service registry.

+ * + * example: + *

reviews.default.svc.cluster.local

*/ public Builder host(String host) { this.host = host; @@ -630,7 +811,10 @@ public Builder host(String host) { } /** - * The name of the service subset. + *

The name of the service subset.

+ * + * example: + *

v1

*/ public Builder subset(String subset) { this.subset = subset; @@ -644,8 +828,14 @@ public Mirror build() { } } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class MirrorPercentage extends TeaModel { - @NameInMap("Value") + @com.aliyun.core.annotation.NameInMap("Value") private Float value; private MirrorPercentage(Builder builder) { @@ -670,8 +860,18 @@ public Float getValue() { public static final class Builder { private Float value; + private Builder() { + } + + private Builder(MirrorPercentage model) { + this.value = model.value; + } + /** - * The percentage of requests that are aborted with the specified error code, which is expressed as a decimal. + *

The percentage of requests that are aborted with the specified error code, which is expressed as a decimal.

+ * + * example: + *

0.2

*/ public Builder value(Float value) { this.value = value; @@ -685,8 +885,14 @@ public MirrorPercentage build() { } } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class RetryRemoteLocalities extends TeaModel { - @NameInMap("Value") + @com.aliyun.core.annotation.NameInMap("Value") private Boolean value; private RetryRemoteLocalities(Builder builder) { @@ -711,14 +917,23 @@ public Boolean getValue() { public static final class Builder { private Boolean value; + private Builder() { + } + + private Builder(RetryRemoteLocalities model) { + this.value = model.value; + } + /** - * Specifies whether to allow retries to other localities. Valid values: - *

- * - * * `true` - * * `false` + *

Specifies whether to allow retries to other localities. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder value(Boolean value) { this.value = value; @@ -732,17 +947,23 @@ public RetryRemoteLocalities build() { } } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class Retries extends TeaModel { - @NameInMap("Attempts") + @com.aliyun.core.annotation.NameInMap("Attempts") private Integer attempts; - @NameInMap("PerTryTimeout") + @com.aliyun.core.annotation.NameInMap("PerTryTimeout") private String perTryTimeout; - @NameInMap("RetryOn") + @com.aliyun.core.annotation.NameInMap("RetryOn") private String retryOn; - @NameInMap("RetryRemoteLocalities") + @com.aliyun.core.annotation.NameInMap("RetryRemoteLocalities") private RetryRemoteLocalities retryRemoteLocalities; private Retries(Builder builder) { @@ -794,8 +1015,21 @@ public static final class Builder { private String retryOn; private RetryRemoteLocalities retryRemoteLocalities; + private Builder() { + } + + private Builder(Retries model) { + this.attempts = model.attempts; + this.perTryTimeout = model.perTryTimeout; + this.retryOn = model.retryOn; + this.retryRemoteLocalities = model.retryRemoteLocalities; + } + /** - * The number of retries that are allowed for a request. + *

The number of retries that are allowed for a request.

+ * + * example: + *

3

*/ public Builder attempts(Integer attempts) { this.attempts = attempts; @@ -803,7 +1037,10 @@ public Builder attempts(Integer attempts) { } /** - * The timeout period for each retry. + *

The timeout period for each retry.

+ * + * example: + *

2s

*/ public Builder perTryTimeout(String perTryTimeout) { this.perTryTimeout = perTryTimeout; @@ -811,7 +1048,10 @@ public Builder perTryTimeout(String perTryTimeout) { } /** - * The condition for retries. Example: `connect-failure,refused-stream,503`. + *

The condition for retries. Example: connect-failure,refused-stream,503.

+ * + * example: + *

connect-failure,refused-stream,503

*/ public Builder retryOn(String retryOn) { this.retryOn = retryOn; @@ -819,7 +1059,7 @@ public Builder retryOn(String retryOn) { } /** - * Specifies whether to allow retries to other localities. + *

Specifies whether to allow retries to other localities.

*/ public Builder retryRemoteLocalities(RetryRemoteLocalities retryRemoteLocalities) { this.retryRemoteLocalities = retryRemoteLocalities; @@ -833,11 +1073,17 @@ public Retries build() { } } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class Rewrite extends TeaModel { - @NameInMap("Authority") + @com.aliyun.core.annotation.NameInMap("Authority") private String authority; - @NameInMap("Uri") + @com.aliyun.core.annotation.NameInMap("Uri") private String uri; private Rewrite(Builder builder) { @@ -871,8 +1117,19 @@ public static final class Builder { private String authority; private String uri; + private Builder() { + } + + private Builder(Rewrite model) { + this.authority = model.authority; + this.uri = model.uri; + } + /** - * The value to be used to overwrite the value of the Authority or Host header. + *

The value to be used to overwrite the value of the Authority or Host header.

+ * + * example: + *

newratings.default.svc.cluster.local

*/ public Builder authority(String authority) { this.authority = authority; @@ -880,7 +1137,10 @@ public Builder authority(String authority) { } /** - * The value to be used to overwrite the path or prefix of the URI. + *

The value to be used to overwrite the path or prefix of the URI.

+ * + * example: + *

/v1/getProductRatings

*/ public Builder uri(String uri) { this.uri = uri; @@ -894,29 +1154,35 @@ public Rewrite build() { } } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class HTTPAdvancedOptions extends TeaModel { - @NameInMap("Delegate") + @com.aliyun.core.annotation.NameInMap("Delegate") private Delegate delegate; - @NameInMap("Fault") + @com.aliyun.core.annotation.NameInMap("Fault") private Fault fault; - @NameInMap("HTTPRedirect") + @com.aliyun.core.annotation.NameInMap("HTTPRedirect") private HTTPRedirect HTTPRedirect; - @NameInMap("Mirror") + @com.aliyun.core.annotation.NameInMap("Mirror") private Mirror mirror; - @NameInMap("MirrorPercentage") + @com.aliyun.core.annotation.NameInMap("MirrorPercentage") private MirrorPercentage mirrorPercentage; - @NameInMap("Retries") + @com.aliyun.core.annotation.NameInMap("Retries") private Retries retries; - @NameInMap("Rewrite") + @com.aliyun.core.annotation.NameInMap("Rewrite") private Rewrite rewrite; - @NameInMap("Timeout") + @com.aliyun.core.annotation.NameInMap("Timeout") private String timeout; private HTTPAdvancedOptions(Builder builder) { @@ -1004,8 +1270,22 @@ public static final class Builder { private Rewrite rewrite; private String timeout; + private Builder() { + } + + private Builder(HTTPAdvancedOptions model) { + this.delegate = model.delegate; + this.fault = model.fault; + this.HTTPRedirect = model.HTTPRedirect; + this.mirror = model.mirror; + this.mirrorPercentage = model.mirrorPercentage; + this.retries = model.retries; + this.rewrite = model.rewrite; + this.timeout = model.timeout; + } + /** - * The virtual service that defines traffic routing. + *

The virtual service that defines traffic routing.

*/ public Builder delegate(Delegate delegate) { this.delegate = delegate; @@ -1013,7 +1293,7 @@ public Builder delegate(Delegate delegate) { } /** - * The configurations of fault injection. + *

The configurations of fault injection.

*/ public Builder fault(Fault fault) { this.fault = fault; @@ -1021,7 +1301,7 @@ public Builder fault(Fault fault) { } /** - * The HTTP redirection rule. + *

The HTTP redirection rule.

*/ public Builder HTTPRedirect(HTTPRedirect HTTPRedirect) { this.HTTPRedirect = HTTPRedirect; @@ -1029,7 +1309,7 @@ public Builder HTTPRedirect(HTTPRedirect HTTPRedirect) { } /** - * The configurations for mirroring HTTP traffic to another destination in addition to forwarding requests to the specified destination. + *

The configurations for mirroring HTTP traffic to another destination in addition to forwarding requests to the specified destination.

*/ public Builder mirror(Mirror mirror) { this.mirror = mirror; @@ -1037,7 +1317,7 @@ public Builder mirror(Mirror mirror) { } /** - * The percentage of requests that are aborted with the specified error code. + *

The percentage of requests that are aborted with the specified error code.

*/ public Builder mirrorPercentage(MirrorPercentage mirrorPercentage) { this.mirrorPercentage = mirrorPercentage; @@ -1045,7 +1325,7 @@ public Builder mirrorPercentage(MirrorPercentage mirrorPercentage) { } /** - * The configurations of retries for failed requests. + *

The configurations of retries for failed requests.

*/ public Builder retries(Retries retries) { this.retries = retries; @@ -1053,7 +1333,7 @@ public Builder retries(Retries retries) { } /** - * The configurations for rewriting the virtual service. + *

The configurations for rewriting the virtual service.

*/ public Builder rewrite(Rewrite rewrite) { this.rewrite = rewrite; @@ -1061,7 +1341,10 @@ public Builder rewrite(Rewrite rewrite) { } /** - * The timeout period for requests. + *

The timeout period for requests.

+ * + * example: + *

5s

*/ public Builder timeout(String timeout) { this.timeout = timeout; @@ -1075,14 +1358,20 @@ public HTTPAdvancedOptions build() { } } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class Headers extends TeaModel { - @NameInMap("MatchingContent") + @com.aliyun.core.annotation.NameInMap("MatchingContent") private String matchingContent; - @NameInMap("MatchingMode") + @com.aliyun.core.annotation.NameInMap("MatchingMode") private String matchingMode; - @NameInMap("Name") + @com.aliyun.core.annotation.NameInMap("Name") private String name; private Headers(Builder builder) { @@ -1125,8 +1414,20 @@ public static final class Builder { private String matchingMode; private String name; + private Builder() { + } + + private Builder(Headers model) { + this.matchingContent = model.matchingContent; + this.matchingMode = model.matchingMode; + this.name = model.name; + } + /** - * The header value to be matched. + *

The header value to be matched.

+ * + * example: + *

v1

*/ public Builder matchingContent(String matchingContent) { this.matchingContent = matchingContent; @@ -1134,12 +1435,15 @@ public Builder matchingContent(String matchingContent) { } /** - * The matching mode for the header value. Valid values: - *

+ *

The matching mode for the header value. Valid values:

+ *
    + *
  • exact: exact match
  • + *
  • prefix: match by prefix
  • + *
  • regex: match by regular expression
  • + *
* - * * `exact`: exact match - * * `prefix`: match by prefix - * * `regex`: match by regular expression + * example: + *

exact

*/ public Builder matchingMode(String matchingMode) { this.matchingMode = matchingMode; @@ -1147,7 +1451,10 @@ public Builder matchingMode(String matchingMode) { } /** - * The header key to be matched. + *

The header key to be matched.

+ * + * example: + *

x-request-id

*/ public Builder name(String name) { this.name = name; @@ -1161,11 +1468,17 @@ public Headers build() { } } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class TLSMatchAttributes extends TeaModel { - @NameInMap("SNIHosts") - private java.util.List < String > SNIHosts; + @com.aliyun.core.annotation.NameInMap("SNIHosts") + private java.util.List SNIHosts; - @NameInMap("TLSPort") + @com.aliyun.core.annotation.NameInMap("TLSPort") private Integer TLSPort; private TLSMatchAttributes(Builder builder) { @@ -1184,7 +1497,7 @@ public static TLSMatchAttributes create() { /** * @return SNIHosts */ - public java.util.List < String > getSNIHosts() { + public java.util.List getSNIHosts() { return this.SNIHosts; } @@ -1196,19 +1509,30 @@ public Integer getTLSPort() { } public static final class Builder { - private java.util.List < String > SNIHosts; + private java.util.List SNIHosts; private Integer TLSPort; + private Builder() { + } + + private Builder(TLSMatchAttributes model) { + this.SNIHosts = model.SNIHosts; + this.TLSPort = model.TLSPort; + } + /** - * The Server Name Indication (SNI) values to be matched. + *

The Server Name Indication (SNI) values to be matched.

*/ - public Builder SNIHosts(java.util.List < String > SNIHosts) { + public Builder SNIHosts(java.util.List SNIHosts) { this.SNIHosts = SNIHosts; return this; } /** - * The TLS port. + *

The TLS port.

+ * + * example: + *

443

*/ public Builder TLSPort(Integer TLSPort) { this.TLSPort = TLSPort; @@ -1222,11 +1546,17 @@ public TLSMatchAttributes build() { } } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class URI extends TeaModel { - @NameInMap("MatchingContent") + @com.aliyun.core.annotation.NameInMap("MatchingContent") private String matchingContent; - @NameInMap("MatchingMode") + @com.aliyun.core.annotation.NameInMap("MatchingMode") private String matchingMode; private URI(Builder builder) { @@ -1260,8 +1590,19 @@ public static final class Builder { private String matchingContent; private String matchingMode; + private Builder() { + } + + private Builder(URI model) { + this.matchingContent = model.matchingContent; + this.matchingMode = model.matchingMode; + } + /** - * The content to be matched. + *

The content to be matched.

+ * + * example: + *

/ratings/v2/

*/ public Builder matchingContent(String matchingContent) { this.matchingContent = matchingContent; @@ -1269,12 +1610,15 @@ public Builder matchingContent(String matchingContent) { } /** - * The matching mode. Valid values: - *

+ *

The matching mode. Valid values:

+ *
    + *
  • exact: exact match
  • + *
  • prefix: match by prefix
  • + *
  • regex: match by regular expression
  • + *
* - * * `exact`: exact match - * * `prefix`: match by prefix - * * `regex`: match by regular expression + * example: + *

prefix

*/ public Builder matchingMode(String matchingMode) { this.matchingMode = matchingMode; @@ -1288,17 +1632,23 @@ public URI build() { } } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class MatchRequest extends TeaModel { - @NameInMap("Headers") - private java.util.List < Headers> headers; + @com.aliyun.core.annotation.NameInMap("Headers") + private java.util.List headers; - @NameInMap("Ports") - private java.util.List < Integer > ports; + @com.aliyun.core.annotation.NameInMap("Ports") + private java.util.List ports; - @NameInMap("TLSMatchAttributes") - private java.util.List < TLSMatchAttributes> TLSMatchAttributes; + @com.aliyun.core.annotation.NameInMap("TLSMatchAttributes") + private java.util.List TLSMatchAttributes; - @NameInMap("URI") + @com.aliyun.core.annotation.NameInMap("URI") private URI URI; private MatchRequest(Builder builder) { @@ -1319,21 +1669,21 @@ public static MatchRequest create() { /** * @return headers */ - public java.util.List < Headers> getHeaders() { + public java.util.List getHeaders() { return this.headers; } /** * @return ports */ - public java.util.List < Integer > getPorts() { + public java.util.List getPorts() { return this.ports; } /** * @return TLSMatchAttributes */ - public java.util.List < TLSMatchAttributes> getTLSMatchAttributes() { + public java.util.List getTLSMatchAttributes() { return this.TLSMatchAttributes; } @@ -1345,37 +1695,47 @@ public URI getURI() { } public static final class Builder { - private java.util.List < Headers> headers; - private java.util.List < Integer > ports; - private java.util.List < TLSMatchAttributes> TLSMatchAttributes; + private java.util.List headers; + private java.util.List ports; + private java.util.List TLSMatchAttributes; private URI URI; + private Builder() { + } + + private Builder(MatchRequest model) { + this.headers = model.headers; + this.ports = model.ports; + this.TLSMatchAttributes = model.TLSMatchAttributes; + this.URI = model.URI; + } + /** - * The request headers to be matched. + *

The request headers to be matched.

*/ - public Builder headers(java.util.List < Headers> headers) { + public Builder headers(java.util.List headers) { this.headers = headers; return this; } /** - * The ports. + *

The ports.

*/ - public Builder ports(java.util.List < Integer > ports) { + public Builder ports(java.util.List ports) { this.ports = ports; return this; } /** - * The matching rules for Transport Layer Security (TLS) traffic. + *

The matching rules for Transport Layer Security (TLS) traffic.

*/ - public Builder TLSMatchAttributes(java.util.List < TLSMatchAttributes> TLSMatchAttributes) { + public Builder TLSMatchAttributes(java.util.List TLSMatchAttributes) { this.TLSMatchAttributes = TLSMatchAttributes; return this; } /** - * The matching rule for URIs. + *

The matching rule for URIs.

*/ public Builder URI(URI URI) { this.URI = URI; @@ -1389,8 +1749,14 @@ public MatchRequest build() { } } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class Port extends TeaModel { - @NameInMap("Number") + @com.aliyun.core.annotation.NameInMap("Number") private Integer number; private Port(Builder builder) { @@ -1415,8 +1781,18 @@ public Integer getNumber() { public static final class Builder { private Integer number; + private Builder() { + } + + private Builder(Port model) { + this.number = model.number; + } + /** - * The ports of the specified hosts to which the traffic is routed. + *

The ports of the specified hosts to which the traffic is routed.

+ * + * example: + *

443

*/ public Builder number(Integer number) { this.number = number; @@ -1430,14 +1806,20 @@ public Port build() { } } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class Destination extends TeaModel { - @NameInMap("Host") + @com.aliyun.core.annotation.NameInMap("Host") private String host; - @NameInMap("Port") + @com.aliyun.core.annotation.NameInMap("Port") private Port port; - @NameInMap("Subset") + @com.aliyun.core.annotation.NameInMap("Subset") private String subset; private Destination(Builder builder) { @@ -1480,8 +1862,20 @@ public static final class Builder { private Port port; private String subset; + private Builder() { + } + + private Builder(Destination model) { + this.host = model.host; + this.port = model.port; + this.subset = model.subset; + } + /** - * The name of the service defined in the service registry. + *

The name of the service defined in the service registry.

+ * + * example: + *

reviews

*/ public Builder host(String host) { this.host = host; @@ -1489,7 +1883,7 @@ public Builder host(String host) { } /** - * The ports of the specified hosts from which the traffic is routed. + *

The ports of the specified hosts from which the traffic is routed.

*/ public Builder port(Port port) { this.port = port; @@ -1497,7 +1891,10 @@ public Builder port(Port port) { } /** - * The name of the service subset. + *

The name of the service subset.

+ * + * example: + *

v1

*/ public Builder subset(String subset) { this.subset = subset; @@ -1511,15 +1908,21 @@ public Destination build() { } } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class Request extends TeaModel { - @NameInMap("Add") - private java.util.Map < String, ? > add; + @com.aliyun.core.annotation.NameInMap("Add") + private java.util.Map add; - @NameInMap("Remove") - private java.util.List < String > remove; + @com.aliyun.core.annotation.NameInMap("Remove") + private java.util.List remove; - @NameInMap("Set") - private java.util.Map < String, String > set; + @com.aliyun.core.annotation.NameInMap("Set") + private java.util.Map set; private Request(Builder builder) { this.add = builder.add; @@ -1538,49 +1941,61 @@ public static Request create() { /** * @return add */ - public java.util.Map < String, ? > getAdd() { + public java.util.Map getAdd() { return this.add; } /** * @return remove */ - public java.util.List < String > getRemove() { + public java.util.List getRemove() { return this.remove; } /** * @return set */ - public java.util.Map < String, String > getSet() { + public java.util.Map getSet() { return this.set; } public static final class Builder { - private java.util.Map < String, ? > add; - private java.util.List < String > remove; - private java.util.Map < String, String > set; + private java.util.Map add; + private java.util.List remove; + private java.util.Map set; + + private Builder() { + } + + private Builder(Request model) { + this.add = model.add; + this.remove = model.remove; + this.set = model.set; + } /** - * The values to be added to the header key. + *

The values to be added to the header key.

+ * + * example: + *

key

*/ - public Builder add(java.util.Map < String, ? > add) { + public Builder add(java.util.Map add) { this.add = add; return this; } /** - * The header value to be deleted. + *

The header value to be deleted.

*/ - public Builder remove(java.util.List < String > remove) { + public Builder remove(java.util.List remove) { this.remove = remove; return this; } /** - * The header key to be used to overwrite the original header key. + *

The header key to be used to overwrite the original header key.

*/ - public Builder set(java.util.Map < String, String > set) { + public Builder set(java.util.Map set) { this.set = set; return this; } @@ -1592,15 +2007,21 @@ public Request build() { } } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class Response extends TeaModel { - @NameInMap("Add") - private java.util.Map < String, ? > add; + @com.aliyun.core.annotation.NameInMap("Add") + private java.util.Map add; - @NameInMap("Remove") - private java.util.List < String > remove; + @com.aliyun.core.annotation.NameInMap("Remove") + private java.util.List remove; - @NameInMap("Set") - private java.util.Map < String, ? > set; + @com.aliyun.core.annotation.NameInMap("Set") + private java.util.Map set; private Response(Builder builder) { this.add = builder.add; @@ -1619,49 +2040,64 @@ public static Response create() { /** * @return add */ - public java.util.Map < String, ? > getAdd() { + public java.util.Map getAdd() { return this.add; } /** * @return remove */ - public java.util.List < String > getRemove() { + public java.util.List getRemove() { return this.remove; } /** * @return set */ - public java.util.Map < String, ? > getSet() { + public java.util.Map getSet() { return this.set; } public static final class Builder { - private java.util.Map < String, ? > add; - private java.util.List < String > remove; - private java.util.Map < String, ? > set; + private java.util.Map add; + private java.util.List remove; + private java.util.Map set; + + private Builder() { + } + + private Builder(Response model) { + this.add = model.add; + this.remove = model.remove; + this.set = model.set; + } /** - * The values to be added to the header key. + *

The values to be added to the header key.

+ * + * example: + *

key

*/ - public Builder add(java.util.Map < String, ? > add) { + public Builder add(java.util.Map add) { this.add = add; return this; } /** - * The header value to be deleted. + *

The header value to be deleted.

*/ - public Builder remove(java.util.List < String > remove) { + public Builder remove(java.util.List remove) { this.remove = remove; return this; } /** - * The header key to be used to overwrite the original header key. + *

The header key to be used to overwrite the original header key.

+ * + * example: + *

key

*/ - public Builder set(java.util.Map < String, ? > set) { + public Builder set(java.util.Map set) { this.set = set; return this; } @@ -1673,11 +2109,17 @@ public Response build() { } } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class RouteDestinationsHeaders extends TeaModel { - @NameInMap("Request") + @com.aliyun.core.annotation.NameInMap("Request") private Request request; - @NameInMap("Response") + @com.aliyun.core.annotation.NameInMap("Response") private Response response; private RouteDestinationsHeaders(Builder builder) { @@ -1711,8 +2153,16 @@ public static final class Builder { private Request request; private Response response; + private Builder() { + } + + private Builder(RouteDestinationsHeaders model) { + this.request = model.request; + this.response = model.response; + } + /** - * The request header to be matched. + *

The request header to be matched.

*/ public Builder request(Request request) { this.request = request; @@ -1720,7 +2170,7 @@ public Builder request(Request request) { } /** - * The processing of the headers of the response that is to be returned. + *

The processing of the headers of the response that is to be returned.

*/ public Builder response(Response response) { this.response = response; @@ -1734,14 +2184,20 @@ public RouteDestinationsHeaders build() { } } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class RouteDestinations extends TeaModel { - @NameInMap("Destination") + @com.aliyun.core.annotation.NameInMap("Destination") private Destination destination; - @NameInMap("Headers") + @com.aliyun.core.annotation.NameInMap("Headers") private RouteDestinationsHeaders headers; - @NameInMap("Weight") + @com.aliyun.core.annotation.NameInMap("Weight") private Integer weight; private RouteDestinations(Builder builder) { @@ -1784,8 +2240,17 @@ public static final class Builder { private RouteDestinationsHeaders headers; private Integer weight; + private Builder() { + } + + private Builder(RouteDestinations model) { + this.destination = model.destination; + this.headers = model.headers; + this.weight = model.weight; + } + /** - * The unique endpoint of the destination service to which the specified requests are sent. + *

The unique endpoint of the destination service to which the specified requests are sent.

*/ public Builder destination(Destination destination) { this.destination = destination; @@ -1793,7 +2258,7 @@ public Builder destination(Destination destination) { } /** - * The list of the request headers to be matched. + *

The list of the request headers to be matched.

*/ public Builder headers(RouteDestinationsHeaders headers) { this.headers = headers; @@ -1801,7 +2266,10 @@ public Builder headers(RouteDestinationsHeaders headers) { } /** - * The traffic weight. Valid values: 1 to 100. + *

The traffic weight. Valid values: 1 to 100.

+ * + * example: + *

80

*/ public Builder weight(Integer weight) { this.weight = weight; @@ -1815,29 +2283,35 @@ public RouteDestinations build() { } } + /** + * + * {@link DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRouteDetailResponseBody

+ */ public static class RouteDetail extends TeaModel { - @NameInMap("Domains") - private java.util.List < String > domains; + @com.aliyun.core.annotation.NameInMap("Domains") + private java.util.List domains; - @NameInMap("HTTPAdvancedOptions") + @com.aliyun.core.annotation.NameInMap("HTTPAdvancedOptions") private HTTPAdvancedOptions HTTPAdvancedOptions; - @NameInMap("HasUnsafeFeatures") + @com.aliyun.core.annotation.NameInMap("HasUnsafeFeatures") private Boolean hasUnsafeFeatures; - @NameInMap("MatchRequest") + @com.aliyun.core.annotation.NameInMap("MatchRequest") private MatchRequest matchRequest; - @NameInMap("RawVSRoute") + @com.aliyun.core.annotation.NameInMap("RawVSRoute") private String rawVSRoute; - @NameInMap("RouteDestinations") - private java.util.List < RouteDestinations> routeDestinations; + @com.aliyun.core.annotation.NameInMap("RouteDestinations") + private java.util.List routeDestinations; - @NameInMap("RouteName") + @com.aliyun.core.annotation.NameInMap("RouteName") private String routeName; - @NameInMap("RouteType") + @com.aliyun.core.annotation.NameInMap("RouteType") private String routeType; private RouteDetail(Builder builder) { @@ -1862,7 +2336,7 @@ public static RouteDetail create() { /** * @return domains */ - public java.util.List < String > getDomains() { + public java.util.List getDomains() { return this.domains; } @@ -1897,7 +2371,7 @@ public String getRawVSRoute() { /** * @return routeDestinations */ - public java.util.List < RouteDestinations> getRouteDestinations() { + public java.util.List getRouteDestinations() { return this.routeDestinations; } @@ -1916,25 +2390,39 @@ public String getRouteType() { } public static final class Builder { - private java.util.List < String > domains; + private java.util.List domains; private HTTPAdvancedOptions HTTPAdvancedOptions; private Boolean hasUnsafeFeatures; private MatchRequest matchRequest; private String rawVSRoute; - private java.util.List < RouteDestinations> routeDestinations; + private java.util.List routeDestinations; private String routeName; private String routeType; + private Builder() { + } + + private Builder(RouteDetail model) { + this.domains = model.domains; + this.HTTPAdvancedOptions = model.HTTPAdvancedOptions; + this.hasUnsafeFeatures = model.hasUnsafeFeatures; + this.matchRequest = model.matchRequest; + this.rawVSRoute = model.rawVSRoute; + this.routeDestinations = model.routeDestinations; + this.routeName = model.routeName; + this.routeType = model.routeType; + } + /** - * Domains. + *

Domain list.

*/ - public Builder domains(java.util.List < String > domains) { + public Builder domains(java.util.List domains) { this.domains = domains; return this; } /** - * The advanced settings for routing HTTP traffic. + *

The advanced settings for routing HTTP traffic.

*/ public Builder HTTPAdvancedOptions(HTTPAdvancedOptions HTTPAdvancedOptions) { this.HTTPAdvancedOptions = HTTPAdvancedOptions; @@ -1942,7 +2430,10 @@ public Builder HTTPAdvancedOptions(HTTPAdvancedOptions HTTPAdvancedOptions) { } /** - * If the value is true, the original YAML file contains features that are not supported on the current interface. + *

If the value is true, the original YAML file contains features that are not supported on the current interface.

+ * + * example: + *

true

*/ public Builder hasUnsafeFeatures(Boolean hasUnsafeFeatures) { this.hasUnsafeFeatures = hasUnsafeFeatures; @@ -1950,7 +2441,7 @@ public Builder hasUnsafeFeatures(Boolean hasUnsafeFeatures) { } /** - * The matching rules for traffic routing. + *

The matching rules for traffic routing.

*/ public Builder matchRequest(MatchRequest matchRequest) { this.matchRequest = matchRequest; @@ -1958,7 +2449,10 @@ public Builder matchRequest(MatchRequest matchRequest) { } /** - * The original YAML file of the virtual service that is serialized into a JSON string. + *

The original YAML file of the virtual service that is serialized into a JSON string.

+ * + * example: + *

{}

*/ public Builder rawVSRoute(String rawVSRoute) { this.rawVSRoute = rawVSRoute; @@ -1966,15 +2460,18 @@ public Builder rawVSRoute(String rawVSRoute) { } /** - * The endpoints of destination services for Layer 4 weighted routing. + *

The endpoints of destination services for Layer 4 weighted routing.

*/ - public Builder routeDestinations(java.util.List < RouteDestinations> routeDestinations) { + public Builder routeDestinations(java.util.List routeDestinations) { this.routeDestinations = routeDestinations; return this; } /** - * The name of the routing rule. + *

The name of the routing rule.

+ * + * example: + *

demo-route

*/ public Builder routeName(String routeName) { this.routeName = routeName; @@ -1982,7 +2479,10 @@ public Builder routeName(String routeName) { } /** - * The type of the traffic to be routed. Valid values: `HTTP`, `TLS`, and `TCP`. + *

The type of the traffic to be routed. Valid values: HTTP, TLS, and TCP.

+ * + * example: + *

HTTP

*/ public Builder routeType(String routeType) { this.routeType = routeType; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRoutesRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRoutesRequest.java index 67e1333f194..28d7aa71622 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRoutesRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRoutesRequest.java @@ -1,24 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeIstioGatewayRoutesRequest} extends {@link RequestModel} * *

DescribeIstioGatewayRoutesRequest

*/ public class DescribeIstioGatewayRoutesRequest extends Request { - @Body - @NameInMap("IstioGatewayName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IstioGatewayName") private String istioGatewayName; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DescribeIstioGatewayRoutesRequest(Builder builder) { @@ -35,7 +40,7 @@ public static DescribeIstioGatewayRoutesRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -69,7 +74,10 @@ private Builder(DescribeIstioGatewayRoutesRequest request) { } /** - * The name of the ASM gateway. + *

The name of the ASM gateway.

+ * + * example: + *

ingressgateway

*/ public Builder istioGatewayName(String istioGatewayName) { this.putBodyParameter("IstioGatewayName", istioGatewayName); @@ -78,7 +86,11 @@ public Builder istioGatewayName(String istioGatewayName) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRoutesResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRoutesResponse.java index ea016b5490f..32c0d6346f2 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRoutesResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRoutesResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeIstioGatewayRoutesResponse} extends {@link TeaModel} * *

DescribeIstioGatewayRoutesResponse

*/ public class DescribeIstioGatewayRoutesResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeIstioGatewayRoutesResponseBody body; private DescribeIstioGatewayRoutesResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeIstioGatewayRoutesResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeIstioGatewayRoutesResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeIstioGatewayRoutesResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeIstioGatewayRoutesResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRoutesResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRoutesResponseBody.java index 19520de724a..87fbe53bb88 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRoutesResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeIstioGatewayRoutesResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeIstioGatewayRoutesResponseBody} extends {@link TeaModel} * *

DescribeIstioGatewayRoutesResponseBody

*/ public class DescribeIstioGatewayRoutesResponseBody extends TeaModel { - @NameInMap("ManagementRoutes") - private java.util.List < ManagementRoutes> managementRoutes; + @com.aliyun.core.annotation.NameInMap("ManagementRoutes") + private java.util.List managementRoutes; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeIstioGatewayRoutesResponseBody(Builder builder) { @@ -31,10 +36,14 @@ public static DescribeIstioGatewayRoutesResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return managementRoutes */ - public java.util.List < ManagementRoutes> getManagementRoutes() { + public java.util.List getManagementRoutes() { return this.managementRoutes; } @@ -46,19 +55,30 @@ public String getRequestId() { } public static final class Builder { - private java.util.List < ManagementRoutes> managementRoutes; + private java.util.List managementRoutes; private String requestId; + private Builder() { + } + + private Builder(DescribeIstioGatewayRoutesResponseBody model) { + this.managementRoutes = model.managementRoutes; + this.requestId = model.requestId; + } + /** - * The routing rules. + *

The routing rules.

*/ - public Builder managementRoutes(java.util.List < ManagementRoutes> managementRoutes) { + public Builder managementRoutes(java.util.List managementRoutes) { this.managementRoutes = managementRoutes; return this; } /** - * The request ID. + *

The request ID.

+ * + * example: + *

31d3a0f0-07ed-4f6e-9004-1804498c****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -71,32 +91,38 @@ public DescribeIstioGatewayRoutesResponseBody build() { } + /** + * + * {@link DescribeIstioGatewayRoutesResponseBody} extends {@link TeaModel} + * + *

DescribeIstioGatewayRoutesResponseBody

+ */ public static class ManagementRoutes extends TeaModel { - @NameInMap("ASMGatewayName") + @com.aliyun.core.annotation.NameInMap("ASMGatewayName") private String ASMGatewayName; - @NameInMap("Description") + @com.aliyun.core.annotation.NameInMap("Description") private String description; - @NameInMap("DestinationHost") - private java.util.List < String > destinationHost; + @com.aliyun.core.annotation.NameInMap("DestinationHost") + private java.util.List destinationHost; - @NameInMap("DestinationSubSet") - private java.util.List < String > destinationSubSet; + @com.aliyun.core.annotation.NameInMap("DestinationSubSet") + private java.util.List destinationSubSet; - @NameInMap("Namespace") + @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; - @NameInMap("Priority") + @com.aliyun.core.annotation.NameInMap("Priority") private Integer priority; - @NameInMap("RouteName") + @com.aliyun.core.annotation.NameInMap("RouteName") private String routeName; - @NameInMap("RoutePath") + @com.aliyun.core.annotation.NameInMap("RoutePath") private String routePath; - @NameInMap("Status") + @com.aliyun.core.annotation.NameInMap("Status") private Integer status; private ManagementRoutes(Builder builder) { @@ -136,14 +162,14 @@ public String getDescription() { /** * @return destinationHost */ - public java.util.List < String > getDestinationHost() { + public java.util.List getDestinationHost() { return this.destinationHost; } /** * @return destinationSubSet */ - public java.util.List < String > getDestinationSubSet() { + public java.util.List getDestinationSubSet() { return this.destinationSubSet; } @@ -185,16 +211,34 @@ public Integer getStatus() { public static final class Builder { private String ASMGatewayName; private String description; - private java.util.List < String > destinationHost; - private java.util.List < String > destinationSubSet; + private java.util.List destinationHost; + private java.util.List destinationSubSet; private String namespace; private Integer priority; private String routeName; private String routePath; private Integer status; + private Builder() { + } + + private Builder(ManagementRoutes model) { + this.ASMGatewayName = model.ASMGatewayName; + this.description = model.description; + this.destinationHost = model.destinationHost; + this.destinationSubSet = model.destinationSubSet; + this.namespace = model.namespace; + this.priority = model.priority; + this.routeName = model.routeName; + this.routePath = model.routePath; + this.status = model.status; + } + /** - * The name of the ASM gateway. + *

The name of the ASM gateway.

+ * + * example: + *

ingressgateway

*/ public Builder ASMGatewayName(String ASMGatewayName) { this.ASMGatewayName = ASMGatewayName; @@ -202,7 +246,10 @@ public Builder ASMGatewayName(String ASMGatewayName) { } /** - * The description of the routing rule. + *

The description of the routing rule.

+ * + * example: + *

demo route

*/ public Builder description(String description) { this.description = description; @@ -210,23 +257,26 @@ public Builder description(String description) { } /** - * Destination hosts list. + *

Destination hosts list.

*/ - public Builder destinationHost(java.util.List < String > destinationHost) { + public Builder destinationHost(java.util.List destinationHost) { this.destinationHost = destinationHost; return this; } /** - * Destination subset list. + *

Destination subset list.

*/ - public Builder destinationSubSet(java.util.List < String > destinationSubSet) { + public Builder destinationSubSet(java.util.List destinationSubSet) { this.destinationSubSet = destinationSubSet; return this; } /** - * The namespace. + *

The namespace.

+ * + * example: + *

istio-demo

*/ public Builder namespace(String namespace) { this.namespace = namespace; @@ -234,7 +284,10 @@ public Builder namespace(String namespace) { } /** - * The priority of the routing rule. The value of this parameter is an integer. A smaller value indicates a higher priority. + *

The priority of the routing rule. The value of this parameter is an integer. A smaller value indicates a higher priority.

+ * + * example: + *

1

*/ public Builder priority(Integer priority) { this.priority = priority; @@ -242,7 +295,10 @@ public Builder priority(Integer priority) { } /** - * The name of the routing rule. + *

The name of the routing rule.

+ * + * example: + *

http-route

*/ public Builder routeName(String routeName) { this.routeName = routeName; @@ -250,7 +306,10 @@ public Builder routeName(String routeName) { } /** - * The path that is used to match request URLs. + *

The path that is used to match request URLs.

+ * + * example: + *

/reviews/v1

*/ public Builder routePath(String routePath) { this.routePath = routePath; @@ -258,12 +317,15 @@ public Builder routePath(String routePath) { } /** - * The status of the routing rule. Valid values: - *

+ *

The status of the routing rule. Valid values:

+ *
    + *
  • 0: The routing rule is valid.
  • + *
  • 1: The routing rule is invalid.
  • + *
  • 2: An error occurs during the creation or update of the routing rule.
  • + *
* - * * `0`: The routing rule is valid. - * * `1`: The routing rule is invalid. - * * `2`: An error occurs during the creation or update of the routing rule. + * example: + *

1

*/ public Builder status(Integer status) { this.status = status; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeMeshMultiClusterNetworkRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeMeshMultiClusterNetworkRequest.java new file mode 100644 index 00000000000..48a39475970 --- /dev/null +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeMeshMultiClusterNetworkRequest.java @@ -0,0 +1,81 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.servicemesh20200111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link DescribeMeshMultiClusterNetworkRequest} extends {@link RequestModel} + * + *

DescribeMeshMultiClusterNetworkRequest

+ */ +public class DescribeMeshMultiClusterNetworkRequest extends Request { + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) + private String serviceMeshId; + + private DescribeMeshMultiClusterNetworkRequest(Builder builder) { + super(builder); + this.serviceMeshId = builder.serviceMeshId; + } + + public static Builder builder() { + return new Builder(); + } + + public static DescribeMeshMultiClusterNetworkRequest create() { + return builder().build(); + } + +@Override + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return serviceMeshId + */ + public String getServiceMeshId() { + return this.serviceMeshId; + } + + public static final class Builder extends Request.Builder { + private String serviceMeshId; + + private Builder() { + super(); + } + + private Builder(DescribeMeshMultiClusterNetworkRequest request) { + super(request); + this.serviceMeshId = request.serviceMeshId; + } + + /** + *

This parameter is required.

+ * + * example: + *

ccb37ff104caf419fbf48fb38e6f3****

+ */ + public Builder serviceMeshId(String serviceMeshId) { + this.putBodyParameter("ServiceMeshId", serviceMeshId); + this.serviceMeshId = serviceMeshId; + return this; + } + + @Override + public DescribeMeshMultiClusterNetworkRequest build() { + return new DescribeMeshMultiClusterNetworkRequest(this); + } + + } + +} diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeMeshMultiClusterNetworkResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeMeshMultiClusterNetworkResponse.java new file mode 100644 index 00000000000..8d5384ec312 --- /dev/null +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeMeshMultiClusterNetworkResponse.java @@ -0,0 +1,131 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.servicemesh20200111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link DescribeMeshMultiClusterNetworkResponse} extends {@link TeaModel} + * + *

DescribeMeshMultiClusterNetworkResponse

+ */ +public class DescribeMeshMultiClusterNetworkResponse extends Response { + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; + + @com.aliyun.core.annotation.NameInMap("statusCode") + private Integer statusCode; + + @com.aliyun.core.annotation.NameInMap("body") + private DescribeMeshMultiClusterNetworkResponseBody body; + + private DescribeMeshMultiClusterNetworkResponse(BuilderImpl builder) { + super(builder); + this.headers = builder.headers; + this.statusCode = builder.statusCode; + this.body = builder.body; + } + + public static DescribeMeshMultiClusterNetworkResponse create() { + return new BuilderImpl().build(); + } + +@Override + public Builder toBuilder() { + return new BuilderImpl(this); + } + + /** + * @return headers + */ + public java.util.Map getHeaders() { + return this.headers; + } + + /** + * @return statusCode + */ + public Integer getStatusCode() { + return this.statusCode; + } + + /** + * @return body + */ + public DescribeMeshMultiClusterNetworkResponseBody getBody() { + return this.body; + } + + public interface Builder extends Response.Builder { + + Builder headers(java.util.Map headers); + + Builder statusCode(Integer statusCode); + + Builder body(DescribeMeshMultiClusterNetworkResponseBody body); + + @Override + DescribeMeshMultiClusterNetworkResponse build(); + + } + + private static final class BuilderImpl + extends Response.BuilderImpl + implements Builder { + private java.util.Map headers; + private Integer statusCode; + private DescribeMeshMultiClusterNetworkResponseBody body; + + private BuilderImpl() { + super(); + } + + private BuilderImpl(DescribeMeshMultiClusterNetworkResponse response) { + super(response); + this.headers = response.headers; + this.statusCode = response.statusCode; + this.body = response.body; + } + + /** + * headers. + */ + @Override + public Builder headers(java.util.Map headers) { + this.headers = headers; + return this; + } + + /** + * statusCode. + */ + @Override + public Builder statusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * body. + */ + @Override + public Builder body(DescribeMeshMultiClusterNetworkResponseBody body) { + this.body = body; + return this; + } + + @Override + public DescribeMeshMultiClusterNetworkResponse build() { + return new DescribeMeshMultiClusterNetworkResponse(this); + } + + } + +} diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeMeshMultiClusterNetworkResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeMeshMultiClusterNetworkResponseBody.java new file mode 100644 index 00000000000..1e92e7c9f98 --- /dev/null +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeMeshMultiClusterNetworkResponseBody.java @@ -0,0 +1,94 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.servicemesh20200111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link DescribeMeshMultiClusterNetworkResponseBody} extends {@link TeaModel} + * + *

DescribeMeshMultiClusterNetworkResponseBody

+ */ +public class DescribeMeshMultiClusterNetworkResponseBody extends TeaModel { + @com.aliyun.core.annotation.NameInMap("MultiClusterNetworks") + private java.util.Map multiClusterNetworks; + + @com.aliyun.core.annotation.NameInMap("RequestId") + private String requestId; + + private DescribeMeshMultiClusterNetworkResponseBody(Builder builder) { + this.multiClusterNetworks = builder.multiClusterNetworks; + this.requestId = builder.requestId; + } + + public static Builder builder() { + return new Builder(); + } + + public static DescribeMeshMultiClusterNetworkResponseBody create() { + return builder().build(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return multiClusterNetworks + */ + public java.util.Map getMultiClusterNetworks() { + return this.multiClusterNetworks; + } + + /** + * @return requestId + */ + public String getRequestId() { + return this.requestId; + } + + public static final class Builder { + private java.util.Map multiClusterNetworks; + private String requestId; + + private Builder() { + } + + private Builder(DescribeMeshMultiClusterNetworkResponseBody model) { + this.multiClusterNetworks = model.multiClusterNetworks; + this.requestId = model.requestId; + } + + /** + * MultiClusterNetworks. + */ + public Builder multiClusterNetworks(java.util.Map multiClusterNetworks) { + this.multiClusterNetworks = multiClusterNetworks; + return this; + } + + /** + *

Id of the request

+ * + * example: + *

71680038-8009-5073-B43E-C057E9******

+ */ + public Builder requestId(String requestId) { + this.requestId = requestId; + return this; + } + + public DescribeMeshMultiClusterNetworkResponseBody build() { + return new DescribeMeshMultiClusterNetworkResponseBody(this); + } + + } + +} diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeMetadataRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeMetadataRequest.java index 2d0197150a2..05f81b2ecdd 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeMetadataRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeMetadataRequest.java @@ -1,12 +1,17 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeMetadataRequest} extends {@link RequestModel} * *

DescribeMetadataRequest

@@ -24,7 +29,7 @@ public static DescribeMetadataRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeMetadataResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeMetadataResponse.java index 1ac47350c18..60e19137629 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeMetadataResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeMetadataResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeMetadataResponse} extends {@link TeaModel} * *

DescribeMetadataResponse

*/ public class DescribeMetadataResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeMetadataResponseBody body; private DescribeMetadataResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeMetadataResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeMetadataResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeMetadataResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeMetadataResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeMetadataResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeMetadataResponseBody.java index 44b5752654e..761f6fcf50e 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeMetadataResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeMetadataResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeMetadataResponseBody} extends {@link TeaModel} * *

DescribeMetadataResponseBody

*/ public class DescribeMetadataResponseBody extends TeaModel { - @NameInMap("MetaData") + @com.aliyun.core.annotation.NameInMap("MetaData") private MetaData metaData; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeMetadataResponseBody(Builder builder) { @@ -31,6 +36,10 @@ public static DescribeMetadataResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return metaData */ @@ -49,8 +58,16 @@ public static final class Builder { private MetaData metaData; private String requestId; + private Builder() { + } + + private Builder(DescribeMetadataResponseBody model) { + this.metaData = model.metaData; + this.requestId = model.requestId; + } + /** - * The metadata of ASM, which contains basic information about ASM. + *

The ASM metadata, including the basic information about ASM.

*/ public Builder metaData(MetaData metaData) { this.metaData = metaData; @@ -58,7 +75,10 @@ public Builder metaData(MetaData metaData) { } /** - * The request ID. + *

The request ID.

+ * + * example: + *

F93DDAD7-6E04-5AC3-86F4-852708******

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -71,18 +91,141 @@ public DescribeMetadataResponseBody build() { } + /** + * + * {@link DescribeMetadataResponseBody} extends {@link TeaModel} + * + *

DescribeMetadataResponseBody

+ */ + public static class PlaygroundScene extends TeaModel { + @com.aliyun.core.annotation.NameInMap("observability") + private java.util.List observability; + + @com.aliyun.core.annotation.NameInMap("other") + private java.util.List other; + + @com.aliyun.core.annotation.NameInMap("security") + private java.util.List security; + + @com.aliyun.core.annotation.NameInMap("trafficManagement") + private java.util.List trafficManagement; + + private PlaygroundScene(Builder builder) { + this.observability = builder.observability; + this.other = builder.other; + this.security = builder.security; + this.trafficManagement = builder.trafficManagement; + } + + public static Builder builder() { + return new Builder(); + } + + public static PlaygroundScene create() { + return builder().build(); + } + + /** + * @return observability + */ + public java.util.List getObservability() { + return this.observability; + } + + /** + * @return other + */ + public java.util.List getOther() { + return this.other; + } + + /** + * @return security + */ + public java.util.List getSecurity() { + return this.security; + } + + /** + * @return trafficManagement + */ + public java.util.List getTrafficManagement() { + return this.trafficManagement; + } + + public static final class Builder { + private java.util.List observability; + private java.util.List other; + private java.util.List security; + private java.util.List trafficManagement; + + private Builder() { + } + + private Builder(PlaygroundScene model) { + this.observability = model.observability; + this.other = model.other; + this.security = model.security; + this.trafficManagement = model.trafficManagement; + } + + /** + *

The observability scenarios.

+ */ + public Builder observability(java.util.List observability) { + this.observability = observability; + return this; + } + + /** + *

Other scenarios.

+ */ + public Builder other(java.util.List other) { + this.other = other; + return this; + } + + /** + *

The security scenarios.

+ */ + public Builder security(java.util.List security) { + this.security = security; + return this; + } + + /** + *

The traffic management scenarios.

+ */ + public Builder trafficManagement(java.util.List trafficManagement) { + this.trafficManagement = trafficManagement; + return this; + } + + public PlaygroundScene build() { + return new PlaygroundScene(this); + } + + } + + } + /** + * + * {@link DescribeMetadataResponseBody} extends {@link TeaModel} + * + *

DescribeMetadataResponseBody

+ */ public static class ProEdition extends TeaModel { - @NameInMap("CurrentVersion") + @com.aliyun.core.annotation.NameInMap("CurrentVersion") private String currentVersion; - @NameInMap("VersionCrds") - private java.util.List < java.util.Map> versionCrds; + @com.aliyun.core.annotation.NameInMap("VersionCrds") + private java.util.List> versionCrds; - @NameInMap("VersionRegistry") - private java.util.List < java.util.Map> versionRegistry; + @com.aliyun.core.annotation.NameInMap("VersionRegistry") + private java.util.List> versionRegistry; - @NameInMap("Versions") - private java.util.List < String > versions; + @com.aliyun.core.annotation.NameInMap("Versions") + private java.util.List versions; private ProEdition(Builder builder) { this.currentVersion = builder.currentVersion; @@ -109,32 +252,45 @@ public String getCurrentVersion() { /** * @return versionCrds */ - public java.util.List < java.util.Map> getVersionCrds() { + public java.util.List> getVersionCrds() { return this.versionCrds; } /** * @return versionRegistry */ - public java.util.List < java.util.Map> getVersionRegistry() { + public java.util.List> getVersionRegistry() { return this.versionRegistry; } /** * @return versions */ - public java.util.List < String > getVersions() { + public java.util.List getVersions() { return this.versions; } public static final class Builder { private String currentVersion; - private java.util.List < java.util.Map> versionCrds; - private java.util.List < java.util.Map> versionRegistry; - private java.util.List < String > versions; + private java.util.List> versionCrds; + private java.util.List> versionRegistry; + private java.util.List versions; + + private Builder() { + } + + private Builder(ProEdition model) { + this.currentVersion = model.currentVersion; + this.versionCrds = model.versionCrds; + this.versionRegistry = model.versionRegistry; + this.versions = model.versions; + } /** - * The current version. + *

The current version.

+ * + * example: + *

v1.14.3.87-g96cf7305-aliyun

*/ public Builder currentVersion(String currentVersion) { this.currentVersion = currentVersion; @@ -142,25 +298,25 @@ public Builder currentVersion(String currentVersion) { } /** - * The CRDs of all ASM versions. + *

The CRDs of all ASM versions.

*/ - public Builder versionCrds(java.util.List < java.util.Map> versionCrds) { + public Builder versionCrds(java.util.List> versionCrds) { this.versionCrds = versionCrds; return this; } /** - * The Istio versions corresponding to the ASM versions. + *

The Istio versions corresponding to the ASM versions.

*/ - public Builder versionRegistry(java.util.List < java.util.Map> versionRegistry) { + public Builder versionRegistry(java.util.List> versionRegistry) { this.versionRegistry = versionRegistry; return this; } /** - * The list of ASM versions. + *

The list of ASM versions.

*/ - public Builder versions(java.util.List < String > versions) { + public Builder versions(java.util.List versions) { this.versions = versions; return this; } @@ -172,27 +328,41 @@ public ProEdition build() { } } + /** + * + * {@link DescribeMetadataResponseBody} extends {@link TeaModel} + * + *

DescribeMetadataResponseBody

+ */ public static class MetaData extends TeaModel { - @NameInMap("CurrentVersion") + @com.aliyun.core.annotation.NameInMap("CompatibilityInfoList") + private java.util.List> compatibilityInfoList; + + @com.aliyun.core.annotation.NameInMap("CurrentVersion") private String currentVersion; - @NameInMap("ProEdition") + @com.aliyun.core.annotation.NameInMap("PlaygroundScene") + private PlaygroundScene playgroundScene; + + @com.aliyun.core.annotation.NameInMap("ProEdition") private ProEdition proEdition; - @NameInMap("Regions") - private java.util.List < String > regions; + @com.aliyun.core.annotation.NameInMap("Regions") + private java.util.List regions; - @NameInMap("VersionCrds") - private java.util.List < java.util.Map> versionCrds; + @com.aliyun.core.annotation.NameInMap("VersionCrds") + private java.util.List> versionCrds; - @NameInMap("VersionRegistry") - private java.util.List < java.util.Map> versionRegistry; + @com.aliyun.core.annotation.NameInMap("VersionRegistry") + private java.util.List> versionRegistry; - @NameInMap("Versions") - private java.util.List < String > versions; + @com.aliyun.core.annotation.NameInMap("Versions") + private java.util.List versions; private MetaData(Builder builder) { + this.compatibilityInfoList = builder.compatibilityInfoList; this.currentVersion = builder.currentVersion; + this.playgroundScene = builder.playgroundScene; this.proEdition = builder.proEdition; this.regions = builder.regions; this.versionCrds = builder.versionCrds; @@ -208,6 +378,13 @@ public static MetaData create() { return builder().build(); } + /** + * @return compatibilityInfoList + */ + public java.util.List> getCompatibilityInfoList() { + return this.compatibilityInfoList; + } + /** * @return currentVersion */ @@ -215,6 +392,13 @@ public String getCurrentVersion() { return this.currentVersion; } + /** + * @return playgroundScene + */ + public PlaygroundScene getPlaygroundScene() { + return this.playgroundScene; + } + /** * @return proEdition */ @@ -225,41 +409,68 @@ public ProEdition getProEdition() { /** * @return regions */ - public java.util.List < String > getRegions() { + public java.util.List getRegions() { return this.regions; } /** * @return versionCrds */ - public java.util.List < java.util.Map> getVersionCrds() { + public java.util.List> getVersionCrds() { return this.versionCrds; } /** * @return versionRegistry */ - public java.util.List < java.util.Map> getVersionRegistry() { + public java.util.List> getVersionRegistry() { return this.versionRegistry; } /** * @return versions */ - public java.util.List < String > getVersions() { + public java.util.List getVersions() { return this.versions; } public static final class Builder { + private java.util.List> compatibilityInfoList; private String currentVersion; + private PlaygroundScene playgroundScene; private ProEdition proEdition; - private java.util.List < String > regions; - private java.util.List < java.util.Map> versionCrds; - private java.util.List < java.util.Map> versionRegistry; - private java.util.List < String > versions; + private java.util.List regions; + private java.util.List> versionCrds; + private java.util.List> versionRegistry; + private java.util.List versions; + + private Builder() { + } + + private Builder(MetaData model) { + this.compatibilityInfoList = model.compatibilityInfoList; + this.currentVersion = model.currentVersion; + this.playgroundScene = model.playgroundScene; + this.proEdition = model.proEdition; + this.regions = model.regions; + this.versionCrds = model.versionCrds; + this.versionRegistry = model.versionRegistry; + this.versions = model.versions; + } + + /** + *

The Kubernetes versions compatible with ASM.

+ */ + public Builder compatibilityInfoList(java.util.List> compatibilityInfoList) { + this.compatibilityInfoList = compatibilityInfoList; + return this; + } /** - * The current version. + *

The current version.

+ * + * example: + *

v1.14.3.87-g96cf7305-aliyun

*/ public Builder currentVersion(String currentVersion) { this.currentVersion = currentVersion; @@ -267,7 +478,15 @@ public Builder currentVersion(String currentVersion) { } /** - * The version information about ASM of a commercial edition. + *

The data of the ASM Playground.

+ */ + public Builder playgroundScene(PlaygroundScene playgroundScene) { + this.playgroundScene = playgroundScene; + return this; + } + + /** + *

The version information about ASM of a commercial edition.

*/ public Builder proEdition(ProEdition proEdition) { this.proEdition = proEdition; @@ -275,33 +494,33 @@ public Builder proEdition(ProEdition proEdition) { } /** - * The regions where ASM instances can be created. + *

The regions where ASM instances can be created.

*/ - public Builder regions(java.util.List < String > regions) { + public Builder regions(java.util.List regions) { this.regions = regions; return this; } /** - * The custom resource definitions (CRDs) of all ASM versions. + *

The custom resource definitions (CRDs) of all ASM versions.

*/ - public Builder versionCrds(java.util.List < java.util.Map> versionCrds) { + public Builder versionCrds(java.util.List> versionCrds) { this.versionCrds = versionCrds; return this; } /** - * The Istio versions corresponding to the ASM versions. + *

The Istio versions corresponding to the ASM versions.

*/ - public Builder versionRegistry(java.util.List < java.util.Map> versionRegistry) { + public Builder versionRegistry(java.util.List> versionRegistry) { this.versionRegistry = versionRegistry; return this; } /** - * The list of ASM versions. + *

The list of ASM versions.

*/ - public Builder versions(java.util.List < String > versions) { + public Builder versions(java.util.List versions) { this.versions = versions; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNamespaceScopeSidecarConfigRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNamespaceScopeSidecarConfigRequest.java index 6791fcc549a..e14dcf40199 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNamespaceScopeSidecarConfigRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNamespaceScopeSidecarConfigRequest.java @@ -1,24 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeNamespaceScopeSidecarConfigRequest} extends {@link RequestModel} * *

DescribeNamespaceScopeSidecarConfigRequest

*/ public class DescribeNamespaceScopeSidecarConfigRequest extends Request { - @Body - @NameInMap("Namespace") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DescribeNamespaceScopeSidecarConfigRequest(Builder builder) { @@ -35,7 +40,7 @@ public static DescribeNamespaceScopeSidecarConfigRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -69,7 +74,10 @@ private Builder(DescribeNamespaceScopeSidecarConfigRequest request) { } /** - * The namespace. + *

The namespace.

+ * + * example: + *

default

*/ public Builder namespace(String namespace) { this.putBodyParameter("Namespace", namespace); @@ -78,7 +86,11 @@ public Builder namespace(String namespace) { } /** - * The ID of the ASM instance. + *

The ID of the ASM instance.

+ *

This parameter is required.

+ * + * example: + *

c7120e75a202d4fd8acb028a86b6a****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNamespaceScopeSidecarConfigResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNamespaceScopeSidecarConfigResponse.java index 0d7a56bc967..289a57138ce 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNamespaceScopeSidecarConfigResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNamespaceScopeSidecarConfigResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeNamespaceScopeSidecarConfigResponse} extends {@link TeaModel} * *

DescribeNamespaceScopeSidecarConfigResponse

*/ public class DescribeNamespaceScopeSidecarConfigResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeNamespaceScopeSidecarConfigResponseBody body; private DescribeNamespaceScopeSidecarConfigResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeNamespaceScopeSidecarConfigResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeNamespaceScopeSidecarConfigResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeNamespaceScopeSidecarConfigResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeNamespaceScopeSidecarConfigResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNamespaceScopeSidecarConfigResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNamespaceScopeSidecarConfigResponseBody.java index 39351db8406..c874f243f01 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNamespaceScopeSidecarConfigResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNamespaceScopeSidecarConfigResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeNamespaceScopeSidecarConfigResponseBody} extends {@link TeaModel} * *

DescribeNamespaceScopeSidecarConfigResponseBody

*/ public class DescribeNamespaceScopeSidecarConfigResponseBody extends TeaModel { - @NameInMap("ConfigPatches") + @com.aliyun.core.annotation.NameInMap("ConfigPatches") private ConfigPatches configPatches; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeNamespaceScopeSidecarConfigResponseBody(Builder builder) { @@ -31,6 +36,10 @@ public static DescribeNamespaceScopeSidecarConfigResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return configPatches */ @@ -49,8 +58,16 @@ public static final class Builder { private ConfigPatches configPatches; private String requestId; + private Builder() { + } + + private Builder(DescribeNamespaceScopeSidecarConfigResponseBody model) { + this.configPatches = model.configPatches; + this.requestId = model.requestId; + } + /** - * The namespace-level sidecar proxy configurations. + *

The namespace-level sidecar configurations.

*/ public Builder configPatches(ConfigPatches configPatches) { this.configPatches = configPatches; @@ -58,7 +75,10 @@ public Builder configPatches(ConfigPatches configPatches) { } /** - * The request ID. + *

The request ID.

+ * + * example: + *

31d3a0f0-07ed-4f6e-9004-1804498c****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -71,15 +91,21 @@ public DescribeNamespaceScopeSidecarConfigResponseBody build() { } + /** + * + * {@link DescribeNamespaceScopeSidecarConfigResponseBody} extends {@link TeaModel} + * + *

DescribeNamespaceScopeSidecarConfigResponseBody

+ */ public static class ProxyStatsMatcher extends TeaModel { - @NameInMap("InclusionPrefixes") - private java.util.List < String > inclusionPrefixes; + @com.aliyun.core.annotation.NameInMap("InclusionPrefixes") + private java.util.List inclusionPrefixes; - @NameInMap("InclusionRegexps") - private java.util.List < String > inclusionRegexps; + @com.aliyun.core.annotation.NameInMap("InclusionRegexps") + private java.util.List inclusionRegexps; - @NameInMap("InclusionSuffixes") - private java.util.List < String > inclusionSuffixes; + @com.aliyun.core.annotation.NameInMap("InclusionSuffixes") + private java.util.List inclusionSuffixes; private ProxyStatsMatcher(Builder builder) { this.inclusionPrefixes = builder.inclusionPrefixes; @@ -98,49 +124,58 @@ public static ProxyStatsMatcher create() { /** * @return inclusionPrefixes */ - public java.util.List < String > getInclusionPrefixes() { + public java.util.List getInclusionPrefixes() { return this.inclusionPrefixes; } /** * @return inclusionRegexps */ - public java.util.List < String > getInclusionRegexps() { + public java.util.List getInclusionRegexps() { return this.inclusionRegexps; } /** * @return inclusionSuffixes */ - public java.util.List < String > getInclusionSuffixes() { + public java.util.List getInclusionSuffixes() { return this.inclusionSuffixes; } public static final class Builder { - private java.util.List < String > inclusionPrefixes; - private java.util.List < String > inclusionRegexps; - private java.util.List < String > inclusionSuffixes; + private java.util.List inclusionPrefixes; + private java.util.List inclusionRegexps; + private java.util.List inclusionSuffixes; + + private Builder() { + } + + private Builder(ProxyStatsMatcher model) { + this.inclusionPrefixes = model.inclusionPrefixes; + this.inclusionRegexps = model.inclusionRegexps; + this.inclusionSuffixes = model.inclusionSuffixes; + } /** - * The prefixes of the custom Envoy statistics that are reported by the sidecar proxy. + *

The prefixes of the custom Envoy statistics that are reported by the sidecar proxy.

*/ - public Builder inclusionPrefixes(java.util.List < String > inclusionPrefixes) { + public Builder inclusionPrefixes(java.util.List inclusionPrefixes) { this.inclusionPrefixes = inclusionPrefixes; return this; } /** - * The regular expressions for specifying the custom Envoy statistics that are reported by the sidecar proxy. + *

The regular expressions for specifying the custom Envoy statistics that are reported by the sidecar proxy.

*/ - public Builder inclusionRegexps(java.util.List < String > inclusionRegexps) { + public Builder inclusionRegexps(java.util.List inclusionRegexps) { this.inclusionRegexps = inclusionRegexps; return this; } /** - * The suffixes of the custom Envoy statistics that are reported by the sidecar proxy. + *

The suffixes of the custom Envoy statistics that are reported by the sidecar proxy.

*/ - public Builder inclusionSuffixes(java.util.List < String > inclusionSuffixes) { + public Builder inclusionSuffixes(java.util.List inclusionSuffixes) { this.inclusionSuffixes = inclusionSuffixes; return this; } @@ -152,12 +187,171 @@ public ProxyStatsMatcher build() { } } + /** + * + * {@link DescribeNamespaceScopeSidecarConfigResponseBody} extends {@link TeaModel} + * + *

DescribeNamespaceScopeSidecarConfigResponseBody

+ */ + public static class SMCConfiguration extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Enabled") + private Boolean enabled; + + private SMCConfiguration(Builder builder) { + this.enabled = builder.enabled; + } + + public static Builder builder() { + return new Builder(); + } + + public static SMCConfiguration create() { + return builder().build(); + } + + /** + * @return enabled + */ + public Boolean getEnabled() { + return this.enabled; + } + + public static final class Builder { + private Boolean enabled; + + private Builder() { + } + + private Builder(SMCConfiguration model) { + this.enabled = model.enabled; + } + + /** + *

Indicates whether the SMC-R optimization feature is enabled. The SMC-R optimization feature uses Alibaba Cloud Linux 3 and elastic remote direct memory access (eRDMA) network devices, which optimizes cross-node communication.

+ * + * example: + *

true

+ */ + public Builder enabled(Boolean enabled) { + this.enabled = enabled; + return this; + } + + public SMCConfiguration build() { + return new SMCConfiguration(this); + } + + } + + } + /** + * + * {@link DescribeNamespaceScopeSidecarConfigResponseBody} extends {@link TeaModel} + * + *

DescribeNamespaceScopeSidecarConfigResponseBody

+ */ + public static class ScaledSidecarResource extends TeaModel { + @com.aliyun.core.annotation.NameInMap("ContainerRef") + private String containerRef; + + @com.aliyun.core.annotation.NameInMap("ResourceCalculationStrategy") + private String resourceCalculationStrategy; + + @com.aliyun.core.annotation.NameInMap("ResourcePercentage") + private Integer resourcePercentage; + + private ScaledSidecarResource(Builder builder) { + this.containerRef = builder.containerRef; + this.resourceCalculationStrategy = builder.resourceCalculationStrategy; + this.resourcePercentage = builder.resourcePercentage; + } + + public static Builder builder() { + return new Builder(); + } + + public static ScaledSidecarResource create() { + return builder().build(); + } + + /** + * @return containerRef + */ + public String getContainerRef() { + return this.containerRef; + } + + /** + * @return resourceCalculationStrategy + */ + public String getResourceCalculationStrategy() { + return this.resourceCalculationStrategy; + } + + /** + * @return resourcePercentage + */ + public Integer getResourcePercentage() { + return this.resourcePercentage; + } + + public static final class Builder { + private String containerRef; + private String resourceCalculationStrategy; + private Integer resourcePercentage; + + private Builder() { + } + + private Builder(ScaledSidecarResource model) { + this.containerRef = model.containerRef; + this.resourceCalculationStrategy = model.resourceCalculationStrategy; + this.resourcePercentage = model.resourcePercentage; + } + + /** + * ContainerRef. + */ + public Builder containerRef(String containerRef) { + this.containerRef = containerRef; + return this; + } + + /** + * ResourceCalculationStrategy. + */ + public Builder resourceCalculationStrategy(String resourceCalculationStrategy) { + this.resourceCalculationStrategy = resourceCalculationStrategy; + return this; + } + + /** + * ResourcePercentage. + */ + public Builder resourcePercentage(Integer resourcePercentage) { + this.resourcePercentage = resourcePercentage; + return this; + } + + public ScaledSidecarResource build() { + return new ScaledSidecarResource(this); + } + + } + + } + /** + * + * {@link DescribeNamespaceScopeSidecarConfigResponseBody} extends {@link TeaModel} + * + *

DescribeNamespaceScopeSidecarConfigResponseBody

+ */ public static class SidecarProxyAckSloResource extends TeaModel { - @NameInMap("Limits") - private java.util.Map < String, String > limits; + @com.aliyun.core.annotation.NameInMap("Limits") + private java.util.Map limits; - @NameInMap("Requests") - private java.util.Map < String, String > requests; + @com.aliyun.core.annotation.NameInMap("Requests") + private java.util.Map requests; private SidecarProxyAckSloResource(Builder builder) { this.limits = builder.limits; @@ -175,33 +369,49 @@ public static SidecarProxyAckSloResource create() { /** * @return limits */ - public java.util.Map < String, String > getLimits() { + public java.util.Map getLimits() { return this.limits; } /** * @return requests */ - public java.util.Map < String, String > getRequests() { + public java.util.Map getRequests() { return this.requests; } public static final class Builder { - private java.util.Map < String, String > limits; - private java.util.Map < String, String > requests; + private java.util.Map limits; + private java.util.Map requests; + + private Builder() { + } + + private Builder(SidecarProxyAckSloResource model) { + this.limits = model.limits; + this.requests = model.requests; + } /** - * Limits. + *

The maximum size of reclaimed ACK resources that are available to the sidecar proxy container. This configuration item indicates the maximum size of resources that are available to the sidecar proxy container in a pod labeled with koordinator.sh/qosClass. The object can contain the following two types of keys, which indicate two types of resources:

+ *
    + *
  • kubernetes.io/batch-cpu: CPU resources that can be dynamically overcommitted. Unit: millicore.
  • + *
  • kubernetes.io/batch-memory: memory resources that can be dynamically overcommitted.
  • + *
*/ - public Builder limits(java.util.Map < String, String > limits) { + public Builder limits(java.util.Map limits) { this.limits = limits; return this; } /** - * Requests. + *

The minimum size of reclaimed ACK resources that the sidecar proxy container needs to use at runtime. This configuration item indicates the minimum size of reclaimed ACK resources for the sidecar proxy container in a pod labeled with koordinator.sh/qosClass. The object can contain the following two types of keys, which indicate two types of resources:

+ *
    + *
  • kubernetes.io/batch-cpu: CPU resources that can be dynamically overcommitted. Unit: millicore.
  • + *
  • kubernetes.io/batch-memory: memory resources that can be dynamically overcommitted.
  • + *
*/ - public Builder requests(java.util.Map < String, String > requests) { + public Builder requests(java.util.Map requests) { this.requests = requests; return this; } @@ -213,12 +423,18 @@ public SidecarProxyAckSloResource build() { } } + /** + * + * {@link DescribeNamespaceScopeSidecarConfigResponseBody} extends {@link TeaModel} + * + *

DescribeNamespaceScopeSidecarConfigResponseBody

+ */ public static class SidecarProxyInitAckSloResource extends TeaModel { - @NameInMap("Limits") - private java.util.Map < String, String > limits; + @com.aliyun.core.annotation.NameInMap("Limits") + private java.util.Map limits; - @NameInMap("Requests") - private java.util.Map < String, String > requests; + @com.aliyun.core.annotation.NameInMap("Requests") + private java.util.Map requests; private SidecarProxyInitAckSloResource(Builder builder) { this.limits = builder.limits; @@ -236,33 +452,49 @@ public static SidecarProxyInitAckSloResource create() { /** * @return limits */ - public java.util.Map < String, String > getLimits() { + public java.util.Map getLimits() { return this.limits; } /** * @return requests */ - public java.util.Map < String, String > getRequests() { + public java.util.Map getRequests() { return this.requests; } public static final class Builder { - private java.util.Map < String, String > limits; - private java.util.Map < String, String > requests; + private java.util.Map limits; + private java.util.Map requests; + + private Builder() { + } + + private Builder(SidecarProxyInitAckSloResource model) { + this.limits = model.limits; + this.requests = model.requests; + } /** - * Limits. + *

The maximum size of reclaimed ACK resources that are available to the istio-init container. This configuration item indicates the maximum size of resources that are available to the istio-init container in a pod labeled with koordinator.sh/qosClass. The object can contain the following two types of keys, which indicate two types of resources:

+ *
    + *
  • kubernetes.io/batch-cpu: CPU resources that can be dynamically overcommitted. Unit: millicore.
  • + *
  • kubernetes.io/batch-memory: memory resources that can be dynamically overcommitted.
  • + *
*/ - public Builder limits(java.util.Map < String, String > limits) { + public Builder limits(java.util.Map limits) { this.limits = limits; return this; } /** - * Requests. + *

The minimum size of reclaimed ACK resources that the istio-init container needs to use at runtime. This configuration item indicates the minimum size of reclaimed ACK resources for the istio-init container in a pod labeled with koordinator.sh/qosClass. The object can contain the following two types of keys, which indicate two types of resources:

+ *
    + *
  • kubernetes.io/batch-cpu: CPU resources that can be dynamically overcommitted. Unit: millicore.
  • + *
  • kubernetes.io/batch-memory: memory resources that can be dynamically overcommitted.
  • + *
*/ - public Builder requests(java.util.Map < String, String > requests) { + public Builder requests(java.util.Map requests) { this.requests = requests; return this; } @@ -274,11 +506,17 @@ public SidecarProxyInitAckSloResource build() { } } + /** + * + * {@link DescribeNamespaceScopeSidecarConfigResponseBody} extends {@link TeaModel} + * + *

DescribeNamespaceScopeSidecarConfigResponseBody

+ */ public static class SidecarProxyInitResourceLimit extends TeaModel { - @NameInMap("ResourceCPULimit") + @com.aliyun.core.annotation.NameInMap("ResourceCPULimit") private String resourceCPULimit; - @NameInMap("ResourceMemoryLimit") + @com.aliyun.core.annotation.NameInMap("ResourceMemoryLimit") private String resourceMemoryLimit; private SidecarProxyInitResourceLimit(Builder builder) { @@ -312,8 +550,19 @@ public static final class Builder { private String resourceCPULimit; private String resourceMemoryLimit; + private Builder() { + } + + private Builder(SidecarProxyInitResourceLimit model) { + this.resourceCPULimit = model.resourceCPULimit; + this.resourceMemoryLimit = model.resourceMemoryLimit; + } + /** - * The maximum number of CPU cores. + *

The maximum number of CPU cores.

+ * + * example: + *

2000 m

*/ public Builder resourceCPULimit(String resourceCPULimit) { this.resourceCPULimit = resourceCPULimit; @@ -321,7 +570,10 @@ public Builder resourceCPULimit(String resourceCPULimit) { } /** - * The maximum size of the memory. + *

The maximum size of the memory.

+ * + * example: + *

50 Mi

*/ public Builder resourceMemoryLimit(String resourceMemoryLimit) { this.resourceMemoryLimit = resourceMemoryLimit; @@ -335,11 +587,17 @@ public SidecarProxyInitResourceLimit build() { } } + /** + * + * {@link DescribeNamespaceScopeSidecarConfigResponseBody} extends {@link TeaModel} + * + *

DescribeNamespaceScopeSidecarConfigResponseBody

+ */ public static class SidecarProxyInitResourceRequest extends TeaModel { - @NameInMap("ResourceCPURequest") + @com.aliyun.core.annotation.NameInMap("ResourceCPURequest") private String resourceCPURequest; - @NameInMap("ResourceMemoryRequest") + @com.aliyun.core.annotation.NameInMap("ResourceMemoryRequest") private String resourceMemoryRequest; private SidecarProxyInitResourceRequest(Builder builder) { @@ -373,8 +631,19 @@ public static final class Builder { private String resourceCPURequest; private String resourceMemoryRequest; + private Builder() { + } + + private Builder(SidecarProxyInitResourceRequest model) { + this.resourceCPURequest = model.resourceCPURequest; + this.resourceMemoryRequest = model.resourceMemoryRequest; + } + /** - * The minimum number of CPU cores. + *

The minimum number of CPU cores.

+ * + * example: + *

60 m

*/ public Builder resourceCPURequest(String resourceCPURequest) { this.resourceCPURequest = resourceCPURequest; @@ -382,7 +651,10 @@ public Builder resourceCPURequest(String resourceCPURequest) { } /** - * The minimum size of the memory. + *

The minimum size of the memory.

+ * + * example: + *

30 Mi

*/ public Builder resourceMemoryRequest(String resourceMemoryRequest) { this.resourceMemoryRequest = resourceMemoryRequest; @@ -396,11 +668,17 @@ public SidecarProxyInitResourceRequest build() { } } + /** + * + * {@link DescribeNamespaceScopeSidecarConfigResponseBody} extends {@link TeaModel} + * + *

DescribeNamespaceScopeSidecarConfigResponseBody

+ */ public static class SidecarProxyResourceLimit extends TeaModel { - @NameInMap("ResourceCPULimit") + @com.aliyun.core.annotation.NameInMap("ResourceCPULimit") private String resourceCPULimit; - @NameInMap("ResourceMemoryLimit") + @com.aliyun.core.annotation.NameInMap("ResourceMemoryLimit") private String resourceMemoryLimit; private SidecarProxyResourceLimit(Builder builder) { @@ -434,8 +712,19 @@ public static final class Builder { private String resourceCPULimit; private String resourceMemoryLimit; + private Builder() { + } + + private Builder(SidecarProxyResourceLimit model) { + this.resourceCPULimit = model.resourceCPULimit; + this.resourceMemoryLimit = model.resourceMemoryLimit; + } + /** - * The maximum number of CPU cores. + *

The maximum number of CPU cores.

+ * + * example: + *

2000 m

*/ public Builder resourceCPULimit(String resourceCPULimit) { this.resourceCPULimit = resourceCPULimit; @@ -443,7 +732,10 @@ public Builder resourceCPULimit(String resourceCPULimit) { } /** - * The maximum size of the memory. + *

The maximum size of the memory.

+ * + * example: + *

50 Mi

*/ public Builder resourceMemoryLimit(String resourceMemoryLimit) { this.resourceMemoryLimit = resourceMemoryLimit; @@ -457,11 +749,17 @@ public SidecarProxyResourceLimit build() { } } + /** + * + * {@link DescribeNamespaceScopeSidecarConfigResponseBody} extends {@link TeaModel} + * + *

DescribeNamespaceScopeSidecarConfigResponseBody

+ */ public static class SidecarProxyResourceRequest extends TeaModel { - @NameInMap("ResourceCPURequest") + @com.aliyun.core.annotation.NameInMap("ResourceCPURequest") private String resourceCPURequest; - @NameInMap("ResourceMemoryRequest") + @com.aliyun.core.annotation.NameInMap("ResourceMemoryRequest") private String resourceMemoryRequest; private SidecarProxyResourceRequest(Builder builder) { @@ -495,8 +793,19 @@ public static final class Builder { private String resourceCPURequest; private String resourceMemoryRequest; + private Builder() { + } + + private Builder(SidecarProxyResourceRequest model) { + this.resourceCPURequest = model.resourceCPURequest; + this.resourceMemoryRequest = model.resourceMemoryRequest; + } + /** - * The minimum number of CPU cores. + *

The minimum number of CPU cores.

+ * + * example: + *

60 m

*/ public Builder resourceCPURequest(String resourceCPURequest) { this.resourceCPURequest = resourceCPURequest; @@ -504,7 +813,10 @@ public Builder resourceCPURequest(String resourceCPURequest) { } /** - * The minimum size of the memory. + *

The minimum size of the memory.

+ * + * example: + *

30 Mi

*/ public Builder resourceMemoryRequest(String resourceMemoryRequest) { this.resourceMemoryRequest = resourceMemoryRequest; @@ -518,14 +830,20 @@ public SidecarProxyResourceRequest build() { } } + /** + * + * {@link DescribeNamespaceScopeSidecarConfigResponseBody} extends {@link TeaModel} + * + *

DescribeNamespaceScopeSidecarConfigResponseBody

+ */ public static class Tracing extends TeaModel { - @NameInMap("CustomTags") - private java.util.Map < String, ? > customTags; + @com.aliyun.core.annotation.NameInMap("CustomTags") + private java.util.Map customTags; - @NameInMap("MaxPathTagLength") + @com.aliyun.core.annotation.NameInMap("MaxPathTagLength") private Integer maxPathTagLength; - @NameInMap("Sampling") + @com.aliyun.core.annotation.NameInMap("Sampling") private Double sampling; private Tracing(Builder builder) { @@ -545,7 +863,7 @@ public static Tracing create() { /** * @return customTags */ - public java.util.Map < String, ? > getCustomTags() { + public java.util.Map getCustomTags() { return this.customTags; } @@ -564,25 +882,40 @@ public Double getSampling() { } public static final class Builder { - private java.util.Map < String, ? > customTags; + private java.util.Map customTags; private Integer maxPathTagLength; private Double sampling; + private Builder() { + } + + private Builder(Tracing model) { + this.customTags = model.customTags; + this.maxPathTagLength = model.maxPathTagLength; + this.sampling = model.sampling; + } + /** - * The custom tags added to reported spans. The key of a tag is of the string type. The value of a tag is in the JSON format. A custom tag can belong to one of the following types: - *

+ *

The custom tags added to reported spans. The key of a tag is of the string type. The value of a tag is in the JSON format. A custom tag can belong to one of the following types:

+ *
    + *
  • literal: The tag value is a fixed value in the JSON format. This tag must contain the value field that specifies a literal. Example: {"value":"test"}.
  • + *
  • header: The tag value is a request header in the JSON format. This tag must contain the name field and the defaultValue field. The name field indicates the name of the request header. The defaultValue field indicates the default value that is used when no request header is available. Example: {"name":"test","defaultValue":"test"}.
  • + *
  • environment: The tag value is an environment variable in the JSON format. This tag must contain the name field and the defaultValue field. The name field indicates the name of the environment variable. The defaultValue field indicates the environment variable that is used when no environment variable is available. Example: {"name":"test","defaultValue":"test"}.
  • + *
* - * * `literal`: The tag value is a fixed value in the JSON format. This tag must contain the `value` field that specifies a literal. Example: `{"value":"test"}`. - * * `header`: The tag value is a request header in the JSON format. This tag must contain the `name` field and the `defaultValue` field. The name field indicates the name of the request header. The defaultValue field indicates the default value that is used when no request header is available. Example: `{"name":"test","defaultValue":"test"}`. - * * `environment`: The tag value is an environment variable in the JSON format. This tag must contain the `name` field and the `defaultValue` field. The name field indicates the name of the environment variable. The defaultValue field indicates the environment variable that is used when no environment variable is available. Example: `{"name":"test","defaultValue":"test"}`. + * example: + *

{"test":{"literal":{"value":"test"}}}

*/ - public Builder customTags(java.util.Map < String, ? > customTags) { + public Builder customTags(java.util.Map customTags) { this.customTags = customTags; return this; } /** - * The maximum tag length. + *

The maximum tag length.

+ * + * example: + *

10

*/ public Builder maxPathTagLength(Integer maxPathTagLength) { this.maxPathTagLength = maxPathTagLength; @@ -590,7 +923,10 @@ public Builder maxPathTagLength(Integer maxPathTagLength) { } /** - * The sampling rate. + *

The sampling rate.

+ * + * example: + *

99.8

*/ public Builder sampling(Double sampling) { this.sampling = sampling; @@ -604,86 +940,101 @@ public Tracing build() { } } + /** + * + * {@link DescribeNamespaceScopeSidecarConfigResponseBody} extends {@link TeaModel} + * + *

DescribeNamespaceScopeSidecarConfigResponseBody

+ */ public static class ConfigPatches extends TeaModel { - @NameInMap("Concurrency") + @com.aliyun.core.annotation.NameInMap("Concurrency") private Integer concurrency; - @NameInMap("EnableCoreDump") + @com.aliyun.core.annotation.NameInMap("EnableCoreDump") private Boolean enableCoreDump; - @NameInMap("ExcludeInboundPorts") + @com.aliyun.core.annotation.NameInMap("ExcludeInboundPorts") private String excludeInboundPorts; - @NameInMap("ExcludeOutboundIPRanges") + @com.aliyun.core.annotation.NameInMap("ExcludeOutboundIPRanges") private String excludeOutboundIPRanges; - @NameInMap("ExcludeOutboundPorts") + @com.aliyun.core.annotation.NameInMap("ExcludeOutboundPorts") private String excludeOutboundPorts; - @NameInMap("HoldApplicationUntilProxyStarts") + @com.aliyun.core.annotation.NameInMap("HoldApplicationUntilProxyStarts") private Boolean holdApplicationUntilProxyStarts; - @NameInMap("IncludeInboundPorts") + @com.aliyun.core.annotation.NameInMap("IncludeInboundPorts") private String includeInboundPorts; - @NameInMap("IncludeOutboundIPRanges") + @com.aliyun.core.annotation.NameInMap("IncludeOutboundIPRanges") private String includeOutboundIPRanges; - @NameInMap("IncludeOutboundPorts") + @com.aliyun.core.annotation.NameInMap("IncludeOutboundPorts") private String includeOutboundPorts; - @NameInMap("InterceptionMode") + @com.aliyun.core.annotation.NameInMap("InterceptionMode") private String interceptionMode; - @NameInMap("IstioDNSProxyEnabled") + @com.aliyun.core.annotation.NameInMap("IstioDNSProxyEnabled") private Boolean istioDNSProxyEnabled; - @NameInMap("LifecycleStr") + @com.aliyun.core.annotation.NameInMap("LifecycleStr") private String lifecycleStr; - @NameInMap("LogLevel") + @com.aliyun.core.annotation.NameInMap("LogLevel") private String logLevel; - @NameInMap("Privileged") + @com.aliyun.core.annotation.NameInMap("Privileged") private Boolean privileged; - @NameInMap("ProxyMetadata") - private java.util.Map < String, String > proxyMetadata; + @com.aliyun.core.annotation.NameInMap("ProxyMetadata") + private java.util.Map proxyMetadata; - @NameInMap("ProxyStatsMatcher") + @com.aliyun.core.annotation.NameInMap("ProxyStatsMatcher") private ProxyStatsMatcher proxyStatsMatcher; - @NameInMap("ReadinessFailureThreshold") + @com.aliyun.core.annotation.NameInMap("ReadinessFailureThreshold") private Integer readinessFailureThreshold; - @NameInMap("ReadinessInitialDelaySeconds") + @com.aliyun.core.annotation.NameInMap("ReadinessInitialDelaySeconds") private Integer readinessInitialDelaySeconds; - @NameInMap("ReadinessPeriodSeconds") + @com.aliyun.core.annotation.NameInMap("ReadinessPeriodSeconds") private Integer readinessPeriodSeconds; - @NameInMap("SidecarProxyAckSloResource") + @com.aliyun.core.annotation.NameInMap("RuntimeValues") + private java.util.Map runtimeValues; + + @com.aliyun.core.annotation.NameInMap("SMCConfiguration") + private SMCConfiguration SMCConfiguration; + + @com.aliyun.core.annotation.NameInMap("ScaledSidecarResource") + private ScaledSidecarResource scaledSidecarResource; + + @com.aliyun.core.annotation.NameInMap("SidecarProxyAckSloResource") private SidecarProxyAckSloResource sidecarProxyAckSloResource; - @NameInMap("SidecarProxyInitAckSloResource") + @com.aliyun.core.annotation.NameInMap("SidecarProxyInitAckSloResource") private SidecarProxyInitAckSloResource sidecarProxyInitAckSloResource; - @NameInMap("SidecarProxyInitResourceLimit") + @com.aliyun.core.annotation.NameInMap("SidecarProxyInitResourceLimit") private SidecarProxyInitResourceLimit sidecarProxyInitResourceLimit; - @NameInMap("SidecarProxyInitResourceRequest") + @com.aliyun.core.annotation.NameInMap("SidecarProxyInitResourceRequest") private SidecarProxyInitResourceRequest sidecarProxyInitResourceRequest; - @NameInMap("SidecarProxyResourceLimit") + @com.aliyun.core.annotation.NameInMap("SidecarProxyResourceLimit") private SidecarProxyResourceLimit sidecarProxyResourceLimit; - @NameInMap("SidecarProxyResourceRequest") + @com.aliyun.core.annotation.NameInMap("SidecarProxyResourceRequest") private SidecarProxyResourceRequest sidecarProxyResourceRequest; - @NameInMap("TerminationDrainDuration") + @com.aliyun.core.annotation.NameInMap("TerminationDrainDuration") private String terminationDrainDuration; - @NameInMap("Tracing") + @com.aliyun.core.annotation.NameInMap("Tracing") private Tracing tracing; private ConfigPatches(Builder builder) { @@ -706,6 +1057,9 @@ private ConfigPatches(Builder builder) { this.readinessFailureThreshold = builder.readinessFailureThreshold; this.readinessInitialDelaySeconds = builder.readinessInitialDelaySeconds; this.readinessPeriodSeconds = builder.readinessPeriodSeconds; + this.runtimeValues = builder.runtimeValues; + this.SMCConfiguration = builder.SMCConfiguration; + this.scaledSidecarResource = builder.scaledSidecarResource; this.sidecarProxyAckSloResource = builder.sidecarProxyAckSloResource; this.sidecarProxyInitAckSloResource = builder.sidecarProxyInitAckSloResource; this.sidecarProxyInitResourceLimit = builder.sidecarProxyInitResourceLimit; @@ -825,7 +1179,7 @@ public Boolean getPrivileged() { /** * @return proxyMetadata */ - public java.util.Map < String, String > getProxyMetadata() { + public java.util.Map getProxyMetadata() { return this.proxyMetadata; } @@ -857,6 +1211,27 @@ public Integer getReadinessPeriodSeconds() { return this.readinessPeriodSeconds; } + /** + * @return runtimeValues + */ + public java.util.Map getRuntimeValues() { + return this.runtimeValues; + } + + /** + * @return SMCConfiguration + */ + public SMCConfiguration getSMCConfiguration() { + return this.SMCConfiguration; + } + + /** + * @return scaledSidecarResource + */ + public ScaledSidecarResource getScaledSidecarResource() { + return this.scaledSidecarResource; + } + /** * @return sidecarProxyAckSloResource */ @@ -928,11 +1303,14 @@ public static final class Builder { private String lifecycleStr; private String logLevel; private Boolean privileged; - private java.util.Map < String, String > proxyMetadata; + private java.util.Map proxyMetadata; private ProxyStatsMatcher proxyStatsMatcher; private Integer readinessFailureThreshold; private Integer readinessInitialDelaySeconds; private Integer readinessPeriodSeconds; + private java.util.Map runtimeValues; + private SMCConfiguration SMCConfiguration; + private ScaledSidecarResource scaledSidecarResource; private SidecarProxyAckSloResource sidecarProxyAckSloResource; private SidecarProxyInitAckSloResource sidecarProxyInitAckSloResource; private SidecarProxyInitResourceLimit sidecarProxyInitResourceLimit; @@ -942,8 +1320,47 @@ public static final class Builder { private String terminationDrainDuration; private Tracing tracing; + private Builder() { + } + + private Builder(ConfigPatches model) { + this.concurrency = model.concurrency; + this.enableCoreDump = model.enableCoreDump; + this.excludeInboundPorts = model.excludeInboundPorts; + this.excludeOutboundIPRanges = model.excludeOutboundIPRanges; + this.excludeOutboundPorts = model.excludeOutboundPorts; + this.holdApplicationUntilProxyStarts = model.holdApplicationUntilProxyStarts; + this.includeInboundPorts = model.includeInboundPorts; + this.includeOutboundIPRanges = model.includeOutboundIPRanges; + this.includeOutboundPorts = model.includeOutboundPorts; + this.interceptionMode = model.interceptionMode; + this.istioDNSProxyEnabled = model.istioDNSProxyEnabled; + this.lifecycleStr = model.lifecycleStr; + this.logLevel = model.logLevel; + this.privileged = model.privileged; + this.proxyMetadata = model.proxyMetadata; + this.proxyStatsMatcher = model.proxyStatsMatcher; + this.readinessFailureThreshold = model.readinessFailureThreshold; + this.readinessInitialDelaySeconds = model.readinessInitialDelaySeconds; + this.readinessPeriodSeconds = model.readinessPeriodSeconds; + this.runtimeValues = model.runtimeValues; + this.SMCConfiguration = model.SMCConfiguration; + this.scaledSidecarResource = model.scaledSidecarResource; + this.sidecarProxyAckSloResource = model.sidecarProxyAckSloResource; + this.sidecarProxyInitAckSloResource = model.sidecarProxyInitAckSloResource; + this.sidecarProxyInitResourceLimit = model.sidecarProxyInitResourceLimit; + this.sidecarProxyInitResourceRequest = model.sidecarProxyInitResourceRequest; + this.sidecarProxyResourceLimit = model.sidecarProxyResourceLimit; + this.sidecarProxyResourceRequest = model.sidecarProxyResourceRequest; + this.terminationDrainDuration = model.terminationDrainDuration; + this.tracing = model.tracing; + } + /** - * The number of worker threads to run in the istio-proxy container. + *

The number of worker threads to run in the istio-proxy container.

+ * + * example: + *

2

*/ public Builder concurrency(Integer concurrency) { this.concurrency = concurrency; @@ -951,7 +1368,14 @@ public Builder concurrency(Integer concurrency) { } /** - * EnableCoreDump. + *

Indicates whether the core dump feature is enabled for the sidecar proxy containers. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ * + * example: + *

false

*/ public Builder enableCoreDump(Boolean enableCoreDump) { this.enableCoreDump = enableCoreDump; @@ -959,7 +1383,10 @@ public Builder enableCoreDump(Boolean enableCoreDump) { } /** - * The inbound ports to be excluded from redirection to the sidecar proxy in the ASM instance. + *

The inbound ports to be excluded from redirection to the sidecar proxy in the ASM instance.

+ * + * example: + *

82

*/ public Builder excludeInboundPorts(String excludeInboundPorts) { this.excludeInboundPorts = excludeInboundPorts; @@ -967,7 +1394,10 @@ public Builder excludeInboundPorts(String excludeInboundPorts) { } /** - * The outbound IP ranges in CIDR form to be excluded from redirection to the sidecar proxy in the ASM instance. + *

The outbound IP ranges in CIDR form to be excluded from redirection to the sidecar proxy in the ASM instance.

+ * + * example: + *

192.168.1.3/31

*/ public Builder excludeOutboundIPRanges(String excludeOutboundIPRanges) { this.excludeOutboundIPRanges = excludeOutboundIPRanges; @@ -975,7 +1405,10 @@ public Builder excludeOutboundIPRanges(String excludeOutboundIPRanges) { } /** - * The outbound ports to be excluded from redirection to the sidecar proxy in the ASM instance. + *

The outbound ports to be excluded from redirection to the sidecar proxy in the ASM instance.

+ * + * example: + *

81

*/ public Builder excludeOutboundPorts(String excludeOutboundPorts) { this.excludeOutboundPorts = excludeOutboundPorts; @@ -983,11 +1416,14 @@ public Builder excludeOutboundPorts(String excludeOutboundPorts) { } /** - * Indicates whether applications can be started only after the istio-proxy container starts. Valid values: - *

+ *

Indicates whether applications can be started only after the istio-proxy container starts. Valid values:

+ *
    + *
  • true: Applications can be started only after the istio-proxy container starts.
  • + *
  • false: Applications can be started before the istio-proxy container starts.
  • + *
* - * * `true` - * * false + * example: + *

true

*/ public Builder holdApplicationUntilProxyStarts(Boolean holdApplicationUntilProxyStarts) { this.holdApplicationUntilProxyStarts = holdApplicationUntilProxyStarts; @@ -995,7 +1431,10 @@ public Builder holdApplicationUntilProxyStarts(Boolean holdApplicationUntilProxy } /** - * The inbound ports for which traffic is to be redirected to the sidecar proxy in the ASM instance. + *

The inbound ports for which traffic is to be redirected to the sidecar proxy in the ASM instance.

+ * + * example: + *

83

*/ public Builder includeInboundPorts(String includeInboundPorts) { this.includeInboundPorts = includeInboundPorts; @@ -1003,7 +1442,10 @@ public Builder includeInboundPorts(String includeInboundPorts) { } /** - * The outbound IP ranges in CIDR form for which traffic is to be redirected to the sidecar proxy in the ASM instance. + *

The outbound IP ranges in CIDR form for which traffic is to be redirected to the sidecar proxy in the ASM instance.

+ * + * example: + *

192.168.1.4/31

*/ public Builder includeOutboundIPRanges(String includeOutboundIPRanges) { this.includeOutboundIPRanges = includeOutboundIPRanges; @@ -1011,7 +1453,10 @@ public Builder includeOutboundIPRanges(String includeOutboundIPRanges) { } /** - * The outbound ports for which traffic is to be redirected to the sidecar proxy in the ASM instance. + *

The outbound ports for which traffic is to be redirected to the sidecar proxy in the ASM instance.

+ * + * example: + *

84

*/ public Builder includeOutboundPorts(String includeOutboundPorts) { this.includeOutboundPorts = includeOutboundPorts; @@ -1019,11 +1464,14 @@ public Builder includeOutboundPorts(String includeOutboundPorts) { } /** - * The mode in which the sidecar proxy intercepts inbound traffic. Valid values: - *

+ *

The mode in which the sidecar proxy intercepts inbound traffic. Valid values:

+ *
    + *
  • REDIRECT (default): In this mode, source IP addresses are lost during traffic redirection to the sidecar proxy.
  • + *
  • TPROXY: In this mode, both the source and destination IP addresses and ports are preserved.
  • + *
* - * * `REDIRECT` (default): In this mode, source IP addresses are lost during traffic redirection to the sidecar proxy. - * * `TPROXY`: In this mode, both the source and destination IP addresses and ports are preserved. + * example: + *

TPROXY

*/ public Builder interceptionMode(String interceptionMode) { this.interceptionMode = interceptionMode; @@ -1031,11 +1479,14 @@ public Builder interceptionMode(String interceptionMode) { } /** - * Indicates whether the Domain Name System (DNS) proxy feature is enabled. Valid values: - *

+ *

Indicates whether the Domain Name System (DNS) proxy feature is enabled. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

true

*/ public Builder istioDNSProxyEnabled(Boolean istioDNSProxyEnabled) { this.istioDNSProxyEnabled = istioDNSProxyEnabled; @@ -1043,7 +1494,10 @@ public Builder istioDNSProxyEnabled(Boolean istioDNSProxyEnabled) { } /** - * The JSON string that describes the lifecycle of the sidecar proxy. + *

The JSON string that describes the lifecycle of the sidecar proxy.

+ * + * example: + *

{"postStart":{"exec":{"command":["pilot-agent","wait"]}},"preStop":{"exec":{"command":["/bin/sh","-c","sleep 15"]}}}

*/ public Builder lifecycleStr(String lifecycleStr) { this.lifecycleStr = lifecycleStr; @@ -1051,7 +1505,10 @@ public Builder lifecycleStr(String lifecycleStr) { } /** - * The log level. Valid values: `info`, `debug`, `trace`, and `error`. + *

The log level. Valid values: info, debug, trace, and error.

+ * + * example: + *

info

*/ public Builder logLevel(String logLevel) { this.logLevel = logLevel; @@ -1059,7 +1516,14 @@ public Builder logLevel(String logLevel) { } /** - * Privileged. + *

Indicates whether the privileged mode is enabled in the security context of the sidecar proxy containers. Valid values:

+ *
    + *
  • true: The privileged mode is enabled, that is, the sidecar proxy containers run in privileged mode.
  • + *
  • false: The privileged mode is not enabled.
  • + *
+ * + * example: + *

false

*/ public Builder privileged(Boolean privileged) { this.privileged = privileged; @@ -1069,13 +1533,13 @@ public Builder privileged(Boolean privileged) { /** * ProxyMetadata. */ - public Builder proxyMetadata(java.util.Map < String, String > proxyMetadata) { + public Builder proxyMetadata(java.util.Map proxyMetadata) { this.proxyMetadata = proxyMetadata; return this; } /** - * The custom Envoy statistics that are reported by the sidecar proxy. + *

The custom Envoy statistics that are reported by the sidecar proxy.

*/ public Builder proxyStatsMatcher(ProxyStatsMatcher proxyStatsMatcher) { this.proxyStatsMatcher = proxyStatsMatcher; @@ -1083,7 +1547,10 @@ public Builder proxyStatsMatcher(ProxyStatsMatcher proxyStatsMatcher) { } /** - * ReadinessFailureThreshold. + *

The number of readiness check failures required before marking a sidecar proxy container as not ready.

+ * + * example: + *

5

*/ public Builder readinessFailureThreshold(Integer readinessFailureThreshold) { this.readinessFailureThreshold = readinessFailureThreshold; @@ -1091,7 +1558,10 @@ public Builder readinessFailureThreshold(Integer readinessFailureThreshold) { } /** - * ReadinessInitialDelaySeconds. + *

The amount of time to wait before the first readiness check of a sidecar proxy container is performed. Unit: seconds.

+ * + * example: + *

2

*/ public Builder readinessInitialDelaySeconds(Integer readinessInitialDelaySeconds) { this.readinessInitialDelaySeconds = readinessInitialDelaySeconds; @@ -1099,7 +1569,10 @@ public Builder readinessInitialDelaySeconds(Integer readinessInitialDelaySeconds } /** - * ReadinessPeriodSeconds. + *

The interval between two readiness checks of a sidecar proxy container. Unit: seconds.

+ * + * example: + *

3

*/ public Builder readinessPeriodSeconds(Integer readinessPeriodSeconds) { this.readinessPeriodSeconds = readinessPeriodSeconds; @@ -1107,7 +1580,31 @@ public Builder readinessPeriodSeconds(Integer readinessPeriodSeconds) { } /** - * SidecarProxyAckSloResource. + *

Indicates the runtime parameters of Envoy proxy processes in the sidecar proxy container.

+ */ + public Builder runtimeValues(java.util.Map runtimeValues) { + this.runtimeValues = runtimeValues; + return this; + } + + /** + *

The configurations of the Shared Memory Communications over Remote Direct Memory Access (SMC-R) optimization feature.

+ */ + public Builder SMCConfiguration(SMCConfiguration SMCConfiguration) { + this.SMCConfiguration = SMCConfiguration; + return this; + } + + /** + * ScaledSidecarResource. + */ + public Builder scaledSidecarResource(ScaledSidecarResource scaledSidecarResource) { + this.scaledSidecarResource = scaledSidecarResource; + return this; + } + + /** + *

The maximum size of reclaimed ACK resources that are available to the sidecar proxy container. This configuration item indicates the maximum size of resources that are available to the sidecar proxy container in a pod labeled with koordinator.sh/qosClass.

*/ public Builder sidecarProxyAckSloResource(SidecarProxyAckSloResource sidecarProxyAckSloResource) { this.sidecarProxyAckSloResource = sidecarProxyAckSloResource; @@ -1115,7 +1612,7 @@ public Builder sidecarProxyAckSloResource(SidecarProxyAckSloResource sidecarProx } /** - * SidecarProxyInitAckSloResource. + *

The reclaimed Container Service for Kubernetes (ACK) resources for the istio-init container. This configuration item indicates the resources of the istio-init container in a pod labeled with koordinator.sh/qosClass. Reclaimed ACK resources are resources that can be dynamically overcommitted.

*/ public Builder sidecarProxyInitAckSloResource(SidecarProxyInitAckSloResource sidecarProxyInitAckSloResource) { this.sidecarProxyInitAckSloResource = sidecarProxyInitAckSloResource; @@ -1123,7 +1620,7 @@ public Builder sidecarProxyInitAckSloResource(SidecarProxyInitAckSloResource sid } /** - * The maximum size of resources that are available to the istio-init container in the pod into which the sidecar proxy is injected. The istio-init container is used in this topic. + *

The maximum size of resources that are available to the istio-init container in the pod into which the sidecar proxy is injected. The istio-init container is used in this topic.

*/ public Builder sidecarProxyInitResourceLimit(SidecarProxyInitResourceLimit sidecarProxyInitResourceLimit) { this.sidecarProxyInitResourceLimit = sidecarProxyInitResourceLimit; @@ -1131,7 +1628,7 @@ public Builder sidecarProxyInitResourceLimit(SidecarProxyInitResourceLimit sidec } /** - * The minimum size of resources that are required by the istio-init container. + *

The minimum size of resources that are required by the istio-init container.

*/ public Builder sidecarProxyInitResourceRequest(SidecarProxyInitResourceRequest sidecarProxyInitResourceRequest) { this.sidecarProxyInitResourceRequest = sidecarProxyInitResourceRequest; @@ -1139,7 +1636,7 @@ public Builder sidecarProxyInitResourceRequest(SidecarProxyInitResourceRequest s } /** - * The maximum size of resources that are available to the sidecar proxy container. + *

The maximum size of resources that are available to the sidecar proxy container.

*/ public Builder sidecarProxyResourceLimit(SidecarProxyResourceLimit sidecarProxyResourceLimit) { this.sidecarProxyResourceLimit = sidecarProxyResourceLimit; @@ -1147,7 +1644,7 @@ public Builder sidecarProxyResourceLimit(SidecarProxyResourceLimit sidecarProxyR } /** - * The minimum size of resources that are required by the sidecar proxy container. + *

The minimum size of resources that are required by the sidecar proxy container.

*/ public Builder sidecarProxyResourceRequest(SidecarProxyResourceRequest sidecarProxyResourceRequest) { this.sidecarProxyResourceRequest = sidecarProxyResourceRequest; @@ -1155,7 +1652,10 @@ public Builder sidecarProxyResourceRequest(SidecarProxyResourceRequest sidecarPr } /** - * The maximum period of time allowed for connections to complete on sidecar proxy shutdown. + *

The maximum period of time allowed for connections to complete on sidecar proxy shutdown.

+ * + * example: + *

6s

*/ public Builder terminationDrainDuration(String terminationDrainDuration) { this.terminationDrainDuration = terminationDrainDuration; @@ -1163,7 +1663,7 @@ public Builder terminationDrainDuration(String terminationDrainDuration) { } /** - * The custom configurations of Tracing Analysis. + *

The custom configurations of Tracing Analysis.

*/ public Builder tracing(Tracing tracing) { this.tracing = tracing; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNodesInstanceTypeRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNodesInstanceTypeRequest.java index bcee5a436e0..d1067a281d6 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNodesInstanceTypeRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNodesInstanceTypeRequest.java @@ -1,20 +1,25 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeNodesInstanceTypeRequest} extends {@link RequestModel} * *

DescribeNodesInstanceTypeRequest

*/ public class DescribeNodesInstanceTypeRequest extends Request { - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DescribeNodesInstanceTypeRequest(Builder builder) { @@ -30,7 +35,7 @@ public static DescribeNodesInstanceTypeRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -55,7 +60,11 @@ private Builder(DescribeNodesInstanceTypeRequest request) { } /** - * The ID of the Alibaba Cloud Service Mesh (ASM) instance. + *

The ID of the Alibaba Cloud Service Mesh (ASM) instance.

+ *

This parameter is required.

+ * + * example: + *

cb8963379255149cb98c8686f274x****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNodesInstanceTypeResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNodesInstanceTypeResponse.java index b10a82cff03..33f260ea6a2 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNodesInstanceTypeResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNodesInstanceTypeResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeNodesInstanceTypeResponse} extends {@link TeaModel} * *

DescribeNodesInstanceTypeResponse

*/ public class DescribeNodesInstanceTypeResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeNodesInstanceTypeResponseBody body; private DescribeNodesInstanceTypeResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeNodesInstanceTypeResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeNodesInstanceTypeResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeNodesInstanceTypeResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeNodesInstanceTypeResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNodesInstanceTypeResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNodesInstanceTypeResponseBody.java index eaab5695035..7c6bbb7f41f 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNodesInstanceTypeResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeNodesInstanceTypeResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeNodesInstanceTypeResponseBody} extends {@link TeaModel} * *

DescribeNodesInstanceTypeResponseBody

*/ public class DescribeNodesInstanceTypeResponseBody extends TeaModel { - @NameInMap("InstanceTypes") - private java.util.List < InstanceTypes> instanceTypes; + @com.aliyun.core.annotation.NameInMap("InstanceTypes") + private java.util.List instanceTypes; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeNodesInstanceTypeResponseBody(Builder builder) { @@ -31,10 +36,14 @@ public static DescribeNodesInstanceTypeResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return instanceTypes */ - public java.util.List < InstanceTypes> getInstanceTypes() { + public java.util.List getInstanceTypes() { return this.instanceTypes; } @@ -46,19 +55,30 @@ public String getRequestId() { } public static final class Builder { - private java.util.List < InstanceTypes> instanceTypes; + private java.util.List instanceTypes; private String requestId; + private Builder() { + } + + private Builder(DescribeNodesInstanceTypeResponseBody model) { + this.instanceTypes = model.instanceTypes; + this.requestId = model.requestId; + } + /** - * The instance types of the nodes. + *

The instance types of the nodes.

*/ - public Builder instanceTypes(java.util.List < InstanceTypes> instanceTypes) { + public Builder instanceTypes(java.util.List instanceTypes) { this.instanceTypes = instanceTypes; return this; } /** - * The request ID. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -71,17 +91,23 @@ public DescribeNodesInstanceTypeResponseBody build() { } + /** + * + * {@link DescribeNodesInstanceTypeResponseBody} extends {@link TeaModel} + * + *

DescribeNodesInstanceTypeResponseBody

+ */ public static class InstanceTypes extends TeaModel { - @NameInMap("Key") + @com.aliyun.core.annotation.NameInMap("Key") private String key; - @NameInMap("MultiBufferEnabled") + @com.aliyun.core.annotation.NameInMap("MultiBufferEnabled") private Boolean multiBufferEnabled; - @NameInMap("NodeType") + @com.aliyun.core.annotation.NameInMap("NodeType") private String nodeType; - @NameInMap("Value") + @com.aliyun.core.annotation.NameInMap("Value") private String value; private InstanceTypes(Builder builder) { @@ -133,8 +159,21 @@ public static final class Builder { private String nodeType; private String value; + private Builder() { + } + + private Builder(InstanceTypes model) { + this.key = model.key; + this.multiBufferEnabled = model.multiBufferEnabled; + this.nodeType = model.nodeType; + this.value = model.value; + } + /** - * Key. + *

The label keys of nodes which have MultiBuffer optimization supported. (Enable optimization only if pod being scheduled to node which have a label key specified by this field and its value equals with the value field)

+ * + * example: + *

feature.node.kubernetes.io/mb-feature-enable

*/ public Builder key(String key) { this.key = key; @@ -142,11 +181,14 @@ public Builder key(String key) { } /** - * Indicates whether the instance type supports Multi-Buffer acceleration. Valid values: - *

+ *

Indicates whether the instance type supports Multi-Buffer acceleration. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

true

*/ public Builder multiBufferEnabled(Boolean multiBufferEnabled) { this.multiBufferEnabled = multiBufferEnabled; @@ -154,7 +196,10 @@ public Builder multiBufferEnabled(Boolean multiBufferEnabled) { } /** - * The instance type of the node. + *

The instance type of the node.

+ * + * example: + *

ecs.g7.xlarge

*/ public Builder nodeType(String nodeType) { this.nodeType = nodeType; @@ -162,7 +207,10 @@ public Builder nodeType(String nodeType) { } /** - * Value. + *

The label keys of nodes which have MultiBuffer optimization supported. (Enable optimization only if pod being scheduled to node which have a label key specified by the key field and its value equals with this field)

+ * + * example: + *

true

*/ public Builder value(String value) { this.value = value; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeReusableSlbRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeReusableSlbRequest.java index e00fe8943f8..bb535115333 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeReusableSlbRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeReusableSlbRequest.java @@ -1,31 +1,45 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeReusableSlbRequest} extends {@link RequestModel} * *

DescribeReusableSlbRequest

*/ public class DescribeReusableSlbRequest extends Request { - @Body - @NameInMap("K8sClusterId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("K8sClusterId") private String k8sClusterId; - @Body - @NameInMap("NetworkType") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("LbType") + private String lbType; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("NetworkType") + @com.aliyun.core.annotation.Validation(required = true) private String networkType; + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + private String serviceMeshId; + private DescribeReusableSlbRequest(Builder builder) { super(builder); this.k8sClusterId = builder.k8sClusterId; + this.lbType = builder.lbType; this.networkType = builder.networkType; + this.serviceMeshId = builder.serviceMeshId; } public static Builder builder() { @@ -36,7 +50,7 @@ public static DescribeReusableSlbRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -48,6 +62,13 @@ public String getK8sClusterId() { return this.k8sClusterId; } + /** + * @return lbType + */ + public String getLbType() { + return this.lbType; + } + /** * @return networkType */ @@ -55,9 +76,18 @@ public String getNetworkType() { return this.networkType; } + /** + * @return serviceMeshId + */ + public String getServiceMeshId() { + return this.serviceMeshId; + } + public static final class Builder extends Request.Builder { private String k8sClusterId; + private String lbType; private String networkType; + private String serviceMeshId; private Builder() { super(); @@ -66,11 +96,16 @@ private Builder() { private Builder(DescribeReusableSlbRequest request) { super(request); this.k8sClusterId = request.k8sClusterId; + this.lbType = request.lbType; this.networkType = request.networkType; + this.serviceMeshId = request.serviceMeshId; } /** - * The ID of the Kubernetes cluster on the data plane. + *

The ID of the cluster on the data plane. If you specify this parameter, you cannot specify ServiceMeshId. This parameter and ServiceMeshId cannot be left empty at the same time.

+ * + * example: + *

ca2cfe41fefeb489d9b9dba18a7c5****

*/ public Builder k8sClusterId(String k8sClusterId) { this.putBodyParameter("K8sClusterId", k8sClusterId); @@ -79,11 +114,34 @@ public Builder k8sClusterId(String k8sClusterId) { } /** - * The network type of the SLB instance. Valid values: - *

+ *

Load balancer type, value:

+ *
    + *
  • clb: Classic Load Balancer

    + *
  • + *
  • nlb: Network Load Balancer

    + *
  • + *
+ *

default is clb.

* - * * `intranet` - * * `internet` + * example: + *

clb

+ */ + public Builder lbType(String lbType) { + this.putBodyParameter("LbType", lbType); + this.lbType = lbType; + return this; + } + + /** + *

The network type of the SLB instance. Valid values:

+ *
    + *
  • intranet
  • + *
  • internet
  • + *
+ *

This parameter is required.

+ * + * example: + *

internet

*/ public Builder networkType(String networkType) { this.putBodyParameter("NetworkType", networkType); @@ -91,6 +149,18 @@ public Builder networkType(String networkType) { return this; } + /** + *

The ID of the Service Mesh (ASM) instance. If you specify this parameter, you cannot specify K8sClusterId. This parameter and K8sClusterId cannot be left empty at the same time.

+ * + * example: + *

cb8963379255149cb98c8686f274x****

+ */ + public Builder serviceMeshId(String serviceMeshId) { + this.putBodyParameter("ServiceMeshId", serviceMeshId); + this.serviceMeshId = serviceMeshId; + return this; + } + @Override public DescribeReusableSlbRequest build() { return new DescribeReusableSlbRequest(this); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeReusableSlbResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeReusableSlbResponse.java index e16dc712082..ad4e129f038 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeReusableSlbResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeReusableSlbResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeReusableSlbResponse} extends {@link TeaModel} * *

DescribeReusableSlbResponse

*/ public class DescribeReusableSlbResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeReusableSlbResponseBody body; private DescribeReusableSlbResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeReusableSlbResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeReusableSlbResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeReusableSlbResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeReusableSlbResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeReusableSlbResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeReusableSlbResponseBody.java index 81ab2210143..98da7b4009f 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeReusableSlbResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeReusableSlbResponseBody.java @@ -1,22 +1,27 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeReusableSlbResponseBody} extends {@link TeaModel} * *

DescribeReusableSlbResponseBody

*/ public class DescribeReusableSlbResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("ReusableSlbList") - private java.util.List < ReusableSlbList> reusableSlbList; + @com.aliyun.core.annotation.NameInMap("ReusableSlbList") + private java.util.List reusableSlbList; private DescribeReusableSlbResponseBody(Builder builder) { this.requestId = builder.requestId; @@ -31,6 +36,10 @@ public static DescribeReusableSlbResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -41,16 +50,27 @@ public String getRequestId() { /** * @return reusableSlbList */ - public java.util.List < ReusableSlbList> getReusableSlbList() { + public java.util.List getReusableSlbList() { return this.reusableSlbList; } public static final class Builder { private String requestId; - private java.util.List < ReusableSlbList> reusableSlbList; + private java.util.List reusableSlbList; + + private Builder() { + } + + private Builder(DescribeReusableSlbResponseBody model) { + this.requestId = model.requestId; + this.reusableSlbList = model.reusableSlbList; + } /** - * The request ID. + *

The request ID.

+ * + * example: + *

EDDC0D86-2FC3-56FB-9213-96EB0A3523F1

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -58,9 +78,9 @@ public Builder requestId(String requestId) { } /** - * The list of SLB instances that can be reused. + *

The list of SLB instances that can be reused.

*/ - public Builder reusableSlbList(java.util.List < ReusableSlbList> reusableSlbList) { + public Builder reusableSlbList(java.util.List reusableSlbList) { this.reusableSlbList = reusableSlbList; return this; } @@ -71,11 +91,17 @@ public DescribeReusableSlbResponseBody build() { } + /** + * + * {@link DescribeReusableSlbResponseBody} extends {@link TeaModel} + * + *

DescribeReusableSlbResponseBody

+ */ public static class ReusableSlbList extends TeaModel { - @NameInMap("LoadBalancerId") + @com.aliyun.core.annotation.NameInMap("LoadBalancerId") private String loadBalancerId; - @NameInMap("LoadBalancerName") + @com.aliyun.core.annotation.NameInMap("LoadBalancerName") private String loadBalancerName; private ReusableSlbList(Builder builder) { @@ -109,8 +135,19 @@ public static final class Builder { private String loadBalancerId; private String loadBalancerName; + private Builder() { + } + + private Builder(ReusableSlbList model) { + this.loadBalancerId = model.loadBalancerId; + this.loadBalancerName = model.loadBalancerName; + } + /** - * The ID of the SLB instance. + *

The ID of the SLB instance.

+ * + * example: + *

lb-bp17xygzsxth0bwlz****

*/ public Builder loadBalancerId(String loadBalancerId) { this.loadBalancerId = loadBalancerId; @@ -118,7 +155,10 @@ public Builder loadBalancerId(String loadBalancerId) { } /** - * The name of the SLB instance. + *

The name of the SLB instance.

+ * + * example: + *

ad6044b015ac54484a20c47241175bb3

*/ public Builder loadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshAdditionalStatusRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshAdditionalStatusRequest.java index 469332f7181..730efd1d6b2 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshAdditionalStatusRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshAdditionalStatusRequest.java @@ -1,24 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshAdditionalStatusRequest} extends {@link RequestModel} * *

DescribeServiceMeshAdditionalStatusRequest

*/ public class DescribeServiceMeshAdditionalStatusRequest extends Request { - @Body - @NameInMap("CheckMode") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("CheckMode") private String checkMode; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DescribeServiceMeshAdditionalStatusRequest(Builder builder) { @@ -35,7 +40,7 @@ public static DescribeServiceMeshAdditionalStatusRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -69,11 +74,14 @@ private Builder(DescribeServiceMeshAdditionalStatusRequest request) { } /** - * The check mode of the ASM instance. Valid values: - *

+ *

The check mode of the ASM instance. Valid values:

+ *
    + *
  • normal: checks the Server Load Balancer (SLB) instances created for exposing the API server and Istio Pilot, audit logs, and installation of Logtail for clusters on the data plane.
  • + *
  • full: checks control plane logs, access logs, security groups, and the elastic IP addresses (EIPs) of the API server in addition to the check items in normal mode.
  • + *
* - * * `normal`: checks the Server Load Balancer (SLB) instances created for exposing the API server and Istio Pilot, audit logs, and installation of Logtail for clusters on the data plane. - * * `full`: checks control plane logs, access logs, security groups, and the elastic IP addresses (EIPs) of the API server in addition to the check items in normal mode. + * example: + *

full

*/ public Builder checkMode(String checkMode) { this.putBodyParameter("CheckMode", checkMode); @@ -82,7 +90,11 @@ public Builder checkMode(String checkMode) { } /** - * The ID of the ASM instance. + *

The ID of the ASM instance.

+ *

This parameter is required.

+ * + * example: + *

ca04bc38979214bf2882be79d39b4****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshAdditionalStatusResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshAdditionalStatusResponse.java index fe5a85c43b7..2896d27bb77 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshAdditionalStatusResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshAdditionalStatusResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshAdditionalStatusResponse} extends {@link TeaModel} * *

DescribeServiceMeshAdditionalStatusResponse

*/ public class DescribeServiceMeshAdditionalStatusResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeServiceMeshAdditionalStatusResponseBody body; private DescribeServiceMeshAdditionalStatusResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeServiceMeshAdditionalStatusResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeServiceMeshAdditionalStatusResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeServiceMeshAdditionalStatusResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeServiceMeshAdditionalStatusResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshAdditionalStatusResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshAdditionalStatusResponseBody.java index f3991d8535f..e4fafed7d45 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshAdditionalStatusResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshAdditionalStatusResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshAdditionalStatusResponseBody} extends {@link TeaModel} * *

DescribeServiceMeshAdditionalStatusResponseBody

*/ public class DescribeServiceMeshAdditionalStatusResponseBody extends TeaModel { - @NameInMap("ClusterStatus") + @com.aliyun.core.annotation.NameInMap("ClusterStatus") private ClusterStatus clusterStatus; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeServiceMeshAdditionalStatusResponseBody(Builder builder) { @@ -31,6 +36,10 @@ public static DescribeServiceMeshAdditionalStatusResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return clusterStatus */ @@ -49,8 +58,16 @@ public static final class Builder { private ClusterStatus clusterStatus; private String requestId; + private Builder() { + } + + private Builder(DescribeServiceMeshAdditionalStatusResponseBody model) { + this.clusterStatus = model.clusterStatus; + this.requestId = model.requestId; + } + /** - * The status of the cluster. + *

The cluster status.

*/ public Builder clusterStatus(ClusterStatus clusterStatus) { this.clusterStatus = clusterStatus; @@ -58,7 +75,10 @@ public Builder clusterStatus(ClusterStatus clusterStatus) { } /** - * The request ID. + *

The request ID.

+ * + * example: + *

11fd0027-c27e-41bb-a565-75583054****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -71,20 +91,26 @@ public DescribeServiceMeshAdditionalStatusResponseBody build() { } + /** + * + * {@link DescribeServiceMeshAdditionalStatusResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshAdditionalStatusResponseBody

+ */ public static class ApiServerLoadBalancerStatus extends TeaModel { - @NameInMap("Locked") + @com.aliyun.core.annotation.NameInMap("Locked") private Boolean locked; - @NameInMap("PayType") + @com.aliyun.core.annotation.NameInMap("PayType") private String payType; - @NameInMap("Reused") + @com.aliyun.core.annotation.NameInMap("Reused") private Boolean reused; - @NameInMap("SLBBackEndServerNumStatus") + @com.aliyun.core.annotation.NameInMap("SLBBackEndServerNumStatus") private String SLBBackEndServerNumStatus; - @NameInMap("SLBExistStatus") + @com.aliyun.core.annotation.NameInMap("SLBExistStatus") private String SLBExistStatus; private ApiServerLoadBalancerStatus(Builder builder) { @@ -145,12 +171,26 @@ public static final class Builder { private String SLBBackEndServerNumStatus; private String SLBExistStatus; + private Builder() { + } + + private Builder(ApiServerLoadBalancerStatus model) { + this.locked = model.locked; + this.payType = model.payType; + this.reused = model.reused; + this.SLBBackEndServerNumStatus = model.SLBBackEndServerNumStatus; + this.SLBExistStatus = model.SLBExistStatus; + } + /** - * Indicates whether the SLB instance is locked. Valid values: - *

+ *

Indicates whether the CLB instance is locked. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder locked(Boolean locked) { this.locked = locked; @@ -158,11 +198,14 @@ public Builder locked(Boolean locked) { } /** - * The billing method of the SLB instance. Valid values: - *

+ *

The billing method of the CLB instance. Valid values:

+ *
    + *
  • PrePay: subscription
  • + *
  • PayOnDemand: pay-as-you-go
  • + *
* - * * `PrePay`: subscription - * * `PayOnDemand`: pay-as-you-go + * example: + *

PrePay

*/ public Builder payType(String payType) { this.payType = payType; @@ -170,11 +213,14 @@ public Builder payType(String payType) { } /** - * Indicates whether the SLB instance is reused. Valid values: - *

+ *

Indicates whether the CLB instance is reused. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder reused(Boolean reused) { this.reused = reused; @@ -182,12 +228,15 @@ public Builder reused(Boolean reused) { } /** - * The check result of the number of backend servers of the SLB instance created for exposing the API server. Valid values: - *

+ *

The check results of the number of backend servers of the CLB instance created for exposing Istio Pilot. Valid values:

+ *
    + *
  • too_much: An excessive number of backend servers are created.
  • + *
  • num_exact: A proper number of backend servers are created.
  • + *
  • too_little: The number of backend servers falls short.
  • + *
* - * * `too_much`: An excessive number of backend servers are created. - * * `num_exact`: A proper number of backend servers are created. - * * `too_little`: The number of backend servers falls short. + * example: + *

num_exact

*/ public Builder SLBBackEndServerNumStatus(String SLBBackEndServerNumStatus) { this.SLBBackEndServerNumStatus = SLBBackEndServerNumStatus; @@ -195,14 +244,17 @@ public Builder SLBBackEndServerNumStatus(String SLBBackEndServerNumStatus) { } /** - * The check result of the SLB instance. Valid values: - *

+ *

The check results of the CLB instance. Valid values:

+ *
    + *
  • exist: The CLB instance exists.
  • + *
  • not_exist: The CLB instance does not exist.
  • + *
  • conflict: Conflicts are detected.
  • + *
  • failed: The check fails.
  • + *
  • time_out: The check times out.
  • + *
* - * * `exist`: The SLB instance exists. - * * `not_exist`: The SLB instance does not exist. - * * `conflict`: Conflicts are detected. - * * `failed`: The check fails. - * * `time_out`: The check times out. + * example: + *

exist

*/ public Builder SLBExistStatus(String SLBExistStatus) { this.SLBExistStatus = SLBExistStatus; @@ -216,20 +268,26 @@ public ApiServerLoadBalancerStatus build() { } } + /** + * + * {@link DescribeServiceMeshAdditionalStatusResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshAdditionalStatusResponseBody

+ */ public static class CanaryPilotLoadBalancerStatus extends TeaModel { - @NameInMap("Locked") + @com.aliyun.core.annotation.NameInMap("Locked") private Boolean locked; - @NameInMap("PayType") + @com.aliyun.core.annotation.NameInMap("PayType") private String payType; - @NameInMap("Reused") + @com.aliyun.core.annotation.NameInMap("Reused") private Boolean reused; - @NameInMap("SLBBackEndServerNumStatus") + @com.aliyun.core.annotation.NameInMap("SLBBackEndServerNumStatus") private String SLBBackEndServerNumStatus; - @NameInMap("SLBExistStatus") + @com.aliyun.core.annotation.NameInMap("SLBExistStatus") private String SLBExistStatus; private CanaryPilotLoadBalancerStatus(Builder builder) { @@ -290,8 +348,26 @@ public static final class Builder { private String SLBBackEndServerNumStatus; private String SLBExistStatus; + private Builder() { + } + + private Builder(CanaryPilotLoadBalancerStatus model) { + this.locked = model.locked; + this.payType = model.payType; + this.reused = model.reused; + this.SLBBackEndServerNumStatus = model.SLBBackEndServerNumStatus; + this.SLBExistStatus = model.SLBExistStatus; + } + /** - * Indicates whether the SLB instance is locked due to overdue payments. Valid values: `true` `false` + *

Indicates whether the CLB instance is locked due to overdue payments. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ * + * example: + *

false

*/ public Builder locked(Boolean locked) { this.locked = locked; @@ -299,11 +375,14 @@ public Builder locked(Boolean locked) { } /** - * The billing method of the SLB instance. Valid values: - *

+ *

The billing method of the CLB instance. Valid values:

+ *
    + *
  • PrePay: subscription
  • + *
  • PayOnDemand (default): pay-as-you-go
  • + *
* - * * `PrePay`: subscription - * * `PayOnDemand`: pay-as-you-go + * example: + *

PayOnDemand

*/ public Builder payType(String payType) { this.payType = payType; @@ -311,11 +390,14 @@ public Builder payType(String payType) { } /** - * Indicates whether the SLB instance is reused. Valid values: - *

+ *

Indicates whether the CLB instance is reused. Valid values:

+ *
    + *
  • true: The CLB instance is reused. Non-ASM listener configuration is detected in the listener configurations of the CLB instance.
  • + *
  • false: The CLB instance is not reused.
  • + *
* - * * `true`: The SLB instance is reused. Non-ASM listener configuration is detected in the listener configurations of the SLB instance. - * * `false`: The SLB instance is not reused. + * example: + *

false

*/ public Builder reused(Boolean reused) { this.reused = reused; @@ -323,12 +405,15 @@ public Builder reused(Boolean reused) { } /** - * The check result of the number of backend servers of the SLB instance created for exposing Istio Pilot. Valid values: - *

+ *

The check result of the number of backend servers of the CLB instance created for exposing Istio Pilot. Valid values:

+ *
    + *
  • num_exact: A proper number of backend servers are created.
  • + *
  • too_much: An excessive number of backend servers are created.
  • + *
  • too_little: The number of backend servers falls short.
  • + *
* - * * `num_exact`: A proper number of backend servers are created. - * * `too_much`: An excessive number of backend servers are created. - * * `too_little`: The number of backend servers falls short. + * example: + *

num_exact

*/ public Builder SLBBackEndServerNumStatus(String SLBBackEndServerNumStatus) { this.SLBBackEndServerNumStatus = SLBBackEndServerNumStatus; @@ -336,13 +421,16 @@ public Builder SLBBackEndServerNumStatus(String SLBBackEndServerNumStatus) { } /** - * The check result of the SLB instance. Valid values: - *

+ *

The check result of the CLB instance. Valid values:

+ *
    + *
  • exist: The CLB instance exists.
  • + *
  • not_exist: The CLB instance does not exist.
  • + *
  • time_out: The check times out.
  • + *
  • failed: The CLB instance has expired.
  • + *
* - * * `exist`: The SLB instance exists. - * * `not_exist`: The SLB instance does not exist. - * * `time_out`: The check times out. - * * `failed`: The SLB instance has expired. + * example: + *

exist

*/ public Builder SLBExistStatus(String SLBExistStatus) { this.SLBExistStatus = SLBExistStatus; @@ -356,20 +444,26 @@ public CanaryPilotLoadBalancerStatus build() { } } + /** + * + * {@link DescribeServiceMeshAdditionalStatusResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshAdditionalStatusResponseBody

+ */ public static class PilotLoadBalancerStatus extends TeaModel { - @NameInMap("Locked") + @com.aliyun.core.annotation.NameInMap("Locked") private Boolean locked; - @NameInMap("PayType") + @com.aliyun.core.annotation.NameInMap("PayType") private String payType; - @NameInMap("Reused") + @com.aliyun.core.annotation.NameInMap("Reused") private Boolean reused; - @NameInMap("SLBBackEndServerNumStatus") + @com.aliyun.core.annotation.NameInMap("SLBBackEndServerNumStatus") private String SLBBackEndServerNumStatus; - @NameInMap("SLBExistStatus") + @com.aliyun.core.annotation.NameInMap("SLBExistStatus") private String SLBExistStatus; private PilotLoadBalancerStatus(Builder builder) { @@ -430,12 +524,26 @@ public static final class Builder { private String SLBBackEndServerNumStatus; private String SLBExistStatus; + private Builder() { + } + + private Builder(PilotLoadBalancerStatus model) { + this.locked = model.locked; + this.payType = model.payType; + this.reused = model.reused; + this.SLBBackEndServerNumStatus = model.SLBBackEndServerNumStatus; + this.SLBExistStatus = model.SLBExistStatus; + } + /** - * Indicates whether the SLB instance is locked. Valid values: - *

+ *

Indicates whether the CLB instance is locked. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder locked(Boolean locked) { this.locked = locked; @@ -443,11 +551,14 @@ public Builder locked(Boolean locked) { } /** - * The billing method of the SLB instance. Valid values: - *

+ *

The billing method of the CLB instance. Valid values:

+ *
    + *
  • PrePay: subscription
  • + *
  • PayOnDemand: pay-as-you-go
  • + *
* - * * `PrePay`: subscription - * * `PayOnDemand`: pay-as-you-go + * example: + *

PayOnDemand

*/ public Builder payType(String payType) { this.payType = payType; @@ -455,11 +566,14 @@ public Builder payType(String payType) { } /** - * Indicates whether the SLB instance is reused. Valid values: - *

+ *

Indicates whether the CLB instance is reused. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

true

*/ public Builder reused(Boolean reused) { this.reused = reused; @@ -467,12 +581,15 @@ public Builder reused(Boolean reused) { } /** - * The check result of the number of backend servers of the SLB instance created for exposing Istio Pilot. Valid values: - *

+ *

The check results of the number of backend servers of the CLB instance created for exposing Istio Pilot. Valid values:

+ *
    + *
  • too_much: An excessive number of backend servers are created.
  • + *
  • num_exact: A proper number of backend servers are created.
  • + *
  • too_little: The number of backend servers falls short.
  • + *
* - * * `too_much`: An excessive number of backend servers are created. - * * `num_exact`: A proper number of backend servers are created. - * * `too_little`: The number of backend servers falls short. + * example: + *

num_exact

*/ public Builder SLBBackEndServerNumStatus(String SLBBackEndServerNumStatus) { this.SLBBackEndServerNumStatus = SLBBackEndServerNumStatus; @@ -480,14 +597,17 @@ public Builder SLBBackEndServerNumStatus(String SLBBackEndServerNumStatus) { } /** - * The check result of the SLB instance. Valid values: - *

+ *

The check results of the CLB instance. Valid values:

+ *
    + *
  • exist: The CLB instance exists.
  • + *
  • not_exist: The CLB instance does not exist.
  • + *
  • conflict: Conflicts are detected.
  • + *
  • failed: The check fails.
  • + *
  • time_out: The check times out.
  • + *
* - * * `exist`: The SLB instance exists. - * * `not_exist`: The SLB instance does not exist. - * * `conflict`: Conflicts are detected. - * * `failed`: The check fails. - * * `time_out`: The check times out. + * example: + *

exist

*/ public Builder SLBExistStatus(String SLBExistStatus) { this.SLBExistStatus = SLBExistStatus; @@ -501,35 +621,47 @@ public PilotLoadBalancerStatus build() { } } + /** + * + * {@link DescribeServiceMeshAdditionalStatusResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshAdditionalStatusResponseBody

+ */ public static class ClusterStatus extends TeaModel { - @NameInMap("AccessLogProjectStatus") + @com.aliyun.core.annotation.NameInMap("AccessLogProjectStatus") private String accessLogProjectStatus; - @NameInMap("ApiServerEIPStatus") + @com.aliyun.core.annotation.NameInMap("ApiServerEIPStatus") private String apiServerEIPStatus; - @NameInMap("ApiServerLoadBalancerStatus") + @com.aliyun.core.annotation.NameInMap("ApiServerLoadBalancerStatus") private ApiServerLoadBalancerStatus apiServerLoadBalancerStatus; - @NameInMap("AuditProjectStatus") + @com.aliyun.core.annotation.NameInMap("AuditProjectStatus") private String auditProjectStatus; - @NameInMap("CanaryPilotLoadBalancerStatus") + @com.aliyun.core.annotation.NameInMap("CanaryPilotEIPStatus") + private String canaryPilotEIPStatus; + + @com.aliyun.core.annotation.NameInMap("CanaryPilotLoadBalancerStatus") private CanaryPilotLoadBalancerStatus canaryPilotLoadBalancerStatus; - @NameInMap("ControlPlaneProjectStatus") + @com.aliyun.core.annotation.NameInMap("ControlPlaneProjectStatus") private String controlPlaneProjectStatus; - @NameInMap("LogtailStatusRecord") - private java.util.Map < String, ? > logtailStatusRecord; + @com.aliyun.core.annotation.NameInMap("LogtailStatusRecord") + private java.util.Map logtailStatusRecord; - @NameInMap("PilotLoadBalancerStatus") + @com.aliyun.core.annotation.NameInMap("PilotEIPStatus") + private String pilotEIPStatus; + + @com.aliyun.core.annotation.NameInMap("PilotLoadBalancerStatus") private PilotLoadBalancerStatus pilotLoadBalancerStatus; - @NameInMap("RAMApplicationStatus") + @com.aliyun.core.annotation.NameInMap("RAMApplicationStatus") private String RAMApplicationStatus; - @NameInMap("SgStatus") + @com.aliyun.core.annotation.NameInMap("SgStatus") private String sgStatus; private ClusterStatus(Builder builder) { @@ -537,9 +669,11 @@ private ClusterStatus(Builder builder) { this.apiServerEIPStatus = builder.apiServerEIPStatus; this.apiServerLoadBalancerStatus = builder.apiServerLoadBalancerStatus; this.auditProjectStatus = builder.auditProjectStatus; + this.canaryPilotEIPStatus = builder.canaryPilotEIPStatus; this.canaryPilotLoadBalancerStatus = builder.canaryPilotLoadBalancerStatus; this.controlPlaneProjectStatus = builder.controlPlaneProjectStatus; this.logtailStatusRecord = builder.logtailStatusRecord; + this.pilotEIPStatus = builder.pilotEIPStatus; this.pilotLoadBalancerStatus = builder.pilotLoadBalancerStatus; this.RAMApplicationStatus = builder.RAMApplicationStatus; this.sgStatus = builder.sgStatus; @@ -581,6 +715,13 @@ public String getAuditProjectStatus() { return this.auditProjectStatus; } + /** + * @return canaryPilotEIPStatus + */ + public String getCanaryPilotEIPStatus() { + return this.canaryPilotEIPStatus; + } + /** * @return canaryPilotLoadBalancerStatus */ @@ -598,10 +739,17 @@ public String getControlPlaneProjectStatus() { /** * @return logtailStatusRecord */ - public java.util.Map < String, ? > getLogtailStatusRecord() { + public java.util.Map getLogtailStatusRecord() { return this.logtailStatusRecord; } + /** + * @return pilotEIPStatus + */ + public String getPilotEIPStatus() { + return this.pilotEIPStatus; + } + /** * @return pilotLoadBalancerStatus */ @@ -628,21 +776,44 @@ public static final class Builder { private String apiServerEIPStatus; private ApiServerLoadBalancerStatus apiServerLoadBalancerStatus; private String auditProjectStatus; + private String canaryPilotEIPStatus; private CanaryPilotLoadBalancerStatus canaryPilotLoadBalancerStatus; private String controlPlaneProjectStatus; - private java.util.Map < String, ? > logtailStatusRecord; + private java.util.Map logtailStatusRecord; + private String pilotEIPStatus; private PilotLoadBalancerStatus pilotLoadBalancerStatus; private String RAMApplicationStatus; private String sgStatus; + private Builder() { + } + + private Builder(ClusterStatus model) { + this.accessLogProjectStatus = model.accessLogProjectStatus; + this.apiServerEIPStatus = model.apiServerEIPStatus; + this.apiServerLoadBalancerStatus = model.apiServerLoadBalancerStatus; + this.auditProjectStatus = model.auditProjectStatus; + this.canaryPilotEIPStatus = model.canaryPilotEIPStatus; + this.canaryPilotLoadBalancerStatus = model.canaryPilotLoadBalancerStatus; + this.controlPlaneProjectStatus = model.controlPlaneProjectStatus; + this.logtailStatusRecord = model.logtailStatusRecord; + this.pilotEIPStatus = model.pilotEIPStatus; + this.pilotLoadBalancerStatus = model.pilotLoadBalancerStatus; + this.RAMApplicationStatus = model.RAMApplicationStatus; + this.sgStatus = model.sgStatus; + } + /** - * Indicates whether access logs exist. Valid values: - *

+ *

Indicates whether access logs exist. Valid values:

+ *
    + *
  • exist: Access logs exist.
  • + *
  • not_exist: Access logs do not exist.
  • + *
  • failed: The check fails.
  • + *
  • time_out: The check times out.
  • + *
* - * * `exist`: Access logs exist. - * * `not_exist`: Access logs do not exist. - * * `failed`: The check fails. - * * `time_out`: The check times out. + * example: + *

exist

*/ public Builder accessLogProjectStatus(String accessLogProjectStatus) { this.accessLogProjectStatus = accessLogProjectStatus; @@ -650,15 +821,18 @@ public Builder accessLogProjectStatus(String accessLogProjectStatus) { } /** - * The check result of the EIP associated with the API server. Valid values: - *

+ *

The check result of the EIP associated with the API server. Valid values:

+ *
    + *
  • exist: The EIP exists.
  • + *
  • not_exist: The EIP does not exist.
  • + *
  • failed: The check fails.
  • + *
  • time_out: The check times out.
  • + *
  • not_in_use: The EIP is not associated with the API Server.
  • + *
  • locked: The EIP is locked.
  • + *
* - * * `exist`: The EIP exists. - * * `not_exist`: The EIP does not exist. - * * `failed`: The check fails. - * * `time_out`: The check times out. - * * `not_in_use`: The EIP is not associated with the API Server. - * * `locked`: The EIP is locked. + * example: + *

exist

*/ public Builder apiServerEIPStatus(String apiServerEIPStatus) { this.apiServerEIPStatus = apiServerEIPStatus; @@ -666,7 +840,7 @@ public Builder apiServerEIPStatus(String apiServerEIPStatus) { } /** - * The check results of the SLB instance created for exposing the API server. + *

The check results of the CLB instance created for exposing the API server.

*/ public Builder apiServerLoadBalancerStatus(ApiServerLoadBalancerStatus apiServerLoadBalancerStatus) { this.apiServerLoadBalancerStatus = apiServerLoadBalancerStatus; @@ -674,11 +848,14 @@ public Builder apiServerLoadBalancerStatus(ApiServerLoadBalancerStatus apiServer } /** - * Indicates whether audit logs exist. Valid values: - *

+ *

Indicates whether audit logs exist. Valid values:

+ *
    + *
  • exist
  • + *
  • not exist
  • + *
* - * * `exist` - * * `not exist` + * example: + *

exist

*/ public Builder auditProjectStatus(String auditProjectStatus) { this.auditProjectStatus = auditProjectStatus; @@ -686,7 +863,15 @@ public Builder auditProjectStatus(String auditProjectStatus) { } /** - * The check results of the SLB instance that is created for exposing Istio Pilot and used during canary release. + * CanaryPilotEIPStatus. + */ + public Builder canaryPilotEIPStatus(String canaryPilotEIPStatus) { + this.canaryPilotEIPStatus = canaryPilotEIPStatus; + return this; + } + + /** + *

The check results of the CLB instance that is created for exposing Istio Pilot and used during canary release.

*/ public Builder canaryPilotLoadBalancerStatus(CanaryPilotLoadBalancerStatus canaryPilotLoadBalancerStatus) { this.canaryPilotLoadBalancerStatus = canaryPilotLoadBalancerStatus; @@ -694,13 +879,16 @@ public Builder canaryPilotLoadBalancerStatus(CanaryPilotLoadBalancerStatus canar } /** - * Indicates whether control plane logs exist. Valid values: - *

+ *

Indicates whether control plane logs exist. Valid values:

+ *
    + *
  • exist: Control plane logs exist.
  • + *
  • not_exist: Control plane logs do not exist.
  • + *
  • failed: The check fails.
  • + *
  • time_out: The check times out.
  • + *
* - * * `exist`: Control plane logs exist. - * * `not_exist`: Control plane logs do not exist. - * * `failed`: The check fails. - * * `time_out`: The check times out. + * example: + *

exist

*/ public Builder controlPlaneProjectStatus(String controlPlaneProjectStatus) { this.controlPlaneProjectStatus = controlPlaneProjectStatus; @@ -708,15 +896,34 @@ public Builder controlPlaneProjectStatus(String controlPlaneProjectStatus) { } /** - * Indicates whether Logtail is installed in clusters on the data plane. + *

Indicates whether Logtail is installed in clusters on the data plane.

*/ - public Builder logtailStatusRecord(java.util.Map < String, ? > logtailStatusRecord) { + public Builder logtailStatusRecord(java.util.Map logtailStatusRecord) { this.logtailStatusRecord = logtailStatusRecord; return this; } /** - * The check results of the SLB instance created for exposing Istio Pilot. + *

The check result of whether the EIP is associated with the API server. Valid values:

+ *
    + *
  • exist: The EIP exists.
  • + *
  • not_exist: The EIP does not exist.
  • + *
  • failed: The check fails.
  • + *
  • time_out: The check is timed out.
  • + *
  • not_in_use: The EIP is not associated with the API server.
  • + *
  • locked: The EIP is locked.
  • + *
+ * + * example: + *

exist

+ */ + public Builder pilotEIPStatus(String pilotEIPStatus) { + this.pilotEIPStatus = pilotEIPStatus; + return this; + } + + /** + *

The check results of the CLB instance created for exposing Istio Pilot.

*/ public Builder pilotLoadBalancerStatus(PilotLoadBalancerStatus pilotLoadBalancerStatus) { this.pilotLoadBalancerStatus = pilotLoadBalancerStatus; @@ -724,14 +931,17 @@ public Builder pilotLoadBalancerStatus(PilotLoadBalancerStatus pilotLoadBalancer } /** - * The status of the RAM OAuth application that is integrated with Mesh Topology. Valid values: - *

+ *

The status of the RAM OAuth application that is integrated with Mesh Topology. Valid values:

+ *
    + *
  • exist: The RAM OAuth application exists.
  • + *
  • reused: The RAM OAuth application is reused.
  • + *
  • not_exist: The RAM OAuth application does not exist.
  • + *
  • failed: The check fails.
  • + *
  • time_out: The check times out.
  • + *
* - * * `exist`: The RAM OAuth application exists. - * * `reused`: The RAM OAuth application is reused. - * * `not_exist`: The RAM OAuth application does not exist. - * * `failed`: The check fails. - * * `time_out`: The check times out. + * example: + *

reused

*/ public Builder RAMApplicationStatus(String RAMApplicationStatus) { this.RAMApplicationStatus = RAMApplicationStatus; @@ -739,13 +949,16 @@ public Builder RAMApplicationStatus(String RAMApplicationStatus) { } /** - * Indicates whether the security group is reused. Valid values: - *

+ *

Indicates whether the security group is reused. Valid values:

+ *
    + *
  • reused: The security group is reused.
  • + *
  • not_reused: The security group is not reused.
  • + *
  • failed: The check fails.
  • + *
  • time_out: The check times out.
  • + *
* - * * `reused`: The security group is reused. - * * `not_reused`: The security group is not reused. - * * `failed`: The check fails. - * * `time_out`: The check times out. + * example: + *

reused

*/ public Builder sgStatus(String sgStatus) { this.sgStatus = sgStatus; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshClustersRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshClustersRequest.java index 43ea76011fc..02af18d8ca5 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshClustersRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshClustersRequest.java @@ -1,27 +1,32 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshClustersRequest} extends {@link RequestModel} * *

DescribeServiceMeshClustersRequest

*/ public class DescribeServiceMeshClustersRequest extends Request { - @Body - @NameInMap("Limit") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Limit") private Long limit; - @Body - @NameInMap("Offset") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Offset") private Long offset; - @Query - @NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") private String serviceMeshId; private DescribeServiceMeshClustersRequest(Builder builder) { @@ -39,7 +44,7 @@ public static DescribeServiceMeshClustersRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -82,7 +87,10 @@ private Builder(DescribeServiceMeshClustersRequest request) { } /** - * The maximum number of entries per page. + *

The maximum number of entries per page.

+ * + * example: + *

30

*/ public Builder limit(Long limit) { this.putBodyParameter("Limit", limit); @@ -91,7 +99,10 @@ public Builder limit(Long limit) { } /** - * The position where the query starts. + *

The position where the query starts.

+ * + * example: + *

20

*/ public Builder offset(Long offset) { this.putBodyParameter("Offset", offset); @@ -100,7 +111,10 @@ public Builder offset(Long offset) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ * + * example: + *

cb8963379255149cb98c8686f274x****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putQueryParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshClustersResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshClustersResponse.java index a8398a83f59..f08c2ae439e 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshClustersResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshClustersResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshClustersResponse} extends {@link TeaModel} * *

DescribeServiceMeshClustersResponse

*/ public class DescribeServiceMeshClustersResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeServiceMeshClustersResponseBody body; private DescribeServiceMeshClustersResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeServiceMeshClustersResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeServiceMeshClustersResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeServiceMeshClustersResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeServiceMeshClustersResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshClustersResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshClustersResponseBody.java index b679c4a2064..7bc7d34cd4c 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshClustersResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshClustersResponseBody.java @@ -1,24 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshClustersResponseBody} extends {@link TeaModel} * *

DescribeServiceMeshClustersResponseBody

*/ public class DescribeServiceMeshClustersResponseBody extends TeaModel { - @NameInMap("Clusters") - private java.util.List < Clusters> clusters; + @com.aliyun.core.annotation.NameInMap("Clusters") + private java.util.List clusters; - @NameInMap("NumberOfClusters") + @com.aliyun.core.annotation.NameInMap("NumberOfClusters") private Long numberOfClusters; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeServiceMeshClustersResponseBody(Builder builder) { @@ -35,10 +40,14 @@ public static DescribeServiceMeshClustersResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return clusters */ - public java.util.List < Clusters> getClusters() { + public java.util.List getClusters() { return this.clusters; } @@ -57,20 +66,32 @@ public String getRequestId() { } public static final class Builder { - private java.util.List < Clusters> clusters; + private java.util.List clusters; private Long numberOfClusters; private String requestId; + private Builder() { + } + + private Builder(DescribeServiceMeshClustersResponseBody model) { + this.clusters = model.clusters; + this.numberOfClusters = model.numberOfClusters; + this.requestId = model.requestId; + } + /** - * The queried clusters. + *

The queried clusters.

*/ - public Builder clusters(java.util.List < Clusters> clusters) { + public Builder clusters(java.util.List clusters) { this.clusters = clusters; return this; } /** - * NumberOfClusters. + *

The total number of ACK clusters in the current Region.

+ * + * example: + *

5

*/ public Builder numberOfClusters(Long numberOfClusters) { this.numberOfClusters = numberOfClusters; @@ -78,7 +99,10 @@ public Builder numberOfClusters(Long numberOfClusters) { } /** - * The request ID. + *

The request ID.

+ * + * example: + *

31d3a0f0-07ed-4f6e-9004-1804498c****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -91,50 +115,56 @@ public DescribeServiceMeshClustersResponseBody build() { } + /** + * + * {@link DescribeServiceMeshClustersResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshClustersResponseBody

+ */ public static class Clusters extends TeaModel { - @NameInMap("ClusterDomain") + @com.aliyun.core.annotation.NameInMap("ClusterDomain") private String clusterDomain; - @NameInMap("ClusterId") + @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; - @NameInMap("ClusterType") + @com.aliyun.core.annotation.NameInMap("ClusterType") private String clusterType; - @NameInMap("CreationTime") + @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; - @NameInMap("ErrorMessage") + @com.aliyun.core.annotation.NameInMap("ErrorMessage") private String errorMessage; - @NameInMap("ForbiddenFlag") + @com.aliyun.core.annotation.NameInMap("ForbiddenFlag") private Long forbiddenFlag; - @NameInMap("ForbiddenInfo") + @com.aliyun.core.annotation.NameInMap("ForbiddenInfo") private String forbiddenInfo; - @NameInMap("Name") + @com.aliyun.core.annotation.NameInMap("Name") private String name; - @NameInMap("RegionId") + @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; - @NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") private String serviceMeshId; - @NameInMap("SgId") + @com.aliyun.core.annotation.NameInMap("SgId") private String sgId; - @NameInMap("State") + @com.aliyun.core.annotation.NameInMap("State") private String state; - @NameInMap("UpdateTime") + @com.aliyun.core.annotation.NameInMap("UpdateTime") private String updateTime; - @NameInMap("Version") + @com.aliyun.core.annotation.NameInMap("Version") private String version; - @NameInMap("VpcId") + @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; private Clusters(Builder builder) { @@ -285,8 +315,32 @@ public static final class Builder { private String version; private String vpcId; + private Builder() { + } + + private Builder(Clusters model) { + this.clusterDomain = model.clusterDomain; + this.clusterId = model.clusterId; + this.clusterType = model.clusterType; + this.creationTime = model.creationTime; + this.errorMessage = model.errorMessage; + this.forbiddenFlag = model.forbiddenFlag; + this.forbiddenInfo = model.forbiddenInfo; + this.name = model.name; + this.regionId = model.regionId; + this.serviceMeshId = model.serviceMeshId; + this.sgId = model.sgId; + this.state = model.state; + this.updateTime = model.updateTime; + this.version = model.version; + this.vpcId = model.vpcId; + } + /** - * The domain name of the cluster. + *

The domain name of the cluster.

+ * + * example: + *

c.com

*/ public Builder clusterDomain(String clusterDomain) { this.clusterDomain = clusterDomain; @@ -294,7 +348,10 @@ public Builder clusterDomain(String clusterDomain) { } /** - * The cluster ID. + *

The cluster ID.

+ * + * example: + *

c80f45444b3da447da60a911390c2****

*/ public Builder clusterId(String clusterId) { this.clusterId = clusterId; @@ -302,7 +359,10 @@ public Builder clusterId(String clusterId) { } /** - * The cluster type. + *

The cluster type.

+ * + * example: + *

Ask

*/ public Builder clusterType(String clusterType) { this.clusterType = clusterType; @@ -310,7 +370,10 @@ public Builder clusterType(String clusterType) { } /** - * The time when the cluster was created. + *

The time when the cluster was created.

+ * + * example: + *

2020-05-12T15:38:16+08:00

*/ public Builder creationTime(String creationTime) { this.creationTime = creationTime; @@ -318,7 +381,10 @@ public Builder creationTime(String creationTime) { } /** - * The error message about the cluster. + *

The error message about the cluster.

+ * + * example: + *

fail

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -326,14 +392,17 @@ public Builder errorMessage(String errorMessage) { } /** - * Indicates that the cluster is available or the reason why the cluster cannot be added to the ASM instance. Valid values: - *

+ *

Indicates that the cluster is available or the reason why the cluster cannot be added to the ASM instance. Valid values:

+ *
    + *
  • 0: The cluster can be added to the ASM instance.
  • + *
  • 1: The cluster cannot be added to the ASM instance because you do not have administrator permissions on the cluster.
  • + *
  • 2: The cluster cannot be added to the ASM instance because the cluster and the ASM instance reside in different VPCs between which no private connections are built.
  • + *
  • 3: The CIDR block of the cluster conflicts with that of the ASM instance.
  • + *
  • 4: The cluster has a namespace that is named istio-system.
  • + *
* - * * `0`: The cluster can be added to the ASM instance. - * * `1`: The cluster cannot be added to the ASM instance because you do not have administrator permissions on the cluster. - * * `2`: The cluster cannot be added to the ASM instance because the cluster and the ASM instance reside in different VPCs between which no private connections are built. - * * `3`: The CIDR block of the cluster conflicts with that of the ASM instance. - * * `4`: The cluster has a namespace that is named istio-system. + * example: + *

0

*/ public Builder forbiddenFlag(Long forbiddenFlag) { this.forbiddenFlag = forbiddenFlag; @@ -341,31 +410,32 @@ public Builder forbiddenFlag(Long forbiddenFlag) { } /** - * The reason why the cluster on the data plane cannot be added to the ASM instance. The value is a JSON string in the following format: - *

- * - * [ - * { - * "cluster": "cdd55bd6e054b4c6ca18ec02614******", - * "object": "Pod", - * "cidr": "172.16.0.0/24" - * }, - * { - * "cluster": "cfa37fdf7cb1641e1976f8293ac******", - * "object": "Pod", - * "cidr": "172.16.0.0/24" - * } - * ] + *

The reason why the cluster on the data plane cannot be added to the ASM instance. The value is a JSON string in the following format:

+ *
[
+             *   {
+             *     "cluster": "cdd55bd6e054b4c6ca18ec02614******",
+             *     "object": "Pod",
+             *     "cidr": "172.16.0.0/24"
+             *   },
+             *   {
+             *     "cluster": "cfa37fdf7cb1641e1976f8293ac******",
+             *     "object": "Pod",
+             *     "cidr": "172.16.0.0/24"
+             *   }
+             * ]
+             * 
+ *

In the preceding example, the CIDR block 172.16.0.0/24 of the pod in the cdd55bd6e054b4c6ca18ec02614****** cluster conflicts with the CIDR block 172.16.0.0/24 of the pod in the cfa37fdf7cb1641e1976f8293ac****** cluster.

+ *

Valid values of the object parameter:

+ *
    + *
  • Pod
  • + *
  • Service
  • + *
  • VSwitch
  • + *
  • VPC
  • + *
  • VPC CIDR
  • + *
* - * In the preceding example, the CIDR block `172.16.0.0/24` of the pod in the `cdd55bd6e054b4c6ca18ec02614******` cluster conflicts with the CIDR block `172.16.0.0/24` of the pod in the `cfa37fdf7cb1641e1976f8293ac******` cluster. - * - * Valid values of the `object` parameter: - * - * * `Pod` - * * `Service` - * * `VSwitch` - * * `VPC` - * * `VPC CIDR` + * example: + *

[{"cluster":"cdd55bd6e054b4c6ca18ec02614******", "object":"Pod", "cidr":"172.16.0.0/24"},{"cluster":"cfa37fdf7cb1641e1976f8293ac******", "object":"Pod", "cidr":"172.16.0.0/24"}]

*/ public Builder forbiddenInfo(String forbiddenInfo) { this.forbiddenInfo = forbiddenInfo; @@ -373,7 +443,10 @@ public Builder forbiddenInfo(String forbiddenInfo) { } /** - * The name of the cluster. + *

The name of the cluster.

+ * + * example: + *

ask1

*/ public Builder name(String name) { this.name = name; @@ -381,7 +454,10 @@ public Builder name(String name) { } /** - * The ID of the region in which the cluster resides. + *

The ID of the region in which the cluster resides.

+ * + * example: + *

cn-hangzhou

*/ public Builder regionId(String regionId) { this.regionId = regionId; @@ -389,7 +465,10 @@ public Builder regionId(String regionId) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ * + * example: + *

cb8963379255149cb98c8686f274x****

*/ public Builder serviceMeshId(String serviceMeshId) { this.serviceMeshId = serviceMeshId; @@ -397,7 +476,10 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * The ID of the security group. + *

The ID of the security group.

+ * + * example: + *

sg-bp197668l6iupljy****

*/ public Builder sgId(String sgId) { this.sgId = sgId; @@ -405,14 +487,17 @@ public Builder sgId(String sgId) { } /** - * The state of the cluster. Valid values: - *

+ *

The state of the cluster. Valid values:

+ *
    + *
  • running: The cluster is running.
  • + *
  • starting: The cluster is starting.
  • + *
  • stopping: The cluster is being stopped.
  • + *
  • stopped: The cluster is stopped.
  • + *
  • failed: The cluster fails to be run.
  • + *
* - * * `running`: The cluster is running. - * * `starting`: The cluster is starting. - * * `stopping`: The cluster is being stopped. - * * `stopped`: The cluster is stopped. - * * `failed`: The cluster fails to be run. + * example: + *

running

*/ public Builder state(String state) { this.state = state; @@ -420,7 +505,10 @@ public Builder state(String state) { } /** - * The time when the cluster was last modified. + *

The time when the cluster was last modified.

+ * + * example: + *

2020-05-12T15:38:16+08:00

*/ public Builder updateTime(String updateTime) { this.updateTime = updateTime; @@ -428,7 +516,10 @@ public Builder updateTime(String updateTime) { } /** - * The version number of the cluster. + *

The version number of the cluster.

+ * + * example: + *

v1.16.6-aliyun.1

*/ public Builder version(String version) { this.version = version; @@ -436,7 +527,10 @@ public Builder version(String version) { } /** - * The ID of the virtual private cloud (VPC). + *

The ID of the virtual private cloud (VPC).

+ * + * example: + *

vpc-8vbrwmt95b4zf6wf7****

*/ public Builder vpcId(String vpcId) { this.vpcId = vpcId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshDetailRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshDetailRequest.java index b11a1b02705..943a0e2863e 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshDetailRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshDetailRequest.java @@ -1,20 +1,25 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshDetailRequest} extends {@link RequestModel} * *

DescribeServiceMeshDetailRequest

*/ public class DescribeServiceMeshDetailRequest extends Request { - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DescribeServiceMeshDetailRequest(Builder builder) { @@ -30,7 +35,7 @@ public static DescribeServiceMeshDetailRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -55,7 +60,11 @@ private Builder(DescribeServiceMeshDetailRequest request) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshDetailResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshDetailResponse.java index 6d9b7f3d59c..0f11683a4b4 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshDetailResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshDetailResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshDetailResponse} extends {@link TeaModel} * *

DescribeServiceMeshDetailResponse

*/ public class DescribeServiceMeshDetailResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeServiceMeshDetailResponseBody body; private DescribeServiceMeshDetailResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeServiceMeshDetailResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeServiceMeshDetailResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeServiceMeshDetailResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeServiceMeshDetailResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshDetailResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshDetailResponseBody.java index 83ac330e62f..79bc98f87bd 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshDetailResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshDetailResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} * *

DescribeServiceMeshDetailResponseBody

*/ public class DescribeServiceMeshDetailResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("ServiceMesh") + @com.aliyun.core.annotation.NameInMap("ServiceMesh") private ServiceMesh serviceMesh; private DescribeServiceMeshDetailResponseBody(Builder builder) { @@ -31,6 +36,10 @@ public static DescribeServiceMeshDetailResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -49,8 +58,19 @@ public static final class Builder { private String requestId; private ServiceMesh serviceMesh; + private Builder() { + } + + private Builder(DescribeServiceMeshDetailResponseBody model) { + this.requestId = model.requestId; + this.serviceMesh = model.serviceMesh; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

11fd0027-c27e-41bb-a565-75583054****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -58,7 +78,7 @@ public Builder requestId(String requestId) { } /** - * The details of the ASM instance. + *

The information about the ASM instance.

*/ public Builder serviceMesh(ServiceMesh serviceMesh) { this.serviceMesh = serviceMesh; @@ -71,23 +91,37 @@ public DescribeServiceMeshDetailResponseBody build() { } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class Endpoints extends TeaModel { - @NameInMap("IntranetApiServerEndpoint") + @com.aliyun.core.annotation.NameInMap("IntranetApiServerEndpoint") private String intranetApiServerEndpoint; - @NameInMap("IntranetPilotEndpoint") + @com.aliyun.core.annotation.NameInMap("IntranetCanaryPilotEndpoint") + private String intranetCanaryPilotEndpoint; + + @com.aliyun.core.annotation.NameInMap("IntranetPilotEndpoint") private String intranetPilotEndpoint; - @NameInMap("PublicApiServerEndpoint") + @com.aliyun.core.annotation.NameInMap("PublicApiServerEndpoint") private String publicApiServerEndpoint; - @NameInMap("PublicPilotEndpoint") + @com.aliyun.core.annotation.NameInMap("PublicCanaryPilotEndpoint") + private String publicCanaryPilotEndpoint; + + @com.aliyun.core.annotation.NameInMap("PublicPilotEndpoint") private String publicPilotEndpoint; private Endpoints(Builder builder) { this.intranetApiServerEndpoint = builder.intranetApiServerEndpoint; + this.intranetCanaryPilotEndpoint = builder.intranetCanaryPilotEndpoint; this.intranetPilotEndpoint = builder.intranetPilotEndpoint; this.publicApiServerEndpoint = builder.publicApiServerEndpoint; + this.publicCanaryPilotEndpoint = builder.publicCanaryPilotEndpoint; this.publicPilotEndpoint = builder.publicPilotEndpoint; } @@ -106,6 +140,13 @@ public String getIntranetApiServerEndpoint() { return this.intranetApiServerEndpoint; } + /** + * @return intranetCanaryPilotEndpoint + */ + public String getIntranetCanaryPilotEndpoint() { + return this.intranetCanaryPilotEndpoint; + } + /** * @return intranetPilotEndpoint */ @@ -120,6 +161,13 @@ public String getPublicApiServerEndpoint() { return this.publicApiServerEndpoint; } + /** + * @return publicCanaryPilotEndpoint + */ + public String getPublicCanaryPilotEndpoint() { + return this.publicCanaryPilotEndpoint; + } + /** * @return publicPilotEndpoint */ @@ -129,12 +177,29 @@ public String getPublicPilotEndpoint() { public static final class Builder { private String intranetApiServerEndpoint; + private String intranetCanaryPilotEndpoint; private String intranetPilotEndpoint; private String publicApiServerEndpoint; + private String publicCanaryPilotEndpoint; private String publicPilotEndpoint; + private Builder() { + } + + private Builder(Endpoints model) { + this.intranetApiServerEndpoint = model.intranetApiServerEndpoint; + this.intranetCanaryPilotEndpoint = model.intranetCanaryPilotEndpoint; + this.intranetPilotEndpoint = model.intranetPilotEndpoint; + this.publicApiServerEndpoint = model.publicApiServerEndpoint; + this.publicCanaryPilotEndpoint = model.publicCanaryPilotEndpoint; + this.publicPilotEndpoint = model.publicPilotEndpoint; + } + /** - * The endpoint that is used to access the API server from the internal network. + *

The endpoint that is used to access the API server from the internal network.

+ * + * example: + *

https://192.168.**.**:6443

*/ public Builder intranetApiServerEndpoint(String intranetApiServerEndpoint) { this.intranetApiServerEndpoint = intranetApiServerEndpoint; @@ -142,7 +207,21 @@ public Builder intranetApiServerEndpoint(String intranetApiServerEndpoint) { } /** - * The endpoint that is used to access Istio Pilot from the internal network. + *

The endpoint that is used to access Istio Pilot from the internal network (Intranet) during canary release.

+ * + * example: + *

192.168.**.**:15011

+ */ + public Builder intranetCanaryPilotEndpoint(String intranetCanaryPilotEndpoint) { + this.intranetCanaryPilotEndpoint = intranetCanaryPilotEndpoint; + return this; + } + + /** + *

The endpoint that is used to access Istio Pilot from the internal network.

+ * + * example: + *

192.168.**.**:15011

*/ public Builder intranetPilotEndpoint(String intranetPilotEndpoint) { this.intranetPilotEndpoint = intranetPilotEndpoint; @@ -150,7 +229,10 @@ public Builder intranetPilotEndpoint(String intranetPilotEndpoint) { } /** - * The endpoint that is used to access the API server over the Internet. + *

The endpoint that is used to access the API server over the Internet.

+ * + * example: + *

https://123.56.**.**:6443

*/ public Builder publicApiServerEndpoint(String publicApiServerEndpoint) { this.publicApiServerEndpoint = publicApiServerEndpoint; @@ -158,7 +240,21 @@ public Builder publicApiServerEndpoint(String publicApiServerEndpoint) { } /** - * The endpoint that is used to expose Istio Pilot to the Internet. + *

The endpoint that is used to expose Istio Pilot to the public network (Internet) during canary release.

+ * + * example: + *

182.92.**.**:15011

+ */ + public Builder publicCanaryPilotEndpoint(String publicCanaryPilotEndpoint) { + this.publicCanaryPilotEndpoint = publicCanaryPilotEndpoint; + return this; + } + + /** + *

The endpoint that is used to expose Istio Pilot to the Internet.

+ * + * example: + *

182.92.**.**:15011

*/ public Builder publicPilotEndpoint(String publicPilotEndpoint) { this.publicPilotEndpoint = publicPilotEndpoint; @@ -172,32 +268,38 @@ public Endpoints build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class ServiceMeshInfo extends TeaModel { - @NameInMap("CreationTime") + @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; - @NameInMap("ErrorMessage") + @com.aliyun.core.annotation.NameInMap("ErrorMessage") private String errorMessage; - @NameInMap("Name") + @com.aliyun.core.annotation.NameInMap("Name") private String name; - @NameInMap("Profile") + @com.aliyun.core.annotation.NameInMap("Profile") private String profile; - @NameInMap("RegionId") + @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; - @NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") private String serviceMeshId; - @NameInMap("State") + @com.aliyun.core.annotation.NameInMap("State") private String state; - @NameInMap("UpdateTime") + @com.aliyun.core.annotation.NameInMap("UpdateTime") private String updateTime; - @NameInMap("Version") + @com.aliyun.core.annotation.NameInMap("Version") private String version; private ServiceMeshInfo(Builder builder) { @@ -294,8 +396,26 @@ public static final class Builder { private String updateTime; private String version; + private Builder() { + } + + private Builder(ServiceMeshInfo model) { + this.creationTime = model.creationTime; + this.errorMessage = model.errorMessage; + this.name = model.name; + this.profile = model.profile; + this.regionId = model.regionId; + this.serviceMeshId = model.serviceMeshId; + this.state = model.state; + this.updateTime = model.updateTime; + this.version = model.version; + } + /** - * The time when the ASM instance was created. + *

The time when the ASM instance was created.

+ * + * example: + *

2020-04-21T09:42:20+08:00

*/ public Builder creationTime(String creationTime) { this.creationTime = creationTime; @@ -303,7 +423,10 @@ public Builder creationTime(String creationTime) { } /** - * The returned error message. + *

The returned error message.

+ * + * example: + *

error

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -311,7 +434,10 @@ public Builder errorMessage(String errorMessage) { } /** - * The name of the ASM instance. + *

The name of the ASM instance.

+ * + * example: + *

mesh1

*/ public Builder name(String name) { this.name = name; @@ -319,11 +445,14 @@ public Builder name(String name) { } /** - * The edition of the ASM instance. Valid values: - *

+ *

The edition of the ASM instance. Valid values:

+ *
    + *
  • Default: Standard Edition
  • + *
  • Pro: Enterprise Edition and Ultimate Edition
  • + *
* - * * `Default`: Standard Edition - * * `Pro`: Enterprise Edition and Ultimate Edition + * example: + *

Default

*/ public Builder profile(String profile) { this.profile = profile; @@ -331,7 +460,10 @@ public Builder profile(String profile) { } /** - * The ID of the region in which the ASM instance resides. + *

The ID of the region in which the ASM instance resides.

+ * + * example: + *

cn-beijing

*/ public Builder regionId(String regionId) { this.regionId = regionId; @@ -339,7 +471,10 @@ public Builder regionId(String regionId) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.serviceMeshId = serviceMeshId; @@ -347,7 +482,10 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * The state of the ASM instance. + *

The state of the ASM instance.

+ * + * example: + *

running

*/ public Builder state(String state) { this.state = state; @@ -355,7 +493,10 @@ public Builder state(String state) { } /** - * The time when the ASM instance was last modified. + *

The time when the ASM instance was last modified.

+ * + * example: + *

2020-06-03T14:48:54+08:00

*/ public Builder updateTime(String updateTime) { this.updateTime = updateTime; @@ -363,7 +504,10 @@ public Builder updateTime(String updateTime) { } /** - * The version of the ASM instance. + *

The version of the ASM instance.

+ * + * example: + *

v1.7.4.0-gfb34ba99-aliyun

*/ public Builder version(String version) { this.version = version; @@ -377,23 +521,45 @@ public ServiceMeshInfo build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class LoadBalancer extends TeaModel { - @NameInMap("ApiServerLoadbalancerId") + @com.aliyun.core.annotation.NameInMap("ApiServerLoadbalancerId") private String apiServerLoadbalancerId; - @NameInMap("ApiServerPublicEip") + @com.aliyun.core.annotation.NameInMap("ApiServerPublicEip") private Boolean apiServerPublicEip; - @NameInMap("PilotPublicEip") + @com.aliyun.core.annotation.NameInMap("ApiServerPublicEipId") + private String apiServerPublicEipId; + + @com.aliyun.core.annotation.NameInMap("CanaryPilotLoadBalancerId") + private String canaryPilotLoadBalancerId; + + @com.aliyun.core.annotation.NameInMap("CanaryPilotPublicEipId") + private String canaryPilotPublicEipId; + + @com.aliyun.core.annotation.NameInMap("PilotPublicEip") private Boolean pilotPublicEip; - @NameInMap("PilotPublicLoadbalancerId") + @com.aliyun.core.annotation.NameInMap("PilotPublicEipId") + private String pilotPublicEipId; + + @com.aliyun.core.annotation.NameInMap("PilotPublicLoadbalancerId") private String pilotPublicLoadbalancerId; private LoadBalancer(Builder builder) { this.apiServerLoadbalancerId = builder.apiServerLoadbalancerId; this.apiServerPublicEip = builder.apiServerPublicEip; + this.apiServerPublicEipId = builder.apiServerPublicEipId; + this.canaryPilotLoadBalancerId = builder.canaryPilotLoadBalancerId; + this.canaryPilotPublicEipId = builder.canaryPilotPublicEipId; this.pilotPublicEip = builder.pilotPublicEip; + this.pilotPublicEipId = builder.pilotPublicEipId; this.pilotPublicLoadbalancerId = builder.pilotPublicLoadbalancerId; } @@ -419,6 +585,27 @@ public Boolean getApiServerPublicEip() { return this.apiServerPublicEip; } + /** + * @return apiServerPublicEipId + */ + public String getApiServerPublicEipId() { + return this.apiServerPublicEipId; + } + + /** + * @return canaryPilotLoadBalancerId + */ + public String getCanaryPilotLoadBalancerId() { + return this.canaryPilotLoadBalancerId; + } + + /** + * @return canaryPilotPublicEipId + */ + public String getCanaryPilotPublicEipId() { + return this.canaryPilotPublicEipId; + } + /** * @return pilotPublicEip */ @@ -426,6 +613,13 @@ public Boolean getPilotPublicEip() { return this.pilotPublicEip; } + /** + * @return pilotPublicEipId + */ + public String getPilotPublicEipId() { + return this.pilotPublicEipId; + } + /** * @return pilotPublicLoadbalancerId */ @@ -436,11 +630,32 @@ public String getPilotPublicLoadbalancerId() { public static final class Builder { private String apiServerLoadbalancerId; private Boolean apiServerPublicEip; + private String apiServerPublicEipId; + private String canaryPilotLoadBalancerId; + private String canaryPilotPublicEipId; private Boolean pilotPublicEip; + private String pilotPublicEipId; private String pilotPublicLoadbalancerId; + private Builder() { + } + + private Builder(LoadBalancer model) { + this.apiServerLoadbalancerId = model.apiServerLoadbalancerId; + this.apiServerPublicEip = model.apiServerPublicEip; + this.apiServerPublicEipId = model.apiServerPublicEipId; + this.canaryPilotLoadBalancerId = model.canaryPilotLoadBalancerId; + this.canaryPilotPublicEipId = model.canaryPilotPublicEipId; + this.pilotPublicEip = model.pilotPublicEip; + this.pilotPublicEipId = model.pilotPublicEipId; + this.pilotPublicLoadbalancerId = model.pilotPublicLoadbalancerId; + } + /** - * The ID of the CLB instance that is used when the API server is exposed to the Internet. + *

The ID of the CLB instance that is used when the API server is exposed to the Internet.

+ * + * example: + *

lb-2zekaak10uxds44vx****

*/ public Builder apiServerLoadbalancerId(String apiServerLoadbalancerId) { this.apiServerLoadbalancerId = apiServerLoadbalancerId; @@ -448,11 +663,14 @@ public Builder apiServerLoadbalancerId(String apiServerLoadbalancerId) { } /** - * Indicates whether the API server is exposed to the Internet. Valid values: - *

+ *

Indicates whether the API server is exposed to the Internet. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

true

*/ public Builder apiServerPublicEip(Boolean apiServerPublicEip) { this.apiServerPublicEip = apiServerPublicEip; @@ -460,11 +678,47 @@ public Builder apiServerPublicEip(Boolean apiServerPublicEip) { } /** - * Indicates whether Istio Pilot is exposed to the Internet. Valid values: - *

+ *

The ID of the endpoint that is used to expose API server to the Internet.

+ * + * example: + *

eip-wz9gtwau6b2aklgjk****

+ */ + public Builder apiServerPublicEipId(String apiServerPublicEipId) { + this.apiServerPublicEipId = apiServerPublicEipId; + return this; + } + + /** + *

The ID of the Classic Load Balancer (CLB) instance that is used during the canary release of Istio Pilot.

+ * + * example: + *

lb-2zesa8qs8kbkj9jkl****

+ */ + public Builder canaryPilotLoadBalancerId(String canaryPilotLoadBalancerId) { + this.canaryPilotLoadBalancerId = canaryPilotLoadBalancerId; + return this; + } + + /** + *

The ID of the endpoint that is used to expose Istio Pilot to the Internet during canary release.

+ * + * example: + *

eip-wz9gtwau6b2aklgjk****

+ */ + public Builder canaryPilotPublicEipId(String canaryPilotPublicEipId) { + this.canaryPilotPublicEipId = canaryPilotPublicEipId; + return this; + } + + /** + *

Indicates whether Istio Pilot is exposed to the Internet. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

true

*/ public Builder pilotPublicEip(Boolean pilotPublicEip) { this.pilotPublicEip = pilotPublicEip; @@ -472,7 +726,21 @@ public Builder pilotPublicEip(Boolean pilotPublicEip) { } /** - * The ID of the Classic Load Balancer (CLB) instance that is used when Istio Pilot is exposed to the Internet. + *

The ID of the endpoint that is used to expose Istio Pilot to the Internet.

+ * + * example: + *

eip-wz9gtwau6b2aklgjk****

+ */ + public Builder pilotPublicEipId(String pilotPublicEipId) { + this.pilotPublicEipId = pilotPublicEipId; + return this; + } + + /** + *

The ID of the Classic Load Balancer (CLB) instance that is used when Istio Pilot is exposed to the Internet.

+ * + * example: + *

lb-2zesa8qs8kbkj9jkl****

*/ public Builder pilotPublicLoadbalancerId(String pilotPublicLoadbalancerId) { this.pilotPublicLoadbalancerId = pilotPublicLoadbalancerId; @@ -486,11 +754,17 @@ public LoadBalancer build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class AccessLog extends TeaModel { - @NameInMap("Enabled") + @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; - @NameInMap("Project") + @com.aliyun.core.annotation.NameInMap("Project") private String project; private AccessLog(Builder builder) { @@ -524,12 +798,23 @@ public static final class Builder { private Boolean enabled; private String project; + private Builder() { + } + + private Builder(AccessLog model) { + this.enabled = model.enabled; + this.project = model.project; + } + /** - * Indicates whether access log collection is enabled. Valid values: - *

+ *

Indicates whether access log collection is enabled. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

true

*/ public Builder enabled(Boolean enabled) { this.enabled = enabled; @@ -537,7 +822,10 @@ public Builder enabled(Boolean enabled) { } /** - * The name of the Simple Log Service project that stores access logs. + *

The name of the Simple Log Service project that stores access logs.

+ * + * example: + *

k8s-log-b7b05d08670e41ca8c8fc0b7718f*****

*/ public Builder project(String project) { this.project = project; @@ -551,14 +839,20 @@ public AccessLog build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class Audit extends TeaModel { - @NameInMap("AuditProjectStatus") + @com.aliyun.core.annotation.NameInMap("AuditProjectStatus") private String auditProjectStatus; - @NameInMap("Enabled") + @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; - @NameInMap("Project") + @com.aliyun.core.annotation.NameInMap("Project") private String project; private Audit(Builder builder) { @@ -601,12 +895,24 @@ public static final class Builder { private Boolean enabled; private String project; + private Builder() { + } + + private Builder(Audit model) { + this.auditProjectStatus = model.auditProjectStatus; + this.enabled = model.enabled; + this.project = model.project; + } + /** - * Indicates whether an audit project exists in the ASM instance. Valid values: - *

+ *

Indicates whether an audit project exists in the ASM instance. Valid values:

+ *
    + *
  • audit_project_exist: An audit project exists.
  • + *
  • audit_project_not_exist: No audit project exists.
  • + *
* - * * `audit_project_exist`: An audit project exists. - * * `audit_project_not_exist`: No audit project exists. + * example: + *

audit_project_not_exist

*/ public Builder auditProjectStatus(String auditProjectStatus) { this.auditProjectStatus = auditProjectStatus; @@ -614,11 +920,14 @@ public Builder auditProjectStatus(String auditProjectStatus) { } /** - * Indicates whether mesh audit is enabled. Valid values: - *

+ *

Indicates whether mesh audit is enabled. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

true

*/ public Builder enabled(Boolean enabled) { this.enabled = enabled; @@ -626,7 +935,10 @@ public Builder enabled(Boolean enabled) { } /** - * The name of the Simple Log Service project that is used for mesh audit. + *

The name of the Simple Log Service project that is used for mesh audit.

+ * + * example: + *

audit-project

*/ public Builder project(String project) { this.project = project; @@ -640,14 +952,20 @@ public Audit build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class ControlPlaneLogInfo extends TeaModel { - @NameInMap("Enabled") + @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; - @NameInMap("LogTTL") + @com.aliyun.core.annotation.NameInMap("LogTTL") private Integer logTTL; - @NameInMap("Project") + @com.aliyun.core.annotation.NameInMap("Project") private String project; private ControlPlaneLogInfo(Builder builder) { @@ -690,12 +1008,24 @@ public static final class Builder { private Integer logTTL; private String project; + private Builder() { + } + + private Builder(ControlPlaneLogInfo model) { + this.enabled = model.enabled; + this.logTTL = model.logTTL; + this.project = model.project; + } + /** - * Indicates whether the collection of control plane logs is enabled. Valid values: - *

+ *

Indicates whether the collection of control plane logs is enabled. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder enabled(Boolean enabled) { this.enabled = enabled; @@ -703,7 +1033,10 @@ public Builder enabled(Boolean enabled) { } /** - * LogTTL. + *

The time to live (TTL) of the collected control-plane logs. Unit: day.

+ * + * example: + *

30

*/ public Builder logTTL(Integer logTTL) { this.logTTL = logTTL; @@ -711,7 +1044,10 @@ public Builder logTTL(Integer logTTL) { } /** - * The name of the Simple Log Service project that stores control plane logs. + *

The name of the Simple Log Service project that stores control plane logs.

+ * + * example: + *

mesh-log-cbeb85a09161b4a26ab73e0ac****

*/ public Builder project(String project) { this.project = project; @@ -725,14 +1061,20 @@ public ControlPlaneLogInfo build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class Edition extends TeaModel { - @NameInMap("IstiodImageTag") + @com.aliyun.core.annotation.NameInMap("IstiodImageTag") private String istiodImageTag; - @NameInMap("Name") + @com.aliyun.core.annotation.NameInMap("Name") private String name; - @NameInMap("ProxyImageTag") + @com.aliyun.core.annotation.NameInMap("ProxyImageTag") private String proxyImageTag; private Edition(Builder builder) { @@ -775,8 +1117,20 @@ public static final class Builder { private String name; private String proxyImageTag; + private Builder() { + } + + private Builder(Edition model) { + this.istiodImageTag = model.istiodImageTag; + this.name = model.name; + this.proxyImageTag = model.proxyImageTag; + } + /** - * The version of the Istiod image. + *

The version of the Istiod image.

+ * + * example: + *

v1.9.7.1-3-gb3f1ab3c9c-pro-aliyun

*/ public Builder istiodImageTag(String istiodImageTag) { this.istiodImageTag = istiodImageTag; @@ -784,7 +1138,10 @@ public Builder istiodImageTag(String istiodImageTag) { } /** - * The name of the edition. + *

The name of the edition.

+ * + * example: + *

Pro

*/ public Builder name(String name) { this.name = name; @@ -792,7 +1149,10 @@ public Builder name(String name) { } /** - * The version of the Istio Proxy image. + *

The version of the Istio Proxy image.

+ * + * example: + *

v1.9.7.1-3-gb3f1ab3c9c-pro-aliyun

*/ public Builder proxyImageTag(String proxyImageTag) { this.proxyImageTag = proxyImageTag; @@ -806,17 +1166,23 @@ public Edition build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class AccessLogExtraConf extends TeaModel { - @NameInMap("GatewayEnabled") + @com.aliyun.core.annotation.NameInMap("GatewayEnabled") private Boolean gatewayEnabled; - @NameInMap("GatewayLifecycle") + @com.aliyun.core.annotation.NameInMap("GatewayLifecycle") private Integer gatewayLifecycle; - @NameInMap("SidecarEnabled") + @com.aliyun.core.annotation.NameInMap("SidecarEnabled") private Boolean sidecarEnabled; - @NameInMap("SidecarLifecycle") + @com.aliyun.core.annotation.NameInMap("SidecarLifecycle") private Integer sidecarLifecycle; private AccessLogExtraConf(Builder builder) { @@ -868,8 +1234,21 @@ public static final class Builder { private Boolean sidecarEnabled; private Integer sidecarLifecycle; + private Builder() { + } + + private Builder(AccessLogExtraConf model) { + this.gatewayEnabled = model.gatewayEnabled; + this.gatewayLifecycle = model.gatewayLifecycle; + this.sidecarEnabled = model.sidecarEnabled; + this.sidecarLifecycle = model.sidecarLifecycle; + } + /** - * GatewayEnabled. + *

Indicates whether gateway log collection is enabled.

+ * + * example: + *

true

*/ public Builder gatewayEnabled(Boolean gatewayEnabled) { this.gatewayEnabled = gatewayEnabled; @@ -877,7 +1256,10 @@ public Builder gatewayEnabled(Boolean gatewayEnabled) { } /** - * The retention period for the access logs of the ingress gateway. Unit: day. The logs are collected by using Simple Log Service. For example, the value 30 indicates that the logs are retained for 30 days. + *

The retention period for the access logs of the ingress gateway. Unit: day. The logs are collected by using Simple Log Service. For example, the value 30 indicates that the logs are retained for 30 days.

+ * + * example: + *

30

*/ public Builder gatewayLifecycle(Integer gatewayLifecycle) { this.gatewayLifecycle = gatewayLifecycle; @@ -885,7 +1267,10 @@ public Builder gatewayLifecycle(Integer gatewayLifecycle) { } /** - * SidecarEnabled. + *

Indicates whether sidecar log collection is enabled.

+ * + * example: + *

true

*/ public Builder sidecarEnabled(Boolean sidecarEnabled) { this.sidecarEnabled = sidecarEnabled; @@ -893,7 +1278,10 @@ public Builder sidecarEnabled(Boolean sidecarEnabled) { } /** - * The retention period for the access logs of sidecar proxies. Unit: day. The logs are collected by using Simple Log Service. For example, the value 30 indicates that the logs are retained for 30 days. + *

The retention period for the access logs of sidecar proxies. Unit: day. The logs are collected by using Simple Log Service. For example, the value 30 indicates that the logs are retained for 30 days.

+ * + * example: + *

30

*/ public Builder sidecarLifecycle(Integer sidecarLifecycle) { this.sidecarLifecycle = sidecarLifecycle; @@ -907,8 +1295,14 @@ public AccessLogExtraConf build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class EgressHpaCpu extends TeaModel { - @NameInMap("TargetAverageUtilization") + @com.aliyun.core.annotation.NameInMap("TargetAverageUtilization") private Integer targetAverageUtilization; private EgressHpaCpu(Builder builder) { @@ -933,8 +1327,18 @@ public Integer getTargetAverageUtilization() { public static final class Builder { private Integer targetAverageUtilization; + private Builder() { + } + + private Builder(EgressHpaCpu model) { + this.targetAverageUtilization = model.targetAverageUtilization; + } + /** - * The expected CPU utilization when HPA is enabled. Valid values: 1 to 100. If the CPU utilization exceeds this value, the number of pod replicas increases. If the CPU utilization is less than this value, the number of pod replicas decreases. + *

The expected CPU utilization when HPA is enabled. Valid values: 1 to 100. If the CPU utilization exceeds this value, the number of pod replicas increases. If the CPU utilization is less than this value, the number of pod replicas decreases.

+ * + * example: + *

80

*/ public Builder targetAverageUtilization(Integer targetAverageUtilization) { this.targetAverageUtilization = targetAverageUtilization; @@ -948,8 +1352,14 @@ public EgressHpaCpu build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class EgressHpaMemory extends TeaModel { - @NameInMap("TargetAverageUtilization") + @com.aliyun.core.annotation.NameInMap("TargetAverageUtilization") private Integer targetAverageUtilization; private EgressHpaMemory(Builder builder) { @@ -974,8 +1384,18 @@ public Integer getTargetAverageUtilization() { public static final class Builder { private Integer targetAverageUtilization; + private Builder() { + } + + private Builder(EgressHpaMemory model) { + this.targetAverageUtilization = model.targetAverageUtilization; + } + /** - * The expected memory usage when HPA is enabled. Valid values: 1 to 100. If the memory usage exceeds this value, the number of pod replicas increases. If the memory usage is less than this value, the number of pod replicas decreases. + *

The expected memory usage when HPA is enabled. Valid values: 1 to 100. If the memory usage exceeds this value, the number of pod replicas increases. If the memory usage is less than this value, the number of pod replicas decreases.

+ * + * example: + *

80

*/ public Builder targetAverageUtilization(Integer targetAverageUtilization) { this.targetAverageUtilization = targetAverageUtilization; @@ -989,12 +1409,18 @@ public EgressHpaMemory build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class EgressResources extends TeaModel { - @NameInMap("Limits") - private java.util.Map < String, ? > limits; + @com.aliyun.core.annotation.NameInMap("Limits") + private java.util.Map limits; - @NameInMap("Requests") - private java.util.Map < String, ? > requests; + @com.aliyun.core.annotation.NameInMap("Requests") + private java.util.Map requests; private EgressResources(Builder builder) { this.limits = builder.limits; @@ -1012,33 +1438,47 @@ public static EgressResources create() { /** * @return limits */ - public java.util.Map < String, ? > getLimits() { + public java.util.Map getLimits() { return this.limits; } /** * @return requests */ - public java.util.Map < String, ? > getRequests() { + public java.util.Map getRequests() { return this.requests; } public static final class Builder { - private java.util.Map < String, ? > limits; - private java.util.Map < String, ? > requests; + private java.util.Map limits; + private java.util.Map requests; + + private Builder() { + } + + private Builder(EgressResources model) { + this.limits = model.limits; + this.requests = model.requests; + } /** - * The resources that are available to the egress gateway. + *

The resources that are available to the egress gateway.

+ * + * example: + *

{"cpu":"200m", "memory": "512Mi"}

*/ - public Builder limits(java.util.Map < String, ? > limits) { + public Builder limits(java.util.Map limits) { this.limits = limits; return this; } /** - * The resources that are requested by the egress gateway. + *

The resources that are requested by the egress gateway.

+ * + * example: + *

{"cpu":"100m", "memory": "256Mi"}

*/ - public Builder requests(java.util.Map < String, ? > requests) { + public Builder requests(java.util.Map requests) { this.requests = requests; return this; } @@ -1050,29 +1490,35 @@ public EgressResources build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class AdaptiveXdsConfiguration extends TeaModel { - @NameInMap("EgressAutoscaleEnabled") + @com.aliyun.core.annotation.NameInMap("EgressAutoscaleEnabled") private Boolean egressAutoscaleEnabled; - @NameInMap("EgressHpaCpu") + @com.aliyun.core.annotation.NameInMap("EgressHpaCpu") private EgressHpaCpu egressHpaCpu; - @NameInMap("EgressHpaMemory") + @com.aliyun.core.annotation.NameInMap("EgressHpaMemory") private EgressHpaMemory egressHpaMemory; - @NameInMap("EgressMaxReplica") + @com.aliyun.core.annotation.NameInMap("EgressMaxReplica") private Integer egressMaxReplica; - @NameInMap("EgressMinReplica") + @com.aliyun.core.annotation.NameInMap("EgressMinReplica") private Integer egressMinReplica; - @NameInMap("EgressReplicaCount") + @com.aliyun.core.annotation.NameInMap("EgressReplicaCount") private Integer egressReplicaCount; - @NameInMap("EgressResources") + @com.aliyun.core.annotation.NameInMap("EgressResources") private EgressResources egressResources; - @NameInMap("Enabled") + @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; private AdaptiveXdsConfiguration(Builder builder) { @@ -1160,8 +1606,25 @@ public static final class Builder { private EgressResources egressResources; private Boolean enabled; + private Builder() { + } + + private Builder(AdaptiveXdsConfiguration model) { + this.egressAutoscaleEnabled = model.egressAutoscaleEnabled; + this.egressHpaCpu = model.egressHpaCpu; + this.egressHpaMemory = model.egressHpaMemory; + this.egressMaxReplica = model.egressMaxReplica; + this.egressMinReplica = model.egressMinReplica; + this.egressReplicaCount = model.egressReplicaCount; + this.egressResources = model.egressResources; + this.enabled = model.enabled; + } + /** - * Indicates whether Horizontal Pod Autoscaling (HPA) is enabled for the egress gateway. + *

Indicates whether Horizontal Pod Autoscaling (HPA) is enabled for the egress gateway.

+ * + * example: + *

true

*/ public Builder egressAutoscaleEnabled(Boolean egressAutoscaleEnabled) { this.egressAutoscaleEnabled = egressAutoscaleEnabled; @@ -1169,7 +1632,7 @@ public Builder egressAutoscaleEnabled(Boolean egressAutoscaleEnabled) { } /** - * The CPU resource configurations of the egress gateway when HPA is enabled. + *

The CPU resource configurations of the egress gateway when HPA is enabled.

*/ public Builder egressHpaCpu(EgressHpaCpu egressHpaCpu) { this.egressHpaCpu = egressHpaCpu; @@ -1177,7 +1640,7 @@ public Builder egressHpaCpu(EgressHpaCpu egressHpaCpu) { } /** - * The memory resource configurations of the egress gateway when HPA is enabled. + *

The memory resource configurations of the egress gateway when HPA is enabled.

*/ public Builder egressHpaMemory(EgressHpaMemory egressHpaMemory) { this.egressHpaMemory = egressHpaMemory; @@ -1185,7 +1648,10 @@ public Builder egressHpaMemory(EgressHpaMemory egressHpaMemory) { } /** - * The maximum number of egress gateway pod replicas when HPA is enabled. + *

The maximum number of egress gateway pod replicas when HPA is enabled.

+ * + * example: + *

2

*/ public Builder egressMaxReplica(Integer egressMaxReplica) { this.egressMaxReplica = egressMaxReplica; @@ -1193,7 +1659,10 @@ public Builder egressMaxReplica(Integer egressMaxReplica) { } /** - * The minimum number of egress gateway pod replicas when HPA is enabled. + *

The minimum number of egress gateway pod replicas when HPA is enabled.

+ * + * example: + *

1

*/ public Builder egressMinReplica(Integer egressMinReplica) { this.egressMinReplica = egressMinReplica; @@ -1201,7 +1670,10 @@ public Builder egressMinReplica(Integer egressMinReplica) { } /** - * The number of the egress gateway pod replicas. + *

The number of the egress gateway pod replicas.

+ * + * example: + *

2

*/ public Builder egressReplicaCount(Integer egressReplicaCount) { this.egressReplicaCount = egressReplicaCount; @@ -1209,7 +1681,7 @@ public Builder egressReplicaCount(Integer egressReplicaCount) { } /** - * The resource configurations of the egress gateway that is used by adaptive xDS optimization. + *

The resource configurations of the egress gateway that is used by adaptive xDS optimization.

*/ public Builder egressResources(EgressResources egressResources) { this.egressResources = egressResources; @@ -1217,7 +1689,10 @@ public Builder egressResources(EgressResources egressResources) { } /** - * Indicates whether adaptive xDS optimization is enabled. + *

Indicates whether adaptive xDS optimization is enabled.

+ * + * example: + *

true

*/ public Builder enabled(Boolean enabled) { this.enabled = enabled; @@ -1231,8 +1706,14 @@ public AdaptiveXdsConfiguration build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class AutoDiagnosis extends TeaModel { - @NameInMap("AutoDiagnosisEnabled") + @com.aliyun.core.annotation.NameInMap("AutoDiagnosisEnabled") private Boolean autoDiagnosisEnabled; private AutoDiagnosis(Builder builder) { @@ -1257,8 +1738,18 @@ public Boolean getAutoDiagnosisEnabled() { public static final class Builder { private Boolean autoDiagnosisEnabled; + private Builder() { + } + + private Builder(AutoDiagnosis model) { + this.autoDiagnosisEnabled = model.autoDiagnosisEnabled; + } + /** - * Indicates whether automatic diagnostics is enabled for the ASM instance. If you enable this feature, the ASM instance is automatically diagnosed 5 minutes after you modify an Istio resource. + *

Indicates whether automatic diagnostics is enabled for the ASM instance. If you enable this feature, the ASM instance is automatically diagnosed 5 minutes after you modify an Istio resource.

+ * + * example: + *

true

*/ public Builder autoDiagnosisEnabled(Boolean autoDiagnosisEnabled) { this.autoDiagnosisEnabled = autoDiagnosisEnabled; @@ -1272,8 +1763,14 @@ public AutoDiagnosis build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class CRAggregationConfiguration extends TeaModel { - @NameInMap("Enabled") + @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; private CRAggregationConfiguration(Builder builder) { @@ -1298,8 +1795,18 @@ public Boolean getEnabled() { public static final class Builder { private Boolean enabled; + private Builder() { + } + + private Builder(CRAggregationConfiguration model) { + this.enabled = model.enabled; + } + /** - * Indicates whether Istio resources can be accessed by using the Kubernetes API on the data plane. + *

Indicates whether Istio resources can be accessed by using the Kubernetes API on the data plane.

+ * + * example: + *

true

*/ public Builder enabled(Boolean enabled) { this.enabled = enabled; @@ -1313,8 +1820,14 @@ public CRAggregationConfiguration build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class IstioCRHistory extends TeaModel { - @NameInMap("EnableHistory") + @com.aliyun.core.annotation.NameInMap("EnableHistory") private Boolean enableHistory; private IstioCRHistory(Builder builder) { @@ -1339,12 +1852,22 @@ public Boolean getEnableHistory() { public static final class Builder { private Boolean enableHistory; + private Builder() { + } + + private Builder(IstioCRHistory model) { + this.enableHistory = model.enableHistory; + } + /** - * Indicates whether the rollback feature for Istio resources is enabled. Valid values: - *

+ *

Indicates whether the rollback feature for Istio resources is enabled. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder enableHistory(Boolean enableHistory) { this.enableHistory = enableHistory; @@ -1358,9 +1881,93 @@ public IstioCRHistory build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ + public static class IstiodExtraConfiguration extends TeaModel { + @com.aliyun.core.annotation.NameInMap("LabelsForOffloadedWorkloads") + private String labelsForOffloadedWorkloads; + + @com.aliyun.core.annotation.NameInMap("PilotEnableQuicListeners") + private Boolean pilotEnableQuicListeners; + + private IstiodExtraConfiguration(Builder builder) { + this.labelsForOffloadedWorkloads = builder.labelsForOffloadedWorkloads; + this.pilotEnableQuicListeners = builder.pilotEnableQuicListeners; + } + + public static Builder builder() { + return new Builder(); + } + + public static IstiodExtraConfiguration create() { + return builder().build(); + } + + /** + * @return labelsForOffloadedWorkloads + */ + public String getLabelsForOffloadedWorkloads() { + return this.labelsForOffloadedWorkloads; + } + + /** + * @return pilotEnableQuicListeners + */ + public Boolean getPilotEnableQuicListeners() { + return this.pilotEnableQuicListeners; + } + + public static final class Builder { + private String labelsForOffloadedWorkloads; + private Boolean pilotEnableQuicListeners; + + private Builder() { + } + + private Builder(IstiodExtraConfiguration model) { + this.labelsForOffloadedWorkloads = model.labelsForOffloadedWorkloads; + this.pilotEnableQuicListeners = model.pilotEnableQuicListeners; + } + + /** + *

The labels for isolated workloads.

+ * + * example: + *

name=xx,region=xx

+ */ + public Builder labelsForOffloadedWorkloads(String labelsForOffloadedWorkloads) { + this.labelsForOffloadedWorkloads = labelsForOffloadedWorkloads; + return this; + } + + /** + * PilotEnableQuicListeners. + */ + public Builder pilotEnableQuicListeners(Boolean pilotEnableQuicListeners) { + this.pilotEnableQuicListeners = pilotEnableQuicListeners; + return this; + } + + public IstiodExtraConfiguration build() { + return new IstiodExtraConfiguration(this); + } + + } + + } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class Exec extends TeaModel { - @NameInMap("command") - private java.util.List < String > command; + @com.aliyun.core.annotation.NameInMap("command") + private java.util.List command; private Exec(Builder builder) { this.command = builder.command; @@ -1377,17 +1984,24 @@ public static Exec create() { /** * @return command */ - public java.util.List < String > getCommand() { + public java.util.List getCommand() { return this.command; } public static final class Builder { - private java.util.List < String > command; + private java.util.List command; + + private Builder() { + } + + private Builder(Exec model) { + this.command = model.command; + } /** - * The executed commands. The value is a string that consists of JSON arrays. + *

The executed commands. The value is a string that consists of JSON arrays.

*/ - public Builder command(java.util.List < String > command) { + public Builder command(java.util.List command) { this.command = command; return this; } @@ -1399,11 +2013,17 @@ public Exec build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class HttpHeaders extends TeaModel { - @NameInMap("name") + @com.aliyun.core.annotation.NameInMap("name") private String name; - @NameInMap("value") + @com.aliyun.core.annotation.NameInMap("value") private String value; private HttpHeaders(Builder builder) { @@ -1437,8 +2057,19 @@ public static final class Builder { private String name; private String value; + private Builder() { + } + + private Builder(HttpHeaders model) { + this.name = model.name; + this.value = model.value; + } + /** - * The name of the HTTP request header. + *

The name of the HTTP request header.

+ * + * example: + *

key

*/ public Builder name(String name) { this.name = name; @@ -1446,7 +2077,10 @@ public Builder name(String name) { } /** - * The value of the HTTP request header field. + *

The value of the HTTP request header.

+ * + * example: + *

value

*/ public Builder value(String value) { this.value = value; @@ -1460,17 +2094,23 @@ public HttpHeaders build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class HttpGet extends TeaModel { - @NameInMap("host") + @com.aliyun.core.annotation.NameInMap("host") private String host; - @NameInMap("httpHeaders") - private java.util.List < HttpHeaders> httpHeaders; + @com.aliyun.core.annotation.NameInMap("httpHeaders") + private java.util.List httpHeaders; - @NameInMap("port") + @com.aliyun.core.annotation.NameInMap("port") private String port; - @NameInMap("scheme") + @com.aliyun.core.annotation.NameInMap("scheme") private String scheme; private HttpGet(Builder builder) { @@ -1498,7 +2138,7 @@ public String getHost() { /** * @return httpHeaders */ - public java.util.List < HttpHeaders> getHttpHeaders() { + public java.util.List getHttpHeaders() { return this.httpHeaders; } @@ -1518,12 +2158,25 @@ public String getScheme() { public static final class Builder { private String host; - private java.util.List < HttpHeaders> httpHeaders; + private java.util.List httpHeaders; private String port; private String scheme; + private Builder() { + } + + private Builder(HttpGet model) { + this.host = model.host; + this.httpHeaders = model.httpHeaders; + this.port = model.port; + this.scheme = model.scheme; + } + /** - * The URL of the request. + *

The URL of the request.

+ * + * example: + *

127.xx.xx.1

*/ public Builder host(String host) { this.host = host; @@ -1531,15 +2184,18 @@ public Builder host(String host) { } /** - * The HTTP request headers. + *

The HTTP request headers.

*/ - public Builder httpHeaders(java.util.List < HttpHeaders> httpHeaders) { + public Builder httpHeaders(java.util.List httpHeaders) { this.httpHeaders = httpHeaders; return this; } /** - * The port number of the request. + *

The port number of the request.

+ * + * example: + *

80

*/ public Builder port(String port) { this.port = port; @@ -1547,7 +2203,10 @@ public Builder port(String port) { } /** - * The request method. Valid values: `http` and `https`. + *

The request method. Valid values: http and https.

+ * + * example: + *

http

*/ public Builder scheme(String scheme) { this.scheme = scheme; @@ -1561,11 +2220,17 @@ public HttpGet build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class TcpSocket extends TeaModel { - @NameInMap("host") + @com.aliyun.core.annotation.NameInMap("host") private String host; - @NameInMap("port") + @com.aliyun.core.annotation.NameInMap("port") private String port; private TcpSocket(Builder builder) { @@ -1599,8 +2264,19 @@ public static final class Builder { private String host; private String port; + private Builder() { + } + + private Builder(TcpSocket model) { + this.host = model.host; + this.port = model.port; + } + /** - * The URL of the TCP socket request. + *

The URL of the TCP socket request.

+ * + * example: + *

127.xx.xx.1

*/ public Builder host(String host) { this.host = host; @@ -1608,7 +2284,10 @@ public Builder host(String host) { } /** - * The port number of the TCP socket request. + *

The port number of the TCP socket request.

+ * + * example: + *

888

*/ public Builder port(String port) { this.port = port; @@ -1622,14 +2301,20 @@ public TcpSocket build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class PostStart extends TeaModel { - @NameInMap("exec") + @com.aliyun.core.annotation.NameInMap("exec") private Exec exec; - @NameInMap("httpGet") + @com.aliyun.core.annotation.NameInMap("httpGet") private HttpGet httpGet; - @NameInMap("tcpSocket") + @com.aliyun.core.annotation.NameInMap("tcpSocket") private TcpSocket tcpSocket; private PostStart(Builder builder) { @@ -1672,8 +2357,17 @@ public static final class Builder { private HttpGet httpGet; private TcpSocket tcpSocket; + private Builder() { + } + + private Builder(PostStart model) { + this.exec = model.exec; + this.httpGet = model.httpGet; + this.tcpSocket = model.tcpSocket; + } + /** - * The post-start script. + *

The post-start script.

*/ public Builder exec(Exec exec) { this.exec = exec; @@ -1681,7 +2375,7 @@ public Builder exec(Exec exec) { } /** - * The HTTP GET request that is sent before the instance stops. + *

The HTTP GET request that is sent before the instance stops.

*/ public Builder httpGet(HttpGet httpGet) { this.httpGet = httpGet; @@ -1689,7 +2383,7 @@ public Builder httpGet(HttpGet httpGet) { } /** - * The TCP socket request that is sent. + *

The TCP socket request that is sent.

*/ public Builder tcpSocket(TcpSocket tcpSocket) { this.tcpSocket = tcpSocket; @@ -1703,9 +2397,15 @@ public PostStart build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class PreStopExec extends TeaModel { - @NameInMap("command") - private java.util.List < String > command; + @com.aliyun.core.annotation.NameInMap("command") + private java.util.List command; private PreStopExec(Builder builder) { this.command = builder.command; @@ -1722,17 +2422,24 @@ public static PreStopExec create() { /** * @return command */ - public java.util.List < String > getCommand() { + public java.util.List getCommand() { return this.command; } public static final class Builder { - private java.util.List < String > command; + private java.util.List command; + + private Builder() { + } + + private Builder(PreStopExec model) { + this.command = model.command; + } /** - * The executed commands. The value is a string that consists of JSON arrays. + *

The executed commands. The value is a string that consists of JSON arrays.

*/ - public Builder command(java.util.List < String > command) { + public Builder command(java.util.List command) { this.command = command; return this; } @@ -1744,11 +2451,17 @@ public PreStopExec build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class HttpGetHttpHeaders extends TeaModel { - @NameInMap("name") + @com.aliyun.core.annotation.NameInMap("name") private String name; - @NameInMap("value") + @com.aliyun.core.annotation.NameInMap("value") private String value; private HttpGetHttpHeaders(Builder builder) { @@ -1782,8 +2495,19 @@ public static final class Builder { private String name; private String value; + private Builder() { + } + + private Builder(HttpGetHttpHeaders model) { + this.name = model.name; + this.value = model.value; + } + /** - * The name of the HTTP request header. + *

The name of the HTTP request header.

+ * + * example: + *

key

*/ public Builder name(String name) { this.name = name; @@ -1791,7 +2515,10 @@ public Builder name(String name) { } /** - * The value of the HTTP request header field. + *

The value of the HTTP request header.

+ * + * example: + *

value

*/ public Builder value(String value) { this.value = value; @@ -1805,17 +2532,23 @@ public HttpGetHttpHeaders build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class PreStopHttpGet extends TeaModel { - @NameInMap("host") + @com.aliyun.core.annotation.NameInMap("host") private String host; - @NameInMap("httpHeaders") - private java.util.List < HttpGetHttpHeaders> httpHeaders; + @com.aliyun.core.annotation.NameInMap("httpHeaders") + private java.util.List httpHeaders; - @NameInMap("port") + @com.aliyun.core.annotation.NameInMap("port") private String port; - @NameInMap("scheme") + @com.aliyun.core.annotation.NameInMap("scheme") private String scheme; private PreStopHttpGet(Builder builder) { @@ -1843,7 +2576,7 @@ public String getHost() { /** * @return httpHeaders */ - public java.util.List < HttpGetHttpHeaders> getHttpHeaders() { + public java.util.List getHttpHeaders() { return this.httpHeaders; } @@ -1863,12 +2596,25 @@ public String getScheme() { public static final class Builder { private String host; - private java.util.List < HttpGetHttpHeaders> httpHeaders; + private java.util.List httpHeaders; private String port; private String scheme; + private Builder() { + } + + private Builder(PreStopHttpGet model) { + this.host = model.host; + this.httpHeaders = model.httpHeaders; + this.port = model.port; + this.scheme = model.scheme; + } + /** - * The URL of the request. + *

The URL of the request.

+ * + * example: + *

127.xx.xx.1

*/ public Builder host(String host) { this.host = host; @@ -1876,15 +2622,18 @@ public Builder host(String host) { } /** - * The HTTP request headers. + *

The HTTP request headers.

*/ - public Builder httpHeaders(java.util.List < HttpGetHttpHeaders> httpHeaders) { + public Builder httpHeaders(java.util.List httpHeaders) { this.httpHeaders = httpHeaders; return this; } /** - * The port number of the request. + *

The port number of the request.

+ * + * example: + *

80

*/ public Builder port(String port) { this.port = port; @@ -1892,7 +2641,10 @@ public Builder port(String port) { } /** - * The request method. Valid values: `http` and `https`. + *

The request method. Valid values: http and https.

+ * + * example: + *

http

*/ public Builder scheme(String scheme) { this.scheme = scheme; @@ -1906,11 +2658,17 @@ public PreStopHttpGet build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class PreStopTcpSocket extends TeaModel { - @NameInMap("host") + @com.aliyun.core.annotation.NameInMap("host") private String host; - @NameInMap("port") + @com.aliyun.core.annotation.NameInMap("port") private String port; private PreStopTcpSocket(Builder builder) { @@ -1944,8 +2702,19 @@ public static final class Builder { private String host; private String port; + private Builder() { + } + + private Builder(PreStopTcpSocket model) { + this.host = model.host; + this.port = model.port; + } + /** - * The URL of the request. + *

The URL of the request.

+ * + * example: + *

127.xx.xx.1

*/ public Builder host(String host) { this.host = host; @@ -1953,7 +2722,10 @@ public Builder host(String host) { } /** - * The port number of the request. + *

The port number of the request.

+ * + * example: + *

888

*/ public Builder port(String port) { this.port = port; @@ -1967,14 +2739,20 @@ public PreStopTcpSocket build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class PreStop extends TeaModel { - @NameInMap("exec") + @com.aliyun.core.annotation.NameInMap("exec") private PreStopExec exec; - @NameInMap("httpGet") + @com.aliyun.core.annotation.NameInMap("httpGet") private PreStopHttpGet httpGet; - @NameInMap("tcpSocket") + @com.aliyun.core.annotation.NameInMap("tcpSocket") private PreStopTcpSocket tcpSocket; private PreStop(Builder builder) { @@ -2017,8 +2795,17 @@ public static final class Builder { private PreStopHttpGet httpGet; private PreStopTcpSocket tcpSocket; + private Builder() { + } + + private Builder(PreStop model) { + this.exec = model.exec; + this.httpGet = model.httpGet; + this.tcpSocket = model.tcpSocket; + } + /** - * The pre-close script. + *

The pre-close script.

*/ public Builder exec(PreStopExec exec) { this.exec = exec; @@ -2026,7 +2813,7 @@ public Builder exec(PreStopExec exec) { } /** - * The HTTP GET request that is sent before the instance stops. + *

The HTTP GET request that is sent before the instance stops.

*/ public Builder httpGet(PreStopHttpGet httpGet) { this.httpGet = httpGet; @@ -2034,7 +2821,7 @@ public Builder httpGet(PreStopHttpGet httpGet) { } /** - * The TCP socket request that is sent. + *

The TCP socket request that is sent.

*/ public Builder tcpSocket(PreStopTcpSocket tcpSocket) { this.tcpSocket = tcpSocket; @@ -2048,11 +2835,17 @@ public PreStop build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class Lifecycle extends TeaModel { - @NameInMap("postStart") + @com.aliyun.core.annotation.NameInMap("postStart") private PostStart postStart; - @NameInMap("preStop") + @com.aliyun.core.annotation.NameInMap("preStop") private PreStop preStop; private Lifecycle(Builder builder) { @@ -2086,8 +2879,16 @@ public static final class Builder { private PostStart postStart; private PreStop preStop; + private Builder() { + } + + private Builder(Lifecycle model) { + this.postStart = model.postStart; + this.preStop = model.preStop; + } + /** - * The post-start parameters. + *

The post-start parameters.

*/ public Builder postStart(PostStart postStart) { this.postStart = postStart; @@ -2095,7 +2896,7 @@ public Builder postStart(PostStart postStart) { } /** - * The pre-close parameters. + *

The pre-close parameters.

*/ public Builder preStop(PreStop preStop) { this.preStop = preStop; @@ -2109,11 +2910,17 @@ public Lifecycle build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class MultiBuffer extends TeaModel { - @NameInMap("Enabled") + @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; - @NameInMap("PollDelay") + @com.aliyun.core.annotation.NameInMap("PollDelay") private String pollDelay; private MultiBuffer(Builder builder) { @@ -2147,12 +2954,23 @@ public static final class Builder { private Boolean enabled; private String pollDelay; + private Builder() { + } + + private Builder(MultiBuffer model) { + this.enabled = model.enabled; + this.pollDelay = model.pollDelay; + } + /** - * Indicates whether MulitiBuffer-based TLS acceleration is enabled. Valid values: - *

+ *

Indicates whether MultiBuffer-based TLS acceleration is enabled. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder enabled(Boolean enabled) { this.enabled = enabled; @@ -2160,7 +2978,10 @@ public Builder enabled(Boolean enabled) { } /** - * The pull-request latency. + *

The pull-request latency.

+ * + * example: + *

0.02s

*/ public Builder pollDelay(String pollDelay) { this.pollDelay = pollDelay; @@ -2174,11 +2995,17 @@ public MultiBuffer build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class NFDConfiguration extends TeaModel { - @NameInMap("Enabled") + @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; - @NameInMap("NFDLabelPruned") + @com.aliyun.core.annotation.NameInMap("NFDLabelPruned") private Boolean NFDLabelPruned; private NFDConfiguration(Builder builder) { @@ -2212,8 +3039,19 @@ public static final class Builder { private Boolean enabled; private Boolean NFDLabelPruned; + private Builder() { + } + + private Builder(NFDConfiguration model) { + this.enabled = model.enabled; + this.NFDLabelPruned = model.NFDLabelPruned; + } + /** - * Indicates whether NFD is enabled. + *

Indicates whether NFD is enabled.

+ * + * example: + *

true

*/ public Builder enabled(Boolean enabled) { this.enabled = enabled; @@ -2221,7 +3059,10 @@ public Builder enabled(Boolean enabled) { } /** - * Indicates whether feature labels on nodes are cleared when NFD is disabled. + *

Indicates whether feature labels on nodes are cleared when NFD is disabled.

+ * + * example: + *

true

*/ public Builder NFDLabelPruned(Boolean NFDLabelPruned) { this.NFDLabelPruned = NFDLabelPruned; @@ -2235,8 +3076,14 @@ public NFDConfiguration build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class OPAScopeInjection extends TeaModel { - @NameInMap("OPAScopeInjected") + @com.aliyun.core.annotation.NameInMap("OPAScopeInjected") private Boolean OPAScopeInjected; private OPAScopeInjection(Builder builder) { @@ -2261,12 +3108,22 @@ public Boolean getOPAScopeInjected() { public static final class Builder { private Boolean OPAScopeInjected; + private Builder() { + } + + private Builder(OPAScopeInjection model) { + this.OPAScopeInjected = model.OPAScopeInjected; + } + /** - * Indicates whether the feature of controlling the OPA injection scope is enabled. Valid values: - *

+ *

Indicates whether the feature of controlling the OPA injection scope is enabled. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder OPAScopeInjected(Boolean OPAScopeInjected) { this.OPAScopeInjected = OPAScopeInjected; @@ -2280,11 +3137,71 @@ public OPAScopeInjection build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ + public static class Playground extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Scene") + private String scene; + + private Playground(Builder builder) { + this.scene = builder.scene; + } + + public static Builder builder() { + return new Builder(); + } + + public static Playground create() { + return builder().build(); + } + + /** + * @return scene + */ + public String getScene() { + return this.scene; + } + + public static final class Builder { + private String scene; + + private Builder() { + } + + private Builder(Playground model) { + this.scene = model.scene; + } + + /** + * Scene. + */ + public Builder scene(String scene) { + this.scene = scene; + return this; + } + + public Playground build() { + return new Playground(this); + } + + } + + } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class SidecarProxyInitResourceLimit extends TeaModel { - @NameInMap("ResourceCPULimit") + @com.aliyun.core.annotation.NameInMap("ResourceCPULimit") private String resourceCPULimit; - @NameInMap("ResourceMemoryLimit") + @com.aliyun.core.annotation.NameInMap("ResourceMemoryLimit") private String resourceMemoryLimit; private SidecarProxyInitResourceLimit(Builder builder) { @@ -2318,8 +3235,19 @@ public static final class Builder { private String resourceCPULimit; private String resourceMemoryLimit; + private Builder() { + } + + private Builder(SidecarProxyInitResourceLimit model) { + this.resourceCPULimit = model.resourceCPULimit; + this.resourceMemoryLimit = model.resourceMemoryLimit; + } + /** - * The maximum number of CPU cores that are available to the istio-init container. + *

The maximum number of CPU cores that are available to the istio-init container.

+ * + * example: + *

2000m

*/ public Builder resourceCPULimit(String resourceCPULimit) { this.resourceCPULimit = resourceCPULimit; @@ -2327,7 +3255,10 @@ public Builder resourceCPULimit(String resourceCPULimit) { } /** - * The maximum size of the memory that is available to the istio-init container. + *

The maximum size of the memory that is available to the istio-init container.

+ * + * example: + *

1024Mi

*/ public Builder resourceMemoryLimit(String resourceMemoryLimit) { this.resourceMemoryLimit = resourceMemoryLimit; @@ -2341,11 +3272,17 @@ public SidecarProxyInitResourceLimit build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class SidecarProxyInitResourceRequest extends TeaModel { - @NameInMap("ResourceCPURequest") + @com.aliyun.core.annotation.NameInMap("ResourceCPURequest") private String resourceCPURequest; - @NameInMap("ResourceMemoryRequest") + @com.aliyun.core.annotation.NameInMap("ResourceMemoryRequest") private String resourceMemoryRequest; private SidecarProxyInitResourceRequest(Builder builder) { @@ -2379,8 +3316,19 @@ public static final class Builder { private String resourceCPURequest; private String resourceMemoryRequest; + private Builder() { + } + + private Builder(SidecarProxyInitResourceRequest model) { + this.resourceCPURequest = model.resourceCPURequest; + this.resourceMemoryRequest = model.resourceMemoryRequest; + } + /** - * The number of CPU cores that are requested by the istio-init container. + *

The number of CPU cores that are requested by the istio-init container.

+ * + * example: + *

10m

*/ public Builder resourceCPURequest(String resourceCPURequest) { this.resourceCPURequest = resourceCPURequest; @@ -2388,7 +3336,10 @@ public Builder resourceCPURequest(String resourceCPURequest) { } /** - * The size of the memory that is requested by the istio-init container. + *

The size of the memory that is requested by the istio-init container.

+ * + * example: + *

10Mi

*/ public Builder resourceMemoryRequest(String resourceMemoryRequest) { this.resourceMemoryRequest = resourceMemoryRequest; @@ -2402,47 +3353,59 @@ public SidecarProxyInitResourceRequest build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class ExtraConfiguration extends TeaModel { - @NameInMap("AccessLogExtraConf") + @com.aliyun.core.annotation.NameInMap("AccessLogExtraConf") private AccessLogExtraConf accessLogExtraConf; - @NameInMap("AdaptiveXdsConfiguration") + @com.aliyun.core.annotation.NameInMap("AdaptiveXdsConfiguration") private AdaptiveXdsConfiguration adaptiveXdsConfiguration; - @NameInMap("AutoDiagnosis") + @com.aliyun.core.annotation.NameInMap("AutoDiagnosis") private AutoDiagnosis autoDiagnosis; - @NameInMap("CRAggregationConfiguration") + @com.aliyun.core.annotation.NameInMap("CRAggregationConfiguration") private CRAggregationConfiguration CRAggregationConfiguration; - @NameInMap("CRAggregationEnabled") + @com.aliyun.core.annotation.NameInMap("CRAggregationEnabled") private Boolean CRAggregationEnabled; - @NameInMap("DiscoverySelectors") - private java.util.List < java.util.Map> discoverySelectors; + @com.aliyun.core.annotation.NameInMap("DiscoverySelectors") + private java.util.List> discoverySelectors; - @NameInMap("IstioCRHistory") + @com.aliyun.core.annotation.NameInMap("IstioCRHistory") private IstioCRHistory istioCRHistory; - @NameInMap("Lifecycle") + @com.aliyun.core.annotation.NameInMap("IstiodExtraConfiguration") + private IstiodExtraConfiguration istiodExtraConfiguration; + + @com.aliyun.core.annotation.NameInMap("Lifecycle") private Lifecycle lifecycle; - @NameInMap("MultiBuffer") + @com.aliyun.core.annotation.NameInMap("MultiBuffer") private MultiBuffer multiBuffer; - @NameInMap("NFDConfiguration") + @com.aliyun.core.annotation.NameInMap("NFDConfiguration") private NFDConfiguration NFDConfiguration; - @NameInMap("OPAScopeInjection") + @com.aliyun.core.annotation.NameInMap("OPAScopeInjection") private OPAScopeInjection OPAScopeInjection; - @NameInMap("SidecarProxyInitResourceLimit") + @com.aliyun.core.annotation.NameInMap("Playground") + private Playground playground; + + @com.aliyun.core.annotation.NameInMap("SidecarProxyInitResourceLimit") private SidecarProxyInitResourceLimit sidecarProxyInitResourceLimit; - @NameInMap("SidecarProxyInitResourceRequest") + @com.aliyun.core.annotation.NameInMap("SidecarProxyInitResourceRequest") private SidecarProxyInitResourceRequest sidecarProxyInitResourceRequest; - @NameInMap("TerminationDrainDuration") + @com.aliyun.core.annotation.NameInMap("TerminationDrainDuration") private String terminationDrainDuration; private ExtraConfiguration(Builder builder) { @@ -2453,10 +3416,12 @@ private ExtraConfiguration(Builder builder) { this.CRAggregationEnabled = builder.CRAggregationEnabled; this.discoverySelectors = builder.discoverySelectors; this.istioCRHistory = builder.istioCRHistory; + this.istiodExtraConfiguration = builder.istiodExtraConfiguration; this.lifecycle = builder.lifecycle; this.multiBuffer = builder.multiBuffer; this.NFDConfiguration = builder.NFDConfiguration; this.OPAScopeInjection = builder.OPAScopeInjection; + this.playground = builder.playground; this.sidecarProxyInitResourceLimit = builder.sidecarProxyInitResourceLimit; this.sidecarProxyInitResourceRequest = builder.sidecarProxyInitResourceRequest; this.terminationDrainDuration = builder.terminationDrainDuration; @@ -2508,7 +3473,7 @@ public Boolean getCRAggregationEnabled() { /** * @return discoverySelectors */ - public java.util.List < java.util.Map> getDiscoverySelectors() { + public java.util.List> getDiscoverySelectors() { return this.discoverySelectors; } @@ -2519,6 +3484,13 @@ public IstioCRHistory getIstioCRHistory() { return this.istioCRHistory; } + /** + * @return istiodExtraConfiguration + */ + public IstiodExtraConfiguration getIstiodExtraConfiguration() { + return this.istiodExtraConfiguration; + } + /** * @return lifecycle */ @@ -2547,6 +3519,13 @@ public OPAScopeInjection getOPAScopeInjection() { return this.OPAScopeInjection; } + /** + * @return playground + */ + public Playground getPlayground() { + return this.playground; + } + /** * @return sidecarProxyInitResourceLimit */ @@ -2574,18 +3553,42 @@ public static final class Builder { private AutoDiagnosis autoDiagnosis; private CRAggregationConfiguration CRAggregationConfiguration; private Boolean CRAggregationEnabled; - private java.util.List < java.util.Map> discoverySelectors; + private java.util.List> discoverySelectors; private IstioCRHistory istioCRHistory; + private IstiodExtraConfiguration istiodExtraConfiguration; private Lifecycle lifecycle; private MultiBuffer multiBuffer; private NFDConfiguration NFDConfiguration; private OPAScopeInjection OPAScopeInjection; + private Playground playground; private SidecarProxyInitResourceLimit sidecarProxyInitResourceLimit; private SidecarProxyInitResourceRequest sidecarProxyInitResourceRequest; private String terminationDrainDuration; + private Builder() { + } + + private Builder(ExtraConfiguration model) { + this.accessLogExtraConf = model.accessLogExtraConf; + this.adaptiveXdsConfiguration = model.adaptiveXdsConfiguration; + this.autoDiagnosis = model.autoDiagnosis; + this.CRAggregationConfiguration = model.CRAggregationConfiguration; + this.CRAggregationEnabled = model.CRAggregationEnabled; + this.discoverySelectors = model.discoverySelectors; + this.istioCRHistory = model.istioCRHistory; + this.istiodExtraConfiguration = model.istiodExtraConfiguration; + this.lifecycle = model.lifecycle; + this.multiBuffer = model.multiBuffer; + this.NFDConfiguration = model.NFDConfiguration; + this.OPAScopeInjection = model.OPAScopeInjection; + this.playground = model.playground; + this.sidecarProxyInitResourceLimit = model.sidecarProxyInitResourceLimit; + this.sidecarProxyInitResourceRequest = model.sidecarProxyInitResourceRequest; + this.terminationDrainDuration = model.terminationDrainDuration; + } + /** - * The configurations of additional features for access log collection. + *

The configurations of additional features for access log collection.

*/ public Builder accessLogExtraConf(AccessLogExtraConf accessLogExtraConf) { this.accessLogExtraConf = accessLogExtraConf; @@ -2593,7 +3596,7 @@ public Builder accessLogExtraConf(AccessLogExtraConf accessLogExtraConf) { } /** - * The configurations of adaptive xDS optimization. + *

The configurations of adaptive xDS optimization.

*/ public Builder adaptiveXdsConfiguration(AdaptiveXdsConfiguration adaptiveXdsConfiguration) { this.adaptiveXdsConfiguration = adaptiveXdsConfiguration; @@ -2601,7 +3604,7 @@ public Builder adaptiveXdsConfiguration(AdaptiveXdsConfiguration adaptiveXdsConf } /** - * The configurations of automatic diagnostics for the ASM instance. + *

The configurations of automatic diagnostics for the ASM instance.

*/ public Builder autoDiagnosis(AutoDiagnosis autoDiagnosis) { this.autoDiagnosis = autoDiagnosis; @@ -2609,7 +3612,7 @@ public Builder autoDiagnosis(AutoDiagnosis autoDiagnosis) { } /** - * Access to Istio resources by using the Kubernetes API on the data plane. + *

Access to Istio resources by using the Kubernetes API on the data plane.

*/ public Builder CRAggregationConfiguration(CRAggregationConfiguration CRAggregationConfiguration) { this.CRAggregationConfiguration = CRAggregationConfiguration; @@ -2617,11 +3620,14 @@ public Builder CRAggregationConfiguration(CRAggregationConfiguration CRAggregati } /** - * Indicates whether the Kubernetes API of clusters on the data plane can be used to access Istio resources. Valid values: - *

+ *

Indicates whether the Kubernetes API of clusters on the data plane can be used to access Istio resources. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder CRAggregationEnabled(Boolean CRAggregationEnabled) { this.CRAggregationEnabled = CRAggregationEnabled; @@ -2629,15 +3635,15 @@ public Builder CRAggregationEnabled(Boolean CRAggregationEnabled) { } /** - * The label selectors used to specify the namespaces of the clusters on the data plane. The control plane discovers and processes only application services in the specified namespaces. + *

The label selectors used to specify the namespaces of the clusters on the data plane. The control plane discovers and processes only application services in the specified namespaces.

*/ - public Builder discoverySelectors(java.util.List < java.util.Map> discoverySelectors) { + public Builder discoverySelectors(java.util.List> discoverySelectors) { this.discoverySelectors = discoverySelectors; return this; } /** - * The configurations of the rollback feature for Istio resources. + *

The configurations of the rollback feature for Istio resources.

*/ public Builder istioCRHistory(IstioCRHistory istioCRHistory) { this.istioCRHistory = istioCRHistory; @@ -2645,7 +3651,15 @@ public Builder istioCRHistory(IstioCRHistory istioCRHistory) { } /** - * The lifecycle of Istio Proxy. + *

Additional configurations for Istiod.

+ */ + public Builder istiodExtraConfiguration(IstiodExtraConfiguration istiodExtraConfiguration) { + this.istiodExtraConfiguration = istiodExtraConfiguration; + return this; + } + + /** + *

The lifecycle of Istio Proxy.

*/ public Builder lifecycle(Lifecycle lifecycle) { this.lifecycle = lifecycle; @@ -2653,7 +3667,7 @@ public Builder lifecycle(Lifecycle lifecycle) { } /** - * The information about Transport Layer Security (TLS) acceleration based on MulitiBuffer. + *

The information about Transport Layer Security (TLS) acceleration based on MultiBuffer.

*/ public Builder multiBuffer(MultiBuffer multiBuffer) { this.multiBuffer = multiBuffer; @@ -2661,7 +3675,7 @@ public Builder multiBuffer(MultiBuffer multiBuffer) { } /** - * The configurations of Node Feature Discovery (NFD). + *

The configurations of Node Feature Discovery (NFD).

*/ public Builder NFDConfiguration(NFDConfiguration NFDConfiguration) { this.NFDConfiguration = NFDConfiguration; @@ -2669,7 +3683,7 @@ public Builder NFDConfiguration(NFDConfiguration NFDConfiguration) { } /** - * The configurations of the feature of controlling the OPA injection scope. + *

The configurations of the feature of controlling the OPA injection scope.

*/ public Builder OPAScopeInjection(OPAScopeInjection OPAScopeInjection) { this.OPAScopeInjection = OPAScopeInjection; @@ -2677,7 +3691,15 @@ public Builder OPAScopeInjection(OPAScopeInjection OPAScopeInjection) { } /** - * The resource limits on the istio-init container. + * Playground. + */ + public Builder playground(Playground playground) { + this.playground = playground; + return this; + } + + /** + *

The resource limits on the istio-init container.

*/ public Builder sidecarProxyInitResourceLimit(SidecarProxyInitResourceLimit sidecarProxyInitResourceLimit) { this.sidecarProxyInitResourceLimit = sidecarProxyInitResourceLimit; @@ -2685,7 +3707,7 @@ public Builder sidecarProxyInitResourceLimit(SidecarProxyInitResourceLimit sidec } /** - * The resources that are required by the istio-init container. + *

The resources that are required by the istio-init container.

*/ public Builder sidecarProxyInitResourceRequest(SidecarProxyInitResourceRequest sidecarProxyInitResourceRequest) { this.sidecarProxyInitResourceRequest = sidecarProxyInitResourceRequest; @@ -2693,7 +3715,10 @@ public Builder sidecarProxyInitResourceRequest(SidecarProxyInitResourceRequest s } /** - * The maximum period of time that Istio Proxy waits for a request to end. + *

The maximum period of time that Istio Proxy waits for a request to end.

+ * + * example: + *

5s

*/ public Builder terminationDrainDuration(String terminationDrainDuration) { this.terminationDrainDuration = terminationDrainDuration; @@ -2707,8 +3732,14 @@ public ExtraConfiguration build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class K8sNewAPIsSupport extends TeaModel { - @NameInMap("GatewayAPIEnabled") + @com.aliyun.core.annotation.NameInMap("GatewayAPIEnabled") private Boolean gatewayAPIEnabled; private K8sNewAPIsSupport(Builder builder) { @@ -2733,12 +3764,22 @@ public Boolean getGatewayAPIEnabled() { public static final class Builder { private Boolean gatewayAPIEnabled; + private Builder() { + } + + private Builder(K8sNewAPIsSupport model) { + this.gatewayAPIEnabled = model.gatewayAPIEnabled; + } + /** - * Indicates whether Gateway API is enabled. Valid values: - *

+ *

Indicates whether Gateway API is enabled. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder gatewayAPIEnabled(Boolean gatewayAPIEnabled) { this.gatewayAPIEnabled = gatewayAPIEnabled; @@ -2752,11 +3793,17 @@ public K8sNewAPIsSupport build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class Kiali extends TeaModel { - @NameInMap("Enabled") + @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; - @NameInMap("Url") + @com.aliyun.core.annotation.NameInMap("Url") private String url; private Kiali(Builder builder) { @@ -2790,12 +3837,23 @@ public static final class Builder { private Boolean enabled; private String url; + private Builder() { + } + + private Builder(Kiali model) { + this.enabled = model.enabled; + this.url = model.url; + } + /** - * Indicates whether mesh topology is enabled. Mesh topology can be enabled only when Prometheus monitoring is enabled. If Prometheus monitoring is disabled, you must set this parameter to `false`.`` Valid values: - *

+ *

Indicates whether mesh topology is enabled. Mesh topology can be enabled only when Prometheus monitoring is enabled. If Prometheus monitoring is disabled, you must set this parameter to false.`` Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder enabled(Boolean enabled) { this.enabled = enabled; @@ -2803,7 +3861,10 @@ public Builder enabled(Boolean enabled) { } /** - * The endpoint of the mesh topology service. + *

The endpoint of the mesh topology service.

+ * + * example: + *

http://1.2.**.**:20001

*/ public Builder url(String url) { this.url = url; @@ -2817,20 +3878,30 @@ public Kiali build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class LocalityLB extends TeaModel { - @NameInMap("Distribute") - private java.util.Map < String, ? > distribute; + @com.aliyun.core.annotation.NameInMap("Distribute") + private java.util.Map distribute; - @NameInMap("Enabled") + @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; - @NameInMap("Failover") - private java.util.Map < String, ? > failover; + @com.aliyun.core.annotation.NameInMap("Failover") + private java.util.Map failover; + + @com.aliyun.core.annotation.NameInMap("FailoverPriority") + private java.util.Map failoverPriority; private LocalityLB(Builder builder) { this.distribute = builder.distribute; this.enabled = builder.enabled; this.failover = builder.failover; + this.failoverPriority = builder.failoverPriority; } public static Builder builder() { @@ -2844,7 +3915,7 @@ public static LocalityLB create() { /** * @return distribute */ - public java.util.Map < String, ? > getDistribute() { + public java.util.Map getDistribute() { return this.distribute; } @@ -2858,32 +3929,56 @@ public Boolean getEnabled() { /** * @return failover */ - public java.util.Map < String, ? > getFailover() { + public java.util.Map getFailover() { return this.failover; } + /** + * @return failoverPriority + */ + public java.util.Map getFailoverPriority() { + return this.failoverPriority; + } + public static final class Builder { - private java.util.Map < String, ? > distribute; + private java.util.Map distribute; private Boolean enabled; - private java.util.Map < String, ? > failover; + private java.util.Map failover; + private java.util.Map failoverPriority; + + private Builder() { + } + + private Builder(LocalityLB model) { + this.distribute = model.distribute; + this.enabled = model.enabled; + this.failover = model.failover; + this.failoverPriority = model.failoverPriority; + } /** - * The configurations of cross-region traffic distribution. - *

+ *

The configurations of cross-region traffic distribution.

+ *
+ *

Either Failover or Distribute can be set. If you set Distribute, you cannot set Failover.

+ *
* - * > Either `Failover` or Distribute can be set. If you set `Distribute`, you cannot set Failover. + * example: + *

[{"from":"cn-shanghai","to":{"cn-hangzhou/":50,"cn-shanghai/":25,"cn-zhangjiakou/":25}},{"from":"cn-hangzhou","to":{"cn-hangzhou/":50,"cn-shanghai/":25,"cn-zhangjiakou/":25}}]

*/ - public Builder distribute(java.util.Map < String, ? > distribute) { + public Builder distribute(java.util.Map distribute) { this.distribute = distribute; return this; } /** - * Indicates whether cross-region load balancing is enabled. Valid values: - *

+ *

Indicates whether cross-region load balancing is enabled. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder enabled(Boolean enabled) { this.enabled = enabled; @@ -2891,16 +3986,27 @@ public Builder enabled(Boolean enabled) { } /** - * The configurations of cross-region failover. - *

+ *

The configurations of cross-region failover.

+ *
+ *

Either Failover or Distribute can be set. If you set Failover, you cannot set Distribute.

+ *
* - * > Either Failover or `Distribute` can be set. If you set `Failover`, you cannot set `Distribute`. + * example: + *

{"failover":[{"from":"cn-hangzhou","to":"cn-shanghai"}]}

*/ - public Builder failover(java.util.Map < String, ? > failover) { + public Builder failover(java.util.Map failover) { this.failover = failover; return this; } + /** + * FailoverPriority. + */ + public Builder failoverPriority(java.util.Map failoverPriority) { + this.failoverPriority = failoverPriority; + return this; + } + public LocalityLB build() { return new LocalityLB(this); } @@ -2908,8 +4014,14 @@ public LocalityLB build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class MSE extends TeaModel { - @NameInMap("Enabled") + @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; private MSE(Builder builder) { @@ -2934,12 +4046,22 @@ public Boolean getEnabled() { public static final class Builder { private Boolean enabled; + private Builder() { + } + + private Builder(MSE model) { + this.enabled = model.enabled; + } + /** - * Indicates whether MSE is enabled. Valid values: - *

+ *

Indicates whether MSE is enabled. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder enabled(Boolean enabled) { this.enabled = enabled; @@ -2953,23 +4075,29 @@ public MSE build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class OPA extends TeaModel { - @NameInMap("Enabled") + @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; - @NameInMap("LimitCPU") + @com.aliyun.core.annotation.NameInMap("LimitCPU") private String limitCPU; - @NameInMap("LimitMemory") + @com.aliyun.core.annotation.NameInMap("LimitMemory") private String limitMemory; - @NameInMap("LogLevel") + @com.aliyun.core.annotation.NameInMap("LogLevel") private String logLevel; - @NameInMap("RequestCPU") + @com.aliyun.core.annotation.NameInMap("RequestCPU") private String requestCPU; - @NameInMap("RequestMemory") + @com.aliyun.core.annotation.NameInMap("RequestMemory") private String requestMemory; private OPA(Builder builder) { @@ -3039,12 +4167,27 @@ public static final class Builder { private String requestCPU; private String requestMemory; + private Builder() { + } + + private Builder(OPA model) { + this.enabled = model.enabled; + this.limitCPU = model.limitCPU; + this.limitMemory = model.limitMemory; + this.logLevel = model.logLevel; + this.requestCPU = model.requestCPU; + this.requestMemory = model.requestMemory; + } + /** - * Indicates whether the OPA plug-in is installed. Valid values: - *

+ *

Indicates whether the OPA plug-in is installed. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

true

*/ public Builder enabled(Boolean enabled) { this.enabled = enabled; @@ -3052,7 +4195,10 @@ public Builder enabled(Boolean enabled) { } /** - * The maximum number of CPU cores that are available to the OPA proxy container. + *

The maximum number of CPU cores that are available to the OPA proxy container.

+ * + * example: + *

1

*/ public Builder limitCPU(String limitCPU) { this.limitCPU = limitCPU; @@ -3060,7 +4206,10 @@ public Builder limitCPU(String limitCPU) { } /** - * The maximum size of the memory that is available to the OPA proxy container. + *

The maximum size of the memory that is available to the OPA proxy container.

+ * + * example: + *

512Mi

*/ public Builder limitMemory(String limitMemory) { this.limitMemory = limitMemory; @@ -3068,7 +4217,10 @@ public Builder limitMemory(String limitMemory) { } /** - * The level of the logs to be generated for OPA. + *

The level of the logs to be generated for OPA.

+ * + * example: + *

info

*/ public Builder logLevel(String logLevel) { this.logLevel = logLevel; @@ -3076,7 +4228,10 @@ public Builder logLevel(String logLevel) { } /** - * The number of CPU cores that are requested by the OPA proxy container. + *

The number of CPU cores that are requested by the OPA proxy container.

+ * + * example: + *

2

*/ public Builder requestCPU(String requestCPU) { this.requestCPU = requestCPU; @@ -3084,7 +4239,10 @@ public Builder requestCPU(String requestCPU) { } /** - * The size of the memory that is requested by OPA. + *

The size of the memory that is requested by OPA.

+ * + * example: + *

1024Mi

*/ public Builder requestMemory(String requestMemory) { this.requestMemory = requestMemory; @@ -3098,11 +4256,17 @@ public OPA build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class ConfigSource extends TeaModel { - @NameInMap("Enabled") + @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; - @NameInMap("NacosID") + @com.aliyun.core.annotation.NameInMap("NacosID") private String nacosID; private ConfigSource(Builder builder) { @@ -3136,12 +4300,23 @@ public static final class Builder { private Boolean enabled; private String nacosID; + private Builder() { + } + + private Builder(ConfigSource model) { + this.enabled = model.enabled; + this.nacosID = model.nacosID; + } + /** - * Indicates whether communication is allowed between external services and services in the mesh. Valid values: - *

+ *

Indicates whether communication is allowed between external services and services in the mesh. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder enabled(Boolean enabled) { this.enabled = enabled; @@ -3149,7 +4324,10 @@ public Builder enabled(Boolean enabled) { } /** - * The ID of the Nacos instance that provides external service information. + *

The ID of the Nacos instance that provides external service information.

+ * + * example: + *

mse-cn-tl326******

*/ public Builder nacosID(String nacosID) { this.nacosID = nacosID; @@ -3163,11 +4341,17 @@ public ConfigSource build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class Feature extends TeaModel { - @NameInMap("EnableSDSServer") + @com.aliyun.core.annotation.NameInMap("EnableSDSServer") private Boolean enableSDSServer; - @NameInMap("FilterGatewayClusterConfig") + @com.aliyun.core.annotation.NameInMap("FilterGatewayClusterConfig") private Boolean filterGatewayClusterConfig; private Feature(Builder builder) { @@ -3201,12 +4385,23 @@ public static final class Builder { private Boolean enableSDSServer; private Boolean filterGatewayClusterConfig; + private Builder() { + } + + private Builder(Feature model) { + this.enableSDSServer = model.enableSDSServer; + this.filterGatewayClusterConfig = model.filterGatewayClusterConfig; + } + /** - * Indicates whether Secret Discovery Service (SDS) is enabled. Valid values: - *

+ *

Indicates whether Secret Discovery Service (SDS) is enabled. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder enableSDSServer(Boolean enableSDSServer) { this.enableSDSServer = enableSDSServer; @@ -3214,11 +4409,14 @@ public Builder enableSDSServer(Boolean enableSDSServer) { } /** - * Indicates whether gateway configuration filtering is enabled. Valid values: - *

+ *

Indicates whether gateway configuration filtering is enabled. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder filterGatewayClusterConfig(Boolean filterGatewayClusterConfig) { this.filterGatewayClusterConfig = filterGatewayClusterConfig; @@ -3232,17 +4430,23 @@ public Feature build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class Pilot extends TeaModel { - @NameInMap("ConfigSource") + @com.aliyun.core.annotation.NameInMap("ConfigSource") private ConfigSource configSource; - @NameInMap("Feature") + @com.aliyun.core.annotation.NameInMap("Feature") private Feature feature; - @NameInMap("Http10Enabled") + @com.aliyun.core.annotation.NameInMap("Http10Enabled") private Boolean http10Enabled; - @NameInMap("TraceSampling") + @com.aliyun.core.annotation.NameInMap("TraceSampling") private Float traceSampling; private Pilot(Builder builder) { @@ -3294,8 +4498,18 @@ public static final class Builder { private Boolean http10Enabled; private Float traceSampling; + private Builder() { + } + + private Builder(Pilot model) { + this.configSource = model.configSource; + this.feature = model.feature; + this.http10Enabled = model.http10Enabled; + this.traceSampling = model.traceSampling; + } + /** - * The configurations of communication between external services and services in the mesh. + *

The configurations of communication between external services and services in the mesh.

*/ public Builder configSource(ConfigSource configSource) { this.configSource = configSource; @@ -3303,7 +4517,7 @@ public Builder configSource(ConfigSource configSource) { } /** - * The configurations of Pilot features. + *

The configurations of Pilot features.

*/ public Builder feature(Feature feature) { this.feature = feature; @@ -3311,11 +4525,14 @@ public Builder feature(Feature feature) { } /** - * Indicates whether HTTP/1.0 is supported. Valid values: - *

+ *

Indicates whether HTTP/1.0 is supported. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder http10Enabled(Boolean http10Enabled) { this.http10Enabled = http10Enabled; @@ -3323,7 +4540,10 @@ public Builder http10Enabled(Boolean http10Enabled) { } /** - * The sampling percentage of tracing analysis. + *

The sampling percentage of tracing analysis.

+ * + * example: + *

100

*/ public Builder traceSampling(Float traceSampling) { this.traceSampling = traceSampling; @@ -3337,11 +4557,17 @@ public Pilot build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class Prometheus extends TeaModel { - @NameInMap("ExternalUrl") + @com.aliyun.core.annotation.NameInMap("ExternalUrl") private String externalUrl; - @NameInMap("UseExternal") + @com.aliyun.core.annotation.NameInMap("UseExternal") private Boolean useExternal; private Prometheus(Builder builder) { @@ -3375,8 +4601,19 @@ public static final class Builder { private String externalUrl; private Boolean useExternal; + private Builder() { + } + + private Builder(Prometheus model) { + this.externalUrl = model.externalUrl; + this.useExternal = model.useExternal; + } + /** - * The endpoint of Prometheus monitoring. If you use a custom Prometheus instance, this parameter is populated by the system. + *

The endpoint of Prometheus monitoring. If you use a custom Prometheus instance, this parameter is populated by the system.

+ * + * example: + *

http://prometheus:9090

*/ public Builder externalUrl(String externalUrl) { this.externalUrl = externalUrl; @@ -3384,11 +4621,14 @@ public Builder externalUrl(String externalUrl) { } /** - * Indicates whether a custom Prometheus instance is used. Valid values: - *

+ *

Indicates whether a custom Prometheus instance is used. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder useExternal(Boolean useExternal) { this.useExternal = useExternal; @@ -3402,17 +4642,23 @@ public Prometheus build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class ProtocolSupport extends TeaModel { - @NameInMap("DubboFilterEnabled") + @com.aliyun.core.annotation.NameInMap("DubboFilterEnabled") private Boolean dubboFilterEnabled; - @NameInMap("MysqlFilterEnabled") + @com.aliyun.core.annotation.NameInMap("MysqlFilterEnabled") private Boolean mysqlFilterEnabled; - @NameInMap("RedisFilterEnabled") + @com.aliyun.core.annotation.NameInMap("RedisFilterEnabled") private Boolean redisFilterEnabled; - @NameInMap("ThriftFilterEnabled") + @com.aliyun.core.annotation.NameInMap("ThriftFilterEnabled") private Boolean thriftFilterEnabled; private ProtocolSupport(Builder builder) { @@ -3464,12 +4710,25 @@ public static final class Builder { private Boolean redisFilterEnabled; private Boolean thriftFilterEnabled; + private Builder() { + } + + private Builder(ProtocolSupport model) { + this.dubboFilterEnabled = model.dubboFilterEnabled; + this.mysqlFilterEnabled = model.mysqlFilterEnabled; + this.redisFilterEnabled = model.redisFilterEnabled; + this.thriftFilterEnabled = model.thriftFilterEnabled; + } + /** - * Indicates whether Dubbo Filter is enabled. Valid values: - *

+ *

Indicates whether Dubbo Filter is enabled. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder dubboFilterEnabled(Boolean dubboFilterEnabled) { this.dubboFilterEnabled = dubboFilterEnabled; @@ -3477,11 +4736,14 @@ public Builder dubboFilterEnabled(Boolean dubboFilterEnabled) { } /** - * Indicates whether MySQL Filter is enabled. Valid values: - *

+ *

Indicates whether MySQL Filter is enabled. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder mysqlFilterEnabled(Boolean mysqlFilterEnabled) { this.mysqlFilterEnabled = mysqlFilterEnabled; @@ -3489,11 +4751,14 @@ public Builder mysqlFilterEnabled(Boolean mysqlFilterEnabled) { } /** - * Indicates whether Redis Filter is enabled. Valid values: - *

+ *

Indicates whether Redis Filter is enabled. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder redisFilterEnabled(Boolean redisFilterEnabled) { this.redisFilterEnabled = redisFilterEnabled; @@ -3501,11 +4766,14 @@ public Builder redisFilterEnabled(Boolean redisFilterEnabled) { } /** - * Indicates whether Thrift Filter is enabled. Valid values: - *

+ *

Indicates whether Thrift Filter is enabled. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder thriftFilterEnabled(Boolean thriftFilterEnabled) { this.thriftFilterEnabled = thriftFilterEnabled; @@ -3519,38 +4787,44 @@ public ProtocolSupport build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class Proxy extends TeaModel { - @NameInMap("AccessLogFile") + @com.aliyun.core.annotation.NameInMap("AccessLogFile") private String accessLogFile; - @NameInMap("AccessLogFormat") + @com.aliyun.core.annotation.NameInMap("AccessLogFormat") private String accessLogFormat; - @NameInMap("AccessLogServiceEnabled") + @com.aliyun.core.annotation.NameInMap("AccessLogServiceEnabled") private Boolean accessLogServiceEnabled; - @NameInMap("AccessLogServiceHost") + @com.aliyun.core.annotation.NameInMap("AccessLogServiceHost") private String accessLogServiceHost; - @NameInMap("AccessLogServicePort") + @com.aliyun.core.annotation.NameInMap("AccessLogServicePort") private Integer accessLogServicePort; - @NameInMap("ClusterDomain") + @com.aliyun.core.annotation.NameInMap("ClusterDomain") private String clusterDomain; - @NameInMap("EnableDNSProxying") + @com.aliyun.core.annotation.NameInMap("EnableDNSProxying") private Boolean enableDNSProxying; - @NameInMap("LimitCPU") + @com.aliyun.core.annotation.NameInMap("LimitCPU") private String limitCPU; - @NameInMap("LimitMemory") + @com.aliyun.core.annotation.NameInMap("LimitMemory") private String limitMemory; - @NameInMap("RequestCPU") + @com.aliyun.core.annotation.NameInMap("RequestCPU") private String requestCPU; - @NameInMap("RequestMemory") + @com.aliyun.core.annotation.NameInMap("RequestMemory") private String requestMemory; private Proxy(Builder builder) { @@ -3665,8 +4939,28 @@ public static final class Builder { private String requestCPU; private String requestMemory; + private Builder() { + } + + private Builder(Proxy model) { + this.accessLogFile = model.accessLogFile; + this.accessLogFormat = model.accessLogFormat; + this.accessLogServiceEnabled = model.accessLogServiceEnabled; + this.accessLogServiceHost = model.accessLogServiceHost; + this.accessLogServicePort = model.accessLogServicePort; + this.clusterDomain = model.clusterDomain; + this.enableDNSProxying = model.enableDNSProxying; + this.limitCPU = model.limitCPU; + this.limitMemory = model.limitMemory; + this.requestCPU = model.requestCPU; + this.requestMemory = model.requestMemory; + } + /** - * The path to the file that stores the access logs of sidecar proxies. + *

The path to the file that stores the access logs of sidecar proxies.

+ * + * example: + *

/dev/stdout

*/ public Builder accessLogFile(String accessLogFile) { this.accessLogFile = accessLogFile; @@ -3674,7 +4968,10 @@ public Builder accessLogFile(String accessLogFile) { } /** - * The format of the access logs of sidecar proxies. + *

The format of the access logs of sidecar proxies.

+ * + * example: + *

{"authority_for":"%REQ(:AUTHORITY)%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","duration":"%DURATION%","istio_policy_status":"%DYNAMIC_METADATA(istio.mixer:status)%","method":"%REQ(:METHOD)%","path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","request_id":"%REQ(X-REQUEST-ID)%","requested_server_name":"%REQUESTED_SERVER_NAME%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","route_name":"%ROUTE_NAME%","start_time":"%START_TIME%","trace_id":"%REQ(X-B3-TRACEID)%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_host":"%UPSTREAM_HOST%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","upstream_service_time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","user_agent":"%REQ(USER-AGENT)%","x_forwarded_for":"%REQ(X-FORWARDED-FOR)%"}

*/ public Builder accessLogFormat(String accessLogFormat) { this.accessLogFormat = accessLogFormat; @@ -3682,11 +4979,14 @@ public Builder accessLogFormat(String accessLogFormat) { } /** - * Indicates whether gRPC Access Log Service (ALS) for Envoy is enabled. Valid values: - *

+ *

Indicates whether gRPC Access Log Service (ALS) for Envoy is enabled. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder accessLogServiceEnabled(Boolean accessLogServiceEnabled) { this.accessLogServiceEnabled = accessLogServiceEnabled; @@ -3694,7 +4994,10 @@ public Builder accessLogServiceEnabled(Boolean accessLogServiceEnabled) { } /** - * The endpoint of gRPC ALS for Envoy. + *

The endpoint of gRPC ALS for Envoy.

+ * + * example: + *

0.0.0.0

*/ public Builder accessLogServiceHost(String accessLogServiceHost) { this.accessLogServiceHost = accessLogServiceHost; @@ -3702,7 +5005,10 @@ public Builder accessLogServiceHost(String accessLogServiceHost) { } /** - * The port of gRPC ALS for Envoy. + *

The port of gRPC ALS for Envoy.

+ * + * example: + *

9999

*/ public Builder accessLogServicePort(Integer accessLogServicePort) { this.accessLogServicePort = accessLogServicePort; @@ -3710,7 +5016,10 @@ public Builder accessLogServicePort(Integer accessLogServicePort) { } /** - * The trusted domain. + *

The trusted domain.

+ * + * example: + *

cluster.domain

*/ public Builder clusterDomain(String clusterDomain) { this.clusterDomain = clusterDomain; @@ -3718,11 +5027,14 @@ public Builder clusterDomain(String clusterDomain) { } /** - * Indicates whether the Domain Name System (DNS) proxy feature is enabled. Valid values: - *

+ *

Indicates whether the Domain Name System (DNS) proxy feature is enabled. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder enableDNSProxying(Boolean enableDNSProxying) { this.enableDNSProxying = enableDNSProxying; @@ -3730,7 +5042,10 @@ public Builder enableDNSProxying(Boolean enableDNSProxying) { } /** - * The maximum number of CPU cores. + *

The maximum number of CPU cores.

+ * + * example: + *

2000m

*/ public Builder limitCPU(String limitCPU) { this.limitCPU = limitCPU; @@ -3738,7 +5053,10 @@ public Builder limitCPU(String limitCPU) { } /** - * The maximum size of the memory. + *

The maximum size of the memory.

+ * + * example: + *

1024Mi

*/ public Builder limitMemory(String limitMemory) { this.limitMemory = limitMemory; @@ -3746,7 +5064,10 @@ public Builder limitMemory(String limitMemory) { } /** - * The number of CPU cores that are requested. + *

The number of CPU cores that are requested.

+ * + * example: + *

100m

*/ public Builder requestCPU(String requestCPU) { this.requestCPU = requestCPU; @@ -3754,7 +5075,10 @@ public Builder requestCPU(String requestCPU) { } /** - * The size of the memory that is requested. + *

The size of the memory that is requested.

+ * + * example: + *

128Mi

*/ public Builder requestMemory(String requestMemory) { this.requestMemory = requestMemory; @@ -3768,11 +5092,17 @@ public Proxy build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class InitCNIConfiguration extends TeaModel { - @NameInMap("Enabled") + @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; - @NameInMap("ExcludeNamespaces") + @com.aliyun.core.annotation.NameInMap("ExcludeNamespaces") private String excludeNamespaces; private InitCNIConfiguration(Builder builder) { @@ -3806,12 +5136,23 @@ public static final class Builder { private Boolean enabled; private String excludeNamespaces; + private Builder() { + } + + private Builder(InitCNIConfiguration model) { + this.enabled = model.enabled; + this.excludeNamespaces = model.excludeNamespaces; + } + /** - * Indicates whether the CNI plug-in is enabled. Valid values: - *

+ *

Indicates whether the CNI plug-in is enabled. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder enabled(Boolean enabled) { this.enabled = enabled; @@ -3819,7 +5160,10 @@ public Builder enabled(Boolean enabled) { } /** - * The namespaces to exclude. The CNI plug-in ignores pods in the excluded namespaces. + *

The namespaces to exclude. The CNI plug-in ignores pods in the excluded namespaces.

+ * + * example: + *

kube-system,istio-system

*/ public Builder excludeNamespaces(String excludeNamespaces) { this.excludeNamespaces = excludeNamespaces; @@ -3833,32 +5177,38 @@ public InitCNIConfiguration build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class SidecarInjector extends TeaModel { - @NameInMap("AutoInjectionPolicyEnabled") + @com.aliyun.core.annotation.NameInMap("AutoInjectionPolicyEnabled") private Boolean autoInjectionPolicyEnabled; - @NameInMap("EnableNamespacesByDefault") + @com.aliyun.core.annotation.NameInMap("EnableNamespacesByDefault") private Boolean enableNamespacesByDefault; - @NameInMap("InitCNIConfiguration") + @com.aliyun.core.annotation.NameInMap("InitCNIConfiguration") private InitCNIConfiguration initCNIConfiguration; - @NameInMap("LimitCPU") + @com.aliyun.core.annotation.NameInMap("LimitCPU") private String limitCPU; - @NameInMap("LimitMemory") + @com.aliyun.core.annotation.NameInMap("LimitMemory") private String limitMemory; - @NameInMap("RequestCPU") + @com.aliyun.core.annotation.NameInMap("RequestCPU") private String requestCPU; - @NameInMap("RequestMemory") + @com.aliyun.core.annotation.NameInMap("RequestMemory") private String requestMemory; - @NameInMap("SidecarInjectorNum") + @com.aliyun.core.annotation.NameInMap("SidecarInjectorNum") private Integer sidecarInjectorNum; - @NameInMap("SidecarInjectorWebhookAsYaml") + @com.aliyun.core.annotation.NameInMap("SidecarInjectorWebhookAsYaml") private String sidecarInjectorWebhookAsYaml; private SidecarInjector(Builder builder) { @@ -3955,12 +5305,30 @@ public static final class Builder { private Integer sidecarInjectorNum; private String sidecarInjectorWebhookAsYaml; + private Builder() { + } + + private Builder(SidecarInjector model) { + this.autoInjectionPolicyEnabled = model.autoInjectionPolicyEnabled; + this.enableNamespacesByDefault = model.enableNamespacesByDefault; + this.initCNIConfiguration = model.initCNIConfiguration; + this.limitCPU = model.limitCPU; + this.limitMemory = model.limitMemory; + this.requestCPU = model.requestCPU; + this.requestMemory = model.requestMemory; + this.sidecarInjectorNum = model.sidecarInjectorNum; + this.sidecarInjectorWebhookAsYaml = model.sidecarInjectorWebhookAsYaml; + } + /** - * Indicates whether automatic sidecar proxy injection can be enabled by using pod annotations. Valid values: - *

+ *

Indicates whether automatic sidecar proxy injection can be enabled by using pod annotations. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

true

*/ public Builder autoInjectionPolicyEnabled(Boolean autoInjectionPolicyEnabled) { this.autoInjectionPolicyEnabled = autoInjectionPolicyEnabled; @@ -3968,11 +5336,14 @@ public Builder autoInjectionPolicyEnabled(Boolean autoInjectionPolicyEnabled) { } /** - * Indicates whether automatic sidecar proxy injection is enabled for all namespaces. Valid values: - *

+ *

Indicates whether automatic sidecar proxy injection is enabled for all namespaces. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder enableNamespacesByDefault(Boolean enableNamespacesByDefault) { this.enableNamespacesByDefault = enableNamespacesByDefault; @@ -3980,7 +5351,7 @@ public Builder enableNamespacesByDefault(Boolean enableNamespacesByDefault) { } /** - * The configurations of Container Network Interface (CNI). + *

The configurations of Container Network Interface (CNI).

*/ public Builder initCNIConfiguration(InitCNIConfiguration initCNIConfiguration) { this.initCNIConfiguration = initCNIConfiguration; @@ -3988,7 +5359,10 @@ public Builder initCNIConfiguration(InitCNIConfiguration initCNIConfiguration) { } /** - * The maximum number of CPU cores that are available to the pod where the sidecar injector resides. + *

The maximum number of CPU cores that are available to the pod where the sidecar injector resides.

+ * + * example: + *

4000m

*/ public Builder limitCPU(String limitCPU) { this.limitCPU = limitCPU; @@ -3996,7 +5370,10 @@ public Builder limitCPU(String limitCPU) { } /** - * The maximum size of the memory that is available to the pod where the sidecar injector resides. + *

The maximum size of the memory that is available to the pod where the sidecar injector resides.

+ * + * example: + *

2048Mi

*/ public Builder limitMemory(String limitMemory) { this.limitMemory = limitMemory; @@ -4004,7 +5381,10 @@ public Builder limitMemory(String limitMemory) { } /** - * The number of CPU cores that are requested by the pod where the sidecar injector resides. + *

The number of CPU cores that are requested by the pod where the sidecar injector resides.

+ * + * example: + *

1000m

*/ public Builder requestCPU(String requestCPU) { this.requestCPU = requestCPU; @@ -4012,7 +5392,10 @@ public Builder requestCPU(String requestCPU) { } /** - * The size of the memory that is requested by the pod where the sidecar injector resides. + *

The size of the memory that is requested by the pod where the sidecar injector resides.

+ * + * example: + *

512Mi

*/ public Builder requestMemory(String requestMemory) { this.requestMemory = requestMemory; @@ -4020,7 +5403,10 @@ public Builder requestMemory(String requestMemory) { } /** - * The number of component replicas that are used for sidecar proxy injection. Default value: `1`. + *

The number of component replicas that are used for sidecar proxy injection. Default value: 1.

+ * + * example: + *

1

*/ public Builder sidecarInjectorNum(Integer sidecarInjectorNum) { this.sidecarInjectorNum = sidecarInjectorNum; @@ -4028,7 +5414,10 @@ public Builder sidecarInjectorNum(Integer sidecarInjectorNum) { } /** - * Other configurations of automatic sidecar proxy injection, in the YAML format. For more information, see [Enable automatic sidecar proxy injection](~~186136~~). + *

Other configurations of automatic sidecar proxy injection, in the YAML format. For more information, see Enable automatic sidecar proxy injection.

+ * + * example: + *

{"injectedAnnotations":{"test/istio-init":"runtime/default2","test/istio-proxy":"runtime/default"},"replicaCount":2,"nodeSelector":{"beta.kubernetes.io/os":"linux"}}

*/ public Builder sidecarInjectorWebhookAsYaml(String sidecarInjectorWebhookAsYaml) { this.sidecarInjectorWebhookAsYaml = sidecarInjectorWebhookAsYaml; @@ -4042,8 +5431,14 @@ public SidecarInjector build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class WebAssemblyFilterDeployment extends TeaModel { - @NameInMap("Enabled") + @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; private WebAssemblyFilterDeployment(Builder builder) { @@ -4068,12 +5463,22 @@ public Boolean getEnabled() { public static final class Builder { private Boolean enabled; + private Builder() { + } + + private Builder(WebAssemblyFilterDeployment model) { + this.enabled = model.enabled; + } + /** - * Indicates whether WebAssembly Filter is enabled. Valid values: - *

+ *

Indicates whether WebAssembly Filter is enabled. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder enabled(Boolean enabled) { this.enabled = enabled; @@ -4087,80 +5492,86 @@ public WebAssemblyFilterDeployment build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class MeshConfig extends TeaModel { - @NameInMap("AccessLog") + @com.aliyun.core.annotation.NameInMap("AccessLog") private AccessLog accessLog; - @NameInMap("Audit") + @com.aliyun.core.annotation.NameInMap("Audit") private Audit audit; - @NameInMap("ControlPlaneLogInfo") + @com.aliyun.core.annotation.NameInMap("ControlPlaneLogInfo") private ControlPlaneLogInfo controlPlaneLogInfo; - @NameInMap("CustomizedZipkin") + @com.aliyun.core.annotation.NameInMap("CustomizedZipkin") private Boolean customizedZipkin; - @NameInMap("Edition") + @com.aliyun.core.annotation.NameInMap("Edition") private Edition edition; - @NameInMap("EnableLocalityLB") + @com.aliyun.core.annotation.NameInMap("EnableLocalityLB") private Boolean enableLocalityLB; - @NameInMap("ExcludeIPRanges") + @com.aliyun.core.annotation.NameInMap("ExcludeIPRanges") private String excludeIPRanges; - @NameInMap("ExcludeInboundPorts") + @com.aliyun.core.annotation.NameInMap("ExcludeInboundPorts") private String excludeInboundPorts; - @NameInMap("ExcludeOutboundPorts") + @com.aliyun.core.annotation.NameInMap("ExcludeOutboundPorts") private String excludeOutboundPorts; - @NameInMap("ExtraConfiguration") + @com.aliyun.core.annotation.NameInMap("ExtraConfiguration") private ExtraConfiguration extraConfiguration; - @NameInMap("IncludeIPRanges") + @com.aliyun.core.annotation.NameInMap("IncludeIPRanges") private String includeIPRanges; - @NameInMap("K8sNewAPIsSupport") + @com.aliyun.core.annotation.NameInMap("K8sNewAPIsSupport") private K8sNewAPIsSupport k8sNewAPIsSupport; - @NameInMap("Kiali") + @com.aliyun.core.annotation.NameInMap("Kiali") private Kiali kiali; - @NameInMap("LocalityLB") + @com.aliyun.core.annotation.NameInMap("LocalityLB") private LocalityLB localityLB; - @NameInMap("MSE") + @com.aliyun.core.annotation.NameInMap("MSE") private MSE MSE; - @NameInMap("OPA") + @com.aliyun.core.annotation.NameInMap("OPA") private OPA OPA; - @NameInMap("OutboundTrafficPolicy") + @com.aliyun.core.annotation.NameInMap("OutboundTrafficPolicy") private String outboundTrafficPolicy; - @NameInMap("Pilot") + @com.aliyun.core.annotation.NameInMap("Pilot") private Pilot pilot; - @NameInMap("Prometheus") + @com.aliyun.core.annotation.NameInMap("Prometheus") private Prometheus prometheus; - @NameInMap("ProtocolSupport") + @com.aliyun.core.annotation.NameInMap("ProtocolSupport") private ProtocolSupport protocolSupport; - @NameInMap("Proxy") + @com.aliyun.core.annotation.NameInMap("Proxy") private Proxy proxy; - @NameInMap("SidecarInjector") + @com.aliyun.core.annotation.NameInMap("SidecarInjector") private SidecarInjector sidecarInjector; - @NameInMap("Telemetry") + @com.aliyun.core.annotation.NameInMap("Telemetry") private Boolean telemetry; - @NameInMap("Tracing") + @com.aliyun.core.annotation.NameInMap("Tracing") private Boolean tracing; - @NameInMap("WebAssemblyFilterDeployment") + @com.aliyun.core.annotation.NameInMap("WebAssemblyFilterDeployment") private WebAssemblyFilterDeployment webAssemblyFilterDeployment; private MeshConfig(Builder builder) { @@ -4401,8 +5812,39 @@ public static final class Builder { private Boolean tracing; private WebAssemblyFilterDeployment webAssemblyFilterDeployment; + private Builder() { + } + + private Builder(MeshConfig model) { + this.accessLog = model.accessLog; + this.audit = model.audit; + this.controlPlaneLogInfo = model.controlPlaneLogInfo; + this.customizedZipkin = model.customizedZipkin; + this.edition = model.edition; + this.enableLocalityLB = model.enableLocalityLB; + this.excludeIPRanges = model.excludeIPRanges; + this.excludeInboundPorts = model.excludeInboundPorts; + this.excludeOutboundPorts = model.excludeOutboundPorts; + this.extraConfiguration = model.extraConfiguration; + this.includeIPRanges = model.includeIPRanges; + this.k8sNewAPIsSupport = model.k8sNewAPIsSupport; + this.kiali = model.kiali; + this.localityLB = model.localityLB; + this.MSE = model.MSE; + this.OPA = model.OPA; + this.outboundTrafficPolicy = model.outboundTrafficPolicy; + this.pilot = model.pilot; + this.prometheus = model.prometheus; + this.protocolSupport = model.protocolSupport; + this.proxy = model.proxy; + this.sidecarInjector = model.sidecarInjector; + this.telemetry = model.telemetry; + this.tracing = model.tracing; + this.webAssemblyFilterDeployment = model.webAssemblyFilterDeployment; + } + /** - * The configurations of access log collection. + *

The configurations of access log collection.

*/ public Builder accessLog(AccessLog accessLog) { this.accessLog = accessLog; @@ -4410,7 +5852,7 @@ public Builder accessLog(AccessLog accessLog) { } /** - * The information about mesh audit. + *

The information about mesh audit.

*/ public Builder audit(Audit audit) { this.audit = audit; @@ -4418,7 +5860,7 @@ public Builder audit(Audit audit) { } /** - * The configurations of control plane log collection. + *

The configurations of control-plane log collection.

*/ public Builder controlPlaneLogInfo(ControlPlaneLogInfo controlPlaneLogInfo) { this.controlPlaneLogInfo = controlPlaneLogInfo; @@ -4426,11 +5868,14 @@ public Builder controlPlaneLogInfo(ControlPlaneLogInfo controlPlaneLogInfo) { } /** - * Indicates whether a custom Zipkin system is used. Valid values: - *

+ *

Indicates whether a custom Zipkin system is used. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder customizedZipkin(Boolean customizedZipkin) { this.customizedZipkin = customizedZipkin; @@ -4438,7 +5883,7 @@ public Builder customizedZipkin(Boolean customizedZipkin) { } /** - * The information about the edition. + *

The information about the edition.

*/ public Builder edition(Edition edition) { this.edition = edition; @@ -4446,11 +5891,14 @@ public Builder edition(Edition edition) { } /** - * Indicates whether the feature that routes traffic to the nearest instance is enabled. Valid values: - *

+ *

Indicates whether the feature that routes traffic to the nearest instance is enabled. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

true

*/ public Builder enableLocalityLB(Boolean enableLocalityLB) { this.enableLocalityLB = enableLocalityLB; @@ -4458,7 +5906,10 @@ public Builder enableLocalityLB(Boolean enableLocalityLB) { } /** - * The IP ranges in CIDR form to be excluded from redirection to sidecar proxies in the ASM instance. + *

The IP ranges in CIDR form to be excluded from redirection to sidecar proxies in the ASM instance.

+ * + * example: + *

172.16.0.0

*/ public Builder excludeIPRanges(String excludeIPRanges) { this.excludeIPRanges = excludeIPRanges; @@ -4466,7 +5917,10 @@ public Builder excludeIPRanges(String excludeIPRanges) { } /** - * The inbound ports to be excluded from redirection to sidecar proxies in the ASM instance. + *

The inbound ports to be excluded from redirection to sidecar proxies in the ASM instance.

+ * + * example: + *

80,81

*/ public Builder excludeInboundPorts(String excludeInboundPorts) { this.excludeInboundPorts = excludeInboundPorts; @@ -4474,7 +5928,10 @@ public Builder excludeInboundPorts(String excludeInboundPorts) { } /** - * The outbound ports to be excluded from redirection to sidecar proxies in the ASM instance. + *

The outbound ports to be excluded from redirection to sidecar proxies in the ASM instance.

+ * + * example: + *

80,81

*/ public Builder excludeOutboundPorts(String excludeOutboundPorts) { this.excludeOutboundPorts = excludeOutboundPorts; @@ -4482,7 +5939,7 @@ public Builder excludeOutboundPorts(String excludeOutboundPorts) { } /** - * The configurations of additional features for the ASM instance. + *

The configurations of additional features for the ASM instance.

*/ public Builder extraConfiguration(ExtraConfiguration extraConfiguration) { this.extraConfiguration = extraConfiguration; @@ -4490,7 +5947,10 @@ public Builder extraConfiguration(ExtraConfiguration extraConfiguration) { } /** - * The IP ranges in CIDR form to redirect to the sidecar proxies in the ASM instance. + *

The IP ranges in CIDR form to redirect to the sidecar proxies in the ASM instance.

+ * + * example: + *

192.168.0.0/16

*/ public Builder includeIPRanges(String includeIPRanges) { this.includeIPRanges = includeIPRanges; @@ -4498,7 +5958,7 @@ public Builder includeIPRanges(String includeIPRanges) { } /** - * The information about the Kubernetes API. + *

The information about the Kubernetes API.

*/ public Builder k8sNewAPIsSupport(K8sNewAPIsSupport k8sNewAPIsSupport) { this.k8sNewAPIsSupport = k8sNewAPIsSupport; @@ -4506,7 +5966,7 @@ public Builder k8sNewAPIsSupport(K8sNewAPIsSupport k8sNewAPIsSupport) { } /** - * The configurations of mesh topology. + *

The configurations of mesh topology.

*/ public Builder kiali(Kiali kiali) { this.kiali = kiali; @@ -4514,7 +5974,7 @@ public Builder kiali(Kiali kiali) { } /** - * The configurations of cross-region load balancing. + *

The configurations of cross-region load balancing.

*/ public Builder localityLB(LocalityLB localityLB) { this.localityLB = localityLB; @@ -4522,7 +5982,7 @@ public Builder localityLB(LocalityLB localityLB) { } /** - * The configurations of Microservices Engine (MSE). + *

The configurations of Microservices Engine (MSE).

*/ public Builder MSE(MSE MSE) { this.MSE = MSE; @@ -4530,7 +5990,7 @@ public Builder MSE(MSE MSE) { } /** - * The information about the Open Policy Agent (OPA) plug-in. + *

The information about the Open Policy Agent (OPA) plug-in.

*/ public Builder OPA(OPA OPA) { this.OPA = OPA; @@ -4538,11 +5998,14 @@ public Builder OPA(OPA OPA) { } /** - * The outbound traffic policy. Valid values: - *

+ *

The outbound traffic policy. Valid values:

+ *
    + *
  • ALLOW_ANY: Outbound traffic to all external services is allowed.
  • + *
  • REGISTRY_ONLY: Outbound traffic is allowed to only external services that are defined in the service registry of the ASM instance.
  • + *
* - * * `ALLOW_ANY`: Outbound traffic to all external services is allowed. - * * `REGISTRY_ONLY`: Outbound traffic is allowed to only external services that are defined in the service registry of the ASM instance. + * example: + *

ALLOW_ANY

*/ public Builder outboundTrafficPolicy(String outboundTrafficPolicy) { this.outboundTrafficPolicy = outboundTrafficPolicy; @@ -4550,7 +6013,7 @@ public Builder outboundTrafficPolicy(String outboundTrafficPolicy) { } /** - * The Pilot configurations. + *

The Pilot configurations.

*/ public Builder pilot(Pilot pilot) { this.pilot = pilot; @@ -4558,7 +6021,7 @@ public Builder pilot(Pilot pilot) { } /** - * The configurations of Prometheus monitoring. + *

The configurations of Prometheus monitoring.

*/ public Builder prometheus(Prometheus prometheus) { this.prometheus = prometheus; @@ -4566,7 +6029,7 @@ public Builder prometheus(Prometheus prometheus) { } /** - * The configurations of protocol support. + *

The configurations of protocol support.

*/ public Builder protocolSupport(ProtocolSupport protocolSupport) { this.protocolSupport = protocolSupport; @@ -4574,7 +6037,7 @@ public Builder protocolSupport(ProtocolSupport protocolSupport) { } /** - * The proxy configurations. + *

The proxy configurations.

*/ public Builder proxy(Proxy proxy) { this.proxy = proxy; @@ -4582,7 +6045,7 @@ public Builder proxy(Proxy proxy) { } /** - * The configurations of the sidecar injector. + *

The configurations of the sidecar injector.

*/ public Builder sidecarInjector(SidecarInjector sidecarInjector) { this.sidecarInjector = sidecarInjector; @@ -4590,11 +6053,14 @@ public Builder sidecarInjector(SidecarInjector sidecarInjector) { } /** - * Indicates whether Prometheus monitoring is enabled. We recommend that you use [Managed Service for Prometheus](https://arms.console.aliyun.com/). Valid values: - *

+ *

Indicates whether Prometheus monitoring is enabled. We recommend that you use Managed Service for Prometheus. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

true

*/ public Builder telemetry(Boolean telemetry) { this.telemetry = telemetry; @@ -4602,11 +6068,14 @@ public Builder telemetry(Boolean telemetry) { } /** - * Indicates whether tracing analysis is enabled. This feature can be enabled only after [Managed Service for OpenTelemetry](https://tracing-analysis.console.aliyun.com/) is activated. Valid values: - *

+ *

Indicates whether tracing analysis is enabled. This feature can be enabled only after Managed Service for OpenTelemetry is activated. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

true

*/ public Builder tracing(Boolean tracing) { this.tracing = tracing; @@ -4614,7 +6083,7 @@ public Builder tracing(Boolean tracing) { } /** - * The configurations of WebAssembly Filter. + *

The configurations of WebAssembly Filter.

*/ public Builder webAssemblyFilterDeployment(WebAssemblyFilterDeployment webAssemblyFilterDeployment) { this.webAssemblyFilterDeployment = webAssemblyFilterDeployment; @@ -4628,14 +6097,20 @@ public MeshConfig build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class Network extends TeaModel { - @NameInMap("SecurityGroupId") + @com.aliyun.core.annotation.NameInMap("SecurityGroupId") private String securityGroupId; - @NameInMap("VSwitches") - private java.util.List < String > vSwitches; + @com.aliyun.core.annotation.NameInMap("VSwitches") + private java.util.List vSwitches; - @NameInMap("VpcId") + @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; private Network(Builder builder) { @@ -4662,7 +6137,7 @@ public String getSecurityGroupId() { /** * @return vSwitches */ - public java.util.List < String > getVSwitches() { + public java.util.List getVSwitches() { return this.vSwitches; } @@ -4675,11 +6150,23 @@ public String getVpcId() { public static final class Builder { private String securityGroupId; - private java.util.List < String > vSwitches; + private java.util.List vSwitches; private String vpcId; + private Builder() { + } + + private Builder(Network model) { + this.securityGroupId = model.securityGroupId; + this.vSwitches = model.vSwitches; + this.vpcId = model.vpcId; + } + /** - * The security group ID. + *

The security group ID.

+ * + * example: + *

sg-2ze384sxttxbctnj****

*/ public Builder securityGroupId(String securityGroupId) { this.securityGroupId = securityGroupId; @@ -4687,15 +6174,18 @@ public Builder securityGroupId(String securityGroupId) { } /** - * The virtual switches (vSwitches). + *

The virtual switches (vSwitches).

*/ - public Builder vSwitches(java.util.List < String > vSwitches) { + public Builder vSwitches(java.util.List vSwitches) { this.vSwitches = vSwitches; return this; } /** - * The ID of the virtual private cloud (VPC). + *

The ID of the virtual private cloud (VPC).

+ * + * example: + *

vpc-2zew0rajjkmxy2369****

*/ public Builder vpcId(String vpcId) { this.vpcId = vpcId; @@ -4709,14 +6199,20 @@ public Network build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class Spec extends TeaModel { - @NameInMap("LoadBalancer") + @com.aliyun.core.annotation.NameInMap("LoadBalancer") private LoadBalancer loadBalancer; - @NameInMap("MeshConfig") + @com.aliyun.core.annotation.NameInMap("MeshConfig") private MeshConfig meshConfig; - @NameInMap("Network") + @com.aliyun.core.annotation.NameInMap("Network") private Network network; private Spec(Builder builder) { @@ -4759,8 +6255,17 @@ public static final class Builder { private MeshConfig meshConfig; private Network network; + private Builder() { + } + + private Builder(Spec model) { + this.loadBalancer = model.loadBalancer; + this.meshConfig = model.meshConfig; + this.network = model.network; + } + /** - * The information about load balancing. + *

The information about the load balancer.

*/ public Builder loadBalancer(LoadBalancer loadBalancer) { this.loadBalancer = loadBalancer; @@ -4768,7 +6273,7 @@ public Builder loadBalancer(LoadBalancer loadBalancer) { } /** - * The configurations of the ASM instance. + *

The configurations of the ASM instance.

*/ public Builder meshConfig(MeshConfig meshConfig) { this.meshConfig = meshConfig; @@ -4776,7 +6281,7 @@ public Builder meshConfig(MeshConfig meshConfig) { } /** - * The network configurations of the ASM instance. + *

The network configurations of the ASM instance.

*/ public Builder network(Network network) { this.network = network; @@ -4790,26 +6295,32 @@ public Spec build() { } } + /** + * + * {@link DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshDetailResponseBody

+ */ public static class ServiceMesh extends TeaModel { - @NameInMap("ClusterSpec") + @com.aliyun.core.annotation.NameInMap("ClusterSpec") private String clusterSpec; - @NameInMap("Clusters") - private java.util.List < String > clusters; + @com.aliyun.core.annotation.NameInMap("Clusters") + private java.util.List clusters; - @NameInMap("Endpoints") + @com.aliyun.core.annotation.NameInMap("Endpoints") private Endpoints endpoints; - @NameInMap("OwnerId") + @com.aliyun.core.annotation.NameInMap("OwnerId") private String ownerId; - @NameInMap("OwnerType") + @com.aliyun.core.annotation.NameInMap("OwnerType") private String ownerType; - @NameInMap("ServiceMeshInfo") + @com.aliyun.core.annotation.NameInMap("ServiceMeshInfo") private ServiceMeshInfo serviceMeshInfo; - @NameInMap("Spec") + @com.aliyun.core.annotation.NameInMap("Spec") private Spec spec; private ServiceMesh(Builder builder) { @@ -4840,7 +6351,7 @@ public String getClusterSpec() { /** * @return clusters */ - public java.util.List < String > getClusters() { + public java.util.List getClusters() { return this.clusters; } @@ -4881,20 +6392,36 @@ public Spec getSpec() { public static final class Builder { private String clusterSpec; - private java.util.List < String > clusters; + private java.util.List clusters; private Endpoints endpoints; private String ownerId; private String ownerType; private ServiceMeshInfo serviceMeshInfo; private Spec spec; + private Builder() { + } + + private Builder(ServiceMesh model) { + this.clusterSpec = model.clusterSpec; + this.clusters = model.clusters; + this.endpoints = model.endpoints; + this.ownerId = model.ownerId; + this.ownerType = model.ownerType; + this.serviceMeshInfo = model.serviceMeshInfo; + this.spec = model.spec; + } + /** - * The specification of the ASM instance. Valid values: - *

+ *

The specification of the ASM instance. Valid values:

+ *
    + *
  • standard: Standard Edition
  • + *
  • enterprise: Enterprise Edition
  • + *
  • ultimate: Ultimate Edition
  • + *
* - * * `standard`: Standard Edition - * * `enterprise`: Enterprise Edition - * * `ultimate`: Ultimate Edition + * example: + *

standard

*/ public Builder clusterSpec(String clusterSpec) { this.clusterSpec = clusterSpec; @@ -4902,15 +6429,15 @@ public Builder clusterSpec(String clusterSpec) { } /** - * The clusters. + *

The clusters.

*/ - public Builder clusters(java.util.List < String > clusters) { + public Builder clusters(java.util.List clusters) { this.clusters = clusters; return this; } /** - * The endpoints of the ASM instance. + *

The endpoints of the ASM instance.

*/ public Builder endpoints(Endpoints endpoints) { this.endpoints = endpoints; @@ -4918,7 +6445,10 @@ public Builder endpoints(Endpoints endpoints) { } /** - * The ID of the Alibaba Cloud service instance for which the ASM instance is created. + *

The ID of the Alibaba Cloud service instance for which the ASM instance is created.

+ * + * example: + *

cc3e96f249d124eb38b72718ec5*****

*/ public Builder ownerId(String ownerId) { this.ownerId = ownerId; @@ -4926,11 +6456,14 @@ public Builder ownerId(String ownerId) { } /** - * The Alibaba Cloud service for which the ASM instance is created. Valid values: - *

+ *

The Alibaba Cloud service for which the ASM instance is created. Valid values:

+ *
    + *
  • ackone: The ASM instance is created for Alibaba Cloud Distributed Cloud Container Platform (ACK One).
  • + *
  • An empty value indicates that the ASM instance is created by the user.
  • + *
* - * * `ackone`: The ASM instance is created for Alibaba Cloud Distributed Cloud Container Platform (ACK One). - * * An empty value indicates that the ASM instance is created by the user. + * example: + *

ackone

*/ public Builder ownerType(String ownerType) { this.ownerType = ownerType; @@ -4938,7 +6471,7 @@ public Builder ownerType(String ownerType) { } /** - * The basic information about the ASM instance. + *

The basic information about the ASM instance.

*/ public Builder serviceMeshInfo(ServiceMeshInfo serviceMeshInfo) { this.serviceMeshInfo = serviceMeshInfo; @@ -4946,7 +6479,7 @@ public Builder serviceMeshInfo(ServiceMeshInfo serviceMeshInfo) { } /** - * The specifications of the ASM instance. + *

The specifications of the ASM instance.

*/ public Builder spec(Spec spec) { this.spec = spec; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshKubeconfigRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshKubeconfigRequest.java index 703594ffdcb..07926218d57 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshKubeconfigRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshKubeconfigRequest.java @@ -1,24 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshKubeconfigRequest} extends {@link RequestModel} * *

DescribeServiceMeshKubeconfigRequest

*/ public class DescribeServiceMeshKubeconfigRequest extends Request { - @Query - @NameInMap("PrivateIpAddress") + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("PrivateIpAddress") private Boolean privateIpAddress; - @Query - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DescribeServiceMeshKubeconfigRequest(Builder builder) { @@ -35,7 +40,7 @@ public static DescribeServiceMeshKubeconfigRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -69,7 +74,10 @@ private Builder(DescribeServiceMeshKubeconfigRequest request) { } /** - * Specifies whether to query the kubeconfig file that is used for Internet access or internal network access. + *

Specifies whether to query the kubeconfig file that is used for Internet access or internal network access.

+ * + * example: + *

false

*/ public Builder privateIpAddress(Boolean privateIpAddress) { this.putQueryParameter("PrivateIpAddress", privateIpAddress); @@ -78,7 +86,11 @@ public Builder privateIpAddress(Boolean privateIpAddress) { } /** - * The ID of the ASM instance. + *

The ID of the ASM instance.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putQueryParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshKubeconfigResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshKubeconfigResponse.java index 86e98d9a342..a9e8f613b62 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshKubeconfigResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshKubeconfigResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshKubeconfigResponse} extends {@link TeaModel} * *

DescribeServiceMeshKubeconfigResponse

*/ public class DescribeServiceMeshKubeconfigResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeServiceMeshKubeconfigResponseBody body; private DescribeServiceMeshKubeconfigResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeServiceMeshKubeconfigResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeServiceMeshKubeconfigResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeServiceMeshKubeconfigResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeServiceMeshKubeconfigResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshKubeconfigResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshKubeconfigResponseBody.java index 447d1affed4..5b3257d69ed 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshKubeconfigResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshKubeconfigResponseBody.java @@ -1,24 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshKubeconfigResponseBody} extends {@link TeaModel} * *

DescribeServiceMeshKubeconfigResponseBody

*/ public class DescribeServiceMeshKubeconfigResponseBody extends TeaModel { - @NameInMap("ExpireTime") + @com.aliyun.core.annotation.NameInMap("ExpireTime") private String expireTime; - @NameInMap("Kubeconfig") + @com.aliyun.core.annotation.NameInMap("Kubeconfig") private String kubeconfig; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeServiceMeshKubeconfigResponseBody(Builder builder) { @@ -35,6 +40,10 @@ public static DescribeServiceMeshKubeconfigResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return expireTime */ @@ -61,8 +70,20 @@ public static final class Builder { private String kubeconfig; private String requestId; + private Builder() { + } + + private Builder(DescribeServiceMeshKubeconfigResponseBody model) { + this.expireTime = model.expireTime; + this.kubeconfig = model.kubeconfig; + this.requestId = model.requestId; + } + /** - * The expiration time of the kubeconfig certificate. The format is: YYYY-MM-DD hh: mm: ss. + *

The expiration time of the kubeconfig certificate. The format is: YYYY-MM-DD hh: mm: ss.

+ * + * example: + *

2024-05-28 16:00:00

*/ public Builder expireTime(String expireTime) { this.expireTime = expireTime; @@ -70,7 +91,10 @@ public Builder expireTime(String expireTime) { } /** - * The content of the kubeconfig file of the cluster. + *

The content of the kubeconfig file of the cluster.

+ * + * example: + *

apiVersion: v1 clusters: - cluster: server: https://47.110.xx.xx:6443 certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURUakNDQWphZ0F3SUJBZ0lVYzBQVy82ejR1aHlxYkRRdnNsV1htSmpJeFdNd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1BqRW5NQThHQTFVRUNoTUlhR0Z1WjNwb2IzVXdGQVlEVlFRS0V3MWhiR2xpWVdKaElHTnNiM1ZrTVJNdwpFUVlEVlFRREV3cHJkV0psY201bGRHVnpNQ0FYRFRJeU1EUXdOekExTVRnd01Gb1lEekl3TlRJd016TXdNRFV4Ck9EQXdXakErTVNjd0R3WURWUVFLRXdob1lXNW5lbWh2ZFRBVUJnTlZCQW9URFdGc2FXSmhZbUVnWTJ4dmRXUXgKRXpBUkJnTlZCQU1UQ210MVltVnlibVYwWlhNd2dnRWlNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUJE****

*/ public Builder kubeconfig(String kubeconfig) { this.kubeconfig = kubeconfig; @@ -78,7 +102,10 @@ public Builder kubeconfig(String kubeconfig) { } /** - * The request ID. + *

The request ID.

+ * + * example: + *

31d3a0f0-07ed-4f6e-9004-1804498c****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshLogsRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshLogsRequest.java index c0737f796ef..5b1120b778c 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshLogsRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshLogsRequest.java @@ -1,20 +1,25 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshLogsRequest} extends {@link RequestModel} * *

DescribeServiceMeshLogsRequest

*/ public class DescribeServiceMeshLogsRequest extends Request { - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DescribeServiceMeshLogsRequest(Builder builder) { @@ -30,7 +35,7 @@ public static DescribeServiceMeshLogsRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -55,7 +60,11 @@ private Builder(DescribeServiceMeshLogsRequest request) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

ca04bc38979214bf2882be79d39b4****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshLogsResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshLogsResponse.java index b552e288580..2f1cba67d99 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshLogsResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshLogsResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshLogsResponse} extends {@link TeaModel} * *

DescribeServiceMeshLogsResponse

*/ public class DescribeServiceMeshLogsResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeServiceMeshLogsResponseBody body; private DescribeServiceMeshLogsResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeServiceMeshLogsResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeServiceMeshLogsResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeServiceMeshLogsResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeServiceMeshLogsResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshLogsResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshLogsResponseBody.java index c0240a13442..d74c622283b 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshLogsResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshLogsResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshLogsResponseBody} extends {@link TeaModel} * *

DescribeServiceMeshLogsResponseBody

*/ public class DescribeServiceMeshLogsResponseBody extends TeaModel { - @NameInMap("Logs") - private java.util.List < Logs> logs; + @com.aliyun.core.annotation.NameInMap("Logs") + private java.util.List logs; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeServiceMeshLogsResponseBody(Builder builder) { @@ -31,10 +36,14 @@ public static DescribeServiceMeshLogsResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return logs */ - public java.util.List < Logs> getLogs() { + public java.util.List getLogs() { return this.logs; } @@ -46,19 +55,30 @@ public String getRequestId() { } public static final class Builder { - private java.util.List < Logs> logs; + private java.util.List logs; private String requestId; + private Builder() { + } + + private Builder(DescribeServiceMeshLogsResponseBody model) { + this.logs = model.logs; + this.requestId = model.requestId; + } + /** - * The details of the logs. + *

The details of the logs.

*/ - public Builder logs(java.util.List < Logs> logs) { + public Builder logs(java.util.List logs) { this.logs = logs; return this; } /** - * The request ID. + *

The request ID.

+ * + * example: + *

31d3a0f0-07ed-4f6e-9004-1804498c****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -71,14 +91,20 @@ public DescribeServiceMeshLogsResponseBody build() { } + /** + * + * {@link DescribeServiceMeshLogsResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshLogsResponseBody

+ */ public static class Logs extends TeaModel { - @NameInMap("CreationTime") + @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; - @NameInMap("Log") + @com.aliyun.core.annotation.NameInMap("Log") private String log; - @NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") private String serviceMeshId; private Logs(Builder builder) { @@ -121,8 +147,20 @@ public static final class Builder { private String log; private String serviceMeshId; + private Builder() { + } + + private Builder(Logs model) { + this.creationTime = model.creationTime; + this.log = model.log; + this.serviceMeshId = model.serviceMeshId; + } + /** - * The point in time when the logs were generated. + *

The point in time when the logs were generated.

+ * + * example: + *

2021-11-19T15:21:53+08:00

*/ public Builder creationTime(String creationTime) { this.creationTime = creationTime; @@ -130,7 +168,10 @@ public Builder creationTime(String creationTime) { } /** - * The content of the logs. + *

The content of the logs.

+ * + * example: + *

[RequestID: 31d3a0f0-07ed-4f6e-9004-1804498c****, UID-110982038403****] c096d641835af4658827a4c66c234**** | Start to add cluster c186a6d9641a24098b5499d4d8313****

*/ public Builder log(String log) { this.log = log; @@ -138,7 +179,10 @@ public Builder log(String log) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ * + * example: + *

ca04bc38979214bf2882be79d39b4****

*/ public Builder serviceMeshId(String serviceMeshId) { this.serviceMeshId = serviceMeshId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshProxyStatusRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshProxyStatusRequest.java index 2b112deb14e..36686ee0da4 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshProxyStatusRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshProxyStatusRequest.java @@ -1,20 +1,25 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshProxyStatusRequest} extends {@link RequestModel} * *

DescribeServiceMeshProxyStatusRequest

*/ public class DescribeServiceMeshProxyStatusRequest extends Request { - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DescribeServiceMeshProxyStatusRequest(Builder builder) { @@ -30,7 +35,7 @@ public static DescribeServiceMeshProxyStatusRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -55,7 +60,11 @@ private Builder(DescribeServiceMeshProxyStatusRequest request) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

ca04bc38979214bf2882be79d39b4****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshProxyStatusResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshProxyStatusResponse.java index 0a1eb179cfa..7c93e7e8b6e 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshProxyStatusResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshProxyStatusResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshProxyStatusResponse} extends {@link TeaModel} * *

DescribeServiceMeshProxyStatusResponse

*/ public class DescribeServiceMeshProxyStatusResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeServiceMeshProxyStatusResponseBody body; private DescribeServiceMeshProxyStatusResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeServiceMeshProxyStatusResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeServiceMeshProxyStatusResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeServiceMeshProxyStatusResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeServiceMeshProxyStatusResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshProxyStatusResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshProxyStatusResponseBody.java index 2831725efe5..97871d4aa48 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshProxyStatusResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshProxyStatusResponseBody.java @@ -1,30 +1,35 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshProxyStatusResponseBody} extends {@link TeaModel} * *

DescribeServiceMeshProxyStatusResponseBody

*/ public class DescribeServiceMeshProxyStatusResponseBody extends TeaModel { - @NameInMap("Code") + @com.aliyun.core.annotation.NameInMap("Code") private String code; - @NameInMap("Message") + @com.aliyun.core.annotation.NameInMap("Message") private String message; - @NameInMap("ProxyStatus") - private java.util.List < ProxyStatus> proxyStatus; + @com.aliyun.core.annotation.NameInMap("ProxyStatus") + private java.util.List proxyStatus; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("Success") + @com.aliyun.core.annotation.NameInMap("Success") private String success; private DescribeServiceMeshProxyStatusResponseBody(Builder builder) { @@ -43,6 +48,10 @@ public static DescribeServiceMeshProxyStatusResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return code */ @@ -60,7 +69,7 @@ public String getMessage() { /** * @return proxyStatus */ - public java.util.List < ProxyStatus> getProxyStatus() { + public java.util.List getProxyStatus() { return this.proxyStatus; } @@ -81,18 +90,31 @@ public String getSuccess() { public static final class Builder { private String code; private String message; - private java.util.List < ProxyStatus> proxyStatus; + private java.util.List proxyStatus; private String requestId; private String success; + private Builder() { + } + + private Builder(DescribeServiceMeshProxyStatusResponseBody model) { + this.code = model.code; + this.message = model.message; + this.proxyStatus = model.proxyStatus; + this.requestId = model.requestId; + this.success = model.success; + } + /** - * The status code. Valid values: - *

- * - * `200`: The operation is successful. + *

The status code. Valid values:

+ *

200: The operation is successful.

+ *
    + *
  • 403: You are not authorized to perform this operation.
  • + *
  • 503: A backend server error occurs.
  • + *
* - * * `403`: You are not authorized to perform this operation. - * * `503`: A backend server error occurs. + * example: + *

200

*/ public Builder code(String code) { this.code = code; @@ -100,7 +122,10 @@ public Builder code(String code) { } /** - * The returned message. + *

The returned message.

+ * + * example: + *

success

*/ public Builder message(String message) { this.message = message; @@ -108,15 +133,18 @@ public Builder message(String message) { } /** - * The information about the status of the proxies on the data plane. + *

The information about the status of the proxies on the data plane.

*/ - public Builder proxyStatus(java.util.List < ProxyStatus> proxyStatus) { + public Builder proxyStatus(java.util.List proxyStatus) { this.proxyStatus = proxyStatus; return this; } /** - * The request ID. + *

The request ID.

+ * + * example: + *

31d3a0f0-07ed-4f6e-9004-1804498c****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -124,7 +152,10 @@ public Builder requestId(String requestId) { } /** - * Indicates whether the request was successful. + *

Indicates whether the request was successful.

+ * + * example: + *

success

*/ public Builder success(String success) { this.success = success; @@ -137,29 +168,35 @@ public DescribeServiceMeshProxyStatusResponseBody build() { } + /** + * + * {@link DescribeServiceMeshProxyStatusResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshProxyStatusResponseBody

+ */ public static class ProxyStatus extends TeaModel { - @NameInMap("ClusterSynced") + @com.aliyun.core.annotation.NameInMap("ClusterSynced") private String clusterSynced; - @NameInMap("EndpointPercent") + @com.aliyun.core.annotation.NameInMap("EndpointPercent") private String endpointPercent; - @NameInMap("EndpointSynced") + @com.aliyun.core.annotation.NameInMap("EndpointSynced") private String endpointSynced; - @NameInMap("IstioVersion") + @com.aliyun.core.annotation.NameInMap("IstioVersion") private String istioVersion; - @NameInMap("ListenerSynced") + @com.aliyun.core.annotation.NameInMap("ListenerSynced") private String listenerSynced; - @NameInMap("ProxyId") + @com.aliyun.core.annotation.NameInMap("ProxyId") private String proxyId; - @NameInMap("ProxyVersion") + @com.aliyun.core.annotation.NameInMap("ProxyVersion") private String proxyVersion; - @NameInMap("RouteSynced") + @com.aliyun.core.annotation.NameInMap("RouteSynced") private String routeSynced; private ProxyStatus(Builder builder) { @@ -247,14 +284,31 @@ public static final class Builder { private String proxyVersion; private String routeSynced; + private Builder() { + } + + private Builder(ProxyStatus model) { + this.clusterSynced = model.clusterSynced; + this.endpointPercent = model.endpointPercent; + this.endpointSynced = model.endpointSynced; + this.istioVersion = model.istioVersion; + this.listenerSynced = model.listenerSynced; + this.proxyId = model.proxyId; + this.proxyVersion = model.proxyVersion; + this.routeSynced = model.routeSynced; + } + /** - * The update status of the proxy. Valid values: - *

+ *

The update status of the proxy. Valid values:

+ *
    + *
  • SYNCED: The status of the proxy is updated.
  • + *
  • NOT SENT: The status of the proxy is not updated.
  • + *
  • STALE (Never Acknowledged): Istiod has sent multiple requests to the Envoy proxy to update the status of the proxy but receives no response.
  • + *
  • STALE: Istiod has sent a request to the Envoy proxy to update the status of the proxy but receives no response.
  • + *
* - * * `SYNCED`: The status of the proxy is updated. - * * `NOT SENT`: The status of the proxy is not updated. - * * `STALE (Never Acknowledged)`: Istiod has sent multiple requests to the Envoy proxy to update the status of the proxy but receives no response. - * * `STALE`: Istiod has sent a request to the Envoy proxy to update the status of the proxy but receives no response. + * example: + *

SYNCED

*/ public Builder clusterSynced(String clusterSynced) { this.clusterSynced = clusterSynced; @@ -262,7 +316,10 @@ public Builder clusterSynced(String clusterSynced) { } /** - * The percentage of the updated endpoints. + *

The percentage of the updated endpoints.

+ * + * example: + *

1

*/ public Builder endpointPercent(String endpointPercent) { this.endpointPercent = endpointPercent; @@ -270,13 +327,16 @@ public Builder endpointPercent(String endpointPercent) { } /** - * The update status of the endpoint. Valid values: - *

+ *

The update status of the endpoint. Valid values:

+ *
    + *
  • SYNCED: The status of the endpoint is updated.
  • + *
  • NOT SENT: The status of the endpoint is not updated.
  • + *
  • STALE (Never Acknowledged): Istiod has sent multiple requests to the Envoy proxy to update the status of the endpoint but receives no response.
  • + *
  • STALE: Istiod has sent a request to the Envoy proxy to update the status of the endpoint but receives no response.
  • + *
* - * * `SYNCED`: The status of the endpoint is updated. - * * `NOT SENT`: The status of the endpoint is not updated. - * * `STALE (Never Acknowledged)`: Istiod has sent multiple requests to the Envoy proxy to update the status of the endpoint but receives no response. - * * `STALE`: Istiod has sent a request to the Envoy proxy to update the status of the endpoint but receives no response. + * example: + *

SYNCED

*/ public Builder endpointSynced(String endpointSynced) { this.endpointSynced = endpointSynced; @@ -284,7 +344,10 @@ public Builder endpointSynced(String endpointSynced) { } /** - * The version of Istiod. + *

The version of Istiod.

+ * + * example: + *

1.9.7

*/ public Builder istioVersion(String istioVersion) { this.istioVersion = istioVersion; @@ -292,13 +355,16 @@ public Builder istioVersion(String istioVersion) { } /** - * The update status of the listener. Valid values: - *

+ *

The update status of the listener. Valid values:

+ *
    + *
  • SYNCED: The status of the listener is updated.
  • + *
  • NOT SENT: The status of the listener is not updated.
  • + *
  • STALE (Never Acknowledged): Istiod has sent multiple requests to the Envoy proxy to update the status of the listener but receives no response.
  • + *
  • STALE: Istiod has sent a request to the Envoy proxy to update the status of the listener but receives no response.
  • + *
* - * * `SYNCED`: The status of the listener is updated. - * * `NOT SENT`: The status of the listener is not updated. - * * `STALE (Never Acknowledged)`: Istiod has sent multiple requests to the Envoy proxy to update the status of the listener but receives no response. - * * `STALE`: Istiod has sent a request to the Envoy proxy to update the status of the listener but receives no response. + * example: + *

SYNCED

*/ public Builder listenerSynced(String listenerSynced) { this.listenerSynced = listenerSynced; @@ -306,7 +372,10 @@ public Builder listenerSynced(String listenerSynced) { } /** - * The ID of the proxy on the data plane. + *

The ID of the proxy on the data plane.

+ * + * example: + *

119q****

*/ public Builder proxyId(String proxyId) { this.proxyId = proxyId; @@ -314,7 +383,10 @@ public Builder proxyId(String proxyId) { } /** - * The version number of a proxy on the data plane. + *

The version number of a proxy on the data plane.

+ * + * example: + *

1.9.7

*/ public Builder proxyVersion(String proxyVersion) { this.proxyVersion = proxyVersion; @@ -322,13 +394,16 @@ public Builder proxyVersion(String proxyVersion) { } /** - * The update status of the route. Valid values: - *

+ *

The update status of the route. Valid values:

+ *
    + *
  • SYNCED: The status of the route is updated.
  • + *
  • NOT SENT: The status of the route is not updated.
  • + *
  • STALE (Never Acknowledged): Istiod has sent multiple requests to the Envoy proxy to update the status of the route but receives no response.
  • + *
  • STALE: Istiod has sent a request to the Envoy proxy to update the status of the route but receives no response.
  • + *
* - * * `SYNCED`: The status of the route is updated. - * * `NOT SENT`: The status of the route is not updated. - * * `STALE (Never Acknowledged)`: Istiod has sent multiple requests to the Envoy proxy to update the status of the route but receives no response. - * * `STALE`: Istiod has sent a request to the Envoy proxy to update the status of the route but receives no response. + * example: + *

SYNCED

*/ public Builder routeSynced(String routeSynced) { this.routeSynced = routeSynced; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshUpgradeStatusRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshUpgradeStatusRequest.java index e10522dd2c8..0d0fca26770 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshUpgradeStatusRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshUpgradeStatusRequest.java @@ -1,28 +1,33 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshUpgradeStatusRequest} extends {@link RequestModel} * *

DescribeServiceMeshUpgradeStatusRequest

*/ public class DescribeServiceMeshUpgradeStatusRequest extends Request { - @Body - @NameInMap("AllIstioGatewayFullNames") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("AllIstioGatewayFullNames") private String allIstioGatewayFullNames; - @Body - @NameInMap("GuestClusterIds") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("GuestClusterIds") private String guestClusterIds; - @Query - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DescribeServiceMeshUpgradeStatusRequest(Builder builder) { @@ -40,7 +45,7 @@ public static DescribeServiceMeshUpgradeStatusRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -83,7 +88,10 @@ private Builder(DescribeServiceMeshUpgradeStatusRequest request) { } /** - * The fully qualified names of ingress gateways in the ASM instance. Separate multiple names with commas (,). + *

The fully qualified names of ingress gateways in the ASM instance. Separate multiple names with commas (,).

+ * + * example: + *

istio-system:ingressgateway1,istio-system:ingressgateway2

*/ public Builder allIstioGatewayFullNames(String allIstioGatewayFullNames) { this.putBodyParameter("AllIstioGatewayFullNames", allIstioGatewayFullNames); @@ -92,7 +100,10 @@ public Builder allIstioGatewayFullNames(String allIstioGatewayFullNames) { } /** - * The IDs of the clusters on the data plane of the ASM instance. Separate multiple clusters with commas (,). + *

The IDs of the clusters on the data plane of the ASM instance. Separate multiple clusters with commas (,).

+ * + * example: + *

caeac85a793c94afbbb0a4bb20320****

*/ public Builder guestClusterIds(String guestClusterIds) { this.putBodyParameter("GuestClusterIds", guestClusterIds); @@ -101,7 +112,11 @@ public Builder guestClusterIds(String guestClusterIds) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

11fd0027-c27e-41bb-a565-75583054****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putQueryParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshUpgradeStatusResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshUpgradeStatusResponse.java index c5f15907f6c..e292a039d81 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshUpgradeStatusResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshUpgradeStatusResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshUpgradeStatusResponse} extends {@link TeaModel} * *

DescribeServiceMeshUpgradeStatusResponse

*/ public class DescribeServiceMeshUpgradeStatusResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeServiceMeshUpgradeStatusResponseBody body; private DescribeServiceMeshUpgradeStatusResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeServiceMeshUpgradeStatusResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeServiceMeshUpgradeStatusResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeServiceMeshUpgradeStatusResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeServiceMeshUpgradeStatusResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshUpgradeStatusResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshUpgradeStatusResponseBody.java index 646f7137631..5b1d3007075 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshUpgradeStatusResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshUpgradeStatusResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshUpgradeStatusResponseBody} extends {@link TeaModel} * *

DescribeServiceMeshUpgradeStatusResponseBody

*/ public class DescribeServiceMeshUpgradeStatusResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("UpgradeDetail") + @com.aliyun.core.annotation.NameInMap("UpgradeDetail") private UpgradeDetail upgradeDetail; private DescribeServiceMeshUpgradeStatusResponseBody(Builder builder) { @@ -31,6 +36,10 @@ public static DescribeServiceMeshUpgradeStatusResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -49,8 +58,19 @@ public static final class Builder { private String requestId; private UpgradeDetail upgradeDetail; + private Builder() { + } + + private Builder(DescribeServiceMeshUpgradeStatusResponseBody model) { + this.requestId = model.requestId; + this.upgradeDetail = model.upgradeDetail; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

11fd0027-c27e-41bb-a565-75583054****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -58,7 +78,7 @@ public Builder requestId(String requestId) { } /** - * The upgrade results. + *

The upgrade results.

*/ public Builder upgradeDetail(UpgradeDetail upgradeDetail) { this.upgradeDetail = upgradeDetail; @@ -71,17 +91,23 @@ public DescribeServiceMeshUpgradeStatusResponseBody build() { } + /** + * + * {@link DescribeServiceMeshUpgradeStatusResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshUpgradeStatusResponseBody

+ */ public static class UpgradeDetail extends TeaModel { - @NameInMap("FinishedGatewaysNum") + @com.aliyun.core.annotation.NameInMap("FinishedGatewaysNum") private Long finishedGatewaysNum; - @NameInMap("GatewayStatusRecord") - private java.util.Map < String, UpgradeDetailGatewayStatusRecordValue > gatewayStatusRecord; + @com.aliyun.core.annotation.NameInMap("GatewayStatusRecord") + private java.util.Map gatewayStatusRecord; - @NameInMap("MeshStatus") + @com.aliyun.core.annotation.NameInMap("MeshStatus") private String meshStatus; - @NameInMap("TotalGatewaysNum") + @com.aliyun.core.annotation.NameInMap("TotalGatewaysNum") private Long totalGatewaysNum; private UpgradeDetail(Builder builder) { @@ -109,7 +135,7 @@ public Long getFinishedGatewaysNum() { /** * @return gatewayStatusRecord */ - public java.util.Map < String, UpgradeDetailGatewayStatusRecordValue > getGatewayStatusRecord() { + public java.util.Map getGatewayStatusRecord() { return this.gatewayStatusRecord; } @@ -129,12 +155,25 @@ public Long getTotalGatewaysNum() { public static final class Builder { private Long finishedGatewaysNum; - private java.util.Map < String, UpgradeDetailGatewayStatusRecordValue > gatewayStatusRecord; + private java.util.Map gatewayStatusRecord; private String meshStatus; private Long totalGatewaysNum; + private Builder() { + } + + private Builder(UpgradeDetail model) { + this.finishedGatewaysNum = model.finishedGatewaysNum; + this.gatewayStatusRecord = model.gatewayStatusRecord; + this.meshStatus = model.meshStatus; + this.totalGatewaysNum = model.totalGatewaysNum; + } + /** - * The number of ingress gateways that are upgraded. + *

The number of ingress gateways that are upgraded.

+ * + * example: + *

1

*/ public Builder finishedGatewaysNum(Long finishedGatewaysNum) { this.finishedGatewaysNum = finishedGatewaysNum; @@ -142,20 +181,23 @@ public Builder finishedGatewaysNum(Long finishedGatewaysNum) { } /** - * The information about the status of the ingress gateways. + *

The information about the status of the ingress gateways.

*/ - public Builder gatewayStatusRecord(java.util.Map < String, UpgradeDetailGatewayStatusRecordValue > gatewayStatusRecord) { + public Builder gatewayStatusRecord(java.util.Map gatewayStatusRecord) { this.gatewayStatusRecord = gatewayStatusRecord; return this; } /** - * The status of the ASM instance. Valid values: - *

+ *

The status of the ASM instance. Valid values:

+ *
    + *
  • running: The instance is running.
  • + *
  • upgrading: The instance is being upgraded.
  • + *
  • upgrading_failed: The upgrade of the instance fails.
  • + *
* - * * running: The instance is running. - * * `upgrading`: The instance is being upgraded. - * * `upgrading_failed`: The upgrade of the instance fails. + * example: + *

running

*/ public Builder meshStatus(String meshStatus) { this.meshStatus = meshStatus; @@ -163,7 +205,10 @@ public Builder meshStatus(String meshStatus) { } /** - * The total number of ingress gateways in the ASM instance. + *

The total number of ingress gateways in the ASM instance.

+ * + * example: + *

2

*/ public Builder totalGatewaysNum(Long totalGatewaysNum) { this.totalGatewaysNum = totalGatewaysNum; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshVMsRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshVMsRequest.java index d3bd075150e..a411fa9fba5 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshVMsRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshVMsRequest.java @@ -1,20 +1,25 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshVMsRequest} extends {@link RequestModel} * *

DescribeServiceMeshVMsRequest

*/ public class DescribeServiceMeshVMsRequest extends Request { - @Query - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DescribeServiceMeshVMsRequest(Builder builder) { @@ -30,7 +35,7 @@ public static DescribeServiceMeshVMsRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -55,7 +60,11 @@ private Builder(DescribeServiceMeshVMsRequest request) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

ccb37ff104caf419fbf48fb38e6f****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putQueryParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshVMsResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshVMsResponse.java index 18fc7236a33..ddf95bd7e66 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshVMsResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshVMsResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshVMsResponse} extends {@link TeaModel} * *

DescribeServiceMeshVMsResponse

*/ public class DescribeServiceMeshVMsResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeServiceMeshVMsResponseBody body; private DescribeServiceMeshVMsResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeServiceMeshVMsResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeServiceMeshVMsResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeServiceMeshVMsResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeServiceMeshVMsResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshVMsResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshVMsResponseBody.java index 66d60bea3bb..8a11d2f2138 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshVMsResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshVMsResponseBody.java @@ -1,22 +1,27 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshVMsResponseBody} extends {@link TeaModel} * *

DescribeServiceMeshVMsResponseBody

*/ public class DescribeServiceMeshVMsResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("VMs") - private java.util.List < VMs> vMs; + @com.aliyun.core.annotation.NameInMap("VMs") + private java.util.List vMs; private DescribeServiceMeshVMsResponseBody(Builder builder) { this.requestId = builder.requestId; @@ -31,6 +36,10 @@ public static DescribeServiceMeshVMsResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -41,16 +50,27 @@ public String getRequestId() { /** * @return vMs */ - public java.util.List < VMs> getVMs() { + public java.util.List getVMs() { return this.vMs; } public static final class Builder { private String requestId; - private java.util.List < VMs> vMs; + private java.util.List vMs; + + private Builder() { + } + + private Builder(DescribeServiceMeshVMsResponseBody model) { + this.requestId = model.requestId; + this.vMs = model.vMs; + } /** - * The request ID. + *

The request ID.

+ * + * example: + *

4b2c0fe0-6705-4614-8521-6b9d289163c8

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -58,9 +78,9 @@ public Builder requestId(String requestId) { } /** - * The ECS instances that reside in the same VPC as the ASM instance. + *

The ECS instances that reside in the same VPC as the ASM instance.

*/ - public Builder vMs(java.util.List < VMs> vMs) { + public Builder vMs(java.util.List vMs) { this.vMs = vMs; return this; } @@ -71,29 +91,35 @@ public DescribeServiceMeshVMsResponseBody build() { } + /** + * + * {@link DescribeServiceMeshVMsResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshVMsResponseBody

+ */ public static class VMs extends TeaModel { - @NameInMap("HasTag") + @com.aliyun.core.annotation.NameInMap("HasTag") private Boolean hasTag; - @NameInMap("HostName") + @com.aliyun.core.annotation.NameInMap("HostName") private String hostName; - @NameInMap("InstanceId") + @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; - @NameInMap("IpAddress") + @com.aliyun.core.annotation.NameInMap("IpAddress") private String ipAddress; - @NameInMap("Region") + @com.aliyun.core.annotation.NameInMap("Region") private String region; - @NameInMap("SecurityGroupIds") + @com.aliyun.core.annotation.NameInMap("SecurityGroupIds") private String securityGroupIds; - @NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") private String serviceMeshId; - @NameInMap("Status") + @com.aliyun.core.annotation.NameInMap("Status") private String status; private VMs(Builder builder) { @@ -181,8 +207,25 @@ public static final class Builder { private String serviceMeshId; private String status; + private Builder() { + } + + private Builder(VMs model) { + this.hasTag = model.hasTag; + this.hostName = model.hostName; + this.instanceId = model.instanceId; + this.ipAddress = model.ipAddress; + this.region = model.region; + this.securityGroupIds = model.securityGroupIds; + this.serviceMeshId = model.serviceMeshId; + this.status = model.status; + } + /** - * Indicates whether the ECS instance has labels. + *

Indicates whether the ECS instance has labels.

+ * + * example: + *

false

*/ public Builder hasTag(Boolean hasTag) { this.hasTag = hasTag; @@ -190,7 +233,10 @@ public Builder hasTag(Boolean hasTag) { } /** - * The host name. + *

The host name.

+ * + * example: + *

iZ2ze45cgxkx4q12eh****

*/ public Builder hostName(String hostName) { this.hostName = hostName; @@ -198,7 +244,10 @@ public Builder hostName(String hostName) { } /** - * The ID of the ECS instance. + *

The ID of the ECS instance.

+ * + * example: + *

i-2ze0kub9scdguom****

*/ public Builder instanceId(String instanceId) { this.instanceId = instanceId; @@ -206,7 +255,10 @@ public Builder instanceId(String instanceId) { } /** - * The IP address of the ECS instance. + *

The IP address of the ECS instance.

+ * + * example: + *

192.168.2.241

*/ public Builder ipAddress(String ipAddress) { this.ipAddress = ipAddress; @@ -214,7 +266,10 @@ public Builder ipAddress(String ipAddress) { } /** - * The region ID. + *

The region ID.

+ * + * example: + *

cn-beijing

*/ public Builder region(String region) { this.region = region; @@ -222,7 +277,10 @@ public Builder region(String region) { } /** - * The security group to which the ECS instance belongs. + *

The security group to which the ECS instance belongs.

+ * + * example: + *

sg-2zeaqy08amco9osl****

*/ public Builder securityGroupIds(String securityGroupIds) { this.securityGroupIds = securityGroupIds; @@ -230,7 +288,10 @@ public Builder securityGroupIds(String securityGroupIds) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ * + * example: + *

ccb37ff104caf419fbf48fb38e6f3****

*/ public Builder serviceMeshId(String serviceMeshId) { this.serviceMeshId = serviceMeshId; @@ -238,7 +299,10 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * The state of the ECS instance. + *

The state of the ECS instance.

+ * + * example: + *

Running

*/ public Builder status(String status) { this.status = status; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshesRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshesRequest.java index abb6b003e37..6f5ad9fd376 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshesRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshesRequest.java @@ -1,20 +1,25 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshesRequest} extends {@link RequestModel} * *

DescribeServiceMeshesRequest

*/ public class DescribeServiceMeshesRequest extends Request { - @Query - @NameInMap("Tag") - private java.util.List < Tag> tag; + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("Tag") + private java.util.List tag; private DescribeServiceMeshesRequest(Builder builder) { super(builder); @@ -29,7 +34,7 @@ public static DescribeServiceMeshesRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -37,12 +42,12 @@ public Builder toBuilder() { /** * @return tag */ - public java.util.List < Tag> getTag() { + public java.util.List getTag() { return this.tag; } public static final class Builder extends Request.Builder { - private java.util.List < Tag> tag; + private java.util.List tag; private Builder() { super(); @@ -54,9 +59,9 @@ private Builder(DescribeServiceMeshesRequest request) { } /** - * Tag. + *

The tags.

*/ - public Builder tag(java.util.List < Tag> tag) { + public Builder tag(java.util.List tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; @@ -69,11 +74,17 @@ public DescribeServiceMeshesRequest build() { } + /** + * + * {@link DescribeServiceMeshesRequest} extends {@link TeaModel} + * + *

DescribeServiceMeshesRequest

+ */ public static class Tag extends TeaModel { - @NameInMap("Key") + @com.aliyun.core.annotation.NameInMap("Key") private String key; - @NameInMap("Value") + @com.aliyun.core.annotation.NameInMap("Value") private String value; private Tag(Builder builder) { @@ -107,8 +118,19 @@ public static final class Builder { private String key; private String value; + private Builder() { + } + + private Builder(Tag model) { + this.key = model.key; + this.value = model.value; + } + /** - * Key. + *

The tag key.

+ * + * example: + *

test

*/ public Builder key(String key) { this.key = key; @@ -116,7 +138,10 @@ public Builder key(String key) { } /** - * Value. + *

The tag value.

+ * + * example: + *

yahaha

*/ public Builder value(String value) { this.value = value; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshesResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshesResponse.java index 213bda4b958..38de888b82f 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshesResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshesResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshesResponse} extends {@link TeaModel} * *

DescribeServiceMeshesResponse

*/ public class DescribeServiceMeshesResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeServiceMeshesResponseBody body; private DescribeServiceMeshesResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeServiceMeshesResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeServiceMeshesResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeServiceMeshesResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeServiceMeshesResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshesResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshesResponseBody.java index 5408ee870b7..16ae76c0550 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshesResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshesResponseBody.java @@ -1,22 +1,27 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeServiceMeshesResponseBody} extends {@link TeaModel} * *

DescribeServiceMeshesResponseBody

*/ public class DescribeServiceMeshesResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("ServiceMeshes") - private java.util.List < ServiceMeshes> serviceMeshes; + @com.aliyun.core.annotation.NameInMap("ServiceMeshes") + private java.util.List serviceMeshes; private DescribeServiceMeshesResponseBody(Builder builder) { this.requestId = builder.requestId; @@ -31,6 +36,10 @@ public static DescribeServiceMeshesResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -41,16 +50,27 @@ public String getRequestId() { /** * @return serviceMeshes */ - public java.util.List < ServiceMeshes> getServiceMeshes() { + public java.util.List getServiceMeshes() { return this.serviceMeshes; } public static final class Builder { private String requestId; - private java.util.List < ServiceMeshes> serviceMeshes; + private java.util.List serviceMeshes; + + private Builder() { + } + + private Builder(DescribeServiceMeshesResponseBody model) { + this.requestId = model.requestId; + this.serviceMeshes = model.serviceMeshes; + } /** - * The request ID. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -58,9 +78,9 @@ public Builder requestId(String requestId) { } /** - * The information about the ASM instances. + *

The information about the ASM instance.

*/ - public Builder serviceMeshes(java.util.List < ServiceMeshes> serviceMeshes) { + public Builder serviceMeshes(java.util.List serviceMeshes) { this.serviceMeshes = serviceMeshes; return this; } @@ -71,20 +91,26 @@ public DescribeServiceMeshesResponseBody build() { } + /** + * + * {@link DescribeServiceMeshesResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshesResponseBody

+ */ public static class Endpoints extends TeaModel { - @NameInMap("IntranetApiServerEndpoint") + @com.aliyun.core.annotation.NameInMap("IntranetApiServerEndpoint") private String intranetApiServerEndpoint; - @NameInMap("IntranetPilotEndpoint") + @com.aliyun.core.annotation.NameInMap("IntranetPilotEndpoint") private String intranetPilotEndpoint; - @NameInMap("PublicApiServerEndpoint") + @com.aliyun.core.annotation.NameInMap("PublicApiServerEndpoint") private String publicApiServerEndpoint; - @NameInMap("PublicPilotEndpoint") + @com.aliyun.core.annotation.NameInMap("PublicPilotEndpoint") private String publicPilotEndpoint; - @NameInMap("ReverseTunnelEndpoint") + @com.aliyun.core.annotation.NameInMap("ReverseTunnelEndpoint") private String reverseTunnelEndpoint; private Endpoints(Builder builder) { @@ -145,8 +171,22 @@ public static final class Builder { private String publicPilotEndpoint; private String reverseTunnelEndpoint; + private Builder() { + } + + private Builder(Endpoints model) { + this.intranetApiServerEndpoint = model.intranetApiServerEndpoint; + this.intranetPilotEndpoint = model.intranetPilotEndpoint; + this.publicApiServerEndpoint = model.publicApiServerEndpoint; + this.publicPilotEndpoint = model.publicPilotEndpoint; + this.reverseTunnelEndpoint = model.reverseTunnelEndpoint; + } + /** - * The endpoint that is used to access the API server over the internal network. + *

The endpoint that is used to access the API server over the internal network.

+ * + * example: + *

https://192.168.xx.xx:6443

*/ public Builder intranetApiServerEndpoint(String intranetApiServerEndpoint) { this.intranetApiServerEndpoint = intranetApiServerEndpoint; @@ -154,7 +194,10 @@ public Builder intranetApiServerEndpoint(String intranetApiServerEndpoint) { } /** - * The endpoint that is used to access Istio Pilot from the internal network. + *

The endpoint that is used to access Istio Pilot from the internal network.

+ * + * example: + *

192.168.xx.xx:15011

*/ public Builder intranetPilotEndpoint(String intranetPilotEndpoint) { this.intranetPilotEndpoint = intranetPilotEndpoint; @@ -162,7 +205,10 @@ public Builder intranetPilotEndpoint(String intranetPilotEndpoint) { } /** - * The endpoint that is used to access the API server over the Internet. + *

The endpoint that is used to access the API server over the Internet.

+ * + * example: + *

https://123.56.xx.xx:6443

*/ public Builder publicApiServerEndpoint(String publicApiServerEndpoint) { this.publicApiServerEndpoint = publicApiServerEndpoint; @@ -170,7 +216,10 @@ public Builder publicApiServerEndpoint(String publicApiServerEndpoint) { } /** - * The endpoint that is used to expose Istio Pilot to the Internet. + *

The public endpoint of the Pilot of the ASM instance.

+ * + * example: + *

xx.xx.xx.xx

*/ public Builder publicPilotEndpoint(String publicPilotEndpoint) { this.publicPilotEndpoint = publicPilotEndpoint; @@ -178,7 +227,10 @@ public Builder publicPilotEndpoint(String publicPilotEndpoint) { } /** - * The endpoint of the reverse tunnel. + *

The endpoint of the reverse tunnel (Deprecated).

+ * + * example: + *

none

*/ public Builder reverseTunnelEndpoint(String reverseTunnelEndpoint) { this.reverseTunnelEndpoint = reverseTunnelEndpoint; @@ -192,32 +244,38 @@ public Endpoints build() { } } + /** + * + * {@link DescribeServiceMeshesResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshesResponseBody

+ */ public static class ServiceMeshInfo extends TeaModel { - @NameInMap("CreationTime") + @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; - @NameInMap("ErrorMessage") + @com.aliyun.core.annotation.NameInMap("ErrorMessage") private String errorMessage; - @NameInMap("Name") + @com.aliyun.core.annotation.NameInMap("Name") private String name; - @NameInMap("Profile") + @com.aliyun.core.annotation.NameInMap("Profile") private String profile; - @NameInMap("RegionId") + @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; - @NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") private String serviceMeshId; - @NameInMap("State") + @com.aliyun.core.annotation.NameInMap("State") private String state; - @NameInMap("UpdateTime") + @com.aliyun.core.annotation.NameInMap("UpdateTime") private String updateTime; - @NameInMap("Version") + @com.aliyun.core.annotation.NameInMap("Version") private String version; private ServiceMeshInfo(Builder builder) { @@ -314,8 +372,26 @@ public static final class Builder { private String updateTime; private String version; + private Builder() { + } + + private Builder(ServiceMeshInfo model) { + this.creationTime = model.creationTime; + this.errorMessage = model.errorMessage; + this.name = model.name; + this.profile = model.profile; + this.regionId = model.regionId; + this.serviceMeshId = model.serviceMeshId; + this.state = model.state; + this.updateTime = model.updateTime; + this.version = model.version; + } + /** - * The time when the ASM instance was created. + *

The time when the ASM instance was created.

+ * + * example: + *

2020-04-21T09:42:20+08:00

*/ public Builder creationTime(String creationTime) { this.creationTime = creationTime; @@ -323,7 +399,10 @@ public Builder creationTime(String creationTime) { } /** - * The error message. + *

The returned error message.

+ * + * example: + *

error

*/ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; @@ -331,7 +410,10 @@ public Builder errorMessage(String errorMessage) { } /** - * The name of the ASM instance. + *

The name of the ASM instance.

+ * + * example: + *

test

*/ public Builder name(String name) { this.name = name; @@ -339,11 +421,14 @@ public Builder name(String name) { } /** - * The edition of the ASM instance before ASM is available for commercial use. Valid values: - *

+ *

The edition of the ASM instance before ASM is available for commercial use. Valid values:

+ *
    + *
  • Pro: Professional Edition
  • + *
  • Default: Standard Edition
  • + *
* - * * `Pro`: Professional Edition - * * `Default`: Standard Edition + * example: + *

Pro

*/ public Builder profile(String profile) { this.profile = profile; @@ -351,7 +436,10 @@ public Builder profile(String profile) { } /** - * The region ID of the ASM instance. + *

The region ID of the ASM instance.

+ * + * example: + *

cn-beijing

*/ public Builder regionId(String regionId) { this.regionId = regionId; @@ -359,7 +447,10 @@ public Builder regionId(String regionId) { } /** - * The ID of the ASM instance. + *

The ID of the ASM instance.

+ * + * example: + *

cb8963379255149cb98c8686f274x****

*/ public Builder serviceMeshId(String serviceMeshId) { this.serviceMeshId = serviceMeshId; @@ -367,7 +458,10 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * The state of the ASM instance. + *

The state of the ASM instance.

+ * + * example: + *

success

*/ public Builder state(String state) { this.state = state; @@ -375,7 +469,10 @@ public Builder state(String state) { } /** - * The time when the ASM instance was last modified. + *

The time when the ASM instance was last modified.

+ * + * example: + *

2020-04-21T09:42:20+08:00

*/ public Builder updateTime(String updateTime) { this.updateTime = updateTime; @@ -383,7 +480,10 @@ public Builder updateTime(String updateTime) { } /** - * The version number of the ASM instance. + *

The version number of the ASM instance.

+ * + * example: + *

1

*/ public Builder version(String version) { this.version = version; @@ -397,17 +497,23 @@ public ServiceMeshInfo build() { } } + /** + * + * {@link DescribeServiceMeshesResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshesResponseBody

+ */ public static class LoadBalancer extends TeaModel { - @NameInMap("ApiServerLoadbalancerId") + @com.aliyun.core.annotation.NameInMap("ApiServerLoadbalancerId") private String apiServerLoadbalancerId; - @NameInMap("ApiServerPublicEip") + @com.aliyun.core.annotation.NameInMap("ApiServerPublicEip") private Boolean apiServerPublicEip; - @NameInMap("PilotPublicEip") + @com.aliyun.core.annotation.NameInMap("PilotPublicEip") private Boolean pilotPublicEip; - @NameInMap("PilotPublicLoadbalancerId") + @com.aliyun.core.annotation.NameInMap("PilotPublicLoadbalancerId") private String pilotPublicLoadbalancerId; private LoadBalancer(Builder builder) { @@ -459,8 +565,21 @@ public static final class Builder { private Boolean pilotPublicEip; private String pilotPublicLoadbalancerId; + private Builder() { + } + + private Builder(LoadBalancer model) { + this.apiServerLoadbalancerId = model.apiServerLoadbalancerId; + this.apiServerPublicEip = model.apiServerPublicEip; + this.pilotPublicEip = model.pilotPublicEip; + this.pilotPublicLoadbalancerId = model.pilotPublicLoadbalancerId; + } + /** - * The ID of the SLB instance that is used when the API server is exposed to the Internet. + *

The ID of the CLB instance that is used when the API server is exposed to the Internet.

+ * + * example: + *

lb-2zekaak10uxds44vx****

*/ public Builder apiServerLoadbalancerId(String apiServerLoadbalancerId) { this.apiServerLoadbalancerId = apiServerLoadbalancerId; @@ -468,11 +587,14 @@ public Builder apiServerLoadbalancerId(String apiServerLoadbalancerId) { } /** - * Indicates whether the API server is exposed to the Internet. Valid values: - *

+ *

Indicates whether the API server is exposed to the Internet. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

true

*/ public Builder apiServerPublicEip(Boolean apiServerPublicEip) { this.apiServerPublicEip = apiServerPublicEip; @@ -480,11 +602,14 @@ public Builder apiServerPublicEip(Boolean apiServerPublicEip) { } /** - * Indicates whether Istio Pilot is exposed to the Internet. Valid values: - *

+ *

Indicates whether Istio Pilot is exposed to the Internet. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

true

*/ public Builder pilotPublicEip(Boolean pilotPublicEip) { this.pilotPublicEip = pilotPublicEip; @@ -492,7 +617,10 @@ public Builder pilotPublicEip(Boolean pilotPublicEip) { } /** - * The ID of the Server Load Balancer (SLB) instance that is used when Istio Pilot is exposed to the Internet. + *

The ID of the Classic Load Balancer (CLB) instance that is used when Istio Pilot is exposed to the Internet.

+ * + * example: + *

lb-2zesa8qs8kbkj9jkl****

*/ public Builder pilotPublicLoadbalancerId(String pilotPublicLoadbalancerId) { this.pilotPublicLoadbalancerId = pilotPublicLoadbalancerId; @@ -506,11 +634,128 @@ public LoadBalancer build() { } } + /** + * + * {@link DescribeServiceMeshesResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshesResponseBody

+ */ + public static class Playground extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Scene") + private String scene; + + private Playground(Builder builder) { + this.scene = builder.scene; + } + + public static Builder builder() { + return new Builder(); + } + + public static Playground create() { + return builder().build(); + } + + /** + * @return scene + */ + public String getScene() { + return this.scene; + } + + public static final class Builder { + private String scene; + + private Builder() { + } + + private Builder(Playground model) { + this.scene = model.scene; + } + + /** + *

The ID of the ASM Playground scenario.

+ * + * example: + *

ewmaLb

+ */ + public Builder scene(String scene) { + this.scene = scene; + return this; + } + + public Playground build() { + return new Playground(this); + } + + } + + } + /** + * + * {@link DescribeServiceMeshesResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshesResponseBody

+ */ + public static class ExtraConfiguration extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Playground") + private Playground playground; + + private ExtraConfiguration(Builder builder) { + this.playground = builder.playground; + } + + public static Builder builder() { + return new Builder(); + } + + public static ExtraConfiguration create() { + return builder().build(); + } + + /** + * @return playground + */ + public Playground getPlayground() { + return this.playground; + } + + public static final class Builder { + private Playground playground; + + private Builder() { + } + + private Builder(ExtraConfiguration model) { + this.playground = model.playground; + } + + /** + *

The configurations of the ASM Playground (valid only for ASM Playground instances).

+ */ + public Builder playground(Playground playground) { + this.playground = playground; + return this; + } + + public ExtraConfiguration build() { + return new ExtraConfiguration(this); + } + + } + + } + /** + * + * {@link DescribeServiceMeshesResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshesResponseBody

+ */ public static class Pilot extends TeaModel { - @NameInMap("Http10Enabled") + @com.aliyun.core.annotation.NameInMap("Http10Enabled") private Boolean http10Enabled; - @NameInMap("TraceSampling") + @com.aliyun.core.annotation.NameInMap("TraceSampling") private Float traceSampling; private Pilot(Builder builder) { @@ -544,12 +789,23 @@ public static final class Builder { private Boolean http10Enabled; private Float traceSampling; + private Builder() { + } + + private Builder(Pilot model) { + this.http10Enabled = model.http10Enabled; + this.traceSampling = model.traceSampling; + } + /** - * Indicates whether the support for HTTP 1.0 is enabled. Valid values: - *

+ *

Indicates whether the support for HTTP 1.0 is enabled. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

true

*/ public Builder http10Enabled(Boolean http10Enabled) { this.http10Enabled = http10Enabled; @@ -557,7 +813,10 @@ public Builder http10Enabled(Boolean http10Enabled) { } /** - * The sampling rate when Tracing Analysis is enabled. + *

The sampling rate when Managed Service for OpenTelemetry is enabled.

+ * + * example: + *

0.2

*/ public Builder traceSampling(Float traceSampling) { this.traceSampling = traceSampling; @@ -571,11 +830,17 @@ public Pilot build() { } } + /** + * + * {@link DescribeServiceMeshesResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshesResponseBody

+ */ public static class InitCNIConfiguration extends TeaModel { - @NameInMap("Enabled") + @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; - @NameInMap("ExcludeNamespaces") + @com.aliyun.core.annotation.NameInMap("ExcludeNamespaces") private String excludeNamespaces; private InitCNIConfiguration(Builder builder) { @@ -609,12 +874,23 @@ public static final class Builder { private Boolean enabled; private String excludeNamespaces; + private Builder() { + } + + private Builder(InitCNIConfiguration model) { + this.enabled = model.enabled; + this.excludeNamespaces = model.excludeNamespaces; + } + /** - * Indicates whether elevated privileges are required for the istio-init container when you perform traffic redirection for the istio-proxy container. Valid values: - *

+ *

Indicates whether elevated privileges are required for the istio-init container when you perform traffic redirection for the istio-proxy container. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

true

*/ public Builder enabled(Boolean enabled) { this.enabled = enabled; @@ -622,7 +898,10 @@ public Builder enabled(Boolean enabled) { } /** - * The namespace for which sidecar proxy injection is disabled. + *

The namespaces in which the CNI plug-in does not check the pods.

+ * + * example: + *

default,foo

*/ public Builder excludeNamespaces(String excludeNamespaces) { this.excludeNamespaces = excludeNamespaces; @@ -636,14 +915,20 @@ public InitCNIConfiguration build() { } } + /** + * + * {@link DescribeServiceMeshesResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshesResponseBody

+ */ public static class SidecarInjector extends TeaModel { - @NameInMap("AutoInjectionPolicyEnabled") + @com.aliyun.core.annotation.NameInMap("AutoInjectionPolicyEnabled") private Boolean autoInjectionPolicyEnabled; - @NameInMap("EnableNamespacesByDefault") + @com.aliyun.core.annotation.NameInMap("EnableNamespacesByDefault") private Boolean enableNamespacesByDefault; - @NameInMap("InitCNIConfiguration") + @com.aliyun.core.annotation.NameInMap("InitCNIConfiguration") private InitCNIConfiguration initCNIConfiguration; private SidecarInjector(Builder builder) { @@ -686,8 +971,20 @@ public static final class Builder { private Boolean enableNamespacesByDefault; private InitCNIConfiguration initCNIConfiguration; + private Builder() { + } + + private Builder(SidecarInjector model) { + this.autoInjectionPolicyEnabled = model.autoInjectionPolicyEnabled; + this.enableNamespacesByDefault = model.enableNamespacesByDefault; + this.initCNIConfiguration = model.initCNIConfiguration; + } + /** - * Indicates whether automatic sidecar proxy injection is enabled by using annotations. + *

Indicates whether automatic sidecar proxy injection is enabled by using annotations.

+ * + * example: + *

true

*/ public Builder autoInjectionPolicyEnabled(Boolean autoInjectionPolicyEnabled) { this.autoInjectionPolicyEnabled = autoInjectionPolicyEnabled; @@ -695,11 +992,14 @@ public Builder autoInjectionPolicyEnabled(Boolean autoInjectionPolicyEnabled) { } /** - * Indicates whether automatic sidecar proxy injection is enabled for all namespaces. Valid values: - *

+ *

Indicates whether automatic sidecar proxy injection is enabled for all namespaces. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder enableNamespacesByDefault(Boolean enableNamespacesByDefault) { this.enableNamespacesByDefault = enableNamespacesByDefault; @@ -707,7 +1007,7 @@ public Builder enableNamespacesByDefault(Boolean enableNamespacesByDefault) { } /** - * The initial configurations of Container Network Interface (CNI). + *

The initial configurations of Container Network Interface (CNI).

*/ public Builder initCNIConfiguration(InitCNIConfiguration initCNIConfiguration) { this.initCNIConfiguration = initCNIConfiguration; @@ -721,29 +1021,39 @@ public SidecarInjector build() { } } + /** + * + * {@link DescribeServiceMeshesResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshesResponseBody

+ */ public static class MeshConfig extends TeaModel { - @NameInMap("Mtls") + @com.aliyun.core.annotation.NameInMap("ExtraConfiguration") + private ExtraConfiguration extraConfiguration; + + @com.aliyun.core.annotation.NameInMap("Mtls") private Boolean mtls; - @NameInMap("OutboundTrafficPolicy") + @com.aliyun.core.annotation.NameInMap("OutboundTrafficPolicy") private String outboundTrafficPolicy; - @NameInMap("Pilot") + @com.aliyun.core.annotation.NameInMap("Pilot") private Pilot pilot; - @NameInMap("SidecarInjector") + @com.aliyun.core.annotation.NameInMap("SidecarInjector") private SidecarInjector sidecarInjector; - @NameInMap("StrictMtls") + @com.aliyun.core.annotation.NameInMap("StrictMtls") private Boolean strictMtls; - @NameInMap("Telemetry") + @com.aliyun.core.annotation.NameInMap("Telemetry") private Boolean telemetry; - @NameInMap("Tracing") + @com.aliyun.core.annotation.NameInMap("Tracing") private Boolean tracing; private MeshConfig(Builder builder) { + this.extraConfiguration = builder.extraConfiguration; this.mtls = builder.mtls; this.outboundTrafficPolicy = builder.outboundTrafficPolicy; this.pilot = builder.pilot; @@ -761,6 +1071,13 @@ public static MeshConfig create() { return builder().build(); } + /** + * @return extraConfiguration + */ + public ExtraConfiguration getExtraConfiguration() { + return this.extraConfiguration; + } + /** * @return mtls */ @@ -811,6 +1128,7 @@ public Boolean getTracing() { } public static final class Builder { + private ExtraConfiguration extraConfiguration; private Boolean mtls; private String outboundTrafficPolicy; private Pilot pilot; @@ -819,12 +1137,37 @@ public static final class Builder { private Boolean telemetry; private Boolean tracing; + private Builder() { + } + + private Builder(MeshConfig model) { + this.extraConfiguration = model.extraConfiguration; + this.mtls = model.mtls; + this.outboundTrafficPolicy = model.outboundTrafficPolicy; + this.pilot = model.pilot; + this.sidecarInjector = model.sidecarInjector; + this.strictMtls = model.strictMtls; + this.telemetry = model.telemetry; + this.tracing = model.tracing; + } + + /** + *

The extended configurations of the ASM instance.

+ */ + public Builder extraConfiguration(ExtraConfiguration extraConfiguration) { + this.extraConfiguration = extraConfiguration; + return this; + } + /** - * Indicates whether nearby access is enabled. Valid values: - *

+ *

Indicates whether nearby access is enabled. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

true

*/ public Builder mtls(Boolean mtls) { this.mtls = mtls; @@ -832,11 +1175,14 @@ public Builder mtls(Boolean mtls) { } /** - * The outbound traffic policy. Valid values: - *

+ *

The outbound traffic policy. Valid values:

+ *
    + *
  • ALLOW_ANY: Outbound traffic to an external service is allowed.
  • + *
  • REGISTRY_ONLY: Outbound traffic is allowed to only external services that are defined in the service registry of the ASM instance.
  • + *
* - * * `ALLOW_ANY`: Outbound traffic to an external service is allowed. - * * `REGISTRY_ONLY`: Outbound traffic is allowed to only external services that are defined in the service registry of the ASM instance. + * example: + *

ALLOW_ANY

*/ public Builder outboundTrafficPolicy(String outboundTrafficPolicy) { this.outboundTrafficPolicy = outboundTrafficPolicy; @@ -844,7 +1190,7 @@ public Builder outboundTrafficPolicy(String outboundTrafficPolicy) { } /** - * The configurations of the control plane. + *

The configurations of the control plane.

*/ public Builder pilot(Pilot pilot) { this.pilot = pilot; @@ -852,7 +1198,7 @@ public Builder pilot(Pilot pilot) { } /** - * The configurations of sidecar proxy injection. + *

The configurations of sidecar proxy injection.

*/ public Builder sidecarInjector(SidecarInjector sidecarInjector) { this.sidecarInjector = sidecarInjector; @@ -860,7 +1206,10 @@ public Builder sidecarInjector(SidecarInjector sidecarInjector) { } /** - * Indicates whether mutual Transport Layer Security (mTLS) is strictly enforced. + *

Indicates whether mutual Transport Layer Security (mTLS) is strictly enforced.

+ * + * example: + *

true

*/ public Builder strictMtls(Boolean strictMtls) { this.strictMtls = strictMtls; @@ -868,11 +1217,14 @@ public Builder strictMtls(Boolean strictMtls) { } /** - * Indicates whether Prometheus monitoring is enabled. We recommend that you use Managed Service for Prometheus. Valid values: - *

+ *

Indicates whether Prometheus monitoring is enabled. We recommend that you use Managed Service for Prometheus. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

true

*/ public Builder telemetry(Boolean telemetry) { this.telemetry = telemetry; @@ -880,11 +1232,14 @@ public Builder telemetry(Boolean telemetry) { } /** - * Indicates whether the tracing feature is enabled. This feature can be enabled only after Tracing Analysis is activated. Valid values: - *

+ *

Indicates whether the tracing feature is enabled. This feature can be enabled only after Managed Service for OpenTelemetry is activated. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

true

*/ public Builder tracing(Boolean tracing) { this.tracing = tracing; @@ -898,14 +1253,20 @@ public MeshConfig build() { } } + /** + * + * {@link DescribeServiceMeshesResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshesResponseBody

+ */ public static class Network extends TeaModel { - @NameInMap("SecurityGroupId") + @com.aliyun.core.annotation.NameInMap("SecurityGroupId") private String securityGroupId; - @NameInMap("VSwitches") - private java.util.List < String > vSwitches; + @com.aliyun.core.annotation.NameInMap("VSwitches") + private java.util.List vSwitches; - @NameInMap("VpcId") + @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; private Network(Builder builder) { @@ -932,7 +1293,7 @@ public String getSecurityGroupId() { /** * @return vSwitches */ - public java.util.List < String > getVSwitches() { + public java.util.List getVSwitches() { return this.vSwitches; } @@ -945,11 +1306,23 @@ public String getVpcId() { public static final class Builder { private String securityGroupId; - private java.util.List < String > vSwitches; + private java.util.List vSwitches; private String vpcId; + private Builder() { + } + + private Builder(Network model) { + this.securityGroupId = model.securityGroupId; + this.vSwitches = model.vSwitches; + this.vpcId = model.vpcId; + } + /** - * The ID of the security group. + *

The ID of the security group.

+ * + * example: + *

sg-2ze384sxttxbctnj****

*/ public Builder securityGroupId(String securityGroupId) { this.securityGroupId = securityGroupId; @@ -957,15 +1330,18 @@ public Builder securityGroupId(String securityGroupId) { } /** - * The IDs of the vSwitches. + *

The IDs of the vSwitches.

*/ - public Builder vSwitches(java.util.List < String > vSwitches) { + public Builder vSwitches(java.util.List vSwitches) { this.vSwitches = vSwitches; return this; } /** - * The ID of the virtual private cloud (VPC). + *

The ID of the virtual private cloud (VPC).

+ * + * example: + *

vpc-2zew0rajjkmxy2369****

*/ public Builder vpcId(String vpcId) { this.vpcId = vpcId; @@ -979,14 +1355,20 @@ public Network build() { } } + /** + * + * {@link DescribeServiceMeshesResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshesResponseBody

+ */ public static class Spec extends TeaModel { - @NameInMap("LoadBalancer") + @com.aliyun.core.annotation.NameInMap("LoadBalancer") private LoadBalancer loadBalancer; - @NameInMap("MeshConfig") + @com.aliyun.core.annotation.NameInMap("MeshConfig") private MeshConfig meshConfig; - @NameInMap("Network") + @com.aliyun.core.annotation.NameInMap("Network") private Network network; private Spec(Builder builder) { @@ -1029,8 +1411,17 @@ public static final class Builder { private MeshConfig meshConfig; private Network network; + private Builder() { + } + + private Builder(Spec model) { + this.loadBalancer = model.loadBalancer; + this.meshConfig = model.meshConfig; + this.network = model.network; + } + /** - * The information about load balancing. + *

The information about load balancing.

*/ public Builder loadBalancer(LoadBalancer loadBalancer) { this.loadBalancer = loadBalancer; @@ -1038,7 +1429,7 @@ public Builder loadBalancer(LoadBalancer loadBalancer) { } /** - * The configurations of the ASM instance. + *

The configurations of the ASM instance.

*/ public Builder meshConfig(MeshConfig meshConfig) { this.meshConfig = meshConfig; @@ -1046,7 +1437,7 @@ public Builder meshConfig(MeshConfig meshConfig) { } /** - * The network configurations of the ASM instance. + *

The network configurations of the ASM instance.

*/ public Builder network(Network network) { this.network = network; @@ -1060,11 +1451,17 @@ public Spec build() { } } + /** + * + * {@link DescribeServiceMeshesResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshesResponseBody

+ */ public static class Tag extends TeaModel { - @NameInMap("Key") + @com.aliyun.core.annotation.NameInMap("Key") private String key; - @NameInMap("Value") + @com.aliyun.core.annotation.NameInMap("Value") private String value; private Tag(Builder builder) { @@ -1098,8 +1495,19 @@ public static final class Builder { private String key; private String value; + private Builder() { + } + + private Builder(Tag model) { + this.key = model.key; + this.value = model.value; + } + /** - * Key. + *

The tag key.

+ * + * example: + *

test

*/ public Builder key(String key) { this.key = key; @@ -1107,7 +1515,10 @@ public Builder key(String key) { } /** - * Value. + *

The tag value.

+ * + * example: + *

yahaha

*/ public Builder value(String value) { this.value = value; @@ -1121,32 +1532,38 @@ public Tag build() { } } + /** + * + * {@link DescribeServiceMeshesResponseBody} extends {@link TeaModel} + * + *

DescribeServiceMeshesResponseBody

+ */ public static class ServiceMeshes extends TeaModel { - @NameInMap("ClusterSpec") + @com.aliyun.core.annotation.NameInMap("ClusterSpec") private String clusterSpec; - @NameInMap("Clusters") - private java.util.List < String > clusters; + @com.aliyun.core.annotation.NameInMap("Clusters") + private java.util.List clusters; - @NameInMap("Endpoints") + @com.aliyun.core.annotation.NameInMap("Endpoints") private Endpoints endpoints; - @NameInMap("OwnerId") + @com.aliyun.core.annotation.NameInMap("OwnerId") private String ownerId; - @NameInMap("OwnerType") + @com.aliyun.core.annotation.NameInMap("OwnerType") private String ownerType; - @NameInMap("ServiceMeshInfo") + @com.aliyun.core.annotation.NameInMap("ServiceMeshInfo") private ServiceMeshInfo serviceMeshInfo; - @NameInMap("Spec") + @com.aliyun.core.annotation.NameInMap("Spec") private Spec spec; - @NameInMap("Tag") - private java.util.List < Tag> tag; + @com.aliyun.core.annotation.NameInMap("Tag") + private java.util.List tag; - @NameInMap("Upgradable") + @com.aliyun.core.annotation.NameInMap("Upgradable") private Boolean upgradable; private ServiceMeshes(Builder builder) { @@ -1179,7 +1596,7 @@ public String getClusterSpec() { /** * @return clusters */ - public java.util.List < String > getClusters() { + public java.util.List getClusters() { return this.clusters; } @@ -1221,7 +1638,7 @@ public Spec getSpec() { /** * @return tag */ - public java.util.List < Tag> getTag() { + public java.util.List getTag() { return this.tag; } @@ -1234,22 +1651,40 @@ public Boolean getUpgradable() { public static final class Builder { private String clusterSpec; - private java.util.List < String > clusters; + private java.util.List clusters; private Endpoints endpoints; private String ownerId; private String ownerType; private ServiceMeshInfo serviceMeshInfo; private Spec spec; - private java.util.List < Tag> tag; + private java.util.List tag; private Boolean upgradable; + private Builder() { + } + + private Builder(ServiceMeshes model) { + this.clusterSpec = model.clusterSpec; + this.clusters = model.clusters; + this.endpoints = model.endpoints; + this.ownerId = model.ownerId; + this.ownerType = model.ownerType; + this.serviceMeshInfo = model.serviceMeshInfo; + this.spec = model.spec; + this.tag = model.tag; + this.upgradable = model.upgradable; + } + /** - * The edition of the ASM instance. Valid values: - *

+ *

The edition of the ASM instance. Valid values:

+ *
    + *
  • standard: Standard Edition
  • + *
  • enterprise: Enterprise Edition
  • + *
  • ultimate: Ultimate Edition
  • + *
* - * * `standard`: Standard Edition - * * `enterprise`: Enterprise Edition - * * `ultimate`: Ultimate Edition + * example: + *

standard

*/ public Builder clusterSpec(String clusterSpec) { this.clusterSpec = clusterSpec; @@ -1257,15 +1692,15 @@ public Builder clusterSpec(String clusterSpec) { } /** - * The clusters. + *

The clusters.

*/ - public Builder clusters(java.util.List < String > clusters) { + public Builder clusters(java.util.List clusters) { this.clusters = clusters; return this; } /** - * The information about all endpoints of the ASM instances. + *

The information about all endpoints of the ASM instance.

*/ public Builder endpoints(Endpoints endpoints) { this.endpoints = endpoints; @@ -1273,7 +1708,10 @@ public Builder endpoints(Endpoints endpoints) { } /** - * The ID of the Alibaba Cloud service instance for which the ASM instance is created. + *

The ID of the Alibaba Cloud service instance for which the ASM instance is created.

+ * + * example: + *

cc3e96f249d124eb38b72718ec5*****

*/ public Builder ownerId(String ownerId) { this.ownerId = ownerId; @@ -1281,11 +1719,14 @@ public Builder ownerId(String ownerId) { } /** - * The Alibaba Cloud service for which the ASM instance is created. Valid values: - *

+ *

The Alibaba Cloud service for which the ASM instance is created. Valid values:

+ *
    + *
  • ackone: The ASM instance is created for Alibaba Cloud Distributed Cloud Container Platform (ACK One).
  • + *
  • An empty value indicates that the ASM instance is created by the user.
  • + *
* - * * `ackone`: The ASM instance is created for Alibaba Cloud Distributed Cloud Container Platform (ACK One). - * * An empty value indicates that the ASM instance is created by the user. + * example: + *

ackone

*/ public Builder ownerType(String ownerType) { this.ownerType = ownerType; @@ -1293,7 +1734,7 @@ public Builder ownerType(String ownerType) { } /** - * The basic information about the ASM instances. + *

The basic information about the ASM instances.

*/ public Builder serviceMeshInfo(ServiceMeshInfo serviceMeshInfo) { this.serviceMeshInfo = serviceMeshInfo; @@ -1301,7 +1742,7 @@ public Builder serviceMeshInfo(ServiceMeshInfo serviceMeshInfo) { } /** - * The specifications of the ASM instance. + *

The specifications of the ASM instance.

*/ public Builder spec(Spec spec) { this.spec = spec; @@ -1309,15 +1750,18 @@ public Builder spec(Spec spec) { } /** - * Tag. + *

The details about the tags.

*/ - public Builder tag(java.util.List < Tag> tag) { + public Builder tag(java.util.List tag) { this.tag = tag; return this; } /** - * Upgradable. + *

Indicates whether the ASM instance can be upgraded.

+ * + * example: + *

false

*/ public Builder upgradable(Boolean upgradable) { this.upgradable = upgradable; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUpgradeVersionRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUpgradeVersionRequest.java index 3001c2a3e64..6f5bc1bcded 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUpgradeVersionRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUpgradeVersionRequest.java @@ -1,20 +1,25 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeUpgradeVersionRequest} extends {@link RequestModel} * *

DescribeUpgradeVersionRequest

*/ public class DescribeUpgradeVersionRequest extends Request { - @Query - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DescribeUpgradeVersionRequest(Builder builder) { @@ -30,7 +35,7 @@ public static DescribeUpgradeVersionRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -55,7 +60,11 @@ private Builder(DescribeUpgradeVersionRequest request) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putQueryParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUpgradeVersionResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUpgradeVersionResponse.java index b3605dcff2b..b985010cb92 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUpgradeVersionResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUpgradeVersionResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeUpgradeVersionResponse} extends {@link TeaModel} * *

DescribeUpgradeVersionResponse

*/ public class DescribeUpgradeVersionResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeUpgradeVersionResponseBody body; private DescribeUpgradeVersionResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeUpgradeVersionResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeUpgradeVersionResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeUpgradeVersionResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeUpgradeVersionResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUpgradeVersionResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUpgradeVersionResponseBody.java index 7c927a136f6..71007fe0d15 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUpgradeVersionResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUpgradeVersionResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeUpgradeVersionResponseBody} extends {@link TeaModel} * *

DescribeUpgradeVersionResponseBody

*/ public class DescribeUpgradeVersionResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("Version") + @com.aliyun.core.annotation.NameInMap("Version") private Version version; private DescribeUpgradeVersionResponseBody(Builder builder) { @@ -31,6 +36,10 @@ public static DescribeUpgradeVersionResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -49,8 +58,19 @@ public static final class Builder { private String requestId; private Version version; + private Builder() { + } + + private Builder(DescribeUpgradeVersionResponseBody model) { + this.requestId = model.requestId; + this.version = model.version; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

11fd0027-c27e-41bb-a565-75583054****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -58,7 +78,7 @@ public Builder requestId(String requestId) { } /** - * The version information. + *

The version information.

*/ public Builder version(Version version) { this.version = version; @@ -71,14 +91,20 @@ public DescribeUpgradeVersionResponseBody build() { } + /** + * + * {@link DescribeUpgradeVersionResponseBody} extends {@link TeaModel} + * + *

DescribeUpgradeVersionResponseBody

+ */ public static class Version extends TeaModel { - @NameInMap("IstioOperatorVersion") + @com.aliyun.core.annotation.NameInMap("IstioOperatorVersion") private String istioOperatorVersion; - @NameInMap("IstioVersion") + @com.aliyun.core.annotation.NameInMap("IstioVersion") private String istioVersion; - @NameInMap("KubernetesVersion") + @com.aliyun.core.annotation.NameInMap("KubernetesVersion") private String kubernetesVersion; private Version(Builder builder) { @@ -121,8 +147,20 @@ public static final class Builder { private String istioVersion; private String kubernetesVersion; + private Builder() { + } + + private Builder(Version model) { + this.istioOperatorVersion = model.istioOperatorVersion; + this.istioVersion = model.istioVersion; + this.kubernetesVersion = model.kubernetesVersion; + } + /** - * The version of the ASM instance. + *

The version of the ASM instance.

+ * + * example: + *

v1.17.2.42-gf7619883-aliyun

*/ public Builder istioOperatorVersion(String istioOperatorVersion) { this.istioOperatorVersion = istioOperatorVersion; @@ -130,7 +168,10 @@ public Builder istioOperatorVersion(String istioOperatorVersion) { } /** - * The Istio version. + *

The Istio version.

+ * + * example: + *

1.17.2

*/ public Builder istioVersion(String istioVersion) { this.istioVersion = istioVersion; @@ -138,7 +179,10 @@ public Builder istioVersion(String istioVersion) { } /** - * The Kubernetes version. + *

The Kubernetes version.

+ * + * example: + *

v1.24.6-aliyun.1

*/ public Builder kubernetesVersion(String kubernetesVersion) { this.kubernetesVersion = kubernetesVersion; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUserPermissionsRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUserPermissionsRequest.java index e9139a2d4a5..5f23aedf96c 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUserPermissionsRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUserPermissionsRequest.java @@ -1,20 +1,25 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeUserPermissionsRequest} extends {@link RequestModel} * *

DescribeUserPermissionsRequest

*/ public class DescribeUserPermissionsRequest extends Request { - @Body - @NameInMap("SubAccountUserId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SubAccountUserId") + @com.aliyun.core.annotation.Validation(required = true) private String subAccountUserId; private DescribeUserPermissionsRequest(Builder builder) { @@ -30,7 +35,7 @@ public static DescribeUserPermissionsRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -55,7 +60,11 @@ private Builder(DescribeUserPermissionsRequest request) { } /** - * The ID of a RAM user or RAM role. + *

The ID of a RAM user or RAM role.

+ *

This parameter is required.

+ * + * example: + *

27852573609480****

*/ public Builder subAccountUserId(String subAccountUserId) { this.putBodyParameter("SubAccountUserId", subAccountUserId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUserPermissionsResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUserPermissionsResponse.java index 8c17ad8a563..c0c28894f1a 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUserPermissionsResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUserPermissionsResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeUserPermissionsResponse} extends {@link TeaModel} * *

DescribeUserPermissionsResponse

*/ public class DescribeUserPermissionsResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeUserPermissionsResponseBody body; private DescribeUserPermissionsResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeUserPermissionsResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeUserPermissionsResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeUserPermissionsResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeUserPermissionsResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUserPermissionsResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUserPermissionsResponseBody.java index aabe6c94326..325cb8c5a2c 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUserPermissionsResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUserPermissionsResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeUserPermissionsResponseBody} extends {@link TeaModel} * *

DescribeUserPermissionsResponseBody

*/ public class DescribeUserPermissionsResponseBody extends TeaModel { - @NameInMap("Permissions") - private java.util.List < Permissions> permissions; + @com.aliyun.core.annotation.NameInMap("Permissions") + private java.util.List permissions; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeUserPermissionsResponseBody(Builder builder) { @@ -31,10 +36,14 @@ public static DescribeUserPermissionsResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return permissions */ - public java.util.List < Permissions> getPermissions() { + public java.util.List getPermissions() { return this.permissions; } @@ -46,19 +55,30 @@ public String getRequestId() { } public static final class Builder { - private java.util.List < Permissions> permissions; + private java.util.List permissions; private String requestId; + private Builder() { + } + + private Builder(DescribeUserPermissionsResponseBody model) { + this.permissions = model.permissions; + this.requestId = model.requestId; + } + /** - * The permissions that are granted to an entity. + *

The permissions that are granted to an entity.

*/ - public Builder permissions(java.util.List < Permissions> permissions) { + public Builder permissions(java.util.List permissions) { this.permissions = permissions; return this; } /** - * The request ID. + *

The request ID.

+ * + * example: + *

5A7C9E37-C171-584F-9A99-869B48C4196D

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -71,23 +91,29 @@ public DescribeUserPermissionsResponseBody build() { } + /** + * + * {@link DescribeUserPermissionsResponseBody} extends {@link TeaModel} + * + *

DescribeUserPermissionsResponseBody

+ */ public static class Permissions extends TeaModel { - @NameInMap("IsRamRole") + @com.aliyun.core.annotation.NameInMap("IsRamRole") private String isRamRole; - @NameInMap("ParentId") + @com.aliyun.core.annotation.NameInMap("ParentId") private String parentId; - @NameInMap("ResourceId") + @com.aliyun.core.annotation.NameInMap("ResourceId") private String resourceId; - @NameInMap("ResourceType") + @com.aliyun.core.annotation.NameInMap("ResourceType") private String resourceType; - @NameInMap("RoleName") + @com.aliyun.core.annotation.NameInMap("RoleName") private String roleName; - @NameInMap("RoleType") + @com.aliyun.core.annotation.NameInMap("RoleType") private String roleType; private Permissions(Builder builder) { @@ -157,8 +183,23 @@ public static final class Builder { private String roleName; private String roleType; + private Builder() { + } + + private Builder(Permissions model) { + this.isRamRole = model.isRamRole; + this.parentId = model.parentId; + this.resourceId = model.resourceId; + this.resourceType = model.resourceType; + this.roleName = model.roleName; + this.roleType = model.roleType; + } + /** - * The entity to which the permissions are granted. A value of `true` indicates that the permissions are granted to a RAM user. A value of `false` indicates that the permissions are granted to a RAM role. + *

The entity to which the permissions are granted. A value of true indicates that the permissions are granted to a RAM user. A value of false indicates that the permissions are granted to a RAM role.

+ * + * example: + *

false

*/ public Builder isRamRole(String isRamRole) { this.isRamRole = isRamRole; @@ -166,7 +207,10 @@ public Builder isRamRole(String isRamRole) { } /** - * The value is fixed as `0`. + *

The value is fixed as 0.

+ * + * example: + *

0

*/ public Builder parentId(String parentId) { this.parentId = parentId; @@ -174,7 +218,10 @@ public Builder parentId(String parentId) { } /** - * The ID of the ASM instance. + *

The ID of the ASM instance.

+ * + * example: + *

c57b848115458460583a4260cb713****

*/ public Builder resourceId(String resourceId) { this.resourceId = resourceId; @@ -182,7 +229,10 @@ public Builder resourceId(String resourceId) { } /** - * The value is fixed as `cluster`. + *

The value is fixed as cluster.

+ * + * example: + *

cluster

*/ public Builder resourceType(String resourceType) { this.resourceType = resourceType; @@ -190,12 +240,15 @@ public Builder resourceType(String resourceType) { } /** - * The name of the permissions. Valid values: - *

+ *

The name of the permissions. Valid values:

+ *
    + *
  • istio-admin: the permissions of ASM administrators.
  • + *
  • istio-ops: the permissions of ASM restricted users.
  • + *
  • istio-readonly: the read-only permissions.
  • + *
* - * * `istio-admin`: the permissions of ASM administrators. - * * `istio-ops`: the permissions of ASM restricted users. - * * `istio-readonly`: the read-only permissions. + * example: + *

istio-admin

*/ public Builder roleName(String roleName) { this.roleName = roleName; @@ -203,7 +256,10 @@ public Builder roleName(String roleName) { } /** - * The value is fixed as `custom`. + *

The value is fixed as custom.

+ * + * example: + *

custom

*/ public Builder roleType(String roleType) { this.roleType = roleType; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUsersWithPermissionsRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUsersWithPermissionsRequest.java index 135ceb6170f..26e60222a87 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUsersWithPermissionsRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUsersWithPermissionsRequest.java @@ -1,20 +1,25 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeUsersWithPermissionsRequest} extends {@link RequestModel} * *

DescribeUsersWithPermissionsRequest

*/ public class DescribeUsersWithPermissionsRequest extends Request { - @Body - @NameInMap("UserType") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("UserType") + @com.aliyun.core.annotation.Validation(required = true) private String userType; private DescribeUsersWithPermissionsRequest(Builder builder) { @@ -30,7 +35,7 @@ public static DescribeUsersWithPermissionsRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -55,11 +60,15 @@ private Builder(DescribeUsersWithPermissionsRequest request) { } /** - * Specifies whether to query the IDs of all RAM users or RAM roles to which an RBAC role is assigned. Valid values: - *

+ *

Specifies whether to query the IDs of all RAM users or RAM roles to which an RBAC role is assigned. Valid values:

+ *
    + *
  • SubUser: Query the IDs of all RAM users to which an RBAC role is assigned.
  • + *
  • RamRole: Query the IDs of all RAM roles to which an RBAC role is assigned.
  • + *
+ *

This parameter is required.

* - * * `SubUser`: Query the IDs of all RAM users to which an RBAC role is assigned. - * * `RamRole`: Query the IDs of all RAM roles to which an RBAC role is assigned. + * example: + *

SubUser

*/ public Builder userType(String userType) { this.putBodyParameter("UserType", userType); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUsersWithPermissionsResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUsersWithPermissionsResponse.java index 49ac4ba2613..9b529fdfab5 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUsersWithPermissionsResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUsersWithPermissionsResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeUsersWithPermissionsResponse} extends {@link TeaModel} * *

DescribeUsersWithPermissionsResponse

*/ public class DescribeUsersWithPermissionsResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeUsersWithPermissionsResponseBody body; private DescribeUsersWithPermissionsResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeUsersWithPermissionsResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeUsersWithPermissionsResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeUsersWithPermissionsResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeUsersWithPermissionsResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUsersWithPermissionsResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUsersWithPermissionsResponseBody.java index 010292ce6a2..2a7d9238d4e 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUsersWithPermissionsResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeUsersWithPermissionsResponseBody.java @@ -1,22 +1,27 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeUsersWithPermissionsResponseBody} extends {@link TeaModel} * *

DescribeUsersWithPermissionsResponseBody

*/ public class DescribeUsersWithPermissionsResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("UIDs") - private java.util.List < String > UIDs; + @com.aliyun.core.annotation.NameInMap("UIDs") + private java.util.List UIDs; private DescribeUsersWithPermissionsResponseBody(Builder builder) { this.requestId = builder.requestId; @@ -31,6 +36,10 @@ public static DescribeUsersWithPermissionsResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -41,16 +50,27 @@ public String getRequestId() { /** * @return UIDs */ - public java.util.List < String > getUIDs() { + public java.util.List getUIDs() { return this.UIDs; } public static final class Builder { private String requestId; - private java.util.List < String > UIDs; + private java.util.List UIDs; + + private Builder() { + } + + private Builder(DescribeUsersWithPermissionsResponseBody model) { + this.requestId = model.requestId; + this.UIDs = model.UIDs; + } /** - * The request ID. + *

The request ID.

+ * + * example: + *

12B94024-C241-13CD-BA44-6106DF1****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -58,9 +78,9 @@ public Builder requestId(String requestId) { } /** - * The list of the IDs of the RAM users or RAM roles to which an RBAC role is assigned. + *

The list of the IDs of the RAM users or RAM roles to which an RBAC role is assigned.

*/ - public Builder UIDs(java.util.List < String > UIDs) { + public Builder UIDs(java.util.List UIDs) { this.UIDs = UIDs; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVMsInServiceMeshRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVMsInServiceMeshRequest.java index 490b473e571..8c1d9cd1299 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVMsInServiceMeshRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVMsInServiceMeshRequest.java @@ -1,20 +1,25 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeVMsInServiceMeshRequest} extends {@link RequestModel} * *

DescribeVMsInServiceMeshRequest

*/ public class DescribeVMsInServiceMeshRequest extends Request { - @Query - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private DescribeVMsInServiceMeshRequest(Builder builder) { @@ -30,7 +35,7 @@ public static DescribeVMsInServiceMeshRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -55,7 +60,11 @@ private Builder(DescribeVMsInServiceMeshRequest request) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

ccb37ff104caf419fbf48fb38e6f3****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putQueryParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVMsInServiceMeshResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVMsInServiceMeshResponse.java index 9ff7fd47927..061f97a5567 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVMsInServiceMeshResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVMsInServiceMeshResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeVMsInServiceMeshResponse} extends {@link TeaModel} * *

DescribeVMsInServiceMeshResponse

*/ public class DescribeVMsInServiceMeshResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeVMsInServiceMeshResponseBody body; private DescribeVMsInServiceMeshResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeVMsInServiceMeshResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeVMsInServiceMeshResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeVMsInServiceMeshResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeVMsInServiceMeshResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVMsInServiceMeshResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVMsInServiceMeshResponseBody.java index f1a99853a4d..72591a53928 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVMsInServiceMeshResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVMsInServiceMeshResponseBody.java @@ -1,22 +1,27 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeVMsInServiceMeshResponseBody} extends {@link TeaModel} * *

DescribeVMsInServiceMeshResponseBody

*/ public class DescribeVMsInServiceMeshResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("VMs") - private java.util.List < VMs> vMs; + @com.aliyun.core.annotation.NameInMap("VMs") + private java.util.List vMs; private DescribeVMsInServiceMeshResponseBody(Builder builder) { this.requestId = builder.requestId; @@ -31,6 +36,10 @@ public static DescribeVMsInServiceMeshResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -41,16 +50,27 @@ public String getRequestId() { /** * @return vMs */ - public java.util.List < VMs> getVMs() { + public java.util.List getVMs() { return this.vMs; } public static final class Builder { private String requestId; - private java.util.List < VMs> vMs; + private java.util.List vMs; + + private Builder() { + } + + private Builder(DescribeVMsInServiceMeshResponseBody model) { + this.requestId = model.requestId; + this.vMs = model.vMs; + } /** - * The request ID. + *

The request ID.

+ * + * example: + *

4b2c0fe0-6705-4614-8521-6b9d289163c8

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -58,9 +78,9 @@ public Builder requestId(String requestId) { } /** - * The VMs that are added to the ASM instance. + *

The VMs that are added to the ASM instance.

*/ - public Builder vMs(java.util.List < VMs> vMs) { + public Builder vMs(java.util.List vMs) { this.vMs = vMs; return this; } @@ -71,26 +91,32 @@ public DescribeVMsInServiceMeshResponseBody build() { } + /** + * + * {@link DescribeVMsInServiceMeshResponseBody} extends {@link TeaModel} + * + *

DescribeVMsInServiceMeshResponseBody

+ */ public static class VMs extends TeaModel { - @NameInMap("HasTag") + @com.aliyun.core.annotation.NameInMap("HasTag") private Boolean hasTag; - @NameInMap("HostName") + @com.aliyun.core.annotation.NameInMap("HostName") private String hostName; - @NameInMap("InstanceId") + @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; - @NameInMap("IpAddress") + @com.aliyun.core.annotation.NameInMap("IpAddress") private String ipAddress; - @NameInMap("Region") + @com.aliyun.core.annotation.NameInMap("Region") private String region; - @NameInMap("SecurityGroupIds") + @com.aliyun.core.annotation.NameInMap("SecurityGroupIds") private String securityGroupIds; - @NameInMap("Status") + @com.aliyun.core.annotation.NameInMap("Status") private String status; private VMs(Builder builder) { @@ -169,8 +195,24 @@ public static final class Builder { private String securityGroupIds; private String status; + private Builder() { + } + + private Builder(VMs model) { + this.hasTag = model.hasTag; + this.hostName = model.hostName; + this.instanceId = model.instanceId; + this.ipAddress = model.ipAddress; + this.region = model.region; + this.securityGroupIds = model.securityGroupIds; + this.status = model.status; + } + /** - * Indicates whether the ECS instance has labels. + *

Indicates whether the ECS instance has labels.

+ * + * example: + *

true

*/ public Builder hasTag(Boolean hasTag) { this.hasTag = hasTag; @@ -178,7 +220,10 @@ public Builder hasTag(Boolean hasTag) { } /** - * The host name. + *

The host name.

+ * + * example: + *

iZ2ze45cgxkx4q12eh9l****

*/ public Builder hostName(String hostName) { this.hostName = hostName; @@ -186,7 +231,10 @@ public Builder hostName(String hostName) { } /** - * The ID of the ECS instance. + *

The ID of the ECS instance.

+ * + * example: + *

i-2ze45cgxkx4q12e****

*/ public Builder instanceId(String instanceId) { this.instanceId = instanceId; @@ -194,7 +242,10 @@ public Builder instanceId(String instanceId) { } /** - * The IP address of the ECS instance. + *

The IP address of the ECS instance.

+ * + * example: + *

10.0.,**

*/ public Builder ipAddress(String ipAddress) { this.ipAddress = ipAddress; @@ -202,7 +253,10 @@ public Builder ipAddress(String ipAddress) { } /** - * The region ID. + *

The region ID.

+ * + * example: + *

cn-beijing

*/ public Builder region(String region) { this.region = region; @@ -210,7 +264,10 @@ public Builder region(String region) { } /** - * The security group to which the ECS instance belongs. + *

The security group to which the ECS instance belongs.

+ * + * example: + *

sg-2zeaqy08amco9osl****

*/ public Builder securityGroupIds(String securityGroupIds) { this.securityGroupIds = securityGroupIds; @@ -218,7 +275,10 @@ public Builder securityGroupIds(String securityGroupIds) { } /** - * The state of the ECS instance. + *

The state of the ECS instance.

+ * + * example: + *

Running

*/ public Builder status(String status) { this.status = status; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVSwitchesRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVSwitchesRequest.java index 2f6ea97e37c..7c779947790 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVSwitchesRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVSwitchesRequest.java @@ -1,25 +1,30 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeVSwitchesRequest} extends {@link RequestModel} * *

DescribeVSwitchesRequest

*/ public class DescribeVSwitchesRequest extends Request { - @Body - @NameInMap("RegionId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("RegionId") + @com.aliyun.core.annotation.Validation(required = true) private String regionId; - @Body - @NameInMap("VpcId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("VpcId") + @com.aliyun.core.annotation.Validation(required = true) private String vpcId; private DescribeVSwitchesRequest(Builder builder) { @@ -36,7 +41,7 @@ public static DescribeVSwitchesRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -70,7 +75,11 @@ private Builder(DescribeVSwitchesRequest request) { } /** - * The region ID. + *

The region ID.

+ *

This parameter is required.

+ * + * example: + *

cn-hangzhou

*/ public Builder regionId(String regionId) { this.putBodyParameter("RegionId", regionId); @@ -79,7 +88,11 @@ public Builder regionId(String regionId) { } /** - * The VPC ID. + *

The VPC ID.

+ *

This parameter is required.

+ * + * example: + *

vpc-bp17gig441u0msmd78****

*/ public Builder vpcId(String vpcId) { this.putBodyParameter("VpcId", vpcId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVSwitchesResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVSwitchesResponse.java index 644a24ec0fa..0ead6c23f84 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVSwitchesResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVSwitchesResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeVSwitchesResponse} extends {@link TeaModel} * *

DescribeVSwitchesResponse

*/ public class DescribeVSwitchesResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeVSwitchesResponseBody body; private DescribeVSwitchesResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeVSwitchesResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeVSwitchesResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeVSwitchesResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeVSwitchesResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVSwitchesResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVSwitchesResponseBody.java index 854b3158b2f..d4914526235 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVSwitchesResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVSwitchesResponseBody.java @@ -1,32 +1,37 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeVSwitchesResponseBody} extends {@link TeaModel} * *

DescribeVSwitchesResponseBody

*/ public class DescribeVSwitchesResponseBody extends TeaModel { - @NameInMap("MaxResults") + @com.aliyun.core.annotation.NameInMap("MaxResults") private Integer maxResults; - @NameInMap("NextToken") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("NextToken") + @com.aliyun.core.annotation.Validation(required = true) private String nextToken; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("TotalCount") + @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; - @NameInMap("VSwitches") - private java.util.List < VSwitches> vSwitches; + @com.aliyun.core.annotation.NameInMap("VSwitches") + private java.util.List vSwitches; private DescribeVSwitchesResponseBody(Builder builder) { this.maxResults = builder.maxResults; @@ -44,6 +49,10 @@ public static DescribeVSwitchesResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return maxResults */ @@ -75,7 +84,7 @@ public Integer getTotalCount() { /** * @return vSwitches */ - public java.util.List < VSwitches> getVSwitches() { + public java.util.List getVSwitches() { return this.vSwitches; } @@ -84,10 +93,24 @@ public static final class Builder { private String nextToken; private String requestId; private Integer totalCount; - private java.util.List < VSwitches> vSwitches; + private java.util.List vSwitches; + + private Builder() { + } + + private Builder(DescribeVSwitchesResponseBody model) { + this.maxResults = model.maxResults; + this.nextToken = model.nextToken; + this.requestId = model.requestId; + this.totalCount = model.totalCount; + this.vSwitches = model.vSwitches; + } /** - * The maximum number of entries returned. + *

The maximum number of entries returned.

+ * + * example: + *

10

*/ public Builder maxResults(Integer maxResults) { this.maxResults = maxResults; @@ -95,7 +118,11 @@ public Builder maxResults(Integer maxResults) { } /** - * A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists. + *

A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.

+ *

This parameter is required.

+ * + * example: + *

“”

*/ public Builder nextToken(String nextToken) { this.nextToken = nextToken; @@ -103,7 +130,10 @@ public Builder nextToken(String nextToken) { } /** - * The request ID. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -111,7 +141,10 @@ public Builder requestId(String requestId) { } /** - * The total number of vSwitches that are deployed in the VPC in the region. This parameter is optional and is not returned by default. + *

The total number of vSwitches that are deployed in the VPC in the region. This parameter is optional and is not returned by default.

+ * + * example: + *

10

*/ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; @@ -119,9 +152,9 @@ public Builder totalCount(Integer totalCount) { } /** - * The available vSwitches. + *

The available vSwitches.

*/ - public Builder vSwitches(java.util.List < VSwitches> vSwitches) { + public Builder vSwitches(java.util.List vSwitches) { this.vSwitches = vSwitches; return this; } @@ -132,23 +165,29 @@ public DescribeVSwitchesResponseBody build() { } + /** + * + * {@link DescribeVSwitchesResponseBody} extends {@link TeaModel} + * + *

DescribeVSwitchesResponseBody

+ */ public static class VSwitches extends TeaModel { - @NameInMap("IsDefault") + @com.aliyun.core.annotation.NameInMap("IsDefault") private Boolean isDefault; - @NameInMap("Status") + @com.aliyun.core.annotation.NameInMap("Status") private String status; - @NameInMap("VSwitchId") + @com.aliyun.core.annotation.NameInMap("VSwitchId") private String vSwitchId; - @NameInMap("VSwitchName") + @com.aliyun.core.annotation.NameInMap("VSwitchName") private String vSwitchName; - @NameInMap("VpcId") + @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; - @NameInMap("ZoneId") + @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private VSwitches(Builder builder) { @@ -218,12 +257,27 @@ public static final class Builder { private String vpcId; private String zoneId; + private Builder() { + } + + private Builder(VSwitches model) { + this.isDefault = model.isDefault; + this.status = model.status; + this.vSwitchId = model.vSwitchId; + this.vSwitchName = model.vSwitchName; + this.vpcId = model.vpcId; + this.zoneId = model.zoneId; + } + /** - * Indicates whether the vSwitch is the default vSwitch. Valid values: - *

+ *

Indicates whether the vSwitch is the default vSwitch. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

false

*/ public Builder isDefault(Boolean isDefault) { this.isDefault = isDefault; @@ -231,11 +285,14 @@ public Builder isDefault(Boolean isDefault) { } /** - * The state of the vSwitch. Valid values: - *

+ *

The state of the vSwitch. Valid values:

+ *
    + *
  • Pending: The vSwitch is being configured.
  • + *
  • Available: The vSwitch is available.
  • + *
* - * * `Pending`: The vSwitch is being configured. - * * `Available`: The vSwitch is available. + * example: + *

Available

*/ public Builder status(String status) { this.status = status; @@ -243,7 +300,10 @@ public Builder status(String status) { } /** - * The vSwitch ID. + *

The vSwitch ID.

+ * + * example: + *

vsw-bp1g24p9no0iqir46****

*/ public Builder vSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; @@ -251,7 +311,10 @@ public Builder vSwitchId(String vSwitchId) { } /** - * The name of the vSwitch. + *

The name of the vSwitch.

+ * + * example: + *

vsw-test

*/ public Builder vSwitchName(String vSwitchName) { this.vSwitchName = vSwitchName; @@ -259,7 +322,10 @@ public Builder vSwitchName(String vSwitchName) { } /** - * The ID of the VPC to which the vSwitch belongs. + *

The ID of the VPC to which the vSwitch belongs.

+ * + * example: + *

vpc-bp17gig441u0msmd6****

*/ public Builder vpcId(String vpcId) { this.vpcId = vpcId; @@ -267,7 +333,10 @@ public Builder vpcId(String vpcId) { } /** - * The zone to which the switch belongs. + *

The zone to which the switch belongs.

+ * + * example: + *

cn-hangzhou-k

*/ public Builder zoneId(String zoneId) { this.zoneId = zoneId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVersionsRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVersionsRequest.java index 9fe6364bd26..49fb20d979c 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVersionsRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVersionsRequest.java @@ -1,12 +1,17 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeVersionsRequest} extends {@link RequestModel} * *

DescribeVersionsRequest

@@ -24,7 +29,7 @@ public static DescribeVersionsRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVersionsResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVersionsResponse.java index c937b3c77f8..6a49dd86e8f 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVersionsResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVersionsResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeVersionsResponse} extends {@link TeaModel} * *

DescribeVersionsResponse

*/ public class DescribeVersionsResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeVersionsResponseBody body; private DescribeVersionsResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeVersionsResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeVersionsResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeVersionsResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeVersionsResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVersionsResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVersionsResponseBody.java index fccc7f90afd..131161fb7f6 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVersionsResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVersionsResponseBody.java @@ -1,22 +1,27 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeVersionsResponseBody} extends {@link TeaModel} * *

DescribeVersionsResponseBody

*/ public class DescribeVersionsResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("VersionInfo") - private java.util.List < VersionInfo> versionInfo; + @com.aliyun.core.annotation.NameInMap("VersionInfo") + private java.util.List versionInfo; private DescribeVersionsResponseBody(Builder builder) { this.requestId = builder.requestId; @@ -31,6 +36,10 @@ public static DescribeVersionsResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -41,16 +50,27 @@ public String getRequestId() { /** * @return versionInfo */ - public java.util.List < VersionInfo> getVersionInfo() { + public java.util.List getVersionInfo() { return this.versionInfo; } public static final class Builder { private String requestId; - private java.util.List < VersionInfo> versionInfo; + private java.util.List versionInfo; + + private Builder() { + } + + private Builder(DescribeVersionsResponseBody model) { + this.requestId = model.requestId; + this.versionInfo = model.versionInfo; + } /** - * The request ID. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -58,9 +78,9 @@ public Builder requestId(String requestId) { } /** - * The available ASM versions. + *

The available ASM versions.

*/ - public Builder versionInfo(java.util.List < VersionInfo> versionInfo) { + public Builder versionInfo(java.util.List versionInfo) { this.versionInfo = versionInfo; return this; } @@ -71,12 +91,18 @@ public DescribeVersionsResponseBody build() { } + /** + * + * {@link DescribeVersionsResponseBody} extends {@link TeaModel} + * + *

DescribeVersionsResponseBody

+ */ public static class VersionInfo extends TeaModel { - @NameInMap("Edition") + @com.aliyun.core.annotation.NameInMap("Edition") private String edition; - @NameInMap("Versions") - private java.util.List < String > versions; + @com.aliyun.core.annotation.NameInMap("Versions") + private java.util.List versions; private VersionInfo(Builder builder) { this.edition = builder.edition; @@ -101,20 +127,31 @@ public String getEdition() { /** * @return versions */ - public java.util.List < String > getVersions() { + public java.util.List getVersions() { return this.versions; } public static final class Builder { private String edition; - private java.util.List < String > versions; + private java.util.List versions; + + private Builder() { + } + + private Builder(VersionInfo model) { + this.edition = model.edition; + this.versions = model.versions; + } /** - * The edition of the ASM instance. Valid values: - *

+ *

The edition of the ASM instance. Valid values:

+ *
    + *
  • Default: Standard Edition
  • + *
  • Pro: Professional Edition that is commercially released
  • + *
* - * * `Default`: Standard Edition - * * `Pro`: Professional Edition that is commercially released + * example: + *

Default

*/ public Builder edition(String edition) { this.edition = edition; @@ -122,9 +159,9 @@ public Builder edition(String edition) { } /** - * The list of ASM versions available for the ASM instance of the current edition. + *

The list of ASM versions available for the ASM instance of the current edition.

*/ - public Builder versions(java.util.List < String > versions) { + public Builder versions(java.util.List versions) { this.versions = versions; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVpcsRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVpcsRequest.java index 2ab1bacf6a0..00e62d3efcf 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVpcsRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVpcsRequest.java @@ -1,20 +1,25 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeVpcsRequest} extends {@link RequestModel} * *

DescribeVpcsRequest

*/ public class DescribeVpcsRequest extends Request { - @Body - @NameInMap("RegionId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("RegionId") + @com.aliyun.core.annotation.Validation(required = true) private String regionId; private DescribeVpcsRequest(Builder builder) { @@ -30,7 +35,7 @@ public static DescribeVpcsRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -55,7 +60,11 @@ private Builder(DescribeVpcsRequest request) { } /** - * The region ID. + *

The region ID.

+ *

This parameter is required.

+ * + * example: + *

cn-hangzhou

*/ public Builder regionId(String regionId) { this.putBodyParameter("RegionId", regionId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVpcsResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVpcsResponse.java index e0e1d0acea4..fcae5b774d5 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVpcsResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVpcsResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeVpcsResponse} extends {@link TeaModel} * *

DescribeVpcsResponse

*/ public class DescribeVpcsResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private DescribeVpcsResponseBody body; private DescribeVpcsResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static DescribeVpcsResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public DescribeVpcsResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder private static final class BuilderImpl extends Response.BuilderImpl implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private DescribeVpcsResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(DescribeVpcsResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVpcsResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVpcsResponseBody.java index 64b76bc24c1..38db46911f2 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVpcsResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/DescribeVpcsResponseBody.java @@ -1,32 +1,37 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link DescribeVpcsResponseBody} extends {@link TeaModel} * *

DescribeVpcsResponseBody

*/ public class DescribeVpcsResponseBody extends TeaModel { - @NameInMap("MaxResults") + @com.aliyun.core.annotation.NameInMap("MaxResults") private Integer maxResults; - @NameInMap("NextToken") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("NextToken") + @com.aliyun.core.annotation.Validation(required = true) private String nextToken; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("TotalCount") + @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; - @NameInMap("Vpcs") - private java.util.List < Vpcs> vpcs; + @com.aliyun.core.annotation.NameInMap("Vpcs") + private java.util.List vpcs; private DescribeVpcsResponseBody(Builder builder) { this.maxResults = builder.maxResults; @@ -44,6 +49,10 @@ public static DescribeVpcsResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return maxResults */ @@ -75,7 +84,7 @@ public Integer getTotalCount() { /** * @return vpcs */ - public java.util.List < Vpcs> getVpcs() { + public java.util.List getVpcs() { return this.vpcs; } @@ -84,10 +93,24 @@ public static final class Builder { private String nextToken; private String requestId; private Integer totalCount; - private java.util.List < Vpcs> vpcs; + private java.util.List vpcs; + + private Builder() { + } + + private Builder(DescribeVpcsResponseBody model) { + this.maxResults = model.maxResults; + this.nextToken = model.nextToken; + this.requestId = model.requestId; + this.totalCount = model.totalCount; + this.vpcs = model.vpcs; + } /** - * The maximum number of entries returned on a single page. + *

The maximum number of entries returned on a single page.

+ * + * example: + *

10

*/ public Builder maxResults(Integer maxResults) { this.maxResults = maxResults; @@ -95,7 +118,11 @@ public Builder maxResults(Integer maxResults) { } /** - * The token that marks the end of the current returned page. If this parameter is empty, it indicates that you have retrieved all the data. + *

The token that marks the end of the current returned page. If this parameter is empty, it indicates that you have retrieved all the data.

+ *

This parameter is required.

+ * + * example: + *

""

*/ public Builder nextToken(String nextToken) { this.nextToken = nextToken; @@ -103,7 +130,10 @@ public Builder nextToken(String nextToken) { } /** - * The request ID. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -111,7 +141,10 @@ public Builder requestId(String requestId) { } /** - * The total number of entries returned. By default, this parameter is not returned. + *

The total number of entries returned. By default, this parameter is not returned.

+ * + * example: + *

10

*/ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; @@ -119,9 +152,9 @@ public Builder totalCount(Integer totalCount) { } /** - * The list of VPCs that are available in the specified region. + *

The list of VPCs that are available in the specified region.

*/ - public Builder vpcs(java.util.List < Vpcs> vpcs) { + public Builder vpcs(java.util.List vpcs) { this.vpcs = vpcs; return this; } @@ -132,17 +165,23 @@ public DescribeVpcsResponseBody build() { } + /** + * + * {@link DescribeVpcsResponseBody} extends {@link TeaModel} + * + *

DescribeVpcsResponseBody

+ */ public static class Vpcs extends TeaModel { - @NameInMap("IsDefault") + @com.aliyun.core.annotation.NameInMap("IsDefault") private Boolean isDefault; - @NameInMap("Status") + @com.aliyun.core.annotation.NameInMap("Status") private String status; - @NameInMap("VpcId") + @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; - @NameInMap("VpcName") + @com.aliyun.core.annotation.NameInMap("VpcName") private String vpcName; private Vpcs(Builder builder) { @@ -194,12 +233,25 @@ public static final class Builder { private String vpcId; private String vpcName; + private Builder() { + } + + private Builder(Vpcs model) { + this.isDefault = model.isDefault; + this.status = model.status; + this.vpcId = model.vpcId; + this.vpcName = model.vpcName; + } + /** - * Indicates whether the VPC is the default VPC in the specified region. Valid values: - *

+ *

Indicates whether the VPC is the default VPC in the specified region. Valid values:

+ *
    + *
  • true: yes
  • + *
  • false: no
  • + *
* - * * `true`: yes - * * `false`: no + * example: + *

false

*/ public Builder isDefault(Boolean isDefault) { this.isDefault = isDefault; @@ -207,11 +259,14 @@ public Builder isDefault(Boolean isDefault) { } /** - * The status of the VPC. Valid values: - *

+ *

The status of the VPC. Valid values:

+ *
    + *
  • Pending: The VPC is being configured.
  • + *
  • Available: The VPC is available for use.
  • + *
* - * * `Pending`: The VPC is being configured. - * * `Available`: The VPC is available for use. + * example: + *

Available

*/ public Builder status(String status) { this.status = status; @@ -219,7 +274,10 @@ public Builder status(String status) { } /** - * The ID of a VPC. + *

The ID of a VPC.

+ * + * example: + *

vpc-bp1qkf2o3xmqc2519****

*/ public Builder vpcId(String vpcId) { this.vpcId = vpcId; @@ -227,7 +285,10 @@ public Builder vpcId(String vpcId) { } /** - * The name of the VPC. + *

The name of the VPC.

+ * + * example: + *

vpc-test

*/ public Builder vpcName(String vpcName) { this.vpcName = vpcName; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetCaCertRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetCaCertRequest.java index 2f816b4d85a..2e3665c374f 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetCaCertRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetCaCertRequest.java @@ -1,20 +1,25 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetCaCertRequest} extends {@link RequestModel} * *

GetCaCertRequest

*/ public class GetCaCertRequest extends Request { - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private GetCaCertRequest(Builder builder) { @@ -30,7 +35,7 @@ public static GetCaCertRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -55,7 +60,11 @@ private Builder(GetCaCertRequest request) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

c7894c929677643a5bfe1a732d778a****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetCaCertResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetCaCertResponse.java index 0134fa72434..45aa7b9a18f 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetCaCertResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetCaCertResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetCaCertResponse} extends {@link TeaModel} * *

GetCaCertResponse

*/ public class GetCaCertResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private GetCaCertResponseBody body; private GetCaCertResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static GetCaCertResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public GetCaCertResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder { private static final class BuilderImpl extends Response.BuilderImpl implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private GetCaCertResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(GetCaCertResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetCaCertResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetCaCertResponseBody.java index 54ef025ed41..13aa08fb8ed 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetCaCertResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetCaCertResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetCaCertResponseBody} extends {@link TeaModel} * *

GetCaCertResponseBody

*/ public class GetCaCertResponseBody extends TeaModel { - @NameInMap("CaCert") + @com.aliyun.core.annotation.NameInMap("CaCert") private String caCert; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetCaCertResponseBody(Builder builder) { @@ -31,6 +36,10 @@ public static GetCaCertResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return caCert */ @@ -49,8 +58,19 @@ public static final class Builder { private String caCert; private String requestId; + private Builder() { + } + + private Builder(GetCaCertResponseBody model) { + this.caCert = model.caCert; + this.requestId = model.requestId; + } + /** - * The Base64-encoded content of the CA certificate. + *

The Base64-encoded content of the CA certificate.

+ * + * example: + *

-----BEGIN CERTIFICATE-----\nMIIFszCCA5ugAwIBAgIDM/1OMA0GCSqGSIb3DQEBCwUAME427zhT4HDLcCEW****-----END CERTIFICATE-----\n

*/ public Builder caCert(String caCert) { this.caCert = caCert; @@ -58,7 +78,10 @@ public Builder caCert(String caCert) { } /** - * The request ID. + *

The request ID.

+ * + * example: + *

E0496204-7586-5B4C-B364-2361CC0ED****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetDeploymentBySelectorRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetDeploymentBySelectorRequest.java index ada0ceb3970..c75b86b2cdd 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetDeploymentBySelectorRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetDeploymentBySelectorRequest.java @@ -1,40 +1,45 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetDeploymentBySelectorRequest} extends {@link RequestModel} * *

GetDeploymentBySelectorRequest

*/ public class GetDeploymentBySelectorRequest extends Request { - @Body - @NameInMap("GuestCluster") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("GuestCluster") private String guestCluster; - @Body - @NameInMap("LabelSelector") - private java.util.Map < String, String > labelSelector; + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("LabelSelector") + private java.util.Map labelSelector; - @Body - @NameInMap("Limit") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Limit") private Long limit; - @Body - @NameInMap("Mark") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Mark") private String mark; - @Body - @NameInMap("NameSpace") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("NameSpace") private String nameSpace; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private GetDeploymentBySelectorRequest(Builder builder) { @@ -55,7 +60,7 @@ public static GetDeploymentBySelectorRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -70,7 +75,7 @@ public String getGuestCluster() { /** * @return labelSelector */ - public java.util.Map < String, String > getLabelSelector() { + public java.util.Map getLabelSelector() { return this.labelSelector; } @@ -104,7 +109,7 @@ public String getServiceMeshId() { public static final class Builder extends Request.Builder { private String guestCluster; - private java.util.Map < String, String > labelSelector; + private java.util.Map labelSelector; private Long limit; private String mark; private String nameSpace; @@ -125,7 +130,10 @@ private Builder(GetDeploymentBySelectorRequest request) { } /** - * The name of the cluster. + *

The name of the cluster.

+ * + * example: + *

cbe80a56d07ed45818b4d39273e23****

*/ public Builder guestCluster(String guestCluster) { this.putBodyParameter("GuestCluster", guestCluster); @@ -134,9 +142,9 @@ public Builder guestCluster(String guestCluster) { } /** - * The label selector information. + *

The label selector information.

*/ - public Builder labelSelector(java.util.Map < String, String > labelSelector) { + public Builder labelSelector(java.util.Map labelSelector) { String labelSelectorShrink = shrink(labelSelector, "LabelSelector", "json"); this.putBodyParameter("LabelSelector", labelSelectorShrink); this.labelSelector = labelSelector; @@ -144,7 +152,10 @@ public Builder labelSelector(java.util.Map < String, String > labelSelector) { } /** - * The maximum number of returned data entries. + *

The maximum number of returned data entries.

+ * + * example: + *

10

*/ public Builder limit(Long limit) { this.putBodyParameter("Limit", limit); @@ -153,7 +164,10 @@ public Builder limit(Long limit) { } /** - * The marker of data queried last time. + *

The marker of data queried last time.

+ * + * example: + *

eyJ2IjoibWV0YS5rOHMuaW8vdjEiLCJydiI6NzgxODk3MCwic3RhcnQiOiJuZ2lueDQ1N1x1MDAw****

*/ public Builder mark(String mark) { this.putBodyParameter("Mark", mark); @@ -162,7 +176,10 @@ public Builder mark(String mark) { } /** - * The namespace. + *

The namespace.

+ * + * example: + *

default

*/ public Builder nameSpace(String nameSpace) { this.putBodyParameter("NameSpace", nameSpace); @@ -171,7 +188,11 @@ public Builder nameSpace(String nameSpace) { } /** - * The ID of the Alibaba Cloud Service Mesh (ASM) instance. + *

The ID of the Alibaba Cloud Service Mesh (ASM) instance.

+ *

This parameter is required.

+ * + * example: + *

ce9fc65def2aa4c918747b9360fbd****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetDeploymentBySelectorResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetDeploymentBySelectorResponse.java index ad63b940095..f4505117ee3 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetDeploymentBySelectorResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetDeploymentBySelectorResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetDeploymentBySelectorResponse} extends {@link TeaModel} * *

GetDeploymentBySelectorResponse

*/ public class GetDeploymentBySelectorResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private GetDeploymentBySelectorResponseBody body; private GetDeploymentBySelectorResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static GetDeploymentBySelectorResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public GetDeploymentBySelectorResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private GetDeploymentBySelectorResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(GetDeploymentBySelectorResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetDeploymentBySelectorResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetDeploymentBySelectorResponseBody.java index 99aec44ecdf..6541273e980 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetDeploymentBySelectorResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetDeploymentBySelectorResponseBody.java @@ -1,24 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetDeploymentBySelectorResponseBody} extends {@link TeaModel} * *

GetDeploymentBySelectorResponseBody

*/ public class GetDeploymentBySelectorResponseBody extends TeaModel { - @NameInMap("DeploymentNameList") - private java.util.List < byte[] > deploymentNameList; + @com.aliyun.core.annotation.NameInMap("DeploymentNameList") + private java.util.List deploymentNameList; - @NameInMap("Mark") + @com.aliyun.core.annotation.NameInMap("Mark") private String mark; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetDeploymentBySelectorResponseBody(Builder builder) { @@ -35,10 +40,14 @@ public static GetDeploymentBySelectorResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return deploymentNameList */ - public java.util.List < byte[] > getDeploymentNameList() { + public java.util.List getDeploymentNameList() { return this.deploymentNameList; } @@ -57,20 +66,32 @@ public String getRequestId() { } public static final class Builder { - private java.util.List < byte[] > deploymentNameList; + private java.util.List deploymentNameList; private String mark; private String requestId; + private Builder() { + } + + private Builder(GetDeploymentBySelectorResponseBody model) { + this.deploymentNameList = model.deploymentNameList; + this.mark = model.mark; + this.requestId = model.requestId; + } + /** - * The queried workloads. + *

The queried workloads.

*/ - public Builder deploymentNameList(java.util.List < byte[] > deploymentNameList) { + public Builder deploymentNameList(java.util.List deploymentNameList) { this.deploymentNameList = deploymentNameList; return this; } /** - * The end-of-data marker. + *

The end-of-data marker.

+ * + * example: + *

eyJ2IjoibWV0YS5rOHMuaW8vdjEiLCJydiI6NTgyMDUzMzk5MCwic3RhcnQiOiJwbXMtYWRhcHRlci1kZGxsXHUwMDA****

*/ public Builder mark(String mark) { this.mark = mark; @@ -78,7 +99,10 @@ public Builder mark(String mark) { } /** - * The request ID. + *

The request ID.

+ * + * example: + *

946690C2-41D3-55A0-A501-E2FFAB5F****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetGrafanaDashboardUrlRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetGrafanaDashboardUrlRequest.java index 8ac67c253dd..450fca3cf4b 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetGrafanaDashboardUrlRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetGrafanaDashboardUrlRequest.java @@ -1,30 +1,35 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetGrafanaDashboardUrlRequest} extends {@link RequestModel} * *

GetGrafanaDashboardUrlRequest

*/ public class GetGrafanaDashboardUrlRequest extends Request { - @Body - @NameInMap("K8sClusterId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("K8sClusterId") + @com.aliyun.core.annotation.Validation(required = true) private String k8sClusterId; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; - @Body - @NameInMap("Title") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Title") + @com.aliyun.core.annotation.Validation(required = true) private String title; private GetGrafanaDashboardUrlRequest(Builder builder) { @@ -42,7 +47,7 @@ public static GetGrafanaDashboardUrlRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -85,7 +90,11 @@ private Builder(GetGrafanaDashboardUrlRequest request) { } /** - * The ID of the Container Service for Kubernetes (ACK) or ACK Serverless cluster. + *

The ID of the Container Service for Kubernetes (ACK) or ACK Serverless cluster.

+ *

This parameter is required.

+ * + * example: + *

c94ca2d27f7aa47ab84ed73e6f084****

*/ public Builder k8sClusterId(String k8sClusterId) { this.putBodyParameter("K8sClusterId", k8sClusterId); @@ -94,7 +103,11 @@ public Builder k8sClusterId(String k8sClusterId) { } /** - * The ID of the Service Mesh (ASM) instance. + *

The ID of the Service Mesh (ASM) instance.

+ *

This parameter is required.

+ * + * example: + *

cb8963379255149cb98c8686f274x****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); @@ -103,7 +116,11 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * The name of the dashboard. + *

The name of the dashboard.

+ *

This parameter is required.

+ * + * example: + *

Cloud ASM Istio Http Gateway

*/ public Builder title(String title) { this.putBodyParameter("Title", title); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetGrafanaDashboardUrlResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetGrafanaDashboardUrlResponse.java index 9dc8dbff04b..5aa44e9b0cf 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetGrafanaDashboardUrlResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetGrafanaDashboardUrlResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetGrafanaDashboardUrlResponse} extends {@link TeaModel} * *

GetGrafanaDashboardUrlResponse

*/ public class GetGrafanaDashboardUrlResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private GetGrafanaDashboardUrlResponseBody body; private GetGrafanaDashboardUrlResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static GetGrafanaDashboardUrlResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public GetGrafanaDashboardUrlResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private GetGrafanaDashboardUrlResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(GetGrafanaDashboardUrlResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetGrafanaDashboardUrlResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetGrafanaDashboardUrlResponseBody.java index 3582263e7f6..d24aa294ba6 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetGrafanaDashboardUrlResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetGrafanaDashboardUrlResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetGrafanaDashboardUrlResponseBody} extends {@link TeaModel} * *

GetGrafanaDashboardUrlResponseBody

*/ public class GetGrafanaDashboardUrlResponseBody extends TeaModel { - @NameInMap("Dashboards") - private java.util.List < Dashboards> dashboards; + @com.aliyun.core.annotation.NameInMap("Dashboards") + private java.util.List dashboards; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetGrafanaDashboardUrlResponseBody(Builder builder) { @@ -31,10 +36,14 @@ public static GetGrafanaDashboardUrlResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return dashboards */ - public java.util.List < Dashboards> getDashboards() { + public java.util.List getDashboards() { return this.dashboards; } @@ -46,19 +55,30 @@ public String getRequestId() { } public static final class Builder { - private java.util.List < Dashboards> dashboards; + private java.util.List dashboards; private String requestId; + private Builder() { + } + + private Builder(GetGrafanaDashboardUrlResponseBody model) { + this.dashboards = model.dashboards; + this.requestId = model.requestId; + } + /** - * The information about the dashboard. + *

The information about the dashboard.

*/ - public Builder dashboards(java.util.List < Dashboards> dashboards) { + public Builder dashboards(java.util.List dashboards) { this.dashboards = dashboards; return this; } /** - * The request ID. + *

The request ID.

+ * + * example: + *

76DBB8A0-5AA6-5A56-9A8A-****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -71,11 +91,17 @@ public GetGrafanaDashboardUrlResponseBody build() { } + /** + * + * {@link GetGrafanaDashboardUrlResponseBody} extends {@link TeaModel} + * + *

GetGrafanaDashboardUrlResponseBody

+ */ public static class Dashboards extends TeaModel { - @NameInMap("Title") + @com.aliyun.core.annotation.NameInMap("Title") private String title; - @NameInMap("Url") + @com.aliyun.core.annotation.NameInMap("Url") private String url; private Dashboards(Builder builder) { @@ -109,8 +135,19 @@ public static final class Builder { private String title; private String url; + private Builder() { + } + + private Builder(Dashboards model) { + this.title = model.title; + this.url = model.url; + } + /** - * The name of the dashboard. + *

The name of the dashboard.

+ * + * example: + *

Cloud ASM Istio Http Gateway

*/ public Builder title(String title) { this.title = title; @@ -118,7 +155,10 @@ public Builder title(String title) { } /** - * The URL of the dashboard. + *

The URL of the dashboard.

+ * + * example: + *

https://g.console.aliyun.com/d/181863583797****-14651340-200-2/alibaba-cloud-mesh-service?orgId=32****&refresh=60s

*/ public Builder url(String url) { this.url = url; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceEndpointsRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceEndpointsRequest.java index d0df0b9f6d5..f50a1d17be0 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceEndpointsRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceEndpointsRequest.java @@ -1,36 +1,41 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetRegisteredServiceEndpointsRequest} extends {@link RequestModel} * *

GetRegisteredServiceEndpointsRequest

*/ public class GetRegisteredServiceEndpointsRequest extends Request { - @Body - @NameInMap("ClusterIds") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ClusterIds") private String clusterIds; - @Body - @NameInMap("Name") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Name") private String name; - @Body - @NameInMap("Namespace") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; - @Body - @NameInMap("ServiceType") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceType") private String serviceType; private GetRegisteredServiceEndpointsRequest(Builder builder) { @@ -50,7 +55,7 @@ public static GetRegisteredServiceEndpointsRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -111,7 +116,10 @@ private Builder(GetRegisteredServiceEndpointsRequest request) { } /** - * The name of the registered service. + *

The name of the registered service.

+ * + * example: + *

c8b054ee8c3914d079b5ce9733328****,c58faedb8a78640d3aeb0372e4c02****

*/ public Builder clusterIds(String clusterIds) { this.putBodyParameter("ClusterIds", clusterIds); @@ -120,11 +128,14 @@ public Builder clusterIds(String clusterIds) { } /** - * The type of the registered service. Valid values: - *

+ *

The type of the registered service. Valid values:

+ *
    + *
  • ServiceEntry: indicates that the service is registered by creating a service entry.
  • + *
  • Kubernetes: indicates that the service is registered on a Kubernetes cluster on the data plane.
  • + *
* - * * `ServiceEntry`: indicates that the service is registered by creating a service entry. - * * `Kubernetes`: indicates that the service is registered on a Kubernetes cluster on the data plane. + * example: + *

reviews

*/ public Builder name(String name) { this.putBodyParameter("Name", name); @@ -133,7 +144,10 @@ public Builder name(String name) { } /** - * The IDs of clusters in the ASM instance. Separate multiple cluster IDs with commas (,). + *

The IDs of clusters in the ASM instance. Separate multiple cluster IDs with commas (,).

+ * + * example: + *

default

*/ public Builder namespace(String namespace) { this.putBodyParameter("Namespace", namespace); @@ -142,7 +156,11 @@ public Builder namespace(String namespace) { } /** - * The name of the namespace. + *

The name of the namespace.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); @@ -151,7 +169,10 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * The endpoints of the registered service. + *

The endpoints of the registered service.

+ * + * example: + *

Kubernetes

*/ public Builder serviceType(String serviceType) { this.putBodyParameter("ServiceType", serviceType); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceEndpointsResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceEndpointsResponse.java index dbefb5eef5c..a11b3bdaed7 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceEndpointsResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceEndpointsResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetRegisteredServiceEndpointsResponse} extends {@link TeaModel} * *

GetRegisteredServiceEndpointsResponse

*/ public class GetRegisteredServiceEndpointsResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private GetRegisteredServiceEndpointsResponseBody body; private GetRegisteredServiceEndpointsResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static GetRegisteredServiceEndpointsResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public GetRegisteredServiceEndpointsResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private GetRegisteredServiceEndpointsResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(GetRegisteredServiceEndpointsResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceEndpointsResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceEndpointsResponseBody.java index b3e8caff0f7..689a573e187 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceEndpointsResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceEndpointsResponseBody.java @@ -1,25 +1,30 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetRegisteredServiceEndpointsResponseBody} extends {@link TeaModel} * *

GetRegisteredServiceEndpointsResponseBody

*/ public class GetRegisteredServiceEndpointsResponseBody extends TeaModel { - @NameInMap("EndPointSlice") + @com.aliyun.core.annotation.NameInMap("EndPointSlice") private EndPointSlice endPointSlice; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("ServiceEndpoints") - private java.util.List < ServiceEndpoints> serviceEndpoints; + @com.aliyun.core.annotation.NameInMap("ServiceEndpoints") + private java.util.List serviceEndpoints; private GetRegisteredServiceEndpointsResponseBody(Builder builder) { this.endPointSlice = builder.endPointSlice; @@ -35,6 +40,10 @@ public static GetRegisteredServiceEndpointsResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return endPointSlice */ @@ -52,17 +61,26 @@ public String getRequestId() { /** * @return serviceEndpoints */ - public java.util.List < ServiceEndpoints> getServiceEndpoints() { + public java.util.List getServiceEndpoints() { return this.serviceEndpoints; } public static final class Builder { private EndPointSlice endPointSlice; private String requestId; - private java.util.List < ServiceEndpoints> serviceEndpoints; + private java.util.List serviceEndpoints; + + private Builder() { + } + + private Builder(GetRegisteredServiceEndpointsResponseBody model) { + this.endPointSlice = model.endPointSlice; + this.requestId = model.requestId; + this.serviceEndpoints = model.serviceEndpoints; + } /** - * The name of the registered service. + *

The name of the registered service.

*/ public Builder endPointSlice(EndPointSlice endPointSlice) { this.endPointSlice = endPointSlice; @@ -78,9 +96,9 @@ public Builder requestId(String requestId) { } /** - * The IP address of the registered service. + *

The IP address of the registered service.

*/ - public Builder serviceEndpoints(java.util.List < ServiceEndpoints> serviceEndpoints) { + public Builder serviceEndpoints(java.util.List serviceEndpoints) { this.serviceEndpoints = serviceEndpoints; return this; } @@ -91,23 +109,29 @@ public GetRegisteredServiceEndpointsResponseBody build() { } + /** + * + * {@link GetRegisteredServiceEndpointsResponseBody} extends {@link TeaModel} + * + *

GetRegisteredServiceEndpointsResponseBody

+ */ public static class EndpointsDetails extends TeaModel { - @NameInMap("Address") + @com.aliyun.core.annotation.NameInMap("Address") private String address; - @NameInMap("Hostname") + @com.aliyun.core.annotation.NameInMap("Hostname") private String hostname; - @NameInMap("PodName") + @com.aliyun.core.annotation.NameInMap("PodName") private String podName; - @NameInMap("Ports") - private java.util.List < Integer > ports; + @com.aliyun.core.annotation.NameInMap("Ports") + private java.util.List ports; - @NameInMap("Region") + @com.aliyun.core.annotation.NameInMap("Region") private String region; - @NameInMap("SidecarInjected") + @com.aliyun.core.annotation.NameInMap("SidecarInjected") private Boolean sidecarInjected; private EndpointsDetails(Builder builder) { @@ -151,7 +175,7 @@ public String getPodName() { /** * @return ports */ - public java.util.List < Integer > getPorts() { + public java.util.List getPorts() { return this.ports; } @@ -173,12 +197,27 @@ public static final class Builder { private String address; private String hostname; private String podName; - private java.util.List < Integer > ports; + private java.util.List ports; private String region; private Boolean sidecarInjected; + private Builder() { + } + + private Builder(EndpointsDetails model) { + this.address = model.address; + this.hostname = model.hostname; + this.podName = model.podName; + this.ports = model.ports; + this.region = model.region; + this.sidecarInjected = model.sidecarInjected; + } + /** - * The port of the registered service. + *

The port of the registered service.

+ * + * example: + *

127.2.**.**

*/ public Builder address(String address) { this.address = address; @@ -186,7 +225,10 @@ public Builder address(String address) { } /** - * The ID of the region in which the registered service resides. + *

The ID of the region in which the registered service resides.

+ * + * example: + *

www.demo.com

*/ public Builder hostname(String hostname) { this.hostname = hostname; @@ -194,7 +236,10 @@ public Builder hostname(String hostname) { } /** - * The IP address of the registered service. + *

The IP address of the registered service.

+ * + * example: + *

provider-v1-8c86b6898-h***

*/ public Builder podName(String podName) { this.podName = podName; @@ -202,19 +247,22 @@ public Builder podName(String podName) { } /** - * The host name of the registered service. + *

The host name of the registered service.

*/ - public Builder ports(java.util.List < Integer > ports) { + public Builder ports(java.util.List ports) { this.ports = ports; return this; } /** - * Indicates whether sidecar proxies are injected. Valid values: - *

+ *

Indicates whether sidecar proxies are injected. Valid values:

+ *
    + *
  • true: yes
  • + *
  • false: no
  • + *
* - * * `true`: yes - * * `false`: no + * example: + *

cn-hangzhou

*/ public Builder region(String region) { this.region = region; @@ -222,7 +270,10 @@ public Builder region(String region) { } /** - * The ID of the request. + *

The ID of the request.

+ * + * example: + *

false

*/ public Builder sidecarInjected(Boolean sidecarInjected) { this.sidecarInjected = sidecarInjected; @@ -236,17 +287,23 @@ public EndpointsDetails build() { } } + /** + * + * {@link GetRegisteredServiceEndpointsResponseBody} extends {@link TeaModel} + * + *

GetRegisteredServiceEndpointsResponseBody

+ */ public static class EndPointSlice extends TeaModel { - @NameInMap("EndpointsDetails") - private java.util.List < EndpointsDetails> endpointsDetails; + @com.aliyun.core.annotation.NameInMap("EndpointsDetails") + private java.util.List endpointsDetails; - @NameInMap("Location") + @com.aliyun.core.annotation.NameInMap("Location") private String location; - @NameInMap("Namespace") + @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; - @NameInMap("ServiceName") + @com.aliyun.core.annotation.NameInMap("ServiceName") private String serviceName; private EndPointSlice(Builder builder) { @@ -267,7 +324,7 @@ public static EndPointSlice create() { /** * @return endpointsDetails */ - public java.util.List < EndpointsDetails> getEndpointsDetails() { + public java.util.List getEndpointsDetails() { return this.endpointsDetails; } @@ -293,21 +350,34 @@ public String getServiceName() { } public static final class Builder { - private java.util.List < EndpointsDetails> endpointsDetails; + private java.util.List endpointsDetails; private String location; private String namespace; private String serviceName; + private Builder() { + } + + private Builder(EndPointSlice model) { + this.endpointsDetails = model.endpointsDetails; + this.location = model.location; + this.namespace = model.namespace; + this.serviceName = model.serviceName; + } + /** - * The name of the pod. + *

The name of the pod.

*/ - public Builder endpointsDetails(java.util.List < EndpointsDetails> endpointsDetails) { + public Builder endpointsDetails(java.util.List endpointsDetails) { this.endpointsDetails = endpointsDetails; return this; } /** - * The details of the endpoint of the registered service. + *

The details of the endpoint of the registered service.

+ * + * example: + *

MESH_INTERNAL

*/ public Builder location(String location) { this.location = location; @@ -315,11 +385,14 @@ public Builder location(String location) { } /** - * The location of the registered service. Valid values: - *

+ *

The location of the registered service. Valid values:

+ *
    + *
  • MESH_INTERNAL: The service is deployed inside the ASM instance.
  • + *
  • MESH_EXTERNAL: The service is deployed outside the ASM instance.
  • + *
* - * * `MESH_INTERNAL`: The service is deployed inside the ASM instance. - * * `MESH_EXTERNAL`: The service is deployed outside the ASM instance. + * example: + *

default

*/ public Builder namespace(String namespace) { this.namespace = namespace; @@ -327,7 +400,10 @@ public Builder namespace(String namespace) { } /** - * The name of the namespace. + *

The name of the namespace.

+ * + * example: + *

reviews

*/ public Builder serviceName(String serviceName) { this.serviceName = serviceName; @@ -341,11 +417,17 @@ public EndPointSlice build() { } } + /** + * + * {@link GetRegisteredServiceEndpointsResponseBody} extends {@link TeaModel} + * + *

GetRegisteredServiceEndpointsResponseBody

+ */ public static class ServiceEndpoints extends TeaModel { - @NameInMap("Address") + @com.aliyun.core.annotation.NameInMap("Address") private String address; - @NameInMap("ClusterId") + @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; private ServiceEndpoints(Builder builder) { @@ -379,8 +461,19 @@ public static final class Builder { private String address; private String clusterId; + private Builder() { + } + + private Builder(ServiceEndpoints model) { + this.address = model.address; + this.clusterId = model.clusterId; + } + /** - * The ID of the cluster on the data plane. + *

The ID of the cluster on the data plane.

+ * + * example: + *

192.168.25.153

*/ public Builder address(String address) { this.address = address; @@ -388,7 +481,10 @@ public Builder address(String address) { } /** - * The details of the endpoints of the registered service. + *

The details of the endpoints of the registered service.

+ * + * example: + *

c80f45444b3da447da60a911390c2****

*/ public Builder clusterId(String clusterId) { this.clusterId = clusterId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceNamespacesRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceNamespacesRequest.java index 902377542ba..a353e2f6bce 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceNamespacesRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceNamespacesRequest.java @@ -1,20 +1,25 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetRegisteredServiceNamespacesRequest} extends {@link RequestModel} * *

GetRegisteredServiceNamespacesRequest

*/ public class GetRegisteredServiceNamespacesRequest extends Request { - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private GetRegisteredServiceNamespacesRequest(Builder builder) { @@ -30,7 +35,7 @@ public static GetRegisteredServiceNamespacesRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -55,7 +60,11 @@ private Builder(GetRegisteredServiceNamespacesRequest request) { } /** - * The ID of the ASM instance. + *

The ID of the ASM instance.

+ *

This parameter is required.

+ * + * example: + *

cb8963379255149cb98c8686f274x****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceNamespacesResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceNamespacesResponse.java index 7bd91273ecd..de732dc2c7f 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceNamespacesResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceNamespacesResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetRegisteredServiceNamespacesResponse} extends {@link TeaModel} * *

GetRegisteredServiceNamespacesResponse

*/ public class GetRegisteredServiceNamespacesResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private GetRegisteredServiceNamespacesResponseBody body; private GetRegisteredServiceNamespacesResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static GetRegisteredServiceNamespacesResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public GetRegisteredServiceNamespacesResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private GetRegisteredServiceNamespacesResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(GetRegisteredServiceNamespacesResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceNamespacesResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceNamespacesResponseBody.java index 5efdc599f00..08d3d38fb1e 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceNamespacesResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceNamespacesResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetRegisteredServiceNamespacesResponseBody} extends {@link TeaModel} * *

GetRegisteredServiceNamespacesResponseBody

*/ public class GetRegisteredServiceNamespacesResponseBody extends TeaModel { - @NameInMap("Namespaces") - private java.util.List < String > namespaces; + @com.aliyun.core.annotation.NameInMap("Namespaces") + private java.util.List namespaces; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetRegisteredServiceNamespacesResponseBody(Builder builder) { @@ -31,10 +36,14 @@ public static GetRegisteredServiceNamespacesResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return namespaces */ - public java.util.List < String > getNamespaces() { + public java.util.List getNamespaces() { return this.namespaces; } @@ -46,19 +55,30 @@ public String getRequestId() { } public static final class Builder { - private java.util.List < String > namespaces; + private java.util.List namespaces; private String requestId; + private Builder() { + } + + private Builder(GetRegisteredServiceNamespacesResponseBody model) { + this.namespaces = model.namespaces; + this.requestId = model.requestId; + } + /** - * The names of the queried namespaces. + *

The names of the queried namespaces.

*/ - public Builder namespaces(java.util.List < String > namespaces) { + public Builder namespaces(java.util.List namespaces) { this.namespaces = namespaces; return this; } /** - * The ID of the request. + *

The ID of the request.

+ * + * example: + *

31d3a0f0-07ed-4f6e-9004-1804498c****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneDetailRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneDetailRequest.java index 8ce28a7b276..2f341be607e 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneDetailRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneDetailRequest.java @@ -1,28 +1,33 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetSwimLaneDetailRequest} extends {@link RequestModel} * *

GetSwimLaneDetailRequest

*/ public class GetSwimLaneDetailRequest extends Request { - @Body - @NameInMap("GroupName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("GroupName") private String groupName; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; - @Body - @NameInMap("SwimLaneName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SwimLaneName") private String swimLaneName; private GetSwimLaneDetailRequest(Builder builder) { @@ -40,7 +45,7 @@ public static GetSwimLaneDetailRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -83,7 +88,10 @@ private Builder(GetSwimLaneDetailRequest request) { } /** - * The name of the lane group. + *

The name of the lane group.

+ * + * example: + *

test

*/ public Builder groupName(String groupName) { this.putBodyParameter("GroupName", groupName); @@ -92,7 +100,11 @@ public Builder groupName(String groupName) { } /** - * The ID of the Service Mesh (ASM) instance. + *

The ID of the Service Mesh (ASM) instance.

+ *

This parameter is required.

+ * + * example: + *

xxx

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); @@ -101,7 +113,10 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * The name of the lane. + *

The name of the lane.

+ * + * example: + *

s1

*/ public Builder swimLaneName(String swimLaneName) { this.putBodyParameter("SwimLaneName", swimLaneName); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneDetailResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneDetailResponse.java index 5d44062fdda..f900d83745f 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneDetailResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneDetailResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetSwimLaneDetailResponse} extends {@link TeaModel} * *

GetSwimLaneDetailResponse

*/ public class GetSwimLaneDetailResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private GetSwimLaneDetailResponseBody body; private GetSwimLaneDetailResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static GetSwimLaneDetailResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public GetSwimLaneDetailResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private GetSwimLaneDetailResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(GetSwimLaneDetailResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneDetailResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneDetailResponseBody.java index fa4d498162e..460337b8dfd 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneDetailResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneDetailResponseBody.java @@ -1,35 +1,46 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetSwimLaneDetailResponseBody} extends {@link TeaModel} * *

GetSwimLaneDetailResponseBody

*/ public class GetSwimLaneDetailResponseBody extends TeaModel { - @NameInMap("IngressRule") + @com.aliyun.core.annotation.NameInMap("IngressRule") private String ingressRule; - @NameInMap("IngressService") + @com.aliyun.core.annotation.NameInMap("IngressService") private String ingressService; - @NameInMap("LabelSelectorKey") + @com.aliyun.core.annotation.NameInMap("LabelSelectorKey") private String labelSelectorKey; - @NameInMap("LabelSelectorValue") + @com.aliyun.core.annotation.NameInMap("LabelSelectorValue") private String labelSelectorValue; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("ServicesList") + @com.aliyun.core.annotation.NameInMap("ServicesList") private String servicesList; + @com.aliyun.core.annotation.NameInMap("ValidationMessage") + private String validationMessage; + + @com.aliyun.core.annotation.NameInMap("WeightedIngressDestination") + private String weightedIngressDestination; + private GetSwimLaneDetailResponseBody(Builder builder) { this.ingressRule = builder.ingressRule; this.ingressService = builder.ingressService; @@ -37,6 +48,8 @@ private GetSwimLaneDetailResponseBody(Builder builder) { this.labelSelectorValue = builder.labelSelectorValue; this.requestId = builder.requestId; this.servicesList = builder.servicesList; + this.validationMessage = builder.validationMessage; + this.weightedIngressDestination = builder.weightedIngressDestination; } public static Builder builder() { @@ -47,6 +60,10 @@ public static GetSwimLaneDetailResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return ingressRule */ @@ -89,6 +106,20 @@ public String getServicesList() { return this.servicesList; } + /** + * @return validationMessage + */ + public String getValidationMessage() { + return this.validationMessage; + } + + /** + * @return weightedIngressDestination + */ + public String getWeightedIngressDestination() { + return this.weightedIngressDestination; + } + public static final class Builder { private String ingressRule; private String ingressService; @@ -96,9 +127,28 @@ public static final class Builder { private String labelSelectorValue; private String requestId; private String servicesList; + private String validationMessage; + private String weightedIngressDestination; + + private Builder() { + } + + private Builder(GetSwimLaneDetailResponseBody model) { + this.ingressRule = model.ingressRule; + this.ingressService = model.ingressService; + this.labelSelectorKey = model.labelSelectorKey; + this.labelSelectorValue = model.labelSelectorValue; + this.requestId = model.requestId; + this.servicesList = model.servicesList; + this.validationMessage = model.validationMessage; + this.weightedIngressDestination = model.weightedIngressDestination; + } /** - * The traffic routing rule that routes traffic to the lane by using the ingress gateway. The traffic routing rule contains one or more custom routes. + *

The traffic routing rule that routes traffic to the lane by using the ingress gateway. The traffic routing rule contains one or more custom routes.

+ * + * example: + *

[{"Domains":[""],"RouteName":"r1","MatchRequest":{"Headers":[{"Name":"x-asm-prefer-tag","MatchingMode":"exact","MatchingContent":"s1"}],"URI":{"MatchingMode":"exact","MatchingContent":"/mock"}},"RouteDestinations":[{"Destination":{"Host":"mocka.default.svc.cluster.local","Subset":"s1"}}]},{"Domains":[""],"RouteName":"hello","MatchRequest":{"Headers":[{"Name":"x-asm-prefer-tag","MatchingMode":"exact","MatchingContent":"s1"}],"URI":{"MatchingMode":"exact","MatchingContent":"/mocktest"}},"RouteDestinations":[{"Destination":{"Host":"mocka.default.svc.cluster.local","Subset":"s1"}}]}]

*/ public Builder ingressRule(String ingressRule) { this.ingressRule = ingressRule; @@ -106,7 +156,10 @@ public Builder ingressRule(String ingressRule) { } /** - * This parameter is deprecated. + *

This parameter is deprecated.

+ * + * example: + *

mocka.default.svc.cluster.local

*/ public Builder ingressService(String ingressService) { this.ingressService = ingressService; @@ -114,7 +167,10 @@ public Builder ingressService(String ingressService) { } /** - * The label key of the associated service workload. The value is fixed as **ASM_TRAFFIC_TAG**. + *

The label key of the associated service workload. The value is fixed as ASM_TRAFFIC_TAG.

+ * + * example: + *

ASM_TRAFFIC_TAG

*/ public Builder labelSelectorKey(String labelSelectorKey) { this.labelSelectorKey = labelSelectorKey; @@ -122,7 +178,10 @@ public Builder labelSelectorKey(String labelSelectorKey) { } /** - * The value of ASM_TRAFFIC_TAG. + *

The value of ASM_TRAFFIC_TAG.

+ * + * example: + *

v1

*/ public Builder labelSelectorValue(String labelSelectorValue) { this.labelSelectorValue = labelSelectorValue; @@ -130,7 +189,10 @@ public Builder labelSelectorValue(String labelSelectorValue) { } /** - * The request ID. + *

The request ID.

+ * + * example: + *

yyyy

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,13 +200,38 @@ public Builder requestId(String requestId) { } /** - * A list of services associated with the lane. + *

A list of services associated with the lane.

+ * + * example: + *

["sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc"]

*/ public Builder servicesList(String servicesList) { this.servicesList = servicesList; return this; } + /** + *

The status of the swimlane. If the configuration is successful and takes effect, a null is returned. Otherwise, an error message is returned.

+ * + * example: + *

[{"code":"CODE_UNEFFECTED_SWIMLANE_LABEL","level":"warning","message":"The label selector defined in the ASMSwimLane has no effect on any workload instance."}]

+ */ + public Builder validationMessage(String validationMessage) { + this.validationMessage = validationMessage; + return this; + } + + /** + *

This parameter is returned only when the IngressRoutingStrategy parameter is set to weighted. This parameter indicates the domain name of Services in each lane and the request routing weight. The value of this parameter is a serialized JSON string.

+ * + * example: + *

{"RouteDestination":{"Host":"mocka.default.svc.cluster.local","Subset":"s1"},"Weight":40}

+ */ + public Builder weightedIngressDestination(String weightedIngressDestination) { + this.weightedIngressDestination = weightedIngressDestination; + return this; + } + public GetSwimLaneDetailResponseBody build() { return new GetSwimLaneDetailResponseBody(this); } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneGroupListRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneGroupListRequest.java index 2b4f97939cf..0a1c253dda1 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneGroupListRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneGroupListRequest.java @@ -1,20 +1,25 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetSwimLaneGroupListRequest} extends {@link RequestModel} * *

GetSwimLaneGroupListRequest

*/ public class GetSwimLaneGroupListRequest extends Request { - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private GetSwimLaneGroupListRequest(Builder builder) { @@ -30,7 +35,7 @@ public static GetSwimLaneGroupListRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -55,7 +60,11 @@ private Builder(GetSwimLaneGroupListRequest request) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

xxxx

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneGroupListResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneGroupListResponse.java index f987dc93da0..28f16c00ec1 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneGroupListResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneGroupListResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetSwimLaneGroupListResponse} extends {@link TeaModel} * *

GetSwimLaneGroupListResponse

*/ public class GetSwimLaneGroupListResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private GetSwimLaneGroupListResponseBody body; private GetSwimLaneGroupListResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static GetSwimLaneGroupListResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public GetSwimLaneGroupListResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private GetSwimLaneGroupListResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(GetSwimLaneGroupListResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneGroupListResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneGroupListResponseBody.java index 015506f5b1c..c1bff2c018c 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneGroupListResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneGroupListResponseBody.java @@ -1,22 +1,27 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetSwimLaneGroupListResponseBody} extends {@link TeaModel} * *

GetSwimLaneGroupListResponseBody

*/ public class GetSwimLaneGroupListResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("SwimLaneGroupList") - private java.util.List < SwimLaneGroupList> swimLaneGroupList; + @com.aliyun.core.annotation.NameInMap("SwimLaneGroupList") + private java.util.List swimLaneGroupList; private GetSwimLaneGroupListResponseBody(Builder builder) { this.requestId = builder.requestId; @@ -31,6 +36,10 @@ public static GetSwimLaneGroupListResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -41,16 +50,27 @@ public String getRequestId() { /** * @return swimLaneGroupList */ - public java.util.List < SwimLaneGroupList> getSwimLaneGroupList() { + public java.util.List getSwimLaneGroupList() { return this.swimLaneGroupList; } public static final class Builder { private String requestId; - private java.util.List < SwimLaneGroupList> swimLaneGroupList; + private java.util.List swimLaneGroupList; + + private Builder() { + } + + private Builder(GetSwimLaneGroupListResponseBody model) { + this.requestId = model.requestId; + this.swimLaneGroupList = model.swimLaneGroupList; + } /** - * The request ID. + *

The request ID.

+ * + * example: + *

yyyy

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -58,9 +78,9 @@ public Builder requestId(String requestId) { } /** - * The information about the lane groups. + *

The information about the lane group.

*/ - public Builder swimLaneGroupList(java.util.List < SwimLaneGroupList> swimLaneGroupList) { + public Builder swimLaneGroupList(java.util.List swimLaneGroupList) { this.swimLaneGroupList = swimLaneGroupList; return this; } @@ -71,44 +91,62 @@ public GetSwimLaneGroupListResponseBody build() { } + /** + * + * {@link GetSwimLaneGroupListResponseBody} extends {@link TeaModel} + * + *

GetSwimLaneGroupListResponseBody

+ */ public static class SwimLaneGroupList extends TeaModel { - @NameInMap("FallbackTarget") + @com.aliyun.core.annotation.NameInMap("FallbackTarget") private String fallbackTarget; - @NameInMap("GroupName") + @com.aliyun.core.annotation.NameInMap("GroupName") private String groupName; - @NameInMap("IngressGatewayName") + @com.aliyun.core.annotation.NameInMap("IngressGatewayName") private String ingressGatewayName; - @NameInMap("IngressType") + @com.aliyun.core.annotation.NameInMap("IngressRoutingStrategy") + private String ingressRoutingStrategy; + + @com.aliyun.core.annotation.NameInMap("IngressType") private String ingressType; - @NameInMap("IsPermissive") + @com.aliyun.core.annotation.NameInMap("IsPermissive") private Boolean isPermissive; - @NameInMap("RouteHeader") + @com.aliyun.core.annotation.NameInMap("RouteHeader") private String routeHeader; - @NameInMap("ServiceList") + @com.aliyun.core.annotation.NameInMap("ServiceLevelFallbackTarget") + private String serviceLevelFallbackTarget; + + @com.aliyun.core.annotation.NameInMap("ServiceList") private String serviceList; - @NameInMap("SwimLaneLabels") + @com.aliyun.core.annotation.NameInMap("SwimLaneLabels") private String swimLaneLabels; - @NameInMap("TraceHeader") + @com.aliyun.core.annotation.NameInMap("TraceHeader") private String traceHeader; + @com.aliyun.core.annotation.NameInMap("WeightedIngressRule") + private String weightedIngressRule; + private SwimLaneGroupList(Builder builder) { this.fallbackTarget = builder.fallbackTarget; this.groupName = builder.groupName; this.ingressGatewayName = builder.ingressGatewayName; + this.ingressRoutingStrategy = builder.ingressRoutingStrategy; this.ingressType = builder.ingressType; this.isPermissive = builder.isPermissive; this.routeHeader = builder.routeHeader; + this.serviceLevelFallbackTarget = builder.serviceLevelFallbackTarget; this.serviceList = builder.serviceList; this.swimLaneLabels = builder.swimLaneLabels; this.traceHeader = builder.traceHeader; + this.weightedIngressRule = builder.weightedIngressRule; } public static Builder builder() { @@ -140,6 +178,13 @@ public String getIngressGatewayName() { return this.ingressGatewayName; } + /** + * @return ingressRoutingStrategy + */ + public String getIngressRoutingStrategy() { + return this.ingressRoutingStrategy; + } + /** * @return ingressType */ @@ -161,6 +206,13 @@ public String getRouteHeader() { return this.routeHeader; } + /** + * @return serviceLevelFallbackTarget + */ + public String getServiceLevelFallbackTarget() { + return this.serviceLevelFallbackTarget; + } + /** * @return serviceList */ @@ -182,19 +234,50 @@ public String getTraceHeader() { return this.traceHeader; } + /** + * @return weightedIngressRule + */ + public String getWeightedIngressRule() { + return this.weightedIngressRule; + } + public static final class Builder { private String fallbackTarget; private String groupName; private String ingressGatewayName; + private String ingressRoutingStrategy; private String ingressType; private Boolean isPermissive; private String routeHeader; + private String serviceLevelFallbackTarget; private String serviceList; private String swimLaneLabels; private String traceHeader; + private String weightedIngressRule; + + private Builder() { + } + + private Builder(SwimLaneGroupList model) { + this.fallbackTarget = model.fallbackTarget; + this.groupName = model.groupName; + this.ingressGatewayName = model.ingressGatewayName; + this.ingressRoutingStrategy = model.ingressRoutingStrategy; + this.ingressType = model.ingressType; + this.isPermissive = model.isPermissive; + this.routeHeader = model.routeHeader; + this.serviceLevelFallbackTarget = model.serviceLevelFallbackTarget; + this.serviceList = model.serviceList; + this.swimLaneLabels = model.swimLaneLabels; + this.traceHeader = model.traceHeader; + this.weightedIngressRule = model.weightedIngressRule; + } /** - * FallbackTarget. + *

The name of the baseline lane of the lane group in permissive mode. This parameter is valid only for a lane group in permissive mode.

+ * + * example: + *

s1

*/ public Builder fallbackTarget(String fallbackTarget) { this.fallbackTarget = fallbackTarget; @@ -202,7 +285,10 @@ public Builder fallbackTarget(String fallbackTarget) { } /** - * The name of a lane group. + *

The name of a lane group.

+ * + * example: + *

test

*/ public Builder groupName(String groupName) { this.groupName = groupName; @@ -210,7 +296,10 @@ public Builder groupName(String groupName) { } /** - * The name of the ingress gateway. + *

The name of the ASM ingress gateway.

+ * + * example: + *

ingressgateway

*/ public Builder ingressGatewayName(String ingressGatewayName) { this.ingressGatewayName = ingressGatewayName; @@ -218,7 +307,25 @@ public Builder ingressGatewayName(String ingressGatewayName) { } /** - * The ingress type. Traffic routing rules can be configured only in an ingress gateway. + *

The policy used to route requests among multiple lanes in a lane group. Valid values:

+ *
    + *
  • weighted: a weight-based request routing policy. Requests are matched based on uniform rules and then routed to different lanes in a lane group at a specified ratio.
  • + *
  • rule-based: a rule-based request routing policy. Each lane is configured with request routing rules. Only requests that match the request routing rules of a specific lane are routed to the lane.
  • + *
+ * + * example: + *

weighted

+ */ + public Builder ingressRoutingStrategy(String ingressRoutingStrategy) { + this.ingressRoutingStrategy = ingressRoutingStrategy; + return this; + } + + /** + *

The type of gateways in which you can configure request routing rules. You can configure request routing rules only in ASM gateways.

+ * + * example: + *

ASM

*/ public Builder ingressType(String ingressType) { this.ingressType = ingressType; @@ -226,7 +333,10 @@ public Builder ingressType(String ingressType) { } /** - * IsPermissive. + *

Indicates whether the lane group is in permissive mode.

+ * + * example: + *

false

*/ public Builder isPermissive(Boolean isPermissive) { this.isPermissive = isPermissive; @@ -234,7 +344,10 @@ public Builder isPermissive(Boolean isPermissive) { } /** - * RouteHeader. + *

The request routing header of the lane group. It is valid only for a lane group in permissive mode.

+ * + * example: + *

x-asm-prefer-tag

*/ public Builder routeHeader(String routeHeader) { this.routeHeader = routeHeader; @@ -242,7 +355,18 @@ public Builder routeHeader(String routeHeader) { } /** - * A list of services associated with the lane group. + * ServiceLevelFallbackTarget. + */ + public Builder serviceLevelFallbackTarget(String serviceLevelFallbackTarget) { + this.serviceLevelFallbackTarget = serviceLevelFallbackTarget; + return this; + } + + /** + *

The Services associated with the lane group.

+ * + * example: + *

["sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc"]

*/ public Builder serviceList(String serviceList) { this.serviceList = serviceList; @@ -250,7 +374,10 @@ public Builder serviceList(String serviceList) { } /** - * SwimLaneLabels. + *

A serialized JSON string. The keys of the JSON object are the keys of the labels owned by all services in the lane group, and the values of the JSON object are arrays of all possible label values of the services in the lane group.

+ * + * example: + *

{"ASM_TRAFFIC_TAG":["v2","v3","v1"],"version":["v3","v1","v2"]}

*/ public Builder swimLaneLabels(String swimLaneLabels) { this.swimLaneLabels = swimLaneLabels; @@ -258,13 +385,27 @@ public Builder swimLaneLabels(String swimLaneLabels) { } /** - * TraceHeader. + *

The end-to-end (E2E) pass-through request header of the lane group. It is valid only for a lane group in permissive mode.

+ * + * example: + *

my-request-id

*/ public Builder traceHeader(String traceHeader) { this.traceHeader = traceHeader; return this; } + /** + *

The weight-based request routing rules for a lane group. This parameter is returned only when the IngressRoutingStrategy parameter is set to weighted.

+ * + * example: + *

{"Domains":["*"],"MatchRequests":[{"URI":{"MatchingMode":"exact","MatchingContent":"/mock"},"Headers":[{"Name":"test","MatchingMode":"exact","MatchingContent":"yes"}]}]}

+ */ + public Builder weightedIngressRule(String weightedIngressRule) { + this.weightedIngressRule = weightedIngressRule; + return this; + } + public SwimLaneGroupList build() { return new SwimLaneGroupList(this); } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneListRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneListRequest.java index 481cca1420b..116ec8c92c2 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneListRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneListRequest.java @@ -1,24 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetSwimLaneListRequest} extends {@link RequestModel} * *

GetSwimLaneListRequest

*/ public class GetSwimLaneListRequest extends Request { - @Body - @NameInMap("GroupName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("GroupName") private String groupName; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private GetSwimLaneListRequest(Builder builder) { @@ -35,7 +40,7 @@ public static GetSwimLaneListRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -69,7 +74,10 @@ private Builder(GetSwimLaneListRequest request) { } /** - * The name of the lane group. + *

The name of the lane group.

+ * + * example: + *

test

*/ public Builder groupName(String groupName) { this.putBodyParameter("GroupName", groupName); @@ -78,7 +86,11 @@ public Builder groupName(String groupName) { } /** - * The ID of the Service Mesh (ASM) instance. + *

The ID of the Service Mesh (ASM) instance.

+ *

This parameter is required.

+ * + * example: + *

xxx

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneListResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneListResponse.java index a3abfff6f49..d71ae6b1bbb 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneListResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneListResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetSwimLaneListResponse} extends {@link TeaModel} * *

GetSwimLaneListResponse

*/ public class GetSwimLaneListResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private GetSwimLaneListResponseBody body; private GetSwimLaneListResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static GetSwimLaneListResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public GetSwimLaneListResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private GetSwimLaneListResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(GetSwimLaneListResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneListResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneListResponseBody.java index c4a1d265831..20a5d8cc4b7 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneListResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetSwimLaneListResponseBody.java @@ -1,22 +1,27 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetSwimLaneListResponseBody} extends {@link TeaModel} * *

GetSwimLaneListResponseBody

*/ public class GetSwimLaneListResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("SwimLaneList") - private java.util.List < SwimLaneList> swimLaneList; + @com.aliyun.core.annotation.NameInMap("SwimLaneList") + private java.util.List swimLaneList; private GetSwimLaneListResponseBody(Builder builder) { this.requestId = builder.requestId; @@ -31,6 +36,10 @@ public static GetSwimLaneListResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -41,16 +50,27 @@ public String getRequestId() { /** * @return swimLaneList */ - public java.util.List < SwimLaneList> getSwimLaneList() { + public java.util.List getSwimLaneList() { return this.swimLaneList; } public static final class Builder { private String requestId; - private java.util.List < SwimLaneList> swimLaneList; + private java.util.List swimLaneList; + + private Builder() { + } + + private Builder(GetSwimLaneListResponseBody model) { + this.requestId = model.requestId; + this.swimLaneList = model.swimLaneList; + } /** - * The request ID. + *

The request ID.

+ * + * example: + *

yyyy

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -58,9 +78,9 @@ public Builder requestId(String requestId) { } /** - * A list of all the lanes in the lane group. + *

The swimlanes.

*/ - public Builder swimLaneList(java.util.List < SwimLaneList> swimLaneList) { + public Builder swimLaneList(java.util.List swimLaneList) { this.swimLaneList = swimLaneList; return this; } @@ -71,28 +91,40 @@ public GetSwimLaneListResponseBody build() { } + /** + * + * {@link GetSwimLaneListResponseBody} extends {@link TeaModel} + * + *

GetSwimLaneListResponseBody

+ */ public static class SwimLaneList extends TeaModel { - @NameInMap("GroupName") + @com.aliyun.core.annotation.NameInMap("GroupName") private String groupName; - @NameInMap("IngressRule") + @com.aliyun.core.annotation.NameInMap("IngressRule") private String ingressRule; - @NameInMap("IngressService") + @com.aliyun.core.annotation.NameInMap("IngressService") private String ingressService; - @NameInMap("LabelSelectorKey") + @com.aliyun.core.annotation.NameInMap("LabelSelectorKey") private String labelSelectorKey; - @NameInMap("LabelSelectorValue") + @com.aliyun.core.annotation.NameInMap("LabelSelectorValue") private String labelSelectorValue; - @NameInMap("Name") + @com.aliyun.core.annotation.NameInMap("Name") private String name; - @NameInMap("ServiceList") + @com.aliyun.core.annotation.NameInMap("ServiceList") private String serviceList; + @com.aliyun.core.annotation.NameInMap("ValidationMessage") + private String validationMessage; + + @com.aliyun.core.annotation.NameInMap("WeightedIngressDestinatin") + private String weightedIngressDestinatin; + private SwimLaneList(Builder builder) { this.groupName = builder.groupName; this.ingressRule = builder.ingressRule; @@ -101,6 +133,8 @@ private SwimLaneList(Builder builder) { this.labelSelectorValue = builder.labelSelectorValue; this.name = builder.name; this.serviceList = builder.serviceList; + this.validationMessage = builder.validationMessage; + this.weightedIngressDestinatin = builder.weightedIngressDestinatin; } public static Builder builder() { @@ -160,6 +194,20 @@ public String getServiceList() { return this.serviceList; } + /** + * @return validationMessage + */ + public String getValidationMessage() { + return this.validationMessage; + } + + /** + * @return weightedIngressDestinatin + */ + public String getWeightedIngressDestinatin() { + return this.weightedIngressDestinatin; + } + public static final class Builder { private String groupName; private String ingressRule; @@ -168,9 +216,29 @@ public static final class Builder { private String labelSelectorValue; private String name; private String serviceList; + private String validationMessage; + private String weightedIngressDestinatin; + + private Builder() { + } + + private Builder(SwimLaneList model) { + this.groupName = model.groupName; + this.ingressRule = model.ingressRule; + this.ingressService = model.ingressService; + this.labelSelectorKey = model.labelSelectorKey; + this.labelSelectorValue = model.labelSelectorValue; + this.name = model.name; + this.serviceList = model.serviceList; + this.validationMessage = model.validationMessage; + this.weightedIngressDestinatin = model.weightedIngressDestinatin; + } /** - * The name of the lane group. + *

The name of a lane group.

+ * + * example: + *

test

*/ public Builder groupName(String groupName) { this.groupName = groupName; @@ -178,7 +246,10 @@ public Builder groupName(String groupName) { } /** - * The traffic routing rule associated with the lane. + *

The request routing rules.

+ * + * example: + *

[{"Domains":[""],"RouteName":"r1","MatchRequest":{"Headers":[{"Name":"x-asm-prefer-tag","MatchingMode":"exact","MatchingContent":"s1"}],"URI":{"MatchingMode":"exact","MatchingContent":"/mock"}},"RouteDestinations":[{"Destination":{"Host":"mocka.default.svc.cluster.local","Subset":"s1"}}]},{"Domains":[""],"RouteName":"hello","MatchRequest":{"Headers":[{"Name":"x-asm-prefer-tag","MatchingMode":"exact","MatchingContent":"s1"}],"URI":{"MatchingMode":"exact","MatchingContent":"/mocktest"}},"RouteDestinations":[{"Destination":{"Host":"mocka.default.svc.cluster.local","Subset":"s1"}}]}]

*/ public Builder ingressRule(String ingressRule) { this.ingressRule = ingressRule; @@ -186,7 +257,10 @@ public Builder ingressRule(String ingressRule) { } /** - * This parameter is deprecated. + *

This parameter is deprecated.

+ * + * example: + *

mocka.default.svc.cluster.local

*/ public Builder ingressService(String ingressService) { this.ingressService = ingressService; @@ -194,7 +268,10 @@ public Builder ingressService(String ingressService) { } /** - * The label key of the associated service workload. The value is fixed as `ASM_TRAFFIC_TAG`. + *

The label key of the associated service workload. The value is fixed as ASM_TRAFFIC_TAG.

+ * + * example: + *

ASM_TRAFFIC_TAG

*/ public Builder labelSelectorKey(String labelSelectorKey) { this.labelSelectorKey = labelSelectorKey; @@ -202,7 +279,10 @@ public Builder labelSelectorKey(String labelSelectorKey) { } /** - * The label value of the associated service workload.`` + *

The label value of the associated service workload. The value is fixed as ASM_TRAFFIC_TAG.

+ * + * example: + *

v1

*/ public Builder labelSelectorValue(String labelSelectorValue) { this.labelSelectorValue = labelSelectorValue; @@ -210,7 +290,10 @@ public Builder labelSelectorValue(String labelSelectorValue) { } /** - * The name of a lane. + *

The name of the lane.

+ * + * example: + *

s1

*/ public Builder name(String name) { this.name = name; @@ -218,13 +301,38 @@ public Builder name(String name) { } /** - * A list of services associated with the lane. + *

Services associated with the lane.

+ * + * example: + *

["sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc"]

*/ public Builder serviceList(String serviceList) { this.serviceList = serviceList; return this; } + /** + *

The verification messages of the lane group. If the service does not exist in the lane group, the verification message is displayed in the verification messages of the lane group.

+ * + * example: + *

[{"code":"CODE_UNEFFECTED_SWIMLANE_LABEL","level":"warning","message":"The label selector defined in the ASMSwimLane has no effect on any workload instance."}]

+ */ + public Builder validationMessage(String validationMessage) { + this.validationMessage = validationMessage; + return this; + } + + /** + *

This parameter is returned only when the IngressRoutingStrategy parameter is set to weighted. This parameter indicates the domain name of Services in each lane and the request routing weight. The value of this parameter is a serialized JSON string.

+ * + * example: + *

{"RouteDestination":{"Host":"mocka.default.svc.cluster.local","Subset":"s1"},"Weight":40}

+ */ + public Builder weightedIngressDestinatin(String weightedIngressDestinatin) { + this.weightedIngressDestinatin = weightedIngressDestinatin; + return this; + } + public SwimLaneList build() { return new SwimLaneList(this); } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmAppMeshInfoRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmAppMeshInfoRequest.java index ac88d778ce5..516ad4b9825 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmAppMeshInfoRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmAppMeshInfoRequest.java @@ -1,20 +1,25 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetVmAppMeshInfoRequest} extends {@link RequestModel} * *

GetVmAppMeshInfoRequest

*/ public class GetVmAppMeshInfoRequest extends Request { - @Query - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private GetVmAppMeshInfoRequest(Builder builder) { @@ -30,7 +35,7 @@ public static GetVmAppMeshInfoRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -55,7 +60,11 @@ private Builder(GetVmAppMeshInfoRequest request) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

ce51a7de4a5144db88a864****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putQueryParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmAppMeshInfoResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmAppMeshInfoResponse.java index cbecf7deee2..fc557acd343 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmAppMeshInfoResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmAppMeshInfoResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetVmAppMeshInfoResponse} extends {@link TeaModel} * *

GetVmAppMeshInfoResponse

*/ public class GetVmAppMeshInfoResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private GetVmAppMeshInfoResponseBody body; private GetVmAppMeshInfoResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static GetVmAppMeshInfoResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public GetVmAppMeshInfoResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private GetVmAppMeshInfoResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(GetVmAppMeshInfoResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmAppMeshInfoResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmAppMeshInfoResponseBody.java index 6ffd8c492b7..4b57ef35e2a 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmAppMeshInfoResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmAppMeshInfoResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetVmAppMeshInfoResponseBody} extends {@link TeaModel} * *

GetVmAppMeshInfoResponseBody

*/ public class GetVmAppMeshInfoResponseBody extends TeaModel { - @NameInMap("Data") + @com.aliyun.core.annotation.NameInMap("Data") private String data; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GetVmAppMeshInfoResponseBody(Builder builder) { @@ -31,6 +36,10 @@ public static GetVmAppMeshInfoResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return data */ @@ -49,8 +58,19 @@ public static final class Builder { private String data; private String requestId; + private Builder() { + } + + private Builder(GetVmAppMeshInfoResponseBody model) { + this.data = model.data; + this.requestId = model.requestId; + } + /** - * The response parameters. + *

The response parameters.

+ * + * example: + *

...

*/ public Builder data(String data) { this.data = data; @@ -58,7 +78,10 @@ public Builder data(String data) { } /** - * The request ID. + *

The request ID.

+ * + * example: + *

9522f7c9-63a1-4603-b850-37d12a****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmMetaRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmMetaRequest.java index b69e08dca54..a64bb42add5 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmMetaRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmMetaRequest.java @@ -1,32 +1,37 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetVmMetaRequest} extends {@link RequestModel} * *

GetVmMetaRequest

*/ public class GetVmMetaRequest extends Request { - @Query - @NameInMap("Namespace") + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; - @Query - @NameInMap("ServiceAccount") + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ServiceAccount") private String serviceAccount; - @Query - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; - @Query - @NameInMap("TrustDomain") + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("TrustDomain") private String trustDomain; private GetVmMetaRequest(Builder builder) { @@ -45,7 +50,7 @@ public static GetVmMetaRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -97,7 +102,10 @@ private Builder(GetVmMetaRequest request) { } /** - * The name of the namespace. This parameter is valid only after you set the Namespace and the ServiceAccount parameters. + *

The name of the namespace. This parameter is valid only after you set the Namespace and the ServiceAccount parameters.

+ * + * example: + *

hello

*/ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); @@ -106,7 +114,10 @@ public Builder namespace(String namespace) { } /** - * The service account. This parameter is valid only after you set the Namespace and the ServiceAccount parameters. + *

The service account. This parameter is valid only after you set the Namespace and the ServiceAccount parameters.

+ * + * example: + *

http-sa

*/ public Builder serviceAccount(String serviceAccount) { this.putQueryParameter("ServiceAccount", serviceAccount); @@ -115,7 +126,11 @@ public Builder serviceAccount(String serviceAccount) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

ce51a7de4a5144db88a864ed91****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putQueryParameter("ServiceMeshId", serviceMeshId); @@ -124,7 +139,10 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * The trusted domain. Default value: cluster.local. This parameter is valid only after you set the Namespace and the ServiceAccount parameters. + *

The trusted domain. Default value: cluster.local. This parameter is valid only after you set the Namespace and the ServiceAccount parameters.

+ * + * example: + *

cluster.local

*/ public Builder trustDomain(String trustDomain) { this.putQueryParameter("TrustDomain", trustDomain); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmMetaResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmMetaResponse.java index 5d08d1e78f6..4771a23cd88 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmMetaResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmMetaResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetVmMetaResponse} extends {@link TeaModel} * *

GetVmMetaResponse

*/ public class GetVmMetaResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private GetVmMetaResponseBody body; private GetVmMetaResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static GetVmMetaResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public GetVmMetaResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder { private static final class BuilderImpl extends Response.BuilderImpl implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private GetVmMetaResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(GetVmMetaResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmMetaResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmMetaResponseBody.java index 3f6b264d00d..4a23238943b 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmMetaResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GetVmMetaResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GetVmMetaResponseBody} extends {@link TeaModel} * *

GetVmMetaResponseBody

*/ public class GetVmMetaResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("VmMetaInfo") + @com.aliyun.core.annotation.NameInMap("VmMetaInfo") private VmMetaInfo vmMetaInfo; private GetVmMetaResponseBody(Builder builder) { @@ -31,6 +36,10 @@ public static GetVmMetaResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -49,8 +58,19 @@ public static final class Builder { private String requestId; private VmMetaInfo vmMetaInfo; + private Builder() { + } + + private Builder(GetVmMetaResponseBody model) { + this.requestId = model.requestId; + this.vmMetaInfo = model.vmMetaInfo; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

9522f7c9-63a1-4603-b850-37d12a****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -58,7 +78,7 @@ public Builder requestId(String requestId) { } /** - * The metadata that is required to add a non-containerized application to the ASM instance. + *

The metadata that is required to add a non-containerized application to the ASM instance.

*/ public Builder vmMetaInfo(VmMetaInfo vmMetaInfo) { this.vmMetaInfo = vmMetaInfo; @@ -71,14 +91,20 @@ public GetVmMetaResponseBody build() { } + /** + * + * {@link GetVmMetaResponseBody} extends {@link TeaModel} + * + *

GetVmMetaResponseBody

+ */ public static class VmMetaInfo extends TeaModel { - @NameInMap("EnvoyEnvContent") + @com.aliyun.core.annotation.NameInMap("EnvoyEnvContent") private String envoyEnvContent; - @NameInMap("HostsContent") + @com.aliyun.core.annotation.NameInMap("HostsContent") private String hostsContent; - @NameInMap("TokenContent") + @com.aliyun.core.annotation.NameInMap("TokenContent") private String tokenContent; private VmMetaInfo(Builder builder) { @@ -121,8 +147,20 @@ public static final class Builder { private String hostsContent; private String tokenContent; + private Builder() { + } + + private Builder(VmMetaInfo model) { + this.envoyEnvContent = model.envoyEnvContent; + this.hostsContent = model.hostsContent; + this.tokenContent = model.tokenContent; + } + /** - * The content of the EnvoyEnv file. + *

The content of the EnvoyEnv file.

+ * + * example: + *

....

*/ public Builder envoyEnvContent(String envoyEnvContent) { this.envoyEnvContent = envoyEnvContent; @@ -130,7 +168,10 @@ public Builder envoyEnvContent(String envoyEnvContent) { } /** - * The content of the hosts file. + *

The content of the hosts file.

+ * + * example: + *

....

*/ public Builder hostsContent(String hostsContent) { this.hostsContent = hostsContent; @@ -138,7 +179,10 @@ public Builder hostsContent(String hostsContent) { } /** - * The content of the Token file. + *

The content of the Token file.

+ * + * example: + *

....

*/ public Builder tokenContent(String tokenContent) { this.tokenContent = tokenContent; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GrantUserPermissionsRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GrantUserPermissionsRequest.java index c26b03eedd1..09b3aaa3d16 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GrantUserPermissionsRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GrantUserPermissionsRequest.java @@ -1,28 +1,33 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GrantUserPermissionsRequest} extends {@link RequestModel} * *

GrantUserPermissionsRequest

*/ public class GrantUserPermissionsRequest extends Request { - @Body - @NameInMap("Permissions") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Permissions") private String permissions; - @Body - @NameInMap("SubAccountUserId") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SubAccountUserId") private String subAccountUserId; - @Body - @NameInMap("SubAccountUserIds") - private java.util.List < String > subAccountUserIds; + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SubAccountUserIds") + private java.util.List subAccountUserIds; private GrantUserPermissionsRequest(Builder builder) { super(builder); @@ -39,7 +44,7 @@ public static GrantUserPermissionsRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -61,14 +66,14 @@ public String getSubAccountUserId() { /** * @return subAccountUserIds */ - public java.util.List < String > getSubAccountUserIds() { + public java.util.List getSubAccountUserIds() { return this.subAccountUserIds; } public static final class Builder extends Request.Builder { private String permissions; private String subAccountUserId; - private java.util.List < String > subAccountUserIds; + private java.util.List subAccountUserIds; private Builder() { super(); @@ -82,13 +87,16 @@ private Builder(GrantUserPermissionsRequest request) { } /** - * The permissions that are granted to an entity. The content is a string that consists of JSON arrays. You must specify all permissions that you want to grant to an entity. You can add or remove permissions by modifying the content. Field definition of the sample code: - *

+ *

The permissions that are granted to an entity. The content is a string that consists of JSON arrays. You must specify all permissions that you want to grant to an entity. You can add or remove permissions by modifying the content. Field definition of the sample code:

+ *
    + *
  • IsCustom: a parameter that is required by the system. Set the value to true.
  • + *
  • Cluster: the ID of the Service Mesh (ASM) instance.
  • + *
  • RoleName: the name of the permissions. Valid values: istio-admin, istio-ops, and istio-readonly. A value of istio-admin indicates the permissions of ASM administrators. A value of istio-ops indicates the permissions of ASM restricted users. A value of istio-readonly indicates the read-only permissions.
  • + *
  • IsRamRole: the entity to which you want to grant the permissions. To grant the permissions to a RAM role, set the value to true. Otherwise, set the value to false.
  • + *
* - * * `IsCustom`: a parameter that is required by the system. Set the value to `true`. - * * `Cluster`: the ID of the Service Mesh (ASM) instance. - * * `RoleName`: the name of the permissions. Valid values: `istio-admin`, `istio-ops`, and `istio-readonly`. A value of istio-admin indicates the permissions of ASM administrators. A value of istio-ops indicates the permissions of ASM restricted users. A value of istio-readonly indicates the read-only permissions. - * * `IsRamRole`: the entity to which you want to grant the permissions. To grant the permissions to a RAM role, set the value to `true`. Otherwise, set the value to `false`. + * example: + *

[{"IsCustom":true,"RoleName":"istio-ops","Cluster":"c57b848115458460583a4260cb713****","RoleType":"custom","IsRamRole":false},{"IsCustom":true,"RoleName":"istio-ops","Cluster":"c4ec191f4e12145c09286ea3e2b8f****","RoleType":"custom","IsRamRole":false}]

*/ public Builder permissions(String permissions) { this.putBodyParameter("Permissions", permissions); @@ -97,7 +105,10 @@ public Builder permissions(String permissions) { } /** - * The ID of the RAM user or RAM role. + *

The ID of the RAM user or RAM role.

+ * + * example: + *

27852573609480****

*/ public Builder subAccountUserId(String subAccountUserId) { this.putBodyParameter("SubAccountUserId", subAccountUserId); @@ -106,9 +117,9 @@ public Builder subAccountUserId(String subAccountUserId) { } /** - * The IDs of RAM users or RAM roles. You can grant permissions to multiple users at a time. + *

The IDs of RAM users or RAM roles. You can grant permissions to multiple users at a time.

*/ - public Builder subAccountUserIds(java.util.List < String > subAccountUserIds) { + public Builder subAccountUserIds(java.util.List subAccountUserIds) { String subAccountUserIdsShrink = shrink(subAccountUserIds, "SubAccountUserIds", "json"); this.putBodyParameter("SubAccountUserIds", subAccountUserIdsShrink); this.subAccountUserIds = subAccountUserIds; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GrantUserPermissionsResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GrantUserPermissionsResponse.java index d97a9fa5e19..e520d7c5842 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GrantUserPermissionsResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GrantUserPermissionsResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GrantUserPermissionsResponse} extends {@link TeaModel} * *

GrantUserPermissionsResponse

*/ public class GrantUserPermissionsResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private GrantUserPermissionsResponseBody body; private GrantUserPermissionsResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static GrantUserPermissionsResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public GrantUserPermissionsResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private GrantUserPermissionsResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(GrantUserPermissionsResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GrantUserPermissionsResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GrantUserPermissionsResponseBody.java index 932b32c1567..dea74bf0d17 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GrantUserPermissionsResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/GrantUserPermissionsResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link GrantUserPermissionsResponseBody} extends {@link TeaModel} * *

GrantUserPermissionsResponseBody

*/ public class GrantUserPermissionsResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GrantUserPermissionsResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static GrantUserPermissionsResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(GrantUserPermissionsResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

5A7C9E37-C171-584F-9A99-869B48C4****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListServiceAccountsRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListServiceAccountsRequest.java index a517d74166e..73f5b9ac9ac 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListServiceAccountsRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListServiceAccountsRequest.java @@ -1,29 +1,34 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link ListServiceAccountsRequest} extends {@link RequestModel} * *

ListServiceAccountsRequest

*/ public class ListServiceAccountsRequest extends Request { - @Body - @NameInMap("ClusterId") - @Validation(required = true, minLength = 1) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ClusterId") + @com.aliyun.core.annotation.Validation(required = true, minLength = 1) private String clusterId; - @Body - @NameInMap("Namespace") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true, minLength = 1) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true, minLength = 1) private String serviceMeshId; private ListServiceAccountsRequest(Builder builder) { @@ -41,7 +46,7 @@ public static ListServiceAccountsRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -84,7 +89,11 @@ private Builder(ListServiceAccountsRequest request) { } /** - * ClusterId. + *

The ID of the cluster on the data plane.

+ *

This parameter is required.

+ * + * example: + *

ce3c25e247da24f3aab9b7edfae83****

*/ public Builder clusterId(String clusterId) { this.putBodyParameter("ClusterId", clusterId); @@ -93,7 +102,10 @@ public Builder clusterId(String clusterId) { } /** - * Namespace. + *

The namespace.

+ * + * example: + *

default

*/ public Builder namespace(String namespace) { this.putBodyParameter("Namespace", namespace); @@ -102,7 +114,11 @@ public Builder namespace(String namespace) { } /** - * ServiceMeshId. + *

The ID of the Service Mesh (ASM) instance.

+ *

This parameter is required.

+ * + * example: + *

ce134b0727aa2492db69f6c3880e1****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListServiceAccountsResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListServiceAccountsResponse.java index e6e19f723bf..0d0d3bbf7c0 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListServiceAccountsResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListServiceAccountsResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link ListServiceAccountsResponse} extends {@link TeaModel} * *

ListServiceAccountsResponse

*/ public class ListServiceAccountsResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private ListServiceAccountsResponseBody body; private ListServiceAccountsResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static ListServiceAccountsResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public ListServiceAccountsResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private ListServiceAccountsResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(ListServiceAccountsResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListServiceAccountsResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListServiceAccountsResponseBody.java index 6022b72e607..63ff95a5a0b 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListServiceAccountsResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListServiceAccountsResponseBody.java @@ -1,22 +1,27 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link ListServiceAccountsResponseBody} extends {@link TeaModel} * *

ListServiceAccountsResponseBody

*/ public class ListServiceAccountsResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("ServiceAccounts") - private java.util.List < ServiceAccounts> serviceAccounts; + @com.aliyun.core.annotation.NameInMap("ServiceAccounts") + private java.util.List serviceAccounts; private ListServiceAccountsResponseBody(Builder builder) { this.requestId = builder.requestId; @@ -31,6 +36,10 @@ public static ListServiceAccountsResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -41,16 +50,27 @@ public String getRequestId() { /** * @return serviceAccounts */ - public java.util.List < ServiceAccounts> getServiceAccounts() { + public java.util.List getServiceAccounts() { return this.serviceAccounts; } public static final class Builder { private String requestId; - private java.util.List < ServiceAccounts> serviceAccounts; + private java.util.List serviceAccounts; + + private Builder() { + } + + private Builder(ListServiceAccountsResponseBody model) { + this.requestId = model.requestId; + this.serviceAccounts = model.serviceAccounts; + } /** - * RequestId. + *

The request ID.

+ * + * example: + *

8349374D-0F22-5CAB-9DE3-8CCE8EFA71FF

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -58,9 +78,9 @@ public Builder requestId(String requestId) { } /** - * ServiceAccounts. + *

The list of service accounts.

*/ - public Builder serviceAccounts(java.util.List < ServiceAccounts> serviceAccounts) { + public Builder serviceAccounts(java.util.List serviceAccounts) { this.serviceAccounts = serviceAccounts; return this; } @@ -71,11 +91,17 @@ public ListServiceAccountsResponseBody build() { } + /** + * + * {@link ListServiceAccountsResponseBody} extends {@link TeaModel} + * + *

ListServiceAccountsResponseBody

+ */ public static class ServiceAccounts extends TeaModel { - @NameInMap("Name") + @com.aliyun.core.annotation.NameInMap("Name") private String name; - @NameInMap("Namespace") + @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; private ServiceAccounts(Builder builder) { @@ -109,8 +135,19 @@ public static final class Builder { private String name; private String namespace; + private Builder() { + } + + private Builder(ServiceAccounts model) { + this.name = model.name; + this.namespace = model.namespace; + } + /** - * Name. + *

The name of the service account.

+ * + * example: + *

bookinfo-reviews

*/ public Builder name(String name) { this.name = name; @@ -118,7 +155,10 @@ public Builder name(String name) { } /** - * Namespace. + *

The namespace where the service account resides.

+ * + * example: + *

default

*/ public Builder namespace(String namespace) { this.namespace = namespace; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListTagResourcesRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListTagResourcesRequest.java index 89241e0efdd..f23c8f51c38 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListTagResourcesRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListTagResourcesRequest.java @@ -1,38 +1,43 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link ListTagResourcesRequest} extends {@link RequestModel} * *

ListTagResourcesRequest

*/ public class ListTagResourcesRequest extends Request { - @Query - @NameInMap("NextToken") + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("NextToken") private String nextToken; - @Query - @NameInMap("RegionId") - @Validation(required = true) + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("RegionId") + @com.aliyun.core.annotation.Validation(required = true) private String regionId; - @Query - @NameInMap("ResourceId") - private java.util.List < String > resourceId; + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ResourceId") + private java.util.List resourceId; - @Query - @NameInMap("ResourceType") - @Validation(required = true) + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ResourceType") + @com.aliyun.core.annotation.Validation(required = true) private String resourceType; - @Query - @NameInMap("Tag") - private java.util.List < Tag> tag; + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("Tag") + private java.util.List tag; private ListTagResourcesRequest(Builder builder) { super(builder); @@ -51,7 +56,7 @@ public static ListTagResourcesRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -73,7 +78,7 @@ public String getRegionId() { /** * @return resourceId */ - public java.util.List < String > getResourceId() { + public java.util.List getResourceId() { return this.resourceId; } @@ -87,16 +92,16 @@ public String getResourceType() { /** * @return tag */ - public java.util.List < Tag> getTag() { + public java.util.List getTag() { return this.tag; } public static final class Builder extends Request.Builder { private String nextToken; private String regionId; - private java.util.List < String > resourceId; + private java.util.List resourceId; private String resourceType; - private java.util.List < Tag> tag; + private java.util.List tag; private Builder() { super(); @@ -112,7 +117,10 @@ private Builder(ListTagResourcesRequest request) { } /** - * A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists. + *

A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.

+ * + * example: + *

""

*/ public Builder nextToken(String nextToken) { this.putQueryParameter("NextToken", nextToken); @@ -121,7 +129,11 @@ public Builder nextToken(String nextToken) { } /** - * The region ID of the ASM instance. + *

The region ID of the ASM instance.

+ *

This parameter is required.

+ * + * example: + *

cn-hangzhou

*/ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); @@ -130,16 +142,20 @@ public Builder regionId(String regionId) { } /** - * The IDs of the ASM instances. + *

The IDs of the ASM instances.

*/ - public Builder resourceId(java.util.List < String > resourceId) { + public Builder resourceId(java.util.List resourceId) { this.putQueryParameter("ResourceId", resourceId); this.resourceId = resourceId; return this; } /** - * The resource type. Set the value to `servicemesh`. + *

The resource type. Set the value to servicemesh.

+ *

This parameter is required.

+ * + * example: + *

servicemesh

*/ public Builder resourceType(String resourceType) { this.putQueryParameter("ResourceType", resourceType); @@ -148,9 +164,9 @@ public Builder resourceType(String resourceType) { } /** - * The tags. A maximum of 20 tags are supported. + *

The tags. A maximum of 20 tags are supported.

*/ - public Builder tag(java.util.List < Tag> tag) { + public Builder tag(java.util.List tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; @@ -163,11 +179,17 @@ public ListTagResourcesRequest build() { } + /** + * + * {@link ListTagResourcesRequest} extends {@link TeaModel} + * + *

ListTagResourcesRequest

+ */ public static class Tag extends TeaModel { - @NameInMap("Key") + @com.aliyun.core.annotation.NameInMap("Key") private String key; - @NameInMap("Value") + @com.aliyun.core.annotation.NameInMap("Value") private String value; private Tag(Builder builder) { @@ -201,11 +223,20 @@ public static final class Builder { private String key; private String value; + private Builder() { + } + + private Builder(Tag model) { + this.key = model.key; + this.value = model.value; + } + /** - * The tag key. - *

+ *

The tag key.

+ *

A tag key can be up to 128 characters in length. The tag key cannot contain http:// or https:// and cannot start with aliyun or acs:.

* - * A tag key can be up to 128 characters in length. The tag key cannot contain `http://` or `https://` and cannot start with `aliyun` or `acs:`. + * example: + *

test

*/ public Builder key(String key) { this.key = key; @@ -213,12 +244,12 @@ public Builder key(String key) { } /** - * The tag value of the resource. - *

- * - * The tag value can be left empty or a string of up to 128 characters. The tag value cannot start with aliyun or acs:, and cannot contain http:// or https://. + *

The tag value of the resource.

+ *

The tag value can be left empty or a string of up to 128 characters. The tag value cannot start with aliyun or acs:, and cannot contain http:// or https://.

+ *

Each tag key must have a unique tag value. You can specify at most 20 tag values in each call.

* - * Each tag key must have a unique tag value. You can specify at most 20 tag values in each call. + * example: + *

yahaha

*/ public Builder value(String value) { this.value = value; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListTagResourcesResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListTagResourcesResponse.java index ae8eca69920..06f025499f0 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListTagResourcesResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListTagResourcesResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link ListTagResourcesResponse} extends {@link TeaModel} * *

ListTagResourcesResponse

*/ public class ListTagResourcesResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private ListTagResourcesResponseBody body; private ListTagResourcesResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static ListTagResourcesResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public ListTagResourcesResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private ListTagResourcesResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(ListTagResourcesResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListTagResourcesResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListTagResourcesResponseBody.java index caac9a5ddd4..e6db9ee566e 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListTagResourcesResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListTagResourcesResponseBody.java @@ -1,25 +1,30 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link ListTagResourcesResponseBody} extends {@link TeaModel} * *

ListTagResourcesResponseBody

*/ public class ListTagResourcesResponseBody extends TeaModel { - @NameInMap("NextToken") + @com.aliyun.core.annotation.NameInMap("NextToken") private String nextToken; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("TagResources") - private java.util.List < TagResources> tagResources; + @com.aliyun.core.annotation.NameInMap("TagResources") + private java.util.List tagResources; private ListTagResourcesResponseBody(Builder builder) { this.nextToken = builder.nextToken; @@ -35,6 +40,10 @@ public static ListTagResourcesResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return nextToken */ @@ -52,17 +61,29 @@ public String getRequestId() { /** * @return tagResources */ - public java.util.List < TagResources> getTagResources() { + public java.util.List getTagResources() { return this.tagResources; } public static final class Builder { private String nextToken; private String requestId; - private java.util.List < TagResources> tagResources; + private java.util.List tagResources; + + private Builder() { + } + + private Builder(ListTagResourcesResponseBody model) { + this.nextToken = model.nextToken; + this.requestId = model.requestId; + this.tagResources = model.tagResources; + } /** - * A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists. + *

A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.

+ * + * example: + *

""

*/ public Builder nextToken(String nextToken) { this.nextToken = nextToken; @@ -70,7 +91,10 @@ public Builder nextToken(String nextToken) { } /** - * The request ID. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -78,9 +102,9 @@ public Builder requestId(String requestId) { } /** - * The details of the queried clusters and tags. + *

The details of the queried clusters and tags.

*/ - public Builder tagResources(java.util.List < TagResources> tagResources) { + public Builder tagResources(java.util.List tagResources) { this.tagResources = tagResources; return this; } @@ -91,17 +115,23 @@ public ListTagResourcesResponseBody build() { } + /** + * + * {@link ListTagResourcesResponseBody} extends {@link TeaModel} + * + *

ListTagResourcesResponseBody

+ */ public static class TagResources extends TeaModel { - @NameInMap("ResourceId") + @com.aliyun.core.annotation.NameInMap("ResourceId") private String resourceId; - @NameInMap("ResourceType") + @com.aliyun.core.annotation.NameInMap("ResourceType") private String resourceType; - @NameInMap("TagKey") + @com.aliyun.core.annotation.NameInMap("TagKey") private String tagKey; - @NameInMap("TagValue") + @com.aliyun.core.annotation.NameInMap("TagValue") private String tagValue; private TagResources(Builder builder) { @@ -153,8 +183,21 @@ public static final class Builder { private String tagKey; private String tagValue; + private Builder() { + } + + private Builder(TagResources model) { + this.resourceId = model.resourceId; + this.resourceType = model.resourceType; + this.tagKey = model.tagKey; + this.tagValue = model.tagValue; + } + /** - * The ID of the ASM instance. + *

The ID of the ASM instance.

+ * + * example: + *

863c333b-9a8e-4b53-a13f-52a979362431

*/ public Builder resourceId(String resourceId) { this.resourceId = resourceId; @@ -162,7 +205,10 @@ public Builder resourceId(String resourceId) { } /** - * The resource type. Set the value to `servicemesh`. + *

The resource type. Set the value to servicemesh.

+ * + * example: + *

servicemesh

*/ public Builder resourceType(String resourceType) { this.resourceType = resourceType; @@ -170,7 +216,10 @@ public Builder resourceType(String resourceType) { } /** - * The tag key. + *

The tag key.

+ * + * example: + *

k1

*/ public Builder tagKey(String tagKey) { this.tagKey = tagKey; @@ -178,7 +227,10 @@ public Builder tagKey(String tagKey) { } /** - * The tag value. + *

The tag value.

+ * + * example: + *

yahaha

*/ public Builder tagValue(String tagValue) { this.tagValue = tagValue; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListWaypointsRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListWaypointsRequest.java index afca4cf48ce..7dbaa8de058 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListWaypointsRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListWaypointsRequest.java @@ -1,41 +1,46 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link ListWaypointsRequest} extends {@link RequestModel} * *

ListWaypointsRequest

*/ public class ListWaypointsRequest extends Request { - @Body - @NameInMap("ClusterId") - @Validation(required = true, minLength = 1) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ClusterId") + @com.aliyun.core.annotation.Validation(required = true, minLength = 1) private String clusterId; - @Body - @NameInMap("Continue") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Continue") private String _continue; - @Body - @NameInMap("Limit") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Limit") private Long limit; - @Body - @NameInMap("Name") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Name") private String name; - @Body - @NameInMap("Namespace") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true, minLength = 1) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true, minLength = 1) private String serviceMeshId; private ListWaypointsRequest(Builder builder) { @@ -56,7 +61,7 @@ public static ListWaypointsRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -126,7 +131,11 @@ private Builder(ListWaypointsRequest request) { } /** - * The ID of the cluster on the data plane. + *

The ID of the cluster on the data plane.

+ *

This parameter is required.

+ * + * example: + *

ce3c25e247da24f3aab9b7edfae83****

*/ public Builder clusterId(String clusterId) { this.putBodyParameter("ClusterId", clusterId); @@ -135,7 +144,10 @@ public Builder clusterId(String clusterId) { } /** - * Continue. + *

Used in conjunction with Limit, it is used to query waypoints starting from a specified offset. When calling for the first time, no need to care abount it. If the Continue in the returned result is not empty, it means that there is still data that has not been returned, and you need to continue the call with the returned Continue.

+ * + * example: + *

eyJ2IjoibWV0YS5rOHMuaW8vdjEiLCJydiI6MjY4Njc5Miwic3RhcnQiOiJkZWZhdWx0L2Jvb2tpbmZvLXByb2R1Y3RwYWdlXHUwMDAwIn0

*/ public Builder _continue(String _continue) { this.putBodyParameter("Continue", _continue); @@ -144,7 +156,10 @@ public Builder _continue(String _continue) { } /** - * Limit. + *

Limit the number of waypoints returned.

+ * + * example: + *

30

*/ public Builder limit(Long limit) { this.putBodyParameter("Limit", limit); @@ -153,7 +168,10 @@ public Builder limit(Long limit) { } /** - * Name. + *

Waypoint which you want to get. If empty, return all waypoints.

+ * + * example: + *

bookinfo-productpage

*/ public Builder name(String name) { this.putBodyParameter("Name", name); @@ -162,7 +180,10 @@ public Builder name(String name) { } /** - * The namespace. + *

The namespace.

+ * + * example: + *

default

*/ public Builder namespace(String namespace) { this.putBodyParameter("Namespace", namespace); @@ -171,7 +192,11 @@ public Builder namespace(String namespace) { } /** - * The Service Mesh (ASM) instance ID. + *

The Service Mesh (ASM) instance ID.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListWaypointsResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListWaypointsResponse.java index b4aa304b3dd..7d865ad331c 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListWaypointsResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListWaypointsResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link ListWaypointsResponse} extends {@link TeaModel} * *

ListWaypointsResponse

*/ public class ListWaypointsResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private ListWaypointsResponseBody body; private ListWaypointsResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static ListWaypointsResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public ListWaypointsResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private ListWaypointsResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(ListWaypointsResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListWaypointsResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListWaypointsResponseBody.java index 8777f1f518e..679b92355aa 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListWaypointsResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ListWaypointsResponseBody.java @@ -1,25 +1,30 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link ListWaypointsResponseBody} extends {@link TeaModel} * *

ListWaypointsResponseBody

*/ public class ListWaypointsResponseBody extends TeaModel { - @NameInMap("Continue") + @com.aliyun.core.annotation.NameInMap("Continue") private String _continue; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; - @NameInMap("Waypoints") - private java.util.List < Waypoints> waypoints; + @com.aliyun.core.annotation.NameInMap("Waypoints") + private java.util.List waypoints; private ListWaypointsResponseBody(Builder builder) { this._continue = builder._continue; @@ -35,6 +40,10 @@ public static ListWaypointsResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return _continue */ @@ -52,17 +61,29 @@ public String getRequestId() { /** * @return waypoints */ - public java.util.List < Waypoints> getWaypoints() { + public java.util.List getWaypoints() { return this.waypoints; } public static final class Builder { private String _continue; private String requestId; - private java.util.List < Waypoints> waypoints; + private java.util.List waypoints; + + private Builder() { + } + + private Builder(ListWaypointsResponseBody model) { + this._continue = model._continue; + this.requestId = model.requestId; + this.waypoints = model.waypoints; + } /** - * Continue. + *

Base64 encoded string. If it is empty, it means that all waypoints have been obtained; if it is not empty, this value should be included in the next list, and you can continue to obtain it from the offset that ends this time.

+ * + * example: + *

eyJ2IjoibWV0YS5rOHMuaW8vdjEiLCJydiI6MjY4Njc5Miwic3RhcnQiOiJkZWZhdWx0L2Jvb2tpbmZvLXByb2R1Y3RwYWdlXHUwMDAwIn0

*/ public Builder _continue(String _continue) { this._continue = _continue; @@ -70,7 +91,10 @@ public Builder _continue(String _continue) { } /** - * The request ID. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -78,9 +102,9 @@ public Builder requestId(String requestId) { } /** - * The list of waypoint proxy configurations. + *

The configurations of waypoint proxies.

*/ - public Builder waypoints(java.util.List < Waypoints> waypoints) { + public Builder waypoints(java.util.List waypoints) { this.waypoints = waypoints; return this; } @@ -91,47 +115,53 @@ public ListWaypointsResponseBody build() { } + /** + * + * {@link ListWaypointsResponseBody} extends {@link TeaModel} + * + *

ListWaypointsResponseBody

+ */ public static class Waypoints extends TeaModel { - @NameInMap("HPAEnabled") + @com.aliyun.core.annotation.NameInMap("HPAEnabled") private String HPAEnabled; - @NameInMap("HPAMaxReplicas") + @com.aliyun.core.annotation.NameInMap("HPAMaxReplicas") private String HPAMaxReplicas; - @NameInMap("HPAMinReplicas") + @com.aliyun.core.annotation.NameInMap("HPAMinReplicas") private String HPAMinReplicas; - @NameInMap("HPATargetCPU") + @com.aliyun.core.annotation.NameInMap("HPATargetCPU") private String HPATargetCPU; - @NameInMap("HPATargetMemory") + @com.aliyun.core.annotation.NameInMap("HPATargetMemory") private String HPATargetMemory; - @NameInMap("LimitCPU") + @com.aliyun.core.annotation.NameInMap("LimitCPU") private String limitCPU; - @NameInMap("LimitMemory") + @com.aliyun.core.annotation.NameInMap("LimitMemory") private String limitMemory; - @NameInMap("Name") + @com.aliyun.core.annotation.NameInMap("Name") private String name; - @NameInMap("Namespace") + @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; - @NameInMap("PreferECI") + @com.aliyun.core.annotation.NameInMap("PreferECI") private String preferECI; - @NameInMap("Replicas") + @com.aliyun.core.annotation.NameInMap("Replicas") private String replicas; - @NameInMap("RequestCPU") + @com.aliyun.core.annotation.NameInMap("RequestCPU") private String requestCPU; - @NameInMap("RequestMemory") + @com.aliyun.core.annotation.NameInMap("RequestMemory") private String requestMemory; - @NameInMap("ServiceAccount") + @com.aliyun.core.annotation.NameInMap("ServiceAccount") private String serviceAccount; private Waypoints(Builder builder) { @@ -273,8 +303,31 @@ public static final class Builder { private String requestMemory; private String serviceAccount; + private Builder() { + } + + private Builder(Waypoints model) { + this.HPAEnabled = model.HPAEnabled; + this.HPAMaxReplicas = model.HPAMaxReplicas; + this.HPAMinReplicas = model.HPAMinReplicas; + this.HPATargetCPU = model.HPATargetCPU; + this.HPATargetMemory = model.HPATargetMemory; + this.limitCPU = model.limitCPU; + this.limitMemory = model.limitMemory; + this.name = model.name; + this.namespace = model.namespace; + this.preferECI = model.preferECI; + this.replicas = model.replicas; + this.requestCPU = model.requestCPU; + this.requestMemory = model.requestMemory; + this.serviceAccount = model.serviceAccount; + } + /** - * Indicates whether Horizontal Pod Autoscaling (HPA) is enabled. + *

Indicates whether Horizontal Pod Autoscaling (HPA) is enabled.

+ * + * example: + *

false

*/ public Builder HPAEnabled(String HPAEnabled) { this.HPAEnabled = HPAEnabled; @@ -282,7 +335,10 @@ public Builder HPAEnabled(String HPAEnabled) { } /** - * The maximum number of waypoint proxy pods when HPA is enabled. + *

The maximum number of waypoint proxy pods when HPA is enabled.

+ * + * example: + *

4

*/ public Builder HPAMaxReplicas(String HPAMaxReplicas) { this.HPAMaxReplicas = HPAMaxReplicas; @@ -290,7 +346,10 @@ public Builder HPAMaxReplicas(String HPAMaxReplicas) { } /** - * The minimum number of waypoint proxy pods when HPA is enabled. + *

The minimum number of waypoint proxy pods when HPA is enabled.

+ * + * example: + *

2

*/ public Builder HPAMinReplicas(String HPAMinReplicas) { this.HPAMinReplicas = HPAMinReplicas; @@ -298,7 +357,10 @@ public Builder HPAMinReplicas(String HPAMinReplicas) { } /** - * The expected CPU utilization when HPA is enabled. + *

The expected CPU utilization when HPA is enabled.

+ * + * example: + *

93

*/ public Builder HPATargetCPU(String HPATargetCPU) { this.HPATargetCPU = HPATargetCPU; @@ -306,7 +368,10 @@ public Builder HPATargetCPU(String HPATargetCPU) { } /** - * The expected memory usage when HPA is enabled. + *

The expected memory usage when HPA is enabled.

+ * + * example: + *

91

*/ public Builder HPATargetMemory(String HPATargetMemory) { this.HPATargetMemory = HPATargetMemory; @@ -314,7 +379,10 @@ public Builder HPATargetMemory(String HPATargetMemory) { } /** - * The maximum number of CPU cores that are available to the waypoint proxy pods. + *

The maximum amount of CPU resources that are available to the waypoint proxy pods.

+ * + * example: + *

2000m

*/ public Builder limitCPU(String limitCPU) { this.limitCPU = limitCPU; @@ -322,7 +390,10 @@ public Builder limitCPU(String limitCPU) { } /** - * The maximum size of the memory that is available to the waypoint proxy pods. + *

The maximum amount of memory resources that are available to the waypoint proxy pods.

+ * + * example: + *

1024Mi

*/ public Builder limitMemory(String limitMemory) { this.limitMemory = limitMemory; @@ -330,7 +401,10 @@ public Builder limitMemory(String limitMemory) { } /** - * The name of the gateway resource corresponding to the waypoint proxy. If the waypoint proxy takes effect on a service account, the name is the service account name. If the waypoint proxy takes effect for the entire namespace, the name is "namespace". + *

The name of the gateway resource for the waypoint proxy. If the waypoint proxy applies to a service account, the name is the service account name. If the waypoint proxy applies to the entire namespace, the name is namespace.

+ * + * example: + *

namespace

*/ public Builder name(String name) { this.name = name; @@ -338,7 +412,10 @@ public Builder name(String name) { } /** - * The namespace. + *

The namespace.

+ * + * example: + *

default

*/ public Builder namespace(String namespace) { this.namespace = namespace; @@ -346,7 +423,10 @@ public Builder namespace(String namespace) { } /** - * Indicates whether waypoint proxy pods are deployed based on Elastic Container Instance (ECI). + *

Indicates whether waypoint proxy pods are preferentially scheduled to elastic container instances.

+ * + * example: + *

false

*/ public Builder preferECI(String preferECI) { this.preferECI = preferECI; @@ -354,7 +434,10 @@ public Builder preferECI(String preferECI) { } /** - * The number of waypoint proxy pods. + *

The number of waypoint proxy pods.

+ * + * example: + *

1

*/ public Builder replicas(String replicas) { this.replicas = replicas; @@ -362,7 +445,10 @@ public Builder replicas(String replicas) { } /** - * The number of CPU cores requested by the waypoint proxy pods. + *

The amount of CPU resources requested by the waypoint proxy pods.

+ * + * example: + *

100m

*/ public Builder requestCPU(String requestCPU) { this.requestCPU = requestCPU; @@ -370,7 +456,10 @@ public Builder requestCPU(String requestCPU) { } /** - * The size of the memory requested by the waypoint proxy pods. + *

The amount of memory resources requested by the waypoint proxy pods.

+ * + * example: + *

128Mi

*/ public Builder requestMemory(String requestMemory) { this.requestMemory = requestMemory; @@ -378,7 +467,10 @@ public Builder requestMemory(String requestMemory) { } /** - * The service account on which the waypoint proxy takes effect. If this parameter is not specified, the waypoint proxy takes effect for the entire namespace. + *

The service account to which the waypoint proxy applies. If no value is returned for this parameter, the waypoint proxy applies to the entire namespace.

+ * + * example: + *

bookinfo-productpage

*/ public Builder serviceAccount(String serviceAccount) { this.serviceAccount = serviceAccount; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyApiServerEipResourceRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyApiServerEipResourceRequest.java index 9af4007b363..162938b5653 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyApiServerEipResourceRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyApiServerEipResourceRequest.java @@ -1,27 +1,32 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link ModifyApiServerEipResourceRequest} extends {@link RequestModel} * *

ModifyApiServerEipResourceRequest

*/ public class ModifyApiServerEipResourceRequest extends Request { - @Body - @NameInMap("ApiServerEipId") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ApiServerEipId") private String apiServerEipId; - @Body - @NameInMap("Operation") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Operation") private String operation; - @Body - @NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") private String serviceMeshId; private ModifyApiServerEipResourceRequest(Builder builder) { @@ -39,7 +44,7 @@ public static ModifyApiServerEipResourceRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -82,7 +87,10 @@ private Builder(ModifyApiServerEipResourceRequest request) { } /** - * The ID of the EIP. + *

The ID of the EIP.

+ * + * example: + *

eip-bp1adu9jegmxnaoq****

*/ public Builder apiServerEipId(String apiServerEipId) { this.putBodyParameter("ApiServerEipId", apiServerEipId); @@ -91,11 +99,14 @@ public Builder apiServerEipId(String apiServerEipId) { } /** - * The type of the operation. Valid values: - *

+ *

The type of the operation. Valid values:

+ *
    + *
  • UnBindEip: disassociates an EIP from the API server.
  • + *
  • BindEip: associates an EIP with the API server.
  • + *
* - * * `UnBindEip`: disassociates an EIP from the API server. - * * `BindEip`: associates an EIP with the API server. + * example: + *

BindEip

*/ public Builder operation(String operation) { this.putBodyParameter("Operation", operation); @@ -104,7 +115,10 @@ public Builder operation(String operation) { } /** - * The ID of the Alibaba Cloud Service Mesh (ASM) instance. + *

The ID of the Alibaba Cloud Service Mesh (ASM) instance.

+ * + * example: + *

cb8963379255149cb98c8686f274x****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyApiServerEipResourceResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyApiServerEipResourceResponse.java index 94a45b9c035..4db40b03284 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyApiServerEipResourceResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyApiServerEipResourceResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link ModifyApiServerEipResourceResponse} extends {@link TeaModel} * *

ModifyApiServerEipResourceResponse

*/ public class ModifyApiServerEipResourceResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private ModifyApiServerEipResourceResponseBody body; private ModifyApiServerEipResourceResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static ModifyApiServerEipResourceResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public ModifyApiServerEipResourceResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private ModifyApiServerEipResourceResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(ModifyApiServerEipResourceResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyApiServerEipResourceResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyApiServerEipResourceResponseBody.java index d116111fb55..b750dd83b17 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyApiServerEipResourceResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyApiServerEipResourceResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link ModifyApiServerEipResourceResponseBody} extends {@link TeaModel} * *

ModifyApiServerEipResourceResponseBody

*/ public class ModifyApiServerEipResourceResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ModifyApiServerEipResourceResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static ModifyApiServerEipResourceResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(ModifyApiServerEipResourceResponseBody model) { + this.requestId = model.requestId; + } + /** - * The ID of the request. + *

The ID of the request.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyPilotEipResourceRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyPilotEipResourceRequest.java new file mode 100644 index 00000000000..2496930937f --- /dev/null +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyPilotEipResourceRequest.java @@ -0,0 +1,160 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.servicemesh20200111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link ModifyPilotEipResourceRequest} extends {@link RequestModel} + * + *

ModifyPilotEipResourceRequest

+ */ +public class ModifyPilotEipResourceRequest extends Request { + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("EipId") + private String eipId; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IsCanary") + private Boolean isCanary; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Operation") + private String operation; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + private String serviceMeshId; + + private ModifyPilotEipResourceRequest(Builder builder) { + super(builder); + this.eipId = builder.eipId; + this.isCanary = builder.isCanary; + this.operation = builder.operation; + this.serviceMeshId = builder.serviceMeshId; + } + + public static Builder builder() { + return new Builder(); + } + + public static ModifyPilotEipResourceRequest create() { + return builder().build(); + } + +@Override + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return eipId + */ + public String getEipId() { + return this.eipId; + } + + /** + * @return isCanary + */ + public Boolean getIsCanary() { + return this.isCanary; + } + + /** + * @return operation + */ + public String getOperation() { + return this.operation; + } + + /** + * @return serviceMeshId + */ + public String getServiceMeshId() { + return this.serviceMeshId; + } + + public static final class Builder extends Request.Builder { + private String eipId; + private Boolean isCanary; + private String operation; + private String serviceMeshId; + + private Builder() { + super(); + } + + private Builder(ModifyPilotEipResourceRequest request) { + super(request); + this.eipId = request.eipId; + this.isCanary = request.isCanary; + this.operation = request.operation; + this.serviceMeshId = request.serviceMeshId; + } + + /** + * EipId. + */ + public Builder eipId(String eipId) { + this.putBodyParameter("EipId", eipId); + this.eipId = eipId; + return this; + } + + /** + *

The type of the Istio Pilot with which you want to associate the EIPs. Valid values:

+ *
    + *
  • true: Bind an EIP to the Istio Pilot during canary release (only valid during the canary release).
  • + *
  • false: Bind an EIP to the Istio Pilot in stable state.
  • + *
+ * + * example: + *

false

+ */ + public Builder isCanary(Boolean isCanary) { + this.putBodyParameter("IsCanary", isCanary); + this.isCanary = isCanary; + return this; + } + + /** + *

The type of the operation that you want to perform. Valid values:

+ *
    + *
  • UnBindEip: unbinds an elastic IP address (EIP) from the Istio Pilot.
  • + *
  • BindEip: binds an EIP to the Istio Pilot.
  • + *
+ * + * example: + *

BindEip

+ */ + public Builder operation(String operation) { + this.putBodyParameter("Operation", operation); + this.operation = operation; + return this; + } + + /** + * ServiceMeshId. + */ + public Builder serviceMeshId(String serviceMeshId) { + this.putBodyParameter("ServiceMeshId", serviceMeshId); + this.serviceMeshId = serviceMeshId; + return this; + } + + @Override + public ModifyPilotEipResourceRequest build() { + return new ModifyPilotEipResourceRequest(this); + } + + } + +} diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyPilotEipResourceResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyPilotEipResourceResponse.java new file mode 100644 index 00000000000..9047dae4c1c --- /dev/null +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyPilotEipResourceResponse.java @@ -0,0 +1,131 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.servicemesh20200111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link ModifyPilotEipResourceResponse} extends {@link TeaModel} + * + *

ModifyPilotEipResourceResponse

+ */ +public class ModifyPilotEipResourceResponse extends Response { + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; + + @com.aliyun.core.annotation.NameInMap("statusCode") + private Integer statusCode; + + @com.aliyun.core.annotation.NameInMap("body") + private ModifyPilotEipResourceResponseBody body; + + private ModifyPilotEipResourceResponse(BuilderImpl builder) { + super(builder); + this.headers = builder.headers; + this.statusCode = builder.statusCode; + this.body = builder.body; + } + + public static ModifyPilotEipResourceResponse create() { + return new BuilderImpl().build(); + } + +@Override + public Builder toBuilder() { + return new BuilderImpl(this); + } + + /** + * @return headers + */ + public java.util.Map getHeaders() { + return this.headers; + } + + /** + * @return statusCode + */ + public Integer getStatusCode() { + return this.statusCode; + } + + /** + * @return body + */ + public ModifyPilotEipResourceResponseBody getBody() { + return this.body; + } + + public interface Builder extends Response.Builder { + + Builder headers(java.util.Map headers); + + Builder statusCode(Integer statusCode); + + Builder body(ModifyPilotEipResourceResponseBody body); + + @Override + ModifyPilotEipResourceResponse build(); + + } + + private static final class BuilderImpl + extends Response.BuilderImpl + implements Builder { + private java.util.Map headers; + private Integer statusCode; + private ModifyPilotEipResourceResponseBody body; + + private BuilderImpl() { + super(); + } + + private BuilderImpl(ModifyPilotEipResourceResponse response) { + super(response); + this.headers = response.headers; + this.statusCode = response.statusCode; + this.body = response.body; + } + + /** + * headers. + */ + @Override + public Builder headers(java.util.Map headers) { + this.headers = headers; + return this; + } + + /** + * statusCode. + */ + @Override + public Builder statusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * body. + */ + @Override + public Builder body(ModifyPilotEipResourceResponseBody body) { + this.body = body; + return this; + } + + @Override + public ModifyPilotEipResourceResponse build() { + return new ModifyPilotEipResourceResponse(this); + } + + } + +} diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyPilotEipResourceResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyPilotEipResourceResponseBody.java new file mode 100644 index 00000000000..16b22ff0a1c --- /dev/null +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyPilotEipResourceResponseBody.java @@ -0,0 +1,70 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.servicemesh20200111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link ModifyPilotEipResourceResponseBody} extends {@link TeaModel} + * + *

ModifyPilotEipResourceResponseBody

+ */ +public class ModifyPilotEipResourceResponseBody extends TeaModel { + @com.aliyun.core.annotation.NameInMap("RequestId") + private String requestId; + + private ModifyPilotEipResourceResponseBody(Builder builder) { + this.requestId = builder.requestId; + } + + public static Builder builder() { + return new Builder(); + } + + public static ModifyPilotEipResourceResponseBody create() { + return builder().build(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return requestId + */ + public String getRequestId() { + return this.requestId; + } + + public static final class Builder { + private String requestId; + + private Builder() { + } + + private Builder(ModifyPilotEipResourceResponseBody model) { + this.requestId = model.requestId; + } + + /** + * RequestId. + */ + public Builder requestId(String requestId) { + this.requestId = requestId; + return this; + } + + public ModifyPilotEipResourceResponseBody build() { + return new ModifyPilotEipResourceResponseBody(this); + } + + } + +} diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyServiceMeshNameRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyServiceMeshNameRequest.java index a5888d4a913..f62a94f2c11 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyServiceMeshNameRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyServiceMeshNameRequest.java @@ -1,25 +1,30 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link ModifyServiceMeshNameRequest} extends {@link RequestModel} * *

ModifyServiceMeshNameRequest

*/ public class ModifyServiceMeshNameRequest extends Request { - @Body - @NameInMap("Name") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Name") + @com.aliyun.core.annotation.Validation(required = true) private String name; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private ModifyServiceMeshNameRequest(Builder builder) { @@ -36,7 +41,7 @@ public static ModifyServiceMeshNameRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -70,7 +75,11 @@ private Builder(ModifyServiceMeshNameRequest request) { } /** - * The new name of the ASM instance. + *

The new name of the ASM instance.

+ *

This parameter is required.

+ * + * example: + *

test-mesh

*/ public Builder name(String name) { this.putBodyParameter("Name", name); @@ -79,7 +88,11 @@ public Builder name(String name) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

cdd30a90a7cea480ebcc7ff****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyServiceMeshNameResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyServiceMeshNameResponse.java index 872e51e2ef7..035ddc2dfb9 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyServiceMeshNameResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyServiceMeshNameResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link ModifyServiceMeshNameResponse} extends {@link TeaModel} * *

ModifyServiceMeshNameResponse

*/ public class ModifyServiceMeshNameResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private ModifyServiceMeshNameResponseBody body; private ModifyServiceMeshNameResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static ModifyServiceMeshNameResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public ModifyServiceMeshNameResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private ModifyServiceMeshNameResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(ModifyServiceMeshNameResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyServiceMeshNameResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyServiceMeshNameResponseBody.java index de29655de31..84ecd50e124 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyServiceMeshNameResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ModifyServiceMeshNameResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link ModifyServiceMeshNameResponseBody} extends {@link TeaModel} * *

ModifyServiceMeshNameResponseBody

*/ public class ModifyServiceMeshNameResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ModifyServiceMeshNameResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static ModifyServiceMeshNameResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(ModifyServiceMeshNameResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

EDDC0D86-2FC3-56FB-9213-96EB0A3523F1

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/MultiClusterNetworksValue.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/MultiClusterNetworksValue.java new file mode 100644 index 00000000000..244231ae4e9 --- /dev/null +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/MultiClusterNetworksValue.java @@ -0,0 +1,133 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.servicemesh20200111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link MultiClusterNetworksValue} extends {@link TeaModel} + * + *

MultiClusterNetworksValue

+ */ +public class MultiClusterNetworksValue extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Network") + private String network; + + @com.aliyun.core.annotation.NameInMap("EnableGateway") + private Boolean enableGateway; + + @com.aliyun.core.annotation.NameInMap("CustomGatewayAddress") + private String customGatewayAddress; + + @com.aliyun.core.annotation.NameInMap("GatewayName") + private String gatewayName; + + private MultiClusterNetworksValue(Builder builder) { + this.network = builder.network; + this.enableGateway = builder.enableGateway; + this.customGatewayAddress = builder.customGatewayAddress; + this.gatewayName = builder.gatewayName; + } + + public static Builder builder() { + return new Builder(); + } + + public static MultiClusterNetworksValue create() { + return builder().build(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return network + */ + public String getNetwork() { + return this.network; + } + + /** + * @return enableGateway + */ + public Boolean getEnableGateway() { + return this.enableGateway; + } + + /** + * @return customGatewayAddress + */ + public String getCustomGatewayAddress() { + return this.customGatewayAddress; + } + + /** + * @return gatewayName + */ + public String getGatewayName() { + return this.gatewayName; + } + + public static final class Builder { + private String network; + private Boolean enableGateway; + private String customGatewayAddress; + private String gatewayName; + + private Builder() { + } + + private Builder(MultiClusterNetworksValue model) { + this.network = model.network; + this.enableGateway = model.enableGateway; + this.customGatewayAddress = model.customGatewayAddress; + this.gatewayName = model.gatewayName; + } + + /** + * Network. + */ + public Builder network(String network) { + this.network = network; + return this; + } + + /** + * EnableGateway. + */ + public Builder enableGateway(Boolean enableGateway) { + this.enableGateway = enableGateway; + return this; + } + + /** + * CustomGatewayAddress. + */ + public Builder customGatewayAddress(String customGatewayAddress) { + this.customGatewayAddress = customGatewayAddress; + return this; + } + + /** + * GatewayName. + */ + public Builder gatewayName(String gatewayName) { + this.gatewayName = gatewayName; + return this; + } + + public MultiClusterNetworksValue build() { + return new MultiClusterNetworksValue(this); + } + + } + +} diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ReActivateAuditRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ReActivateAuditRequest.java index a524d5a29ff..790b6c69e20 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ReActivateAuditRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ReActivateAuditRequest.java @@ -1,24 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link ReActivateAuditRequest} extends {@link RequestModel} * *

ReActivateAuditRequest

*/ public class ReActivateAuditRequest extends Request { - @Body - @NameInMap("EnableAudit") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("EnableAudit") private Boolean enableAudit; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private ReActivateAuditRequest(Builder builder) { @@ -35,7 +40,7 @@ public static ReActivateAuditRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -69,11 +74,14 @@ private Builder(ReActivateAuditRequest request) { } /** - * Specifies whether to recreate a project that is used to store audit logs. Valid values: - *

+ *

Specifies whether to recreate a project that is used to store audit logs. Valid values:

+ *
    + *
  • true: recreates a project.
  • + *
  • false: does not recreate a project.
  • + *
* - * * true: recreates a project. - * * false: does not recreate a project. + * example: + *

true

*/ public Builder enableAudit(Boolean enableAudit) { this.putBodyParameter("EnableAudit", enableAudit); @@ -82,7 +90,11 @@ public Builder enableAudit(Boolean enableAudit) { } /** - * The ID of the Service Mesh (ASM) instance. + *

The ID of the Service Mesh (ASM) instance.

+ *

This parameter is required.

+ * + * example: + *

c5bf9eb05c4424b89985d6536a809****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ReActivateAuditResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ReActivateAuditResponse.java index 170da5c552a..4ac79ef7229 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ReActivateAuditResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ReActivateAuditResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link ReActivateAuditResponse} extends {@link TeaModel} * *

ReActivateAuditResponse

*/ public class ReActivateAuditResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private ReActivateAuditResponseBody body; private ReActivateAuditResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static ReActivateAuditResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public ReActivateAuditResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private ReActivateAuditResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(ReActivateAuditResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ReActivateAuditResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ReActivateAuditResponseBody.java index f5aae5c483a..7cb66d872f1 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ReActivateAuditResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/ReActivateAuditResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link ReActivateAuditResponseBody} extends {@link TeaModel} * *

ReActivateAuditResponseBody

*/ public class ReActivateAuditResponseBody extends TeaModel { - @NameInMap("Data") + @com.aliyun.core.annotation.NameInMap("Data") private String data; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ReActivateAuditResponseBody(Builder builder) { @@ -31,6 +36,10 @@ public static ReActivateAuditResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return data */ @@ -49,8 +58,19 @@ public static final class Builder { private String data; private String requestId; + private Builder() { + } + + private Builder(ReActivateAuditResponseBody model) { + this.data = model.data; + this.requestId = model.requestId; + } + /** - * The name of the project that is used to store audit logs. + *

The name of the project that is used to store audit logs.

+ * + * example: + *

k8s-log-c0703599f695f4b8fa1c6492a33af****

*/ public Builder data(String data) { this.data = data; @@ -58,7 +78,10 @@ public Builder data(String data) { } /** - * The request ID. + *

The request ID.

+ * + * example: + *

17163CE9-CE4B-1B87-9185-1A1AD7E7****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveClusterFromServiceMeshRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveClusterFromServiceMeshRequest.java index a50112a334b..bb43e0994a2 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveClusterFromServiceMeshRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveClusterFromServiceMeshRequest.java @@ -1,29 +1,34 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link RemoveClusterFromServiceMeshRequest} extends {@link RequestModel} * *

RemoveClusterFromServiceMeshRequest

*/ public class RemoveClusterFromServiceMeshRequest extends Request { - @Body - @NameInMap("ClusterId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ClusterId") + @com.aliyun.core.annotation.Validation(required = true) private String clusterId; - @Body - @NameInMap("ReserveNamespace") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ReserveNamespace") private Boolean reserveNamespace; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private RemoveClusterFromServiceMeshRequest(Builder builder) { @@ -41,7 +46,7 @@ public static RemoveClusterFromServiceMeshRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -84,7 +89,11 @@ private Builder(RemoveClusterFromServiceMeshRequest request) { } /** - * ClusterId. + *

The ID of the cluster that you want to delete.

+ *

This parameter is required.

+ * + * example: + *

cb8963379255149cb98c8686f274x****

*/ public Builder clusterId(String clusterId) { this.putBodyParameter("ClusterId", clusterId); @@ -93,7 +102,10 @@ public Builder clusterId(String clusterId) { } /** - * ReserveNamespace. + *

Specifies whether to reserve the istio-system namespace when you delete the cluster. Valid values: true and false.

+ * + * example: + *

false

*/ public Builder reserveNamespace(Boolean reserveNamespace) { this.putBodyParameter("ReserveNamespace", reserveNamespace); @@ -102,7 +114,11 @@ public Builder reserveNamespace(Boolean reserveNamespace) { } /** - * ServiceMeshId. + *

The ID of the Service Mesh (ASM) instance.

+ *

This parameter is required.

+ * + * example: + *

ce3c25e247da24f3aab9b7edfae83****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveClusterFromServiceMeshResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveClusterFromServiceMeshResponse.java index f9799b9ab05..391828e3426 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveClusterFromServiceMeshResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveClusterFromServiceMeshResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link RemoveClusterFromServiceMeshResponse} extends {@link TeaModel} * *

RemoveClusterFromServiceMeshResponse

*/ public class RemoveClusterFromServiceMeshResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private RemoveClusterFromServiceMeshResponseBody body; private RemoveClusterFromServiceMeshResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static RemoveClusterFromServiceMeshResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public RemoveClusterFromServiceMeshResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private RemoveClusterFromServiceMeshResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(RemoveClusterFromServiceMeshResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveClusterFromServiceMeshResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveClusterFromServiceMeshResponseBody.java index 3af3e2dbc7b..dbf266ee21d 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveClusterFromServiceMeshResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveClusterFromServiceMeshResponseBody.java @@ -1,24 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link RemoveClusterFromServiceMeshResponseBody} extends {@link TeaModel} * *

RemoveClusterFromServiceMeshResponseBody

*/ public class RemoveClusterFromServiceMeshResponseBody extends TeaModel { - @NameInMap("Code") + @com.aliyun.core.annotation.NameInMap("Code") private String code; - @NameInMap("Message") + @com.aliyun.core.annotation.NameInMap("Message") private String message; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private RemoveClusterFromServiceMeshResponseBody(Builder builder) { @@ -35,6 +40,10 @@ public static RemoveClusterFromServiceMeshResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return code */ @@ -61,8 +70,20 @@ public static final class Builder { private String message; private String requestId; + private Builder() { + } + + private Builder(RemoveClusterFromServiceMeshResponseBody model) { + this.code = model.code; + this.message = model.message; + this.requestId = model.requestId; + } + /** - * Code. + *

The returned status code.

+ * + * example: + *

200

*/ public Builder code(String code) { this.code = code; @@ -70,7 +91,10 @@ public Builder code(String code) { } /** - * Message. + *

The returned message.

+ * + * example: + *

success

*/ public Builder message(String message) { this.message = message; @@ -78,7 +102,10 @@ public Builder message(String message) { } /** - * RequestId. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveVMFromServiceMeshRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveVMFromServiceMeshRequest.java index 32300e07b31..9f9bbcf57e5 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveVMFromServiceMeshRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveVMFromServiceMeshRequest.java @@ -1,25 +1,30 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link RemoveVMFromServiceMeshRequest} extends {@link RequestModel} * *

RemoveVMFromServiceMeshRequest

*/ public class RemoveVMFromServiceMeshRequest extends Request { - @Query - @NameInMap("EcsId") - @Validation(required = true) + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("EcsId") + @com.aliyun.core.annotation.Validation(required = true) private String ecsId; - @Query - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private RemoveVMFromServiceMeshRequest(Builder builder) { @@ -36,7 +41,7 @@ public static RemoveVMFromServiceMeshRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -70,7 +75,11 @@ private Builder(RemoveVMFromServiceMeshRequest request) { } /** - * The ID of the ECS instance. + *

The ID of the ECS instance.

+ *

This parameter is required.

+ * + * example: + *

i-2ze90ts4edj3650****

*/ public Builder ecsId(String ecsId) { this.putQueryParameter("EcsId", ecsId); @@ -79,7 +88,11 @@ public Builder ecsId(String ecsId) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

ccb37ff104caf419fbf48fb38e6f3****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putQueryParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveVMFromServiceMeshResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveVMFromServiceMeshResponse.java index 3c5263822c2..cf16d30619f 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveVMFromServiceMeshResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveVMFromServiceMeshResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link RemoveVMFromServiceMeshResponse} extends {@link TeaModel} * *

RemoveVMFromServiceMeshResponse

*/ public class RemoveVMFromServiceMeshResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private RemoveVMFromServiceMeshResponseBody body; private RemoveVMFromServiceMeshResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static RemoveVMFromServiceMeshResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public RemoveVMFromServiceMeshResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private RemoveVMFromServiceMeshResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(RemoveVMFromServiceMeshResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveVMFromServiceMeshResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveVMFromServiceMeshResponseBody.java index 31de08bec78..c5596b5a2a7 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveVMFromServiceMeshResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RemoveVMFromServiceMeshResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link RemoveVMFromServiceMeshResponseBody} extends {@link TeaModel} * *

RemoveVMFromServiceMeshResponseBody

*/ public class RemoveVMFromServiceMeshResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private RemoveVMFromServiceMeshResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static RemoveVMFromServiceMeshResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(RemoveVMFromServiceMeshResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

4b2c0fe0-6705-4614-8521-6b9d289163c8

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RevokeKubeconfigRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RevokeKubeconfigRequest.java index 1dc655c51b0..1280708c1aa 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RevokeKubeconfigRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RevokeKubeconfigRequest.java @@ -1,24 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link RevokeKubeconfigRequest} extends {@link RequestModel} * *

RevokeKubeconfigRequest

*/ public class RevokeKubeconfigRequest extends Request { - @Body - @NameInMap("PrivateIpAddress") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("PrivateIpAddress") private Boolean privateIpAddress; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private RevokeKubeconfigRequest(Builder builder) { @@ -35,7 +40,7 @@ public static RevokeKubeconfigRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -69,11 +74,14 @@ private Builder(RevokeKubeconfigRequest request) { } /** - * Specifies whether to return the kubeconfig file for private access. - *

+ *

Specifies whether to return the kubeconfig file for private access.

+ *
    + *
  • true: returns the kubeconfig file for private access.
  • + *
  • false: returns the kubeconfig file for public access.
  • + *
* - * * `true`: returns the kubeconfig file for private access. - * * `false`: returns the kubeconfig file for public access. + * example: + *

false

*/ public Builder privateIpAddress(Boolean privateIpAddress) { this.putBodyParameter("PrivateIpAddress", privateIpAddress); @@ -82,7 +90,11 @@ public Builder privateIpAddress(Boolean privateIpAddress) { } /** - * The ID of the ASM instance for which you want to revoke its kubeconfig file. + *

The ID of the ASM instance for which you want to revoke its kubeconfig file.

+ *

This parameter is required.

+ * + * example: + *

cf08a11940e8c46c48bc791fcdb3****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RevokeKubeconfigResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RevokeKubeconfigResponse.java index 14b4630bcf2..26323a1aed1 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RevokeKubeconfigResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RevokeKubeconfigResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link RevokeKubeconfigResponse} extends {@link TeaModel} * *

RevokeKubeconfigResponse

*/ public class RevokeKubeconfigResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private RevokeKubeconfigResponseBody body; private RevokeKubeconfigResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static RevokeKubeconfigResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public RevokeKubeconfigResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private RevokeKubeconfigResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(RevokeKubeconfigResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RevokeKubeconfigResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RevokeKubeconfigResponseBody.java index 77481ce1597..36da6d93af8 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RevokeKubeconfigResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/RevokeKubeconfigResponseBody.java @@ -1,21 +1,26 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link RevokeKubeconfigResponseBody} extends {@link TeaModel} * *

RevokeKubeconfigResponseBody

*/ public class RevokeKubeconfigResponseBody extends TeaModel { - @NameInMap("Kubeconfig") + @com.aliyun.core.annotation.NameInMap("Kubeconfig") private String kubeconfig; - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private RevokeKubeconfigResponseBody(Builder builder) { @@ -31,6 +36,10 @@ public static RevokeKubeconfigResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return kubeconfig */ @@ -49,8 +58,19 @@ public static final class Builder { private String kubeconfig; private String requestId; + private Builder() { + } + + private Builder(RevokeKubeconfigResponseBody model) { + this.kubeconfig = model.kubeconfig; + this.requestId = model.requestId; + } + /** - * The new kubeconfig file generated. + *

The new kubeconfig file generated.

+ * + * example: + *

apiVersion: v1 clusters: - cluster: server: https://121.**.**.**:6443 certificate-authority-data: ***** name: kubernetes contexts: - context: cluster: kubernetes user: "" name: ***** current-context: ***** kind: Config preferences: {} users: - name: "" user: client-certificate-data: ***** client-key-data: *****

*/ public Builder kubeconfig(String kubeconfig) { this.kubeconfig = kubeconfig; @@ -58,7 +78,10 @@ public Builder kubeconfig(String kubeconfig) { } /** - * The request ID. + *

The request ID.

+ * + * example: + *

7CF71C8B-79DD-150F-929E-267C51C5E311

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/SecretCreateRecordValue.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/SecretCreateRecordValue.java index f9fa1f28dc8..2ad88eea2cc 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/SecretCreateRecordValue.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/SecretCreateRecordValue.java @@ -1,24 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link SecretCreateRecordValue} extends {@link TeaModel} * *

SecretCreateRecordValue

*/ public class SecretCreateRecordValue extends TeaModel { - @NameInMap("State") + @com.aliyun.core.annotation.NameInMap("State") private String state; - @NameInMap("ClusterId") + @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; - @NameInMap("Message") + @com.aliyun.core.annotation.NameInMap("Message") private String message; private SecretCreateRecordValue(Builder builder) { @@ -35,6 +40,10 @@ public static SecretCreateRecordValue create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return state */ @@ -61,12 +70,24 @@ public static final class Builder { private String clusterId; private String message; + private Builder() { + } + + private Builder(SecretCreateRecordValue model) { + this.state = model.state; + this.clusterId = model.clusterId; + this.message = model.message; + } + /** - * The result of creating the secret. Valid values: - *

+ *

The result of creating the secret. Valid values:

+ *
    + *
  • success: The secret was created.
  • + *
  • fail: The secret failed to be created.
  • + *
* - * * `success`: The secret was created. - * * `fail`: The secret failed to be created. + * example: + *

success

*/ public Builder state(String state) { this.state = state; @@ -74,7 +95,10 @@ public Builder state(String state) { } /** - * The ID of the cluster on the data plane. + *

The ID of the cluster on the data plane.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8xe10d****

*/ public Builder clusterId(String clusterId) { this.clusterId = clusterId; @@ -82,7 +106,10 @@ public Builder clusterId(String clusterId) { } /** - * The error message returned when exceptions occur. Otherwise, an empty value is returned. + *

The error message returned when exceptions occur. Otherwise, an empty value is returned.

+ * + * example: + *

timeout

*/ public Builder message(String message) { this.message = message; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/SecretDeleteRecordValue.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/SecretDeleteRecordValue.java index 8fbbeb2a11f..fff83ab4204 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/SecretDeleteRecordValue.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/SecretDeleteRecordValue.java @@ -1,24 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link SecretDeleteRecordValue} extends {@link TeaModel} * *

SecretDeleteRecordValue

*/ public class SecretDeleteRecordValue extends TeaModel { - @NameInMap("State") + @com.aliyun.core.annotation.NameInMap("State") private String state; - @NameInMap("ClusterId") + @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; - @NameInMap("Message") + @com.aliyun.core.annotation.NameInMap("Message") private String message; private SecretDeleteRecordValue(Builder builder) { @@ -35,6 +40,10 @@ public static SecretDeleteRecordValue create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return state */ @@ -61,12 +70,24 @@ public static final class Builder { private String clusterId; private String message; + private Builder() { + } + + private Builder(SecretDeleteRecordValue model) { + this.state = model.state; + this.clusterId = model.clusterId; + this.message = model.message; + } + /** - * The result of deleting the secret. Valid values: - *

+ *

The result of deleting the secret. Valid values:

+ *
    + *
  • success: The secret was deleted.
  • + *
  • fail: The secret failed to be deleted.
  • + *
* - * * `success`: The secret was deleted. - * * `fail`: The secret failed to be deleted. + * example: + *

success

*/ public Builder state(String state) { this.state = state; @@ -74,7 +95,10 @@ public Builder state(String state) { } /** - * The ID of the cluster. + *

The ID of the cluster.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder clusterId(String clusterId) { this.clusterId = clusterId; @@ -82,7 +106,10 @@ public Builder clusterId(String clusterId) { } /** - * The error message returned when exceptions occur. Otherwise, an empty value is returned. + *

The error message returned when exceptions occur. Otherwise, an empty value is returned.

+ * + * example: + *

timeout

*/ public Builder message(String message) { this.message = message; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/TagResourcesRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/TagResourcesRequest.java index 24684bcee17..2812c71d710 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/TagResourcesRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/TagResourcesRequest.java @@ -1,36 +1,41 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link TagResourcesRequest} extends {@link RequestModel} * *

TagResourcesRequest

*/ public class TagResourcesRequest extends Request { - @Query - @NameInMap("RegionId") - @Validation(required = true) + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("RegionId") + @com.aliyun.core.annotation.Validation(required = true) private String regionId; - @Query - @NameInMap("ResourceId") - @Validation(required = true) - private java.util.List < String > resourceId; + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ResourceId") + @com.aliyun.core.annotation.Validation(required = true) + private java.util.List resourceId; - @Query - @NameInMap("ResourceType") - @Validation(required = true) + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ResourceType") + @com.aliyun.core.annotation.Validation(required = true) private String resourceType; - @Query - @NameInMap("Tag") - @Validation(required = true) - private java.util.List < Tag> tag; + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("Tag") + @com.aliyun.core.annotation.Validation(required = true) + private java.util.List tag; private TagResourcesRequest(Builder builder) { super(builder); @@ -48,7 +53,7 @@ public static TagResourcesRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -63,7 +68,7 @@ public String getRegionId() { /** * @return resourceId */ - public java.util.List < String > getResourceId() { + public java.util.List getResourceId() { return this.resourceId; } @@ -77,15 +82,15 @@ public String getResourceType() { /** * @return tag */ - public java.util.List < Tag> getTag() { + public java.util.List getTag() { return this.tag; } public static final class Builder extends Request.Builder { private String regionId; - private java.util.List < String > resourceId; + private java.util.List resourceId; private String resourceType; - private java.util.List < Tag> tag; + private java.util.List tag; private Builder() { super(); @@ -100,7 +105,11 @@ private Builder(TagResourcesRequest request) { } /** - * The region ID of the Service Mesh (ASM) instance. + *

The region ID of the Service Mesh (ASM) instance.

+ *

This parameter is required.

+ * + * example: + *

cn-hangzhou

*/ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); @@ -109,16 +118,21 @@ public Builder regionId(String regionId) { } /** - * The IDs of the ASM instances. + *

The IDs of the ASM instances.

+ *

This parameter is required.

*/ - public Builder resourceId(java.util.List < String > resourceId) { + public Builder resourceId(java.util.List resourceId) { this.putQueryParameter("ResourceId", resourceId); this.resourceId = resourceId; return this; } /** - * The resource type. Set the value to `servicemesh`. + *

The resource type. Set the value to servicemesh.

+ *

This parameter is required.

+ * + * example: + *

servicemesh

*/ public Builder resourceType(String resourceType) { this.putQueryParameter("ResourceType", resourceType); @@ -127,9 +141,10 @@ public Builder resourceType(String resourceType) { } /** - * The tags. + *

The tags.

+ *

This parameter is required.

*/ - public Builder tag(java.util.List < Tag> tag) { + public Builder tag(java.util.List tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; @@ -142,13 +157,19 @@ public TagResourcesRequest build() { } + /** + * + * {@link TagResourcesRequest} extends {@link TeaModel} + * + *

TagResourcesRequest

+ */ public static class Tag extends TeaModel { - @NameInMap("Key") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("Key") + @com.aliyun.core.annotation.Validation(required = true) private String key; - @NameInMap("Value") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("Value") + @com.aliyun.core.annotation.Validation(required = true) private String value; private Tag(Builder builder) { @@ -182,17 +203,28 @@ public static final class Builder { private String key; private String value; + private Builder() { + } + + private Builder(Tag model) { + this.key = model.key; + this.value = model.value; + } + /** - * The tag keys. - *

+ *

The tag keys.

+ *

The following limits apply:

+ *
    + *
  • The key of tag N cannot be an empty string.
  • + *
  • Valid values of N: 1 to 20.
  • + *
  • The tag key can be up to 128 characters in length.
  • + *
  • The tag key cannot start with aliyun or acs:.
  • + *
  • The tag key cannot contain http:// or https://.
  • + *
+ *

This parameter is required.

* - * The following limits apply: - * - * * The key of tag N cannot be an empty string. - * * Valid values of N: 1 to 20. - * * The tag key can be up to 128 characters in length. - * * The tag key cannot start with `aliyun` or `acs:`. - * * The tag key cannot contain `http://` or `https://`. + * example: + *

test

*/ public Builder key(String key) { this.key = key; @@ -200,15 +232,18 @@ public Builder key(String key) { } /** - * The tag values. - *

- * - * The following limits apply: + *

The tag values.

+ *

The following limits apply:

+ *
    + *
  • The value of tag N cannot be an empty string.
  • + *
  • Valid values of N: 1 to 20.
  • + *
  • The tag value can be up to 128 characters in length.
  • + *
  • The tag value cannot contain http:// or https://.
  • + *
+ *

This parameter is required.

* - * * The value of tag N cannot be an empty string. - * * Valid values of N: 1 to 20. - * * The tag value can be up to 128 characters in length. - * * The tag value cannot contain `http://` or `https://`. + * example: + *

yahaha

*/ public Builder value(String value) { this.value = value; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/TagResourcesResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/TagResourcesResponse.java index 8b5c2ad2f9e..a5546061402 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/TagResourcesResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/TagResourcesResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link TagResourcesResponse} extends {@link TeaModel} * *

TagResourcesResponse

*/ public class TagResourcesResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private TagResourcesResponseBody body; private TagResourcesResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static TagResourcesResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public TagResourcesResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder private static final class BuilderImpl extends Response.BuilderImpl implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private TagResourcesResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(TagResourcesResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/TagResourcesResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/TagResourcesResponseBody.java index 522b529b6c1..27f4ea937eb 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/TagResourcesResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/TagResourcesResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link TagResourcesResponseBody} extends {@link TeaModel} * *

TagResourcesResponseBody

*/ public class TagResourcesResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private TagResourcesResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static TagResourcesResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(TagResourcesResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UntagResourcesRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UntagResourcesRequest.java index 24dc482d9a9..3e7e628de55 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UntagResourcesRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UntagResourcesRequest.java @@ -1,39 +1,44 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UntagResourcesRequest} extends {@link RequestModel} * *

UntagResourcesRequest

*/ public class UntagResourcesRequest extends Request { - @Query - @NameInMap("All") + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("All") private Boolean all; - @Query - @NameInMap("RegionId") - @Validation(required = true) + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("RegionId") + @com.aliyun.core.annotation.Validation(required = true) private String regionId; - @Query - @NameInMap("ResourceId") - @Validation(required = true) - private java.util.List < String > resourceId; + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ResourceId") + @com.aliyun.core.annotation.Validation(required = true) + private java.util.List resourceId; - @Query - @NameInMap("ResourceType") - @Validation(required = true) + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ResourceType") + @com.aliyun.core.annotation.Validation(required = true) private String resourceType; - @Query - @NameInMap("TagKey") - private java.util.List < String > tagKey; + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("TagKey") + private java.util.List tagKey; private UntagResourcesRequest(Builder builder) { super(builder); @@ -52,7 +57,7 @@ public static UntagResourcesRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -74,7 +79,7 @@ public String getRegionId() { /** * @return resourceId */ - public java.util.List < String > getResourceId() { + public java.util.List getResourceId() { return this.resourceId; } @@ -88,16 +93,16 @@ public String getResourceType() { /** * @return tagKey */ - public java.util.List < String > getTagKey() { + public java.util.List getTagKey() { return this.tagKey; } public static final class Builder extends Request.Builder { private Boolean all; private String regionId; - private java.util.List < String > resourceId; + private java.util.List resourceId; private String resourceType; - private java.util.List < String > tagKey; + private java.util.List tagKey; private Builder() { super(); @@ -113,13 +118,15 @@ private Builder(UntagResourcesRequest request) { } /** - * Specifies whether to delete all tags. This parameter takes effect only when the TagKey.N parameter is not specified. Valid values: - *

+ *

Specifies whether to delete all tags. This parameter takes effect only when the TagKey.N parameter is not specified. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * * true - * * false - * - * Default value: false. + * example: + *

false

*/ public Builder all(Boolean all) { this.putQueryParameter("All", all); @@ -128,7 +135,11 @@ public Builder all(Boolean all) { } /** - * The region ID of the ASM instance. + *

The region ID of the ASM instance.

+ *

This parameter is required.

+ * + * example: + *

cn-hangzhou

*/ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); @@ -137,16 +148,21 @@ public Builder regionId(String regionId) { } /** - * The IDs of the ASM instances. + *

The IDs of the ASM instances.

+ *

This parameter is required.

*/ - public Builder resourceId(java.util.List < String > resourceId) { + public Builder resourceId(java.util.List resourceId) { this.putQueryParameter("ResourceId", resourceId); this.resourceId = resourceId; return this; } /** - * The resource type. Set the value to `servicemesh`. + *

The resource type. Set the value to servicemesh.

+ *

This parameter is required.

+ * + * example: + *

servicemesh

*/ public Builder resourceType(String resourceType) { this.putQueryParameter("ResourceType", resourceType); @@ -155,9 +171,9 @@ public Builder resourceType(String resourceType) { } /** - * The tag keys. + *

The tag keys.

*/ - public Builder tagKey(java.util.List < String > tagKey) { + public Builder tagKey(java.util.List tagKey) { this.putQueryParameter("TagKey", tagKey); this.tagKey = tagKey; return this; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UntagResourcesResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UntagResourcesResponse.java index be9c03dbc9f..2ba2ee40b7d 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UntagResourcesResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UntagResourcesResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UntagResourcesResponse} extends {@link TeaModel} * *

UntagResourcesResponse

*/ public class UntagResourcesResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private UntagResourcesResponseBody body; private UntagResourcesResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static UntagResourcesResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public UntagResourcesResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private UntagResourcesResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(UntagResourcesResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UntagResourcesResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UntagResourcesResponseBody.java index 715e30ff3cc..aa2384de5cc 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UntagResourcesResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UntagResourcesResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UntagResourcesResponseBody} extends {@link TeaModel} * *

UntagResourcesResponseBody

*/ public class UntagResourcesResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private UntagResourcesResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static UntagResourcesResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(UntagResourcesResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayImportedServicesRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayImportedServicesRequest.java index bb6ba25bdaa..e2d9729010c 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayImportedServicesRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayImportedServicesRequest.java @@ -1,32 +1,37 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateASMGatewayImportedServicesRequest} extends {@link RequestModel} * *

UpdateASMGatewayImportedServicesRequest

*/ public class UpdateASMGatewayImportedServicesRequest extends Request { - @Body - @NameInMap("ASMGatewayName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ASMGatewayName") private String ASMGatewayName; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; - @Body - @NameInMap("ServiceNames") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceNames") private String serviceNames; - @Body - @NameInMap("ServiceNamespace") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceNamespace") private String serviceNamespace; private UpdateASMGatewayImportedServicesRequest(Builder builder) { @@ -45,7 +50,7 @@ public static UpdateASMGatewayImportedServicesRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -97,7 +102,10 @@ private Builder(UpdateASMGatewayImportedServicesRequest request) { } /** - * The name of the ASM gateway. + *

The name of the ASM gateway.

+ * + * example: + *

ingressgateway

*/ public Builder ASMGatewayName(String ASMGatewayName) { this.putBodyParameter("ASMGatewayName", ASMGatewayName); @@ -106,7 +114,11 @@ public Builder ASMGatewayName(String ASMGatewayName) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); @@ -115,7 +127,10 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * The names of the services. Separate multiple service names with commas (,). Example: reviews,sleep. + *

The names of the services. Separate multiple service names with commas (,). Example: reviews,sleep.

+ * + * example: + *

reviews,sleep

*/ public Builder serviceNames(String serviceNames) { this.putBodyParameter("ServiceNames", serviceNames); @@ -124,7 +139,10 @@ public Builder serviceNames(String serviceNames) { } /** - * The namespace in which the service resides. + *

The namespace in which the service resides.

+ * + * example: + *

default

*/ public Builder serviceNamespace(String serviceNamespace) { this.putBodyParameter("ServiceNamespace", serviceNamespace); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayImportedServicesResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayImportedServicesResponse.java index 16c6a649e14..fb127693ceb 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayImportedServicesResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayImportedServicesResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateASMGatewayImportedServicesResponse} extends {@link TeaModel} * *

UpdateASMGatewayImportedServicesResponse

*/ public class UpdateASMGatewayImportedServicesResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private UpdateASMGatewayImportedServicesResponseBody body; private UpdateASMGatewayImportedServicesResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static UpdateASMGatewayImportedServicesResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public UpdateASMGatewayImportedServicesResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private UpdateASMGatewayImportedServicesResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(UpdateASMGatewayImportedServicesResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayImportedServicesResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayImportedServicesResponseBody.java index a92a63b45b3..54cbe055cce 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayImportedServicesResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayImportedServicesResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateASMGatewayImportedServicesResponseBody} extends {@link TeaModel} * *

UpdateASMGatewayImportedServicesResponseBody

*/ public class UpdateASMGatewayImportedServicesResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private UpdateASMGatewayImportedServicesResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static UpdateASMGatewayImportedServicesResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(UpdateASMGatewayImportedServicesResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

11fd0027-c27e-41bb-a565-75583054****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayRequest.java index f955452c48a..33a7300179b 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayRequest.java @@ -1,28 +1,33 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateASMGatewayRequest} extends {@link RequestModel} * *

UpdateASMGatewayRequest

*/ public class UpdateASMGatewayRequest extends Request { - @Body - @NameInMap("Body") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Body") private String body; - @Body - @NameInMap("IstioGatewayName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IstioGatewayName") private String istioGatewayName; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private UpdateASMGatewayRequest(Builder builder) { @@ -40,7 +45,7 @@ public static UpdateASMGatewayRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -83,7 +88,10 @@ private Builder(UpdateASMGatewayRequest request) { } /** - * The new YAML content of the ASM gateway. + *

The new YAML content of the ASM gateway.

+ * + * example: + *

{"apiVersion":"istio.alibabacloud.com/v1beta1","kind":"IstioGateway","metadata":{"name":"ingressgateway","namespace":"istio-system"},"spec":{"gatewayType":"ingress","clusterIds":["xxxxx"],"ports":[{"name":"http-0","port":80,"targetPort":80,"protocol":"TCP"},{"name":"https-1","port":443,"targetPort":443,"protocol":"TCP"}],"serviceAnnotations":{"service.beta.kubernetes.io/alicloud-loadbalancer-address-type":"internet","service.beta.kubernetes.io/alibaba-cloud-loadbalancer-spec":"slb.s1.small"},"replicaCount":2,"resources":{"limits":{"cpu":"2","memory":"4G"},"requests":{"cpu":"200m","memory":"256Mi"}},"serviceType":"LoadBalancer","maxReplicas":2,"minReplicas":2}}

*/ public Builder body(String body) { this.putBodyParameter("Body", body); @@ -92,7 +100,10 @@ public Builder body(String body) { } /** - * The name of the ASM gateway. + *

The name of the ASM gateway.

+ * + * example: + *

ingressgateway

*/ public Builder istioGatewayName(String istioGatewayName) { this.putBodyParameter("IstioGatewayName", istioGatewayName); @@ -101,7 +112,11 @@ public Builder istioGatewayName(String istioGatewayName) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

cb8963379255149cb98c8686f274x****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayResponse.java index 97c23f621c0..c0060dc1e29 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateASMGatewayResponse} extends {@link TeaModel} * *

UpdateASMGatewayResponse

*/ public class UpdateASMGatewayResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private UpdateASMGatewayResponseBody body; private UpdateASMGatewayResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static UpdateASMGatewayResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public UpdateASMGatewayResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private UpdateASMGatewayResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(UpdateASMGatewayResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayResponseBody.java index 708ad110f9c..61e3c759ce8 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMGatewayResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateASMGatewayResponseBody} extends {@link TeaModel} * *

UpdateASMGatewayResponseBody

*/ public class UpdateASMGatewayResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private UpdateASMGatewayResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static UpdateASMGatewayResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(UpdateASMGatewayResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMNamespaceFromGuestClusterRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMNamespaceFromGuestClusterRequest.java index 0a12741e8c8..d98f8443b95 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMNamespaceFromGuestClusterRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMNamespaceFromGuestClusterRequest.java @@ -1,25 +1,30 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateASMNamespaceFromGuestClusterRequest} extends {@link RequestModel} * *

UpdateASMNamespaceFromGuestClusterRequest

*/ public class UpdateASMNamespaceFromGuestClusterRequest extends Request { - @Body - @NameInMap("K8sClusterId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("K8sClusterId") + @com.aliyun.core.annotation.Validation(required = true) private String k8sClusterId; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private UpdateASMNamespaceFromGuestClusterRequest(Builder builder) { @@ -36,7 +41,7 @@ public static UpdateASMNamespaceFromGuestClusterRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -70,7 +75,11 @@ private Builder(UpdateASMNamespaceFromGuestClusterRequest request) { } /** - * The ID of the Kubernetes cluster whose namespace information you want to synchronize to ASM. The Kubernetes cluster is added to the ASM instance that is specified by the ServiceMeshId parameter. + *

The ID of the Kubernetes cluster whose namespace information you want to synchronize to ASM. The Kubernetes cluster is added to the ASM instance that is specified by the ServiceMeshId parameter.

+ *

This parameter is required.

+ * + * example: + *

c6f6d46583def494ba1f2e2937c8*****

*/ public Builder k8sClusterId(String k8sClusterId) { this.putBodyParameter("K8sClusterId", k8sClusterId); @@ -79,7 +88,11 @@ public Builder k8sClusterId(String k8sClusterId) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

cbf9ca9e6d5dc4c87a3ecd0ebf1e*****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMNamespaceFromGuestClusterResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMNamespaceFromGuestClusterResponse.java index 2c993634524..c1fed768e86 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMNamespaceFromGuestClusterResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMNamespaceFromGuestClusterResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateASMNamespaceFromGuestClusterResponse} extends {@link TeaModel} * *

UpdateASMNamespaceFromGuestClusterResponse

*/ public class UpdateASMNamespaceFromGuestClusterResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private UpdateASMNamespaceFromGuestClusterResponseBody body; private UpdateASMNamespaceFromGuestClusterResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static UpdateASMNamespaceFromGuestClusterResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public UpdateASMNamespaceFromGuestClusterResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private UpdateASMNamespaceFromGuestClusterResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(UpdateASMNamespaceFromGuestClusterResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMNamespaceFromGuestClusterResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMNamespaceFromGuestClusterResponseBody.java index fbd872cb80f..f575627faf2 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMNamespaceFromGuestClusterResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateASMNamespaceFromGuestClusterResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateASMNamespaceFromGuestClusterResponseBody} extends {@link TeaModel} * *

UpdateASMNamespaceFromGuestClusterResponseBody

*/ public class UpdateASMNamespaceFromGuestClusterResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private UpdateASMNamespaceFromGuestClusterResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static UpdateASMNamespaceFromGuestClusterResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(UpdateASMNamespaceFromGuestClusterResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

9DEC6122-ACEC-183D-8451-8E0A1A******

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateControlPlaneLogConfigRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateControlPlaneLogConfigRequest.java index 9b50e71047b..8f234e39db4 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateControlPlaneLogConfigRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateControlPlaneLogConfigRequest.java @@ -1,34 +1,39 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateControlPlaneLogConfigRequest} extends {@link RequestModel} * *

UpdateControlPlaneLogConfigRequest

*/ public class UpdateControlPlaneLogConfigRequest extends Request { - @Body - @NameInMap("Enabled") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Enabled") + @com.aliyun.core.annotation.Validation(required = true) private Boolean enabled; - @Body - @NameInMap("LogTTLInDay") - @Validation(maximum = 3000, minimum = 1) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("LogTTLInDay") + @com.aliyun.core.annotation.Validation(maximum = 3000, minimum = 1) private Integer logTTLInDay; - @Body - @NameInMap("Project") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Project") private String project; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private UpdateControlPlaneLogConfigRequest(Builder builder) { @@ -47,7 +52,7 @@ public static UpdateControlPlaneLogConfigRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -99,7 +104,11 @@ private Builder(UpdateControlPlaneLogConfigRequest request) { } /** - * Specifies whether to collect control plane logs to Simple Log Service. + *

Specifies whether to collect control plane logs to Simple Log Service.

+ *

This parameter is required.

+ * + * example: + *

false

*/ public Builder enabled(Boolean enabled) { this.putBodyParameter("Enabled", enabled); @@ -108,7 +117,10 @@ public Builder enabled(Boolean enabled) { } /** - * The time to live (TTL) period of the collected logs. Unit: day. + *

The time to live (TTL) period of the collected logs. Unit: day.

+ * + * example: + *

30

*/ public Builder logTTLInDay(Integer logTTLInDay) { this.putBodyParameter("LogTTLInDay", logTTLInDay); @@ -117,7 +129,10 @@ public Builder logTTLInDay(Integer logTTLInDay) { } /** - * The name of the Simple Log Service project to which control plane logs are collected. + *

The name of the Simple Log Service project to which control plane logs are collected.

+ * + * example: + *

aia-asm-deva-sh

*/ public Builder project(String project) { this.putBodyParameter("Project", project); @@ -126,7 +141,11 @@ public Builder project(String project) { } /** - * The ID of the Service Mesh (ASM) instance. + *

The ID of the Service Mesh (ASM) instance.

+ *

This parameter is required.

+ * + * example: + *

c20667db760fe4ee6910220136624****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateControlPlaneLogConfigResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateControlPlaneLogConfigResponse.java index 1a1829306d9..0ed66c300e3 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateControlPlaneLogConfigResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateControlPlaneLogConfigResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateControlPlaneLogConfigResponse} extends {@link TeaModel} * *

UpdateControlPlaneLogConfigResponse

*/ public class UpdateControlPlaneLogConfigResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private UpdateControlPlaneLogConfigResponseBody body; private UpdateControlPlaneLogConfigResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static UpdateControlPlaneLogConfigResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public UpdateControlPlaneLogConfigResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private UpdateControlPlaneLogConfigResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(UpdateControlPlaneLogConfigResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateControlPlaneLogConfigResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateControlPlaneLogConfigResponseBody.java index d07e0194d1b..ab7882f692b 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateControlPlaneLogConfigResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateControlPlaneLogConfigResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateControlPlaneLogConfigResponseBody} extends {@link TeaModel} * *

UpdateControlPlaneLogConfigResponseBody

*/ public class UpdateControlPlaneLogConfigResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private UpdateControlPlaneLogConfigResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static UpdateControlPlaneLogConfigResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(UpdateControlPlaneLogConfigResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

488F046B-63D2-5D96-9A70-E00C3685D49F

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateGuestClusterConfigRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateGuestClusterConfigRequest.java new file mode 100644 index 00000000000..2fa398bd749 --- /dev/null +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateGuestClusterConfigRequest.java @@ -0,0 +1,127 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.servicemesh20200111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link UpdateGuestClusterConfigRequest} extends {@link RequestModel} + * + *

UpdateGuestClusterConfigRequest

+ */ +public class UpdateGuestClusterConfigRequest extends Request { + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("GuestClusterId") + private String guestClusterId; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SMCEnabled") + private Boolean SMCEnabled; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) + private String serviceMeshId; + + private UpdateGuestClusterConfigRequest(Builder builder) { + super(builder); + this.guestClusterId = builder.guestClusterId; + this.SMCEnabled = builder.SMCEnabled; + this.serviceMeshId = builder.serviceMeshId; + } + + public static Builder builder() { + return new Builder(); + } + + public static UpdateGuestClusterConfigRequest create() { + return builder().build(); + } + +@Override + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return guestClusterId + */ + public String getGuestClusterId() { + return this.guestClusterId; + } + + /** + * @return SMCEnabled + */ + public Boolean getSMCEnabled() { + return this.SMCEnabled; + } + + /** + * @return serviceMeshId + */ + public String getServiceMeshId() { + return this.serviceMeshId; + } + + public static final class Builder extends Request.Builder { + private String guestClusterId; + private Boolean SMCEnabled; + private String serviceMeshId; + + private Builder() { + super(); + } + + private Builder(UpdateGuestClusterConfigRequest request) { + super(request); + this.guestClusterId = request.guestClusterId; + this.SMCEnabled = request.SMCEnabled; + this.serviceMeshId = request.serviceMeshId; + } + + /** + * GuestClusterId. + */ + public Builder guestClusterId(String guestClusterId) { + this.putBodyParameter("GuestClusterId", guestClusterId); + this.guestClusterId = guestClusterId; + return this; + } + + /** + * SMCEnabled. + */ + public Builder SMCEnabled(Boolean SMCEnabled) { + this.putBodyParameter("SMCEnabled", SMCEnabled); + this.SMCEnabled = SMCEnabled; + return this; + } + + /** + *

This parameter is required.

+ * + * example: + *

cb8963379255149cb98c8686f274x****

+ */ + public Builder serviceMeshId(String serviceMeshId) { + this.putBodyParameter("ServiceMeshId", serviceMeshId); + this.serviceMeshId = serviceMeshId; + return this; + } + + @Override + public UpdateGuestClusterConfigRequest build() { + return new UpdateGuestClusterConfigRequest(this); + } + + } + +} diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateGuestClusterConfigResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateGuestClusterConfigResponse.java new file mode 100644 index 00000000000..9e9088a1a12 --- /dev/null +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateGuestClusterConfigResponse.java @@ -0,0 +1,131 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.servicemesh20200111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link UpdateGuestClusterConfigResponse} extends {@link TeaModel} + * + *

UpdateGuestClusterConfigResponse

+ */ +public class UpdateGuestClusterConfigResponse extends Response { + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; + + @com.aliyun.core.annotation.NameInMap("statusCode") + private Integer statusCode; + + @com.aliyun.core.annotation.NameInMap("body") + private UpdateGuestClusterConfigResponseBody body; + + private UpdateGuestClusterConfigResponse(BuilderImpl builder) { + super(builder); + this.headers = builder.headers; + this.statusCode = builder.statusCode; + this.body = builder.body; + } + + public static UpdateGuestClusterConfigResponse create() { + return new BuilderImpl().build(); + } + +@Override + public Builder toBuilder() { + return new BuilderImpl(this); + } + + /** + * @return headers + */ + public java.util.Map getHeaders() { + return this.headers; + } + + /** + * @return statusCode + */ + public Integer getStatusCode() { + return this.statusCode; + } + + /** + * @return body + */ + public UpdateGuestClusterConfigResponseBody getBody() { + return this.body; + } + + public interface Builder extends Response.Builder { + + Builder headers(java.util.Map headers); + + Builder statusCode(Integer statusCode); + + Builder body(UpdateGuestClusterConfigResponseBody body); + + @Override + UpdateGuestClusterConfigResponse build(); + + } + + private static final class BuilderImpl + extends Response.BuilderImpl + implements Builder { + private java.util.Map headers; + private Integer statusCode; + private UpdateGuestClusterConfigResponseBody body; + + private BuilderImpl() { + super(); + } + + private BuilderImpl(UpdateGuestClusterConfigResponse response) { + super(response); + this.headers = response.headers; + this.statusCode = response.statusCode; + this.body = response.body; + } + + /** + * headers. + */ + @Override + public Builder headers(java.util.Map headers) { + this.headers = headers; + return this; + } + + /** + * statusCode. + */ + @Override + public Builder statusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * body. + */ + @Override + public Builder body(UpdateGuestClusterConfigResponseBody body) { + this.body = body; + return this; + } + + @Override + public UpdateGuestClusterConfigResponse build() { + return new UpdateGuestClusterConfigResponse(this); + } + + } + +} diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateGuestClusterConfigResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateGuestClusterConfigResponseBody.java new file mode 100644 index 00000000000..4b3120cfb12 --- /dev/null +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateGuestClusterConfigResponseBody.java @@ -0,0 +1,73 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.servicemesh20200111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link UpdateGuestClusterConfigResponseBody} extends {@link TeaModel} + * + *

UpdateGuestClusterConfigResponseBody

+ */ +public class UpdateGuestClusterConfigResponseBody extends TeaModel { + @com.aliyun.core.annotation.NameInMap("RequestId") + private String requestId; + + private UpdateGuestClusterConfigResponseBody(Builder builder) { + this.requestId = builder.requestId; + } + + public static Builder builder() { + return new Builder(); + } + + public static UpdateGuestClusterConfigResponseBody create() { + return builder().build(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return requestId + */ + public String getRequestId() { + return this.requestId; + } + + public static final class Builder { + private String requestId; + + private Builder() { + } + + private Builder(UpdateGuestClusterConfigResponseBody model) { + this.requestId = model.requestId; + } + + /** + *

Id of the request

+ * + * example: + *

71680038-8009-5073-B43E-C057E9******

+ */ + public Builder requestId(String requestId) { + this.requestId = requestId; + return this; + } + + public UpdateGuestClusterConfigResponseBody build() { + return new UpdateGuestClusterConfigResponseBody(this); + } + + } + +} diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioGatewayRoutesRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioGatewayRoutesRequest.java index 5cea16f3e16..fc144955f84 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioGatewayRoutesRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioGatewayRoutesRequest.java @@ -1,40 +1,45 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateIstioGatewayRoutesRequest} extends {@link RequestModel} * *

UpdateIstioGatewayRoutesRequest

*/ public class UpdateIstioGatewayRoutesRequest extends Request { - @Body - @NameInMap("Description") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Description") private String description; - @Body - @NameInMap("GatewayRoute") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("GatewayRoute") private GatewayRoute gatewayRoute; - @Body - @NameInMap("IstioGatewayName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IstioGatewayName") private String istioGatewayName; - @Body - @NameInMap("Priority") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Priority") private Integer priority; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; - @Body - @NameInMap("Status") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Status") private Integer status; private UpdateIstioGatewayRoutesRequest(Builder builder) { @@ -55,7 +60,7 @@ public static UpdateIstioGatewayRoutesRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -125,7 +130,10 @@ private Builder(UpdateIstioGatewayRoutesRequest request) { } /** - * The description of the routing rule. + *

The description of the routing rule.

+ * + * example: + *

demo route

*/ public Builder description(String description) { this.putBodyParameter("Description", description); @@ -134,7 +142,7 @@ public Builder description(String description) { } /** - * The information about the routing rule to be updated for the ASM gateway. + *

The information about the routing rule to be updated for the ASM gateway.

*/ public Builder gatewayRoute(GatewayRoute gatewayRoute) { String gatewayRouteShrink = shrink(gatewayRoute, "GatewayRoute", "json"); @@ -144,7 +152,10 @@ public Builder gatewayRoute(GatewayRoute gatewayRoute) { } /** - * The name of the ASM gateway. + *

The name of the ASM gateway.

+ * + * example: + *

ingressgateway

*/ public Builder istioGatewayName(String istioGatewayName) { this.putBodyParameter("IstioGatewayName", istioGatewayName); @@ -153,7 +164,10 @@ public Builder istioGatewayName(String istioGatewayName) { } /** - * The priority of the routing rule. The value of this parameter is an integer. A smaller value indicates a higher priority. + *

The priority of the routing rule. The value of this parameter is an integer. A smaller value indicates a higher priority.

+ * + * example: + *

1

*/ public Builder priority(Integer priority) { this.putBodyParameter("Priority", priority); @@ -162,7 +176,11 @@ public Builder priority(Integer priority) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); @@ -171,12 +189,15 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * The status of the routing rule. Valid values: - *

+ *

The status of the routing rule. Valid values:

+ *
    + *
  • 0: The routing rule is valid.
  • + *
  • 1: The routing rule is invalid.
  • + *
  • 2: An error occurs during the creation or update of the routing rule.
  • + *
* - * * `0`: The routing rule is valid. - * * `1`: The routing rule is invalid. - * * `2`: An error occurs during the creation or update of the routing rule. + * example: + *

1

*/ public Builder status(Integer status) { this.putBodyParameter("Status", status); @@ -191,11 +212,17 @@ public UpdateIstioGatewayRoutesRequest build() { } + /** + * + * {@link UpdateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

UpdateIstioGatewayRoutesRequest

+ */ public static class Delegate extends TeaModel { - @NameInMap("Name") + @com.aliyun.core.annotation.NameInMap("Name") private String name; - @NameInMap("Namespace") + @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; private Delegate(Builder builder) { @@ -229,8 +256,19 @@ public static final class Builder { private String name; private String namespace; + private Builder() { + } + + private Builder(Delegate model) { + this.name = model.name; + this.namespace = model.namespace; + } + /** - * The name of the virtual service. + *

The name of the virtual service.

+ * + * example: + *

reviews

*/ public Builder name(String name) { this.name = name; @@ -238,7 +276,10 @@ public Builder name(String name) { } /** - * The namespace to which the virtual service belongs. + *

The namespace to which the virtual service belongs.

+ * + * example: + *

default

*/ public Builder namespace(String namespace) { this.namespace = namespace; @@ -252,8 +293,14 @@ public Delegate build() { } } + /** + * + * {@link UpdateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

UpdateIstioGatewayRoutesRequest

+ */ public static class Percentage extends TeaModel { - @NameInMap("Value") + @com.aliyun.core.annotation.NameInMap("Value") private Float value; private Percentage(Builder builder) { @@ -278,8 +325,18 @@ public Float getValue() { public static final class Builder { private Float value; + private Builder() { + } + + private Builder(Percentage model) { + this.value = model.value; + } + /** - * The percentage of requests that are aborted with the specified error code, which is expressed as a decimal. + *

The percentage of requests that are aborted with the specified error code, which is expressed as a decimal.

+ * + * example: + *

0.1

*/ public Builder value(Float value) { this.value = value; @@ -293,11 +350,17 @@ public Percentage build() { } } + /** + * + * {@link UpdateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

UpdateIstioGatewayRoutesRequest

+ */ public static class Abort extends TeaModel { - @NameInMap("HttpStatus") + @com.aliyun.core.annotation.NameInMap("HttpStatus") private Integer httpStatus; - @NameInMap("Percentage") + @com.aliyun.core.annotation.NameInMap("Percentage") private Percentage percentage; private Abort(Builder builder) { @@ -331,8 +394,19 @@ public static final class Builder { private Integer httpStatus; private Percentage percentage; + private Builder() { + } + + private Builder(Abort model) { + this.httpStatus = model.httpStatus; + this.percentage = model.percentage; + } + /** - * The HTTP status code. + *

The HTTP status code.

+ * + * example: + *

400

*/ public Builder httpStatus(Integer httpStatus) { this.httpStatus = httpStatus; @@ -340,7 +414,7 @@ public Builder httpStatus(Integer httpStatus) { } /** - * The percentage of requests that are aborted with the specified error code. + *

The percentage of requests that are aborted with the specified error code.

*/ public Builder percentage(Percentage percentage) { this.percentage = percentage; @@ -354,8 +428,14 @@ public Abort build() { } } + /** + * + * {@link UpdateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

UpdateIstioGatewayRoutesRequest

+ */ public static class DelayPercentage extends TeaModel { - @NameInMap("Value") + @com.aliyun.core.annotation.NameInMap("Value") private Float value; private DelayPercentage(Builder builder) { @@ -380,8 +460,18 @@ public Float getValue() { public static final class Builder { private Float value; + private Builder() { + } + + private Builder(DelayPercentage model) { + this.value = model.value; + } + /** - * The percentage of requests to which the delay fault is injected, which is expressed as a decimal. + *

The percentage of requests to which the delay fault is injected, which is expressed as a decimal.

+ * + * example: + *

0.1

*/ public Builder value(Float value) { this.value = value; @@ -395,11 +485,17 @@ public DelayPercentage build() { } } + /** + * + * {@link UpdateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

UpdateIstioGatewayRoutesRequest

+ */ public static class Delay extends TeaModel { - @NameInMap("FixedDelay") + @com.aliyun.core.annotation.NameInMap("FixedDelay") private String fixedDelay; - @NameInMap("Percentage") + @com.aliyun.core.annotation.NameInMap("Percentage") private DelayPercentage percentage; private Delay(Builder builder) { @@ -433,8 +529,19 @@ public static final class Builder { private String fixedDelay; private DelayPercentage percentage; + private Builder() { + } + + private Builder(Delay model) { + this.fixedDelay = model.fixedDelay; + this.percentage = model.percentage; + } + /** - * The fixed duration for request delay. + *

The fixed duration for request delay.

+ * + * example: + *

5s

*/ public Builder fixedDelay(String fixedDelay) { this.fixedDelay = fixedDelay; @@ -442,7 +549,7 @@ public Builder fixedDelay(String fixedDelay) { } /** - * The percentage of requests to which the delay fault is injected. + *

The percentage of requests to which the delay fault is injected.

*/ public Builder percentage(DelayPercentage percentage) { this.percentage = percentage; @@ -456,11 +563,17 @@ public Delay build() { } } + /** + * + * {@link UpdateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

UpdateIstioGatewayRoutesRequest

+ */ public static class Fault extends TeaModel { - @NameInMap("Abort") + @com.aliyun.core.annotation.NameInMap("Abort") private Abort abort; - @NameInMap("Delay") + @com.aliyun.core.annotation.NameInMap("Delay") private Delay delay; private Fault(Builder builder) { @@ -494,8 +607,16 @@ public static final class Builder { private Abort abort; private Delay delay; + private Builder() { + } + + private Builder(Fault model) { + this.abort = model.abort; + this.delay = model.delay; + } + /** - * The configurations for aborting requests with specified error codes. + *

The configurations for aborting requests with specified error codes.

*/ public Builder abort(Abort abort) { this.abort = abort; @@ -503,7 +624,7 @@ public Builder abort(Abort abort) { } /** - * The duration to delay a request. + *

The duration to delay a request.

*/ public Builder delay(Delay delay) { this.delay = delay; @@ -517,14 +638,20 @@ public Fault build() { } } + /** + * + * {@link UpdateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

UpdateIstioGatewayRoutesRequest

+ */ public static class HTTPRedirect extends TeaModel { - @NameInMap("Authority") + @com.aliyun.core.annotation.NameInMap("Authority") private String authority; - @NameInMap("RedirectCode") + @com.aliyun.core.annotation.NameInMap("RedirectCode") private Integer redirectCode; - @NameInMap("Uri") + @com.aliyun.core.annotation.NameInMap("Uri") private String uri; private HTTPRedirect(Builder builder) { @@ -567,8 +694,20 @@ public static final class Builder { private Integer redirectCode; private String uri; + private Builder() { + } + + private Builder(HTTPRedirect model) { + this.authority = model.authority; + this.redirectCode = model.redirectCode; + this.uri = model.uri; + } + /** - * The value to be used to overwrite the value of the Authority or Host header during redirection. + *

The value to be used to overwrite the value of the Authority or Host header during redirection.

+ * + * example: + *

newratings.default.svc.cluster.local

*/ public Builder authority(String authority) { this.authority = authority; @@ -576,7 +715,10 @@ public Builder authority(String authority) { } /** - * The HTTP status code to be used to indicate URL redirection. Default value: 301. + *

The HTTP status code to be used to indicate URL redirection. Default value: 301.

+ * + * example: + *

301

*/ public Builder redirectCode(Integer redirectCode) { this.redirectCode = redirectCode; @@ -584,7 +726,10 @@ public Builder redirectCode(Integer redirectCode) { } /** - * The value to be used to overwrite the URL path during redirection. + *

The value to be used to overwrite the URL path during redirection.

+ * + * example: + *

/v1/getProductRatings

*/ public Builder uri(String uri) { this.uri = uri; @@ -598,11 +743,17 @@ public HTTPRedirect build() { } } + /** + * + * {@link UpdateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

UpdateIstioGatewayRoutesRequest

+ */ public static class Mirror extends TeaModel { - @NameInMap("Host") + @com.aliyun.core.annotation.NameInMap("Host") private String host; - @NameInMap("Subset") + @com.aliyun.core.annotation.NameInMap("Subset") private String subset; private Mirror(Builder builder) { @@ -636,8 +787,19 @@ public static final class Builder { private String host; private String subset; + private Builder() { + } + + private Builder(Mirror model) { + this.host = model.host; + this.subset = model.subset; + } + /** - * The name of the service defined in the service registry. + *

The name of the service defined in the service registry.

+ * + * example: + *

reviews.default.svc.cluster.local

*/ public Builder host(String host) { this.host = host; @@ -645,7 +807,10 @@ public Builder host(String host) { } /** - * The name of the service subset. + *

The name of the service subset.

+ * + * example: + *

v1

*/ public Builder subset(String subset) { this.subset = subset; @@ -659,8 +824,14 @@ public Mirror build() { } } + /** + * + * {@link UpdateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

UpdateIstioGatewayRoutesRequest

+ */ public static class MirrorPercentage extends TeaModel { - @NameInMap("Value") + @com.aliyun.core.annotation.NameInMap("Value") private Float value; private MirrorPercentage(Builder builder) { @@ -685,8 +856,18 @@ public Float getValue() { public static final class Builder { private Float value; + private Builder() { + } + + private Builder(MirrorPercentage model) { + this.value = model.value; + } + /** - * The percentage of requests that are mirrored to another destination except for the original destination, which is expressed as a decimal. + *

The percentage of requests that are mirrored to another destination except for the original destination, which is expressed as a decimal.

+ * + * example: + *

0.2

*/ public Builder value(Float value) { this.value = value; @@ -700,8 +881,14 @@ public MirrorPercentage build() { } } + /** + * + * {@link UpdateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

UpdateIstioGatewayRoutesRequest

+ */ public static class RetryRemoteLocalities extends TeaModel { - @NameInMap("Value") + @com.aliyun.core.annotation.NameInMap("Value") private Boolean value; private RetryRemoteLocalities(Builder builder) { @@ -726,14 +913,23 @@ public Boolean getValue() { public static final class Builder { private Boolean value; + private Builder() { + } + + private Builder(RetryRemoteLocalities model) { + this.value = model.value; + } + /** - * Specifies whether to allow retries to other localities. Valid values: - *

+ *

Specifies whether to allow retries to other localities. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * * `true` - * * `false` - * - * Default value: `false`. + * example: + *

false

*/ public Builder value(Boolean value) { this.value = value; @@ -747,17 +943,23 @@ public RetryRemoteLocalities build() { } } + /** + * + * {@link UpdateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

UpdateIstioGatewayRoutesRequest

+ */ public static class Retries extends TeaModel { - @NameInMap("Attempts") + @com.aliyun.core.annotation.NameInMap("Attempts") private Integer attempts; - @NameInMap("PerTryTimeout") + @com.aliyun.core.annotation.NameInMap("PerTryTimeout") private String perTryTimeout; - @NameInMap("RetryOn") + @com.aliyun.core.annotation.NameInMap("RetryOn") private String retryOn; - @NameInMap("RetryRemoteLocalities") + @com.aliyun.core.annotation.NameInMap("RetryRemoteLocalities") private RetryRemoteLocalities retryRemoteLocalities; private Retries(Builder builder) { @@ -809,8 +1011,21 @@ public static final class Builder { private String retryOn; private RetryRemoteLocalities retryRemoteLocalities; + private Builder() { + } + + private Builder(Retries model) { + this.attempts = model.attempts; + this.perTryTimeout = model.perTryTimeout; + this.retryOn = model.retryOn; + this.retryRemoteLocalities = model.retryRemoteLocalities; + } + /** - * The number of retries that are allowed for a request. + *

The number of retries that are allowed for a request.

+ * + * example: + *

3

*/ public Builder attempts(Integer attempts) { this.attempts = attempts; @@ -818,7 +1033,10 @@ public Builder attempts(Integer attempts) { } /** - * The timeout period for each retry. + *

The timeout period for each retry.

+ * + * example: + *

2s

*/ public Builder perTryTimeout(String perTryTimeout) { this.perTryTimeout = perTryTimeout; @@ -826,7 +1044,10 @@ public Builder perTryTimeout(String perTryTimeout) { } /** - * The condition for retries. Example: `connect-failure,refused-stream,503`. + *

The condition for retries. Example: connect-failure,refused-stream,503.

+ * + * example: + *

connect-failure,refused-stream,503

*/ public Builder retryOn(String retryOn) { this.retryOn = retryOn; @@ -834,7 +1055,7 @@ public Builder retryOn(String retryOn) { } /** - * Specifies whether to allow retries to other localities. + *

Specifies whether to allow retries to other localities.

*/ public Builder retryRemoteLocalities(RetryRemoteLocalities retryRemoteLocalities) { this.retryRemoteLocalities = retryRemoteLocalities; @@ -848,11 +1069,17 @@ public Retries build() { } } + /** + * + * {@link UpdateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

UpdateIstioGatewayRoutesRequest

+ */ public static class Rewrite extends TeaModel { - @NameInMap("Authority") + @com.aliyun.core.annotation.NameInMap("Authority") private String authority; - @NameInMap("Uri") + @com.aliyun.core.annotation.NameInMap("Uri") private String uri; private Rewrite(Builder builder) { @@ -886,8 +1113,19 @@ public static final class Builder { private String authority; private String uri; + private Builder() { + } + + private Builder(Rewrite model) { + this.authority = model.authority; + this.uri = model.uri; + } + /** - * The value to be used to overwrite the value of the Authority or Host header. + *

The value to be used to overwrite the value of the Authority or Host header.

+ * + * example: + *

newratings.default.svc.cluster.local

*/ public Builder authority(String authority) { this.authority = authority; @@ -895,7 +1133,10 @@ public Builder authority(String authority) { } /** - * The value to be used to overwrite the path or prefix of the URI. + *

The value to be used to overwrite the path or prefix of the URI.

+ * + * example: + *

/v1/getProductRatings

*/ public Builder uri(String uri) { this.uri = uri; @@ -909,29 +1150,35 @@ public Rewrite build() { } } + /** + * + * {@link UpdateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

UpdateIstioGatewayRoutesRequest

+ */ public static class HTTPAdvancedOptions extends TeaModel { - @NameInMap("Delegate") + @com.aliyun.core.annotation.NameInMap("Delegate") private Delegate delegate; - @NameInMap("Fault") + @com.aliyun.core.annotation.NameInMap("Fault") private Fault fault; - @NameInMap("HTTPRedirect") + @com.aliyun.core.annotation.NameInMap("HTTPRedirect") private HTTPRedirect HTTPRedirect; - @NameInMap("Mirror") + @com.aliyun.core.annotation.NameInMap("Mirror") private Mirror mirror; - @NameInMap("MirrorPercentage") + @com.aliyun.core.annotation.NameInMap("MirrorPercentage") private MirrorPercentage mirrorPercentage; - @NameInMap("Retries") + @com.aliyun.core.annotation.NameInMap("Retries") private Retries retries; - @NameInMap("Rewrite") + @com.aliyun.core.annotation.NameInMap("Rewrite") private Rewrite rewrite; - @NameInMap("Timeout") + @com.aliyun.core.annotation.NameInMap("Timeout") private String timeout; private HTTPAdvancedOptions(Builder builder) { @@ -1019,8 +1266,22 @@ public static final class Builder { private Rewrite rewrite; private String timeout; + private Builder() { + } + + private Builder(HTTPAdvancedOptions model) { + this.delegate = model.delegate; + this.fault = model.fault; + this.HTTPRedirect = model.HTTPRedirect; + this.mirror = model.mirror; + this.mirrorPercentage = model.mirrorPercentage; + this.retries = model.retries; + this.rewrite = model.rewrite; + this.timeout = model.timeout; + } + /** - * The virtual service that defines traffic routing. + *

The virtual service that defines traffic routing.

*/ public Builder delegate(Delegate delegate) { this.delegate = delegate; @@ -1028,7 +1289,7 @@ public Builder delegate(Delegate delegate) { } /** - * The configurations of fault injection. + *

The configurations of fault injection.

*/ public Builder fault(Fault fault) { this.fault = fault; @@ -1036,7 +1297,7 @@ public Builder fault(Fault fault) { } /** - * The HTTP redirection rule. + *

The HTTP redirection rule.

*/ public Builder HTTPRedirect(HTTPRedirect HTTPRedirect) { this.HTTPRedirect = HTTPRedirect; @@ -1044,7 +1305,7 @@ public Builder HTTPRedirect(HTTPRedirect HTTPRedirect) { } /** - * The configurations for mirroring HTTP traffic to another destination in addition to forwarding requests to the specified destination. + *

The configurations for mirroring HTTP traffic to another destination in addition to forwarding requests to the specified destination.

*/ public Builder mirror(Mirror mirror) { this.mirror = mirror; @@ -1052,7 +1313,7 @@ public Builder mirror(Mirror mirror) { } /** - * The percentage of requests that are mirrored to another destination except for the original destination. + *

The percentage of requests that are mirrored to another destination except for the original destination.

*/ public Builder mirrorPercentage(MirrorPercentage mirrorPercentage) { this.mirrorPercentage = mirrorPercentage; @@ -1060,7 +1321,7 @@ public Builder mirrorPercentage(MirrorPercentage mirrorPercentage) { } /** - * The configurations of retries for failed requests. + *

The configurations of retries for failed requests.

*/ public Builder retries(Retries retries) { this.retries = retries; @@ -1068,7 +1329,7 @@ public Builder retries(Retries retries) { } /** - * The configurations for rewriting the virtual service. + *

The configurations for rewriting the virtual service.

*/ public Builder rewrite(Rewrite rewrite) { this.rewrite = rewrite; @@ -1076,7 +1337,10 @@ public Builder rewrite(Rewrite rewrite) { } /** - * The timeout period for requests. + *

The timeout period for requests.

+ * + * example: + *

5s

*/ public Builder timeout(String timeout) { this.timeout = timeout; @@ -1090,14 +1354,20 @@ public HTTPAdvancedOptions build() { } } + /** + * + * {@link UpdateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

UpdateIstioGatewayRoutesRequest

+ */ public static class Headers extends TeaModel { - @NameInMap("MatchingContent") + @com.aliyun.core.annotation.NameInMap("MatchingContent") private String matchingContent; - @NameInMap("MatchingMode") + @com.aliyun.core.annotation.NameInMap("MatchingMode") private String matchingMode; - @NameInMap("Name") + @com.aliyun.core.annotation.NameInMap("Name") private String name; private Headers(Builder builder) { @@ -1140,8 +1410,20 @@ public static final class Builder { private String matchingMode; private String name; + private Builder() { + } + + private Builder(Headers model) { + this.matchingContent = model.matchingContent; + this.matchingMode = model.matchingMode; + this.name = model.name; + } + /** - * The header value to be matched. + *

The header value to be matched.

+ * + * example: + *

v1

*/ public Builder matchingContent(String matchingContent) { this.matchingContent = matchingContent; @@ -1149,12 +1431,15 @@ public Builder matchingContent(String matchingContent) { } /** - * The matching mode for the header value. Valid values: - *

+ *

The matching mode for the header value. Valid values:

+ *
    + *
  • exact: exact match
  • + *
  • prefix: match by prefix
  • + *
  • regex: match by regular expression
  • + *
* - * * `exact`: exact match - * * `prefix`: match by prefix - * * `regex`: match by regular expression + * example: + *

exact

*/ public Builder matchingMode(String matchingMode) { this.matchingMode = matchingMode; @@ -1162,7 +1447,10 @@ public Builder matchingMode(String matchingMode) { } /** - * The header key to be matched. + *

The header key to be matched.

+ * + * example: + *

x-request-id

*/ public Builder name(String name) { this.name = name; @@ -1176,11 +1464,17 @@ public Headers build() { } } + /** + * + * {@link UpdateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

UpdateIstioGatewayRoutesRequest

+ */ public static class TLSMatchAttributes extends TeaModel { - @NameInMap("SNIHosts") - private java.util.List < String > SNIHosts; + @com.aliyun.core.annotation.NameInMap("SNIHosts") + private java.util.List SNIHosts; - @NameInMap("TLSPort") + @com.aliyun.core.annotation.NameInMap("TLSPort") private Integer TLSPort; private TLSMatchAttributes(Builder builder) { @@ -1199,7 +1493,7 @@ public static TLSMatchAttributes create() { /** * @return SNIHosts */ - public java.util.List < String > getSNIHosts() { + public java.util.List getSNIHosts() { return this.SNIHosts; } @@ -1211,19 +1505,30 @@ public Integer getTLSPort() { } public static final class Builder { - private java.util.List < String > SNIHosts; + private java.util.List SNIHosts; private Integer TLSPort; + private Builder() { + } + + private Builder(TLSMatchAttributes model) { + this.SNIHosts = model.SNIHosts; + this.TLSPort = model.TLSPort; + } + /** - * The Server Name Indication (SNI) values to be matched. + *

The Server Name Indication (SNI) values to be matched.

*/ - public Builder SNIHosts(java.util.List < String > SNIHosts) { + public Builder SNIHosts(java.util.List SNIHosts) { this.SNIHosts = SNIHosts; return this; } /** - * The TLS port. + *

The TLS port.

+ * + * example: + *

443

*/ public Builder TLSPort(Integer TLSPort) { this.TLSPort = TLSPort; @@ -1237,11 +1542,17 @@ public TLSMatchAttributes build() { } } + /** + * + * {@link UpdateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

UpdateIstioGatewayRoutesRequest

+ */ public static class URI extends TeaModel { - @NameInMap("MatchingContent") + @com.aliyun.core.annotation.NameInMap("MatchingContent") private String matchingContent; - @NameInMap("MatchingMode") + @com.aliyun.core.annotation.NameInMap("MatchingMode") private String matchingMode; private URI(Builder builder) { @@ -1275,8 +1586,19 @@ public static final class Builder { private String matchingContent; private String matchingMode; + private Builder() { + } + + private Builder(URI model) { + this.matchingContent = model.matchingContent; + this.matchingMode = model.matchingMode; + } + /** - * The content to be matched. + *

The content to be matched.

+ * + * example: + *

/ratings/v2/

*/ public Builder matchingContent(String matchingContent) { this.matchingContent = matchingContent; @@ -1284,12 +1606,15 @@ public Builder matchingContent(String matchingContent) { } /** - * The matching mode for the routing rule. Valid values: - *

+ *

The matching mode for the routing rule. Valid values:

+ *
    + *
  • exact: exact match
  • + *
  • prefix: match by prefix
  • + *
  • regex: match by regular expression
  • + *
* - * * `exact`: exact match - * * `prefix`: match by prefix - * * `regex`: match by regular expression + * example: + *

prefix

*/ public Builder matchingMode(String matchingMode) { this.matchingMode = matchingMode; @@ -1303,17 +1628,23 @@ public URI build() { } } + /** + * + * {@link UpdateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

UpdateIstioGatewayRoutesRequest

+ */ public static class MatchRequest extends TeaModel { - @NameInMap("Headers") - private java.util.List < Headers> headers; + @com.aliyun.core.annotation.NameInMap("Headers") + private java.util.List headers; - @NameInMap("Ports") - private java.util.List < Integer > ports; + @com.aliyun.core.annotation.NameInMap("Ports") + private java.util.List ports; - @NameInMap("TLSMatchAttributes") - private java.util.List < TLSMatchAttributes> TLSMatchAttributes; + @com.aliyun.core.annotation.NameInMap("TLSMatchAttributes") + private java.util.List TLSMatchAttributes; - @NameInMap("URI") + @com.aliyun.core.annotation.NameInMap("URI") private URI URI; private MatchRequest(Builder builder) { @@ -1334,21 +1665,21 @@ public static MatchRequest create() { /** * @return headers */ - public java.util.List < Headers> getHeaders() { + public java.util.List getHeaders() { return this.headers; } /** * @return ports */ - public java.util.List < Integer > getPorts() { + public java.util.List getPorts() { return this.ports; } /** * @return TLSMatchAttributes */ - public java.util.List < TLSMatchAttributes> getTLSMatchAttributes() { + public java.util.List getTLSMatchAttributes() { return this.TLSMatchAttributes; } @@ -1360,37 +1691,47 @@ public URI getURI() { } public static final class Builder { - private java.util.List < Headers> headers; - private java.util.List < Integer > ports; - private java.util.List < TLSMatchAttributes> TLSMatchAttributes; + private java.util.List headers; + private java.util.List ports; + private java.util.List TLSMatchAttributes; private URI URI; + private Builder() { + } + + private Builder(MatchRequest model) { + this.headers = model.headers; + this.ports = model.ports; + this.TLSMatchAttributes = model.TLSMatchAttributes; + this.URI = model.URI; + } + /** - * The request headers to be matched. + *

The request headers to be matched.

*/ - public Builder headers(java.util.List < Headers> headers) { + public Builder headers(java.util.List headers) { this.headers = headers; return this; } /** - * The ports. + *

The ports.

*/ - public Builder ports(java.util.List < Integer > ports) { + public Builder ports(java.util.List ports) { this.ports = ports; return this; } /** - * The matching rule for Transport Layer Security (TLS) traffic. + *

The matching rule for Transport Layer Security (TLS) traffic.

*/ - public Builder TLSMatchAttributes(java.util.List < TLSMatchAttributes> TLSMatchAttributes) { + public Builder TLSMatchAttributes(java.util.List TLSMatchAttributes) { this.TLSMatchAttributes = TLSMatchAttributes; return this; } /** - * The matching rule for URIs. + *

The matching rule for URIs.

*/ public Builder URI(URI URI) { this.URI = URI; @@ -1404,8 +1745,14 @@ public MatchRequest build() { } } + /** + * + * {@link UpdateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

UpdateIstioGatewayRoutesRequest

+ */ public static class Port extends TeaModel { - @NameInMap("Number") + @com.aliyun.core.annotation.NameInMap("Number") private Integer number; private Port(Builder builder) { @@ -1430,8 +1777,18 @@ public Integer getNumber() { public static final class Builder { private Integer number; + private Builder() { + } + + private Builder(Port model) { + this.number = model.number; + } + /** - * The port number. + *

The port number.

+ * + * example: + *

80

*/ public Builder number(Integer number) { this.number = number; @@ -1445,14 +1802,20 @@ public Port build() { } } + /** + * + * {@link UpdateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

UpdateIstioGatewayRoutesRequest

+ */ public static class Destination extends TeaModel { - @NameInMap("Host") + @com.aliyun.core.annotation.NameInMap("Host") private String host; - @NameInMap("Port") + @com.aliyun.core.annotation.NameInMap("Port") private Port port; - @NameInMap("Subset") + @com.aliyun.core.annotation.NameInMap("Subset") private String subset; private Destination(Builder builder) { @@ -1495,8 +1858,20 @@ public static final class Builder { private Port port; private String subset; + private Builder() { + } + + private Builder(Destination model) { + this.host = model.host; + this.port = model.port; + this.subset = model.subset; + } + /** - * The name of the service defined in the service registry. + *

The name of the service defined in the service registry.

+ * + * example: + *

reviews

*/ public Builder host(String host) { this.host = host; @@ -1504,10 +1879,10 @@ public Builder host(String host) { } /** - * The port of the destination service. - *

- * - * > If the destination service of the route has only one port, this field can be left empty. If the destination service has multiple ports, you must specify the port number. + *

The port of the destination service.

+ *
+ *

If the destination service of the route has only one port, this field can be left empty. If the destination service has multiple ports, you must specify the port number.

+ *
*/ public Builder port(Port port) { this.port = port; @@ -1515,7 +1890,10 @@ public Builder port(Port port) { } /** - * The name of the service subset. + *

The name of the service subset.

+ * + * example: + *

v1

*/ public Builder subset(String subset) { this.subset = subset; @@ -1529,11 +1907,17 @@ public Destination build() { } } + /** + * + * {@link UpdateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

UpdateIstioGatewayRoutesRequest

+ */ public static class RouteDestinations extends TeaModel { - @NameInMap("Destination") + @com.aliyun.core.annotation.NameInMap("Destination") private Destination destination; - @NameInMap("Weight") + @com.aliyun.core.annotation.NameInMap("Weight") private Integer weight; private RouteDestinations(Builder builder) { @@ -1567,8 +1951,16 @@ public static final class Builder { private Destination destination; private Integer weight; + private Builder() { + } + + private Builder(RouteDestinations model) { + this.destination = model.destination; + this.weight = model.weight; + } + /** - * The unique endpoint of the destination service to which the specified requests are sent. + *

The unique endpoint of the destination service to which the specified requests are sent.

*/ public Builder destination(Destination destination) { this.destination = destination; @@ -1576,7 +1968,10 @@ public Builder destination(Destination destination) { } /** - * The weight of the service subset. + *

The weight of the service subset.

+ * + * example: + *

80

*/ public Builder weight(Integer weight) { this.weight = weight; @@ -1590,29 +1985,35 @@ public RouteDestinations build() { } } + /** + * + * {@link UpdateIstioGatewayRoutesRequest} extends {@link TeaModel} + * + *

UpdateIstioGatewayRoutesRequest

+ */ public static class GatewayRoute extends TeaModel { - @NameInMap("Domains") - private java.util.List < String > domains; + @com.aliyun.core.annotation.NameInMap("Domains") + private java.util.List domains; - @NameInMap("HTTPAdvancedOptions") + @com.aliyun.core.annotation.NameInMap("HTTPAdvancedOptions") private HTTPAdvancedOptions HTTPAdvancedOptions; - @NameInMap("MatchRequest") + @com.aliyun.core.annotation.NameInMap("MatchRequest") private MatchRequest matchRequest; - @NameInMap("Namespace") + @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; - @NameInMap("RawVSRoute") + @com.aliyun.core.annotation.NameInMap("RawVSRoute") private Object rawVSRoute; - @NameInMap("RouteDestinations") - private java.util.List < RouteDestinations> routeDestinations; + @com.aliyun.core.annotation.NameInMap("RouteDestinations") + private java.util.List routeDestinations; - @NameInMap("RouteName") + @com.aliyun.core.annotation.NameInMap("RouteName") private String routeName; - @NameInMap("RouteType") + @com.aliyun.core.annotation.NameInMap("RouteType") private String routeType; private GatewayRoute(Builder builder) { @@ -1637,7 +2038,7 @@ public static GatewayRoute create() { /** * @return domains */ - public java.util.List < String > getDomains() { + public java.util.List getDomains() { return this.domains; } @@ -1672,7 +2073,7 @@ public Object getRawVSRoute() { /** * @return routeDestinations */ - public java.util.List < RouteDestinations> getRouteDestinations() { + public java.util.List getRouteDestinations() { return this.routeDestinations; } @@ -1691,25 +2092,39 @@ public String getRouteType() { } public static final class Builder { - private java.util.List < String > domains; + private java.util.List domains; private HTTPAdvancedOptions HTTPAdvancedOptions; private MatchRequest matchRequest; private String namespace; private Object rawVSRoute; - private java.util.List < RouteDestinations> routeDestinations; + private java.util.List routeDestinations; private String routeName; private String routeType; + private Builder() { + } + + private Builder(GatewayRoute model) { + this.domains = model.domains; + this.HTTPAdvancedOptions = model.HTTPAdvancedOptions; + this.matchRequest = model.matchRequest; + this.namespace = model.namespace; + this.rawVSRoute = model.rawVSRoute; + this.routeDestinations = model.routeDestinations; + this.routeName = model.routeName; + this.routeType = model.routeType; + } + /** - * The list of requested domain names. + *

The list of requested domain names.

*/ - public Builder domains(java.util.List < String > domains) { + public Builder domains(java.util.List domains) { this.domains = domains; return this; } /** - * The advanced settings for routing HTTP traffic. + *

The advanced settings for routing HTTP traffic.

*/ public Builder HTTPAdvancedOptions(HTTPAdvancedOptions HTTPAdvancedOptions) { this.HTTPAdvancedOptions = HTTPAdvancedOptions; @@ -1717,7 +2132,7 @@ public Builder HTTPAdvancedOptions(HTTPAdvancedOptions HTTPAdvancedOptions) { } /** - * The matching rules for traffic routing. + *

The matching rules for traffic routing.

*/ public Builder matchRequest(MatchRequest matchRequest) { this.matchRequest = matchRequest; @@ -1725,7 +2140,10 @@ public Builder matchRequest(MatchRequest matchRequest) { } /** - * The namespace. + *

The namespace.

+ * + * example: + *

default

*/ public Builder namespace(String namespace) { this.namespace = namespace; @@ -1733,7 +2151,10 @@ public Builder namespace(String namespace) { } /** - * The original YAML file of the virtual service that is serialized in a JSON string. + *

The original YAML file of the virtual service that is serialized in a JSON string.

+ * + * example: + *

{}

*/ public Builder rawVSRoute(Object rawVSRoute) { this.rawVSRoute = rawVSRoute; @@ -1741,15 +2162,18 @@ public Builder rawVSRoute(Object rawVSRoute) { } /** - * The endpoints of destination services for Layer 4 weighted routing. + *

The endpoints of destination services for Layer 4 weighted routing.

*/ - public Builder routeDestinations(java.util.List < RouteDestinations> routeDestinations) { + public Builder routeDestinations(java.util.List routeDestinations) { this.routeDestinations = routeDestinations; return this; } /** - * The name of the routing rule. + *

The name of the routing rule.

+ * + * example: + *

reviews-v2-routes

*/ public Builder routeName(String routeName) { this.routeName = routeName; @@ -1757,7 +2181,10 @@ public Builder routeName(String routeName) { } /** - * The type of the traffic to be routed. Valid values: `HTTP`, `TLS`, and `TCP`. + *

The type of the traffic to be routed. Valid values: HTTP, TLS, and TCP.

+ * + * example: + *

HTTP

*/ public Builder routeType(String routeType) { this.routeType = routeType; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioGatewayRoutesResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioGatewayRoutesResponse.java index 3c0095bc595..ae492cafee9 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioGatewayRoutesResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioGatewayRoutesResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateIstioGatewayRoutesResponse} extends {@link TeaModel} * *

UpdateIstioGatewayRoutesResponse

*/ public class UpdateIstioGatewayRoutesResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private UpdateIstioGatewayRoutesResponseBody body; private UpdateIstioGatewayRoutesResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static UpdateIstioGatewayRoutesResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public UpdateIstioGatewayRoutesResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private UpdateIstioGatewayRoutesResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(UpdateIstioGatewayRoutesResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioGatewayRoutesResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioGatewayRoutesResponseBody.java index 08149bc8e48..0433b203d93 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioGatewayRoutesResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioGatewayRoutesResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateIstioGatewayRoutesResponseBody} extends {@link TeaModel} * *

UpdateIstioGatewayRoutesResponseBody

*/ public class UpdateIstioGatewayRoutesResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private UpdateIstioGatewayRoutesResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static UpdateIstioGatewayRoutesResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(UpdateIstioGatewayRoutesResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

31d3a0f0-07ed-4f6e-9004-1804498c****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioInjectionConfigRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioInjectionConfigRequest.java index dbf6b316cee..422839a1bc5 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioInjectionConfigRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioInjectionConfigRequest.java @@ -1,41 +1,46 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateIstioInjectionConfigRequest} extends {@link RequestModel} * *

UpdateIstioInjectionConfigRequest

*/ public class UpdateIstioInjectionConfigRequest extends Request { - @Body - @NameInMap("DataPlaneMode") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("DataPlaneMode") private String dataPlaneMode; - @Body - @NameInMap("EnableIstioInjection") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("EnableIstioInjection") private Boolean enableIstioInjection; - @Body - @NameInMap("EnableSidecarSetInjection") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("EnableSidecarSetInjection") private Boolean enableSidecarSetInjection; - @Body - @NameInMap("IstioRev") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IstioRev") private String istioRev; - @Body - @NameInMap("Namespace") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Namespace") + @com.aliyun.core.annotation.Validation(required = true) private String namespace; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private UpdateIstioInjectionConfigRequest(Builder builder) { @@ -56,7 +61,7 @@ public static UpdateIstioInjectionConfigRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -126,11 +131,14 @@ private Builder(UpdateIstioInjectionConfigRequest request) { } /** - * The data plane mode of the namespace. This parameter is valid only when the Ambient Mesh mode is enabled for the current Service Mesh (ASM) instance. Valid values: - *

+ *

The data plane mode of the namespace. This parameter is valid only when the Ambient Mesh mode is enabled for the current Service Mesh (ASM) instance. Valid values:

+ *
    + *
  • ambient: sets the data plane mode of the namespace to the Ambient Mesh mode.
  • + *
  • sidecar: sets the data plane mode of the namespace to the Sidecar mode.
  • + *
* - * * ambient: sets the data plane mode of the namespace to the Ambient Mesh mode. - * * sidecar: sets the data plane mode of the namespace to the Sidecar mode. + * example: + *

ambient

*/ public Builder dataPlaneMode(String dataPlaneMode) { this.putBodyParameter("DataPlaneMode", dataPlaneMode); @@ -139,7 +147,10 @@ public Builder dataPlaneMode(String dataPlaneMode) { } /** - * Specifies whether to enable Istio automatic sidecar injection. + *

Specifies whether to enable Istio automatic sidecar injection.

+ * + * example: + *

true

*/ public Builder enableIstioInjection(Boolean enableIstioInjection) { this.putBodyParameter("EnableIstioInjection", enableIstioInjection); @@ -148,7 +159,10 @@ public Builder enableIstioInjection(Boolean enableIstioInjection) { } /** - * Specifies whether to enable automatic sidecar injection by using SidecarSet. + *

Specifies whether to enable automatic sidecar injection by using SidecarSet.

+ * + * example: + *

false

*/ public Builder enableSidecarSetInjection(Boolean enableSidecarSetInjection) { this.putBodyParameter("EnableSidecarSetInjection", enableSidecarSetInjection); @@ -157,7 +171,10 @@ public Builder enableSidecarSetInjection(Boolean enableSidecarSetInjection) { } /** - * Specifies the version to be injected into the namespace. This parameter is valid only when the ASM instance performs a canary release. When IstioRev is not empty, you must not specify EnableIstioInjection and EnableSidecarSetInjection. + *

Specifies the version to be injected into the namespace. This parameter is valid only when the ASM instance performs a canary release. When IstioRev is not empty, you must not specify EnableIstioInjection and EnableSidecarSetInjection.

+ * + * example: + *

canary

*/ public Builder istioRev(String istioRev) { this.putBodyParameter("IstioRev", istioRev); @@ -166,7 +183,11 @@ public Builder istioRev(String istioRev) { } /** - * The namespace for which you want to modify the sidecar injection setting. + *

The namespace for which you want to modify the sidecar injection setting.

+ *

This parameter is required.

+ * + * example: + *

default

*/ public Builder namespace(String namespace) { this.putBodyParameter("Namespace", namespace); @@ -175,7 +196,11 @@ public Builder namespace(String namespace) { } /** - * The ID of the ASM instance. + *

The ID of the ASM instance.

+ *

This parameter is required.

+ * + * example: + *

ce2cdbb9d013f447180cf5ca8bb******

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioInjectionConfigResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioInjectionConfigResponse.java index 5e145de1a97..7d843f69ce7 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioInjectionConfigResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioInjectionConfigResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateIstioInjectionConfigResponse} extends {@link TeaModel} * *

UpdateIstioInjectionConfigResponse

*/ public class UpdateIstioInjectionConfigResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private UpdateIstioInjectionConfigResponseBody body; private UpdateIstioInjectionConfigResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static UpdateIstioInjectionConfigResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public UpdateIstioInjectionConfigResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private UpdateIstioInjectionConfigResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(UpdateIstioInjectionConfigResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioInjectionConfigResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioInjectionConfigResponseBody.java index 4c38f5d4c2f..c80b304521f 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioInjectionConfigResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioInjectionConfigResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateIstioInjectionConfigResponseBody} extends {@link TeaModel} * *

UpdateIstioInjectionConfigResponseBody

*/ public class UpdateIstioInjectionConfigResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private UpdateIstioInjectionConfigResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static UpdateIstioInjectionConfigResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(UpdateIstioInjectionConfigResponseBody model) { + this.requestId = model.requestId; + } + /** - * The ID of the request. + *

The ID of the request.

+ * + * example: + *

98B268E6-9381-5A98-8012-6E7E82******

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioRouteAdditionalStatusRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioRouteAdditionalStatusRequest.java index 3d71a94c24a..00e132c0df8 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioRouteAdditionalStatusRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioRouteAdditionalStatusRequest.java @@ -1,40 +1,45 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateIstioRouteAdditionalStatusRequest} extends {@link RequestModel} * *

UpdateIstioRouteAdditionalStatusRequest

*/ public class UpdateIstioRouteAdditionalStatusRequest extends Request { - @Query - @NameInMap("Description") + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("Description") private String description; - @Body - @NameInMap("IstioGatewayName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IstioGatewayName") private String istioGatewayName; - @Query - @NameInMap("Priority") + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("Priority") private Integer priority; - @Query - @NameInMap("RouteName") + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("RouteName") private String routeName; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; - @Query - @NameInMap("Status") + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("Status") private Integer status; private UpdateIstioRouteAdditionalStatusRequest(Builder builder) { @@ -55,7 +60,7 @@ public static UpdateIstioRouteAdditionalStatusRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -125,7 +130,10 @@ private Builder(UpdateIstioRouteAdditionalStatusRequest request) { } /** - * The description of the routing rule. + *

The description of the routing rule.

+ * + * example: + *

demo route

*/ public Builder description(String description) { this.putQueryParameter("Description", description); @@ -134,7 +142,10 @@ public Builder description(String description) { } /** - * The name of the ASM gateway. + *

The name of the ASM gateway.

+ * + * example: + *

ingressgateway

*/ public Builder istioGatewayName(String istioGatewayName) { this.putBodyParameter("IstioGatewayName", istioGatewayName); @@ -143,7 +154,10 @@ public Builder istioGatewayName(String istioGatewayName) { } /** - * The priority of the routing rule. The value of this parameter is an integer. A smaller value indicates a higher priority. + *

The priority of the routing rule. The value of this parameter is an integer. A smaller value indicates a higher priority.

+ * + * example: + *

0

*/ public Builder priority(Integer priority) { this.putQueryParameter("Priority", priority); @@ -152,7 +166,10 @@ public Builder priority(Integer priority) { } /** - * The name of the routing rule. + *

The name of the routing rule.

+ * + * example: + *

http-test

*/ public Builder routeName(String routeName) { this.putQueryParameter("RouteName", routeName); @@ -161,7 +178,11 @@ public Builder routeName(String routeName) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); @@ -170,7 +191,10 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * The status of the routing rule. Valid values: 0: The routing rule is valid. 1: The routing rule is invalid. 2: An error occurs during the creation or update of the routing rule. + *

The status of the routing rule. Valid values: 0: The routing rule is valid. 1: The routing rule is invalid. 2: An error occurs during the creation or update of the routing rule.

+ * + * example: + *

0

*/ public Builder status(Integer status) { this.putQueryParameter("Status", status); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioRouteAdditionalStatusResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioRouteAdditionalStatusResponse.java index ca754238385..61aae230ffd 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioRouteAdditionalStatusResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioRouteAdditionalStatusResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateIstioRouteAdditionalStatusResponse} extends {@link TeaModel} * *

UpdateIstioRouteAdditionalStatusResponse

*/ public class UpdateIstioRouteAdditionalStatusResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private UpdateIstioRouteAdditionalStatusResponseBody body; private UpdateIstioRouteAdditionalStatusResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static UpdateIstioRouteAdditionalStatusResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public UpdateIstioRouteAdditionalStatusResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private UpdateIstioRouteAdditionalStatusResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(UpdateIstioRouteAdditionalStatusResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioRouteAdditionalStatusResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioRouteAdditionalStatusResponseBody.java index f8951cae793..7c7bc54d419 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioRouteAdditionalStatusResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateIstioRouteAdditionalStatusResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateIstioRouteAdditionalStatusResponseBody} extends {@link TeaModel} * *

UpdateIstioRouteAdditionalStatusResponseBody

*/ public class UpdateIstioRouteAdditionalStatusResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private UpdateIstioRouteAdditionalStatusResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static UpdateIstioRouteAdditionalStatusResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(UpdateIstioRouteAdditionalStatusResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshCRAggregationRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshCRAggregationRequest.java index 2a80c5196d6..b5c95188fde 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshCRAggregationRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshCRAggregationRequest.java @@ -1,44 +1,49 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateMeshCRAggregationRequest} extends {@link RequestModel} * *

UpdateMeshCRAggregationRequest

*/ public class UpdateMeshCRAggregationRequest extends Request { - @Body - @NameInMap("CPULimit") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("CPULimit") private String CPULimit; - @Body - @NameInMap("CPURequirement") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("CPURequirement") private String CPURequirement; - @Body - @NameInMap("Enabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Enabled") private Boolean enabled; - @Body - @NameInMap("MemoryLimit") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("MemoryLimit") private String memoryLimit; - @Body - @NameInMap("MemoryRequirement") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("MemoryRequirement") private String memoryRequirement; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; - @Body - @NameInMap("UsePublicApiServer") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("UsePublicApiServer") private Boolean usePublicApiServer; private UpdateMeshCRAggregationRequest(Builder builder) { @@ -60,7 +65,7 @@ public static UpdateMeshCRAggregationRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -139,7 +144,10 @@ private Builder(UpdateMeshCRAggregationRequest request) { } /** - * The maximum number of CPU cores that are available for the components installed in the ACK cluster on the data plane if you enable the Kubernetes API to access Istio resources in the ASM instance. You can specify the parameter value in the standard quantity representation used by Kubernetes. + *

The maximum number of CPU cores that are available for the components installed in the ACK cluster on the data plane if you enable the Kubernetes API to access Istio resources in the ASM instance. You can specify the parameter value in the standard quantity representation used by Kubernetes.

+ * + * example: + *

1

*/ public Builder CPULimit(String CPULimit) { this.putBodyParameter("CPULimit", CPULimit); @@ -148,7 +156,10 @@ public Builder CPULimit(String CPULimit) { } /** - * The number of CPU cores that are requested by the components installed in the Container Service for Kubernetes (ACK) cluster on the data plane if you enable the Kubernetes API to access Istio resources in the ASM instance. You can specify the parameter value in the standard quantity representation used by Kubernetes. + *

The number of CPU cores that are requested by the components installed in the Container Service for Kubernetes (ACK) cluster on the data plane if you enable the Kubernetes API to access Istio resources in the ASM instance. You can specify the parameter value in the standard quantity representation used by Kubernetes.

+ * + * example: + *

1

*/ public Builder CPURequirement(String CPURequirement) { this.putBodyParameter("CPURequirement", CPURequirement); @@ -157,11 +168,14 @@ public Builder CPURequirement(String CPURequirement) { } /** - * Specifies whether to enable the Kubernetes API on the data plane to access Istio resources in the ASM instance. Valid values: - *

+ *

Specifies whether to enable the Kubernetes API on the data plane to access Istio resources in the ASM instance. Valid values:

+ *
    + *
  • true: enables the Kubernetes API to access Istio resources in the ASM instance.
  • + *
  • false: disables the Kubernetes API to access Istio resources in the ASM instance.
  • + *
* - * * `true`: enables the Kubernetes API to access Istio resources in the ASM instance. - * * `false`: disables the Kubernetes API to access Istio resources in the ASM instance. + * example: + *

true

*/ public Builder enabled(Boolean enabled) { this.putBodyParameter("Enabled", enabled); @@ -170,7 +184,10 @@ public Builder enabled(Boolean enabled) { } /** - * The maximum size of the memory that is available for the components installed in the ACK cluster on the data plane if you enable the Kubernetes API to access Istio resources in the ASM instance. You can specify the parameter value in the standard quantity representation used by Kubernetes. 1 Mi equals 1,024 KB. + *

The maximum size of the memory that is available for the components installed in the ACK cluster on the data plane if you enable the Kubernetes API to access Istio resources in the ASM instance. You can specify the parameter value in the standard quantity representation used by Kubernetes. 1 Mi equals 1,024 KB.

+ * + * example: + *

500Mi

*/ public Builder memoryLimit(String memoryLimit) { this.putBodyParameter("MemoryLimit", memoryLimit); @@ -179,7 +196,10 @@ public Builder memoryLimit(String memoryLimit) { } /** - * The size of the memory that is requested by the components installed in the ACK cluster on the data plane if you enable the Kubernetes API to access Istio resources in the ASM instance. You can specify the parameter value in the standard quantity representation used by Kubernetes. 1 Mi equals 1,024 KB. + *

The size of the memory that is requested by the components installed in the ACK cluster on the data plane if you enable the Kubernetes API to access Istio resources in the ASM instance. You can specify the parameter value in the standard quantity representation used by Kubernetes. 1 Mi equals 1,024 KB.

+ * + * example: + *

500Mi

*/ public Builder memoryRequirement(String memoryRequirement) { this.putBodyParameter("MemoryRequirement", memoryRequirement); @@ -188,7 +208,11 @@ public Builder memoryRequirement(String memoryRequirement) { } /** - * The Service Mesh (ASM) instance ID. + *

The Service Mesh (ASM) instance ID.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); @@ -197,13 +221,15 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * Specifies whether the Kubernetes API on the data plane uses the public endpoint of the API server to access Istio resources in the ASM instance. Valid values: - *

- * - * * `true`: The Kubernetes API on the data plane uses the public endpoint of the API server to access Istio resources in the ASM instance. - * * `false`: The Kubernetes API on the data plane uses the private endpoint of the API server to access Istio resources in the ASM instance. + *

Specifies whether the Kubernetes API on the data plane uses the public endpoint of the API server to access Istio resources in the ASM instance. Valid values:

+ *
    + *
  • true: The Kubernetes API on the data plane uses the public endpoint of the API server to access Istio resources in the ASM instance.
  • + *
  • false: The Kubernetes API on the data plane uses the private endpoint of the API server to access Istio resources in the ASM instance.
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder usePublicApiServer(Boolean usePublicApiServer) { this.putBodyParameter("UsePublicApiServer", usePublicApiServer); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshCRAggregationResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshCRAggregationResponse.java index d714d70984d..1f3df3855dc 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshCRAggregationResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshCRAggregationResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateMeshCRAggregationResponse} extends {@link TeaModel} * *

UpdateMeshCRAggregationResponse

*/ public class UpdateMeshCRAggregationResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private UpdateMeshCRAggregationResponseBody body; private UpdateMeshCRAggregationResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static UpdateMeshCRAggregationResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public UpdateMeshCRAggregationResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private UpdateMeshCRAggregationResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(UpdateMeshCRAggregationResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshCRAggregationResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshCRAggregationResponseBody.java index 09bce4677f6..80976861d2e 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshCRAggregationResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshCRAggregationResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateMeshCRAggregationResponseBody} extends {@link TeaModel} * *

UpdateMeshCRAggregationResponseBody

*/ public class UpdateMeshCRAggregationResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private UpdateMeshCRAggregationResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static UpdateMeshCRAggregationResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(UpdateMeshCRAggregationResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshFeatureRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshFeatureRequest.java index 63354162d27..f2667a1447d 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshFeatureRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshFeatureRequest.java @@ -1,412 +1,450 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateMeshFeatureRequest} extends {@link RequestModel} * *

UpdateMeshFeatureRequest

*/ public class UpdateMeshFeatureRequest extends Request { - @Body - @NameInMap("AccessLogEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("AccessLogEnabled") private Boolean accessLogEnabled; - @Body - @NameInMap("AccessLogFile") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("AccessLogFile") private String accessLogFile; - @Body - @NameInMap("AccessLogFormat") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("AccessLogFormat") private String accessLogFormat; - @Query - @NameInMap("AccessLogGatewayEnabled") + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("AccessLogGatewayEnabled") private Boolean accessLogGatewayEnabled; - @Body - @NameInMap("AccessLogGatewayLifecycle") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("AccessLogGatewayLifecycle") private Integer accessLogGatewayLifecycle; - @Body - @NameInMap("AccessLogProject") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("AccessLogProject") private String accessLogProject; - @Body - @NameInMap("AccessLogServiceEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("AccessLogServiceEnabled") private Boolean accessLogServiceEnabled; - @Body - @NameInMap("AccessLogServiceHost") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("AccessLogServiceHost") private String accessLogServiceHost; - @Body - @NameInMap("AccessLogServicePort") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("AccessLogServicePort") private Integer accessLogServicePort; - @Query - @NameInMap("AccessLogSidecarEnabled") + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("AccessLogSidecarEnabled") private Boolean accessLogSidecarEnabled; - @Body - @NameInMap("AccessLogSidecarLifecycle") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("AccessLogSidecarLifecycle") private Integer accessLogSidecarLifecycle; - @Body - @NameInMap("AuditProject") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("AuditProject") private String auditProject; - @Body - @NameInMap("AutoInjectionPolicyEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("AutoInjectionPolicyEnabled") private Boolean autoInjectionPolicyEnabled; - @Body - @NameInMap("CRAggregationEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("CRAggregationEnabled") private Boolean CRAggregationEnabled; - @Body - @NameInMap("ClusterSpec") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("CertChain") + private String certChain; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ClusterSpec") private String clusterSpec; - @Body - @NameInMap("CniEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("CniEnabled") private Boolean cniEnabled; - @Body - @NameInMap("CniExcludeNamespaces") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("CniExcludeNamespaces") private String cniExcludeNamespaces; - @Body - @NameInMap("Concurrency") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Concurrency") private Integer concurrency; - @Body - @NameInMap("ConfigSourceEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ConfigSourceEnabled") private Boolean configSourceEnabled; - @Body - @NameInMap("ConfigSourceNacosID") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ConfigSourceNacosID") private String configSourceNacosID; - @Body - @NameInMap("CustomizedPrometheus") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("CustomizedPrometheus") private Boolean customizedPrometheus; - @Body - @NameInMap("CustomizedZipkin") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("CustomizedZipkin") private Boolean customizedZipkin; - @Body - @NameInMap("DNSProxyingEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("DNSProxyingEnabled") private Boolean DNSProxyingEnabled; - @Body - @NameInMap("DefaultComponentsScheduleConfig") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("DefaultComponentsScheduleConfig") private String defaultComponentsScheduleConfig; - @Body - @NameInMap("DiscoverySelectors") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("DiscoverySelectors") private String discoverySelectors; - @Body - @NameInMap("DubboFilterEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("DubboFilterEnabled") private Boolean dubboFilterEnabled; - @Body - @NameInMap("EnableAudit") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("EnableAudit") private Boolean enableAudit; - @Body - @NameInMap("EnableAutoDiagnosis") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("EnableAutoDiagnosis") private Boolean enableAutoDiagnosis; - @Body - @NameInMap("EnableBootstrapXdsAgent") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("EnableBootstrapXdsAgent") private Boolean enableBootstrapXdsAgent; - @Body - @NameInMap("EnableCRHistory") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("EnableCRHistory") private Boolean enableCRHistory; - @Body - @NameInMap("EnableNamespacesByDefault") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("EnableNamespacesByDefault") private Boolean enableNamespacesByDefault; - @Body - @NameInMap("EnableSDSServer") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("EnableSDSServer") private Boolean enableSDSServer; - @Body - @NameInMap("ExcludeIPRanges") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ExcludeIPRanges") private String excludeIPRanges; - @Body - @NameInMap("ExcludeInboundPorts") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ExcludeInboundPorts") private String excludeInboundPorts; - @Body - @NameInMap("ExcludeOutboundPorts") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ExcludeOutboundPorts") private String excludeOutboundPorts; - @Body - @NameInMap("FilterGatewayClusterConfig") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ExistingCaCert") + private String existingCaCert; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ExistingCaKey") + private String existingCaKey; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ExistingRootCaCert") + private String existingRootCaCert; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("FilterGatewayClusterConfig") private Boolean filterGatewayClusterConfig; - @Body - @NameInMap("GatewayAPIEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("GatewayAPIEnabled") private Boolean gatewayAPIEnabled; - @Body - @NameInMap("HoldApplicationUntilProxyStarts") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("HoldApplicationUntilProxyStarts") private Boolean holdApplicationUntilProxyStarts; - @Body - @NameInMap("Http10Enabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Http10Enabled") private Boolean http10Enabled; - @Body - @NameInMap("IncludeIPRanges") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IncludeIPRanges") private String includeIPRanges; - @Body - @NameInMap("IncludeInboundPorts") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IncludeInboundPorts") private String includeInboundPorts; - @Body - @NameInMap("IncludeOutboundPorts") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IncludeOutboundPorts") private String includeOutboundPorts; - @Body - @NameInMap("IntegrateKiali") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IntegrateKiali") private Boolean integrateKiali; - @Body - @NameInMap("InterceptionMode") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("InterceptionMode") private String interceptionMode; - @Body - @NameInMap("KialiArmsAuthTokens") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("KialiArmsAuthTokens") private String kialiArmsAuthTokens; - @Body - @NameInMap("KialiEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("KialiEnabled") private Boolean kialiEnabled; - @Body - @NameInMap("KialiServiceAnnotations") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("KialiServiceAnnotations") private String kialiServiceAnnotations; - @Body - @NameInMap("Lifecycle") + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("LabelsForOffloadedWorkloads") + private String labelsForOffloadedWorkloads; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Lifecycle") private String lifecycle; - @Body - @NameInMap("LocalityLBConf") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("LocalityLBConf") private String localityLBConf; - @Body - @NameInMap("LocalityLoadBalancing") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("LocalityLoadBalancing") private Boolean localityLoadBalancing; - @Body - @NameInMap("LogLevel") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("LogLevel") private String logLevel; - @Body - @NameInMap("MSEEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("MSEEnabled") + @Deprecated private Boolean MSEEnabled; - @Body - @NameInMap("MultiBufferEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("MultiBufferEnabled") private Boolean multiBufferEnabled; - @Body - @NameInMap("MultiBufferPollDelay") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("MultiBufferPollDelay") private String multiBufferPollDelay; - @Body - @NameInMap("MysqlFilterEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("MysqlFilterEnabled") private Boolean mysqlFilterEnabled; - @Body - @NameInMap("NFDEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("NFDEnabled") private Boolean NFDEnabled; - @Body - @NameInMap("NFDLabelPruned") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("NFDLabelPruned") private Boolean NFDLabelPruned; - @Body - @NameInMap("OPAInjectorCPULimit") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("OPAInjectorCPULimit") private String OPAInjectorCPULimit; - @Body - @NameInMap("OPAInjectorCPURequirement") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("OPAInjectorCPURequirement") private String OPAInjectorCPURequirement; - @Body - @NameInMap("OPAInjectorMemoryLimit") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("OPAInjectorMemoryLimit") private String OPAInjectorMemoryLimit; - @Body - @NameInMap("OPAInjectorMemoryRequirement") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("OPAInjectorMemoryRequirement") private String OPAInjectorMemoryRequirement; - @Body - @NameInMap("OPALimitCPU") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("OPALimitCPU") private String OPALimitCPU; - @Body - @NameInMap("OPALimitMemory") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("OPALimitMemory") private String OPALimitMemory; - @Body - @NameInMap("OPALogLevel") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("OPALogLevel") private String OPALogLevel; - @Body - @NameInMap("OPARequestCPU") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("OPARequestCPU") private String OPARequestCPU; - @Body - @NameInMap("OPARequestMemory") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("OPARequestMemory") private String OPARequestMemory; - @Body - @NameInMap("OPAScopeInjected") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("OPAScopeInjected") private Boolean OPAScopeInjected; - @Body - @NameInMap("OpaEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("OpaEnabled") private Boolean opaEnabled; - @Body - @NameInMap("OpenAgentPolicy") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("OpenAgentPolicy") private Boolean openAgentPolicy; - @Body - @NameInMap("OutboundTrafficPolicy") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("OutboundTrafficPolicy") private String outboundTrafficPolicy; - @Body - @NameInMap("PrometheusUrl") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("PilotEnableQuicListeners") + private Boolean pilotEnableQuicListeners; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("PrometheusUrl") private String prometheusUrl; - @Body - @NameInMap("ProxyInitCPUResourceLimit") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ProxyInitCPUResourceLimit") private String proxyInitCPUResourceLimit; - @Body - @NameInMap("ProxyInitCPUResourceRequest") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ProxyInitCPUResourceRequest") private String proxyInitCPUResourceRequest; - @Body - @NameInMap("ProxyInitMemoryResourceLimit") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ProxyInitMemoryResourceLimit") private String proxyInitMemoryResourceLimit; - @Body - @NameInMap("ProxyInitMemoryResourceRequest") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ProxyInitMemoryResourceRequest") private String proxyInitMemoryResourceRequest; - @Body - @NameInMap("ProxyLimitCPU") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ProxyLimitCPU") private String proxyLimitCPU; - @Body - @NameInMap("ProxyLimitMemory") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ProxyLimitMemory") private String proxyLimitMemory; - @Body - @NameInMap("ProxyRequestCPU") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ProxyRequestCPU") private String proxyRequestCPU; - @Body - @NameInMap("ProxyRequestMemory") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ProxyRequestMemory") private String proxyRequestMemory; - @Body - @NameInMap("ProxyStatsMatcher") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ProxyStatsMatcher") private String proxyStatsMatcher; - @Body - @NameInMap("RedisFilterEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("RedisFilterEnabled") private Boolean redisFilterEnabled; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SMCEnabled") + private Boolean SMCEnabled; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; - @Body - @NameInMap("SidecarInjectorLimitCPU") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SidecarInjectorLimitCPU") private String sidecarInjectorLimitCPU; - @Body - @NameInMap("SidecarInjectorLimitMemory") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SidecarInjectorLimitMemory") private String sidecarInjectorLimitMemory; - @Body - @NameInMap("SidecarInjectorRequestCPU") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SidecarInjectorRequestCPU") private String sidecarInjectorRequestCPU; - @Body - @NameInMap("SidecarInjectorRequestMemory") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SidecarInjectorRequestMemory") private String sidecarInjectorRequestMemory; - @Body - @NameInMap("SidecarInjectorWebhookAsYaml") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SidecarInjectorWebhookAsYaml") private String sidecarInjectorWebhookAsYaml; - @Body - @NameInMap("Telemetry") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Telemetry") private Boolean telemetry; - @Body - @NameInMap("TerminationDrainDuration") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("TerminationDrainDuration") private String terminationDrainDuration; - @Body - @NameInMap("ThriftFilterEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ThriftFilterEnabled") private Boolean thriftFilterEnabled; - @Body - @NameInMap("TraceCustomTags") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("TraceCustomTags") private String traceCustomTags; - @Body - @NameInMap("TraceMaxPathTagLength") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("TraceMaxPathTagLength") private String traceMaxPathTagLength; - @Body - @NameInMap("TraceSampling") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("TraceSampling") private Float traceSampling; - @Body - @NameInMap("Tracing") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Tracing") private Boolean tracing; - @Body - @NameInMap("TracingOnExtZipkinLimitCPU") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("TracingOnExtZipkinLimitCPU") private String tracingOnExtZipkinLimitCPU; - @Body - @NameInMap("TracingOnExtZipkinLimitMemory") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("TracingOnExtZipkinLimitMemory") private String tracingOnExtZipkinLimitMemory; - @Body - @NameInMap("TracingOnExtZipkinRequestCPU") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("TracingOnExtZipkinReplicaCount") + private String tracingOnExtZipkinReplicaCount; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("TracingOnExtZipkinRequestCPU") private String tracingOnExtZipkinRequestCPU; - @Body - @NameInMap("TracingOnExtZipkinRequestMemory") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("TracingOnExtZipkinRequestMemory") private String tracingOnExtZipkinRequestMemory; - @Body - @NameInMap("WebAssemblyFilterEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("WebAssemblyFilterEnabled") private Boolean webAssemblyFilterEnabled; private UpdateMeshFeatureRequest(Builder builder) { @@ -425,6 +463,7 @@ private UpdateMeshFeatureRequest(Builder builder) { this.auditProject = builder.auditProject; this.autoInjectionPolicyEnabled = builder.autoInjectionPolicyEnabled; this.CRAggregationEnabled = builder.CRAggregationEnabled; + this.certChain = builder.certChain; this.clusterSpec = builder.clusterSpec; this.cniEnabled = builder.cniEnabled; this.cniExcludeNamespaces = builder.cniExcludeNamespaces; @@ -446,6 +485,9 @@ private UpdateMeshFeatureRequest(Builder builder) { this.excludeIPRanges = builder.excludeIPRanges; this.excludeInboundPorts = builder.excludeInboundPorts; this.excludeOutboundPorts = builder.excludeOutboundPorts; + this.existingCaCert = builder.existingCaCert; + this.existingCaKey = builder.existingCaKey; + this.existingRootCaCert = builder.existingRootCaCert; this.filterGatewayClusterConfig = builder.filterGatewayClusterConfig; this.gatewayAPIEnabled = builder.gatewayAPIEnabled; this.holdApplicationUntilProxyStarts = builder.holdApplicationUntilProxyStarts; @@ -458,6 +500,7 @@ private UpdateMeshFeatureRequest(Builder builder) { this.kialiArmsAuthTokens = builder.kialiArmsAuthTokens; this.kialiEnabled = builder.kialiEnabled; this.kialiServiceAnnotations = builder.kialiServiceAnnotations; + this.labelsForOffloadedWorkloads = builder.labelsForOffloadedWorkloads; this.lifecycle = builder.lifecycle; this.localityLBConf = builder.localityLBConf; this.localityLoadBalancing = builder.localityLoadBalancing; @@ -481,6 +524,7 @@ private UpdateMeshFeatureRequest(Builder builder) { this.opaEnabled = builder.opaEnabled; this.openAgentPolicy = builder.openAgentPolicy; this.outboundTrafficPolicy = builder.outboundTrafficPolicy; + this.pilotEnableQuicListeners = builder.pilotEnableQuicListeners; this.prometheusUrl = builder.prometheusUrl; this.proxyInitCPUResourceLimit = builder.proxyInitCPUResourceLimit; this.proxyInitCPUResourceRequest = builder.proxyInitCPUResourceRequest; @@ -492,6 +536,7 @@ private UpdateMeshFeatureRequest(Builder builder) { this.proxyRequestMemory = builder.proxyRequestMemory; this.proxyStatsMatcher = builder.proxyStatsMatcher; this.redisFilterEnabled = builder.redisFilterEnabled; + this.SMCEnabled = builder.SMCEnabled; this.serviceMeshId = builder.serviceMeshId; this.sidecarInjectorLimitCPU = builder.sidecarInjectorLimitCPU; this.sidecarInjectorLimitMemory = builder.sidecarInjectorLimitMemory; @@ -507,6 +552,7 @@ private UpdateMeshFeatureRequest(Builder builder) { this.tracing = builder.tracing; this.tracingOnExtZipkinLimitCPU = builder.tracingOnExtZipkinLimitCPU; this.tracingOnExtZipkinLimitMemory = builder.tracingOnExtZipkinLimitMemory; + this.tracingOnExtZipkinReplicaCount = builder.tracingOnExtZipkinReplicaCount; this.tracingOnExtZipkinRequestCPU = builder.tracingOnExtZipkinRequestCPU; this.tracingOnExtZipkinRequestMemory = builder.tracingOnExtZipkinRequestMemory; this.webAssemblyFilterEnabled = builder.webAssemblyFilterEnabled; @@ -520,7 +566,7 @@ public static UpdateMeshFeatureRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -623,6 +669,13 @@ public Boolean getCRAggregationEnabled() { return this.CRAggregationEnabled; } + /** + * @return certChain + */ + public String getCertChain() { + return this.certChain; + } + /** * @return clusterSpec */ @@ -770,6 +823,27 @@ public String getExcludeOutboundPorts() { return this.excludeOutboundPorts; } + /** + * @return existingCaCert + */ + public String getExistingCaCert() { + return this.existingCaCert; + } + + /** + * @return existingCaKey + */ + public String getExistingCaKey() { + return this.existingCaKey; + } + + /** + * @return existingRootCaCert + */ + public String getExistingRootCaCert() { + return this.existingRootCaCert; + } + /** * @return filterGatewayClusterConfig */ @@ -854,6 +928,13 @@ public String getKialiServiceAnnotations() { return this.kialiServiceAnnotations; } + /** + * @return labelsForOffloadedWorkloads + */ + public String getLabelsForOffloadedWorkloads() { + return this.labelsForOffloadedWorkloads; + } + /** * @return lifecycle */ @@ -1015,6 +1096,13 @@ public String getOutboundTrafficPolicy() { return this.outboundTrafficPolicy; } + /** + * @return pilotEnableQuicListeners + */ + public Boolean getPilotEnableQuicListeners() { + return this.pilotEnableQuicListeners; + } + /** * @return prometheusUrl */ @@ -1092,6 +1180,13 @@ public Boolean getRedisFilterEnabled() { return this.redisFilterEnabled; } + /** + * @return SMCEnabled + */ + public Boolean getSMCEnabled() { + return this.SMCEnabled; + } + /** * @return serviceMeshId */ @@ -1197,6 +1292,13 @@ public String getTracingOnExtZipkinLimitMemory() { return this.tracingOnExtZipkinLimitMemory; } + /** + * @return tracingOnExtZipkinReplicaCount + */ + public String getTracingOnExtZipkinReplicaCount() { + return this.tracingOnExtZipkinReplicaCount; + } + /** * @return tracingOnExtZipkinRequestCPU */ @@ -1233,6 +1335,7 @@ public static final class Builder extends Request.Builder - * - * * `true`: enables access log collection. - * * `false`: disables access log collection. + *

Specifies whether to enable access log collection. Valid values:

+ *
    + *
  • true: enables access log collection.
  • + *
  • false: disables access log collection.
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder accessLogEnabled(Boolean accessLogEnabled) { this.putBodyParameter("AccessLogEnabled", accessLogEnabled); @@ -1442,11 +1562,14 @@ public Builder accessLogEnabled(Boolean accessLogEnabled) { } /** - * Specifies whether to enable access logging. Valid values: - *

+ *

Specifies whether to enable access logging. Valid values:

+ *
    + *
  • "": disables access logging.
  • + *
  • /dev/stdout: enables access logging. Access logs are written to /dev/stdout.
  • + *
* - * * `""`: disables access logging. - * * `/dev/stdout`: enables access logging. Access logs are written to /dev/stdout. + * example: + *

“”

*/ public Builder accessLogFile(String accessLogFile) { this.putBodyParameter("AccessLogFile", accessLogFile); @@ -1455,7 +1578,10 @@ public Builder accessLogFile(String accessLogFile) { } /** - * The custom format of access logs. To set this parameter, make sure that you have enabled access log collection. The value must be a JSON string. The following key names must be contained: authority_for, bytes_received, bytes_sent, downstream_local_address, downstream_remote_address, duration, istio_policy_status, method, path, protocol, requested_server_name, response_code, response_flags, route_name, start_time, trace_id, upstream_cluster, upstream_host, upstream_local_address, upstream_service_time, upstream_transport_failure_reason, user_agent, and x_forwarded_for. + *

The custom format of access logs. To set this parameter, make sure that you have enabled access log collection. The value must be a JSON string. The following key names must be contained: authority_for, bytes_received, bytes_sent, downstream_local_address, downstream_remote_address, duration, istio_policy_status, method, path, protocol, requested_server_name, response_code, response_flags, route_name, start_time, trace_id, upstream_cluster, upstream_host, upstream_local_address, upstream_service_time, upstream_transport_failure_reason, user_agent, and x_forwarded_for.

+ * + * example: + *

{"authority_for":"%REQ(:AUTHORITY)%","bytes_received":"%BYTES_RECEIVED%","bytes_sent":"%BYTES_SENT%","downstream_local_address":"%DOWNSTREAM_LOCAL_ADDRESS%","downstream_remote_address":"%DOWNSTREAM_REMOTE_ADDRESS%","duration":"%DURATION%","istio_policy_status":"%DYNAMIC_METADATA(istio.mixer:status)%","method":"%REQ(:METHOD)%","path":"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%","protocol":"%PROTOCOL%","request_id":"%REQ(X-REQUEST-ID)%","requested_server_name":"%REQUESTED_SERVER_NAME%","response_code":"%RESPONSE_CODE%","response_flags":"%RESPONSE_FLAGS%","route_name":"%ROUTE_NAME%","start_time":"%START_TIME%","trace_id":"%REQ(X-B3-TRACEID)%","upstream_cluster":"%UPSTREAM_CLUSTER%","upstream_host":"%UPSTREAM_HOST%","upstream_local_address":"%UPSTREAM_LOCAL_ADDRESS%","upstream_service_time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","upstream_transport_failure_reason":"%UPSTREAM_TRANSPORT_FAILURE_REASON%","user_agent":"%REQ(USER-AGENT)%","x_forwarded_for":"%REQ(X-FORWARDED-FOR)%"}

*/ public Builder accessLogFormat(String accessLogFormat) { this.putBodyParameter("AccessLogFormat", accessLogFormat); @@ -1464,7 +1590,10 @@ public Builder accessLogFormat(String accessLogFormat) { } /** - * AccessLogGatewayEnabled. + *

Specifies whether to enable the collection of access logs of ASM gateways to Simple Log Service.

+ * + * example: + *

false

*/ public Builder accessLogGatewayEnabled(Boolean accessLogGatewayEnabled) { this.putQueryParameter("AccessLogGatewayEnabled", accessLogGatewayEnabled); @@ -1473,7 +1602,10 @@ public Builder accessLogGatewayEnabled(Boolean accessLogGatewayEnabled) { } /** - * The retention period for the access logs of the sidecar proxy. Unit: day. The logs are collected by using Log Service. For example, `30` indicates 30 days. + *

The retention period for the access logs of the sidecar proxy. Unit: day. The logs are collected by using Log Service. For example, 30 indicates 30 days.

+ * + * example: + *

30

*/ public Builder accessLogGatewayLifecycle(Integer accessLogGatewayLifecycle) { this.putBodyParameter("AccessLogGatewayLifecycle", accessLogGatewayLifecycle); @@ -1482,7 +1614,10 @@ public Builder accessLogGatewayLifecycle(Integer accessLogGatewayLifecycle) { } /** - * The custom project on which the Log Service collects logs. + *

The custom project on which the Log Service collects logs.

+ * + * example: + *

mesh-log-cf245a429b6ff4b6e97f20797758e****

*/ public Builder accessLogProject(String accessLogProject) { this.putBodyParameter("AccessLogProject", accessLogProject); @@ -1491,13 +1626,15 @@ public Builder accessLogProject(String accessLogProject) { } /** - * Specifies whether to enable gRPC Access Log Service (ALS) for Envoy. Valid values: - *

+ *

Specifies whether to enable gRPC Access Log Service (ALS) for Envoy. Valid values:

+ *
    + *
  • true: enables gRPC ALS for Envoy.
  • + *
  • false: disables gRPC ALS for Envoy.
  • + *
+ *

Default value: false.

* - * * `true`: enables gRPC ALS for Envoy. - * * `false`: disables gRPC ALS for Envoy. - * - * Default value: `false`. + * example: + *

false

*/ public Builder accessLogServiceEnabled(Boolean accessLogServiceEnabled) { this.putBodyParameter("AccessLogServiceEnabled", accessLogServiceEnabled); @@ -1506,7 +1643,10 @@ public Builder accessLogServiceEnabled(Boolean accessLogServiceEnabled) { } /** - * The endpoint of gRPC ALS for Envoy. + *

The endpoint of gRPC ALS for Envoy.

+ * + * example: + *

0.0.0.0

*/ public Builder accessLogServiceHost(String accessLogServiceHost) { this.putBodyParameter("AccessLogServiceHost", accessLogServiceHost); @@ -1515,7 +1655,10 @@ public Builder accessLogServiceHost(String accessLogServiceHost) { } /** - * The port of gRPC ALS for Envoy. + *

The port of gRPC ALS for Envoy.

+ * + * example: + *

9999

*/ public Builder accessLogServicePort(Integer accessLogServicePort) { this.putBodyParameter("AccessLogServicePort", accessLogServicePort); @@ -1524,7 +1667,10 @@ public Builder accessLogServicePort(Integer accessLogServicePort) { } /** - * AccessLogSidecarEnabled. + *

Specifies whether to enable the collection of access logs of sidecar proxies to Simple Log Service.

+ * + * example: + *

false

*/ public Builder accessLogSidecarEnabled(Boolean accessLogSidecarEnabled) { this.putQueryParameter("AccessLogSidecarEnabled", accessLogSidecarEnabled); @@ -1533,7 +1679,10 @@ public Builder accessLogSidecarEnabled(Boolean accessLogSidecarEnabled) { } /** - * Specifies whether to enable automatic diagnostics for the ASM instance. If you enable this feature, the ASM instance is automatically diagnosed when you modify Istio resources in the ASM instance. + *

Specifies whether to enable automatic diagnostics for the ASM instance. If you enable this feature, the ASM instance is automatically diagnosed when you modify Istio resources in the ASM instance.

+ * + * example: + *

30

*/ public Builder accessLogSidecarLifecycle(Integer accessLogSidecarLifecycle) { this.putBodyParameter("AccessLogSidecarLifecycle", accessLogSidecarLifecycle); @@ -1542,10 +1691,11 @@ public Builder accessLogSidecarLifecycle(Integer accessLogSidecarLifecycle) { } /** - * The name of the Log Service project that is used for mesh audit. - *

+ *

The name of the Log Service project that is used for mesh audit.

+ *

Default value: mesh-log-{ASM instance ID}.

* - * Default value: `mesh-log-{ASM instance ID}`. + * example: + *

mesh-log-c08ba3fd1e64xxb0f8cc1ad8****

*/ public Builder auditProject(String auditProject) { this.putBodyParameter("AuditProject", auditProject); @@ -1554,13 +1704,15 @@ public Builder auditProject(String auditProject) { } /** - * Specifies whether to enable automatic sidecar proxy injection by using pod annotations. Valid values: - *

- * - * * `true`: enables automatic sidecar proxy injection by using pod annotations. - * * `false`: disables automatic sidecar proxy injection by using pod annotations. + *

Specifies whether to enable automatic sidecar proxy injection by using pod annotations. Valid values:

+ *
    + *
  • true: enables automatic sidecar proxy injection by using pod annotations.
  • + *
  • false: disables automatic sidecar proxy injection by using pod annotations.
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder autoInjectionPolicyEnabled(Boolean autoInjectionPolicyEnabled) { this.putBodyParameter("AutoInjectionPolicyEnabled", autoInjectionPolicyEnabled); @@ -1569,7 +1721,10 @@ public Builder autoInjectionPolicyEnabled(Boolean autoInjectionPolicyEnabled) { } /** - * Specifies whether to use the Kubernetes API of clusters on the data plane to access Istio resources. To use this feature, the version of the ASM instance must be V1.9.7.93 or later. + *

Specifies whether to use the Kubernetes API of clusters on the data plane to access Istio resources. To use this feature, the version of the ASM instance must be V1.9.7.93 or later.

+ * + * example: + *

false

*/ public Builder CRAggregationEnabled(Boolean CRAggregationEnabled) { this.putBodyParameter("CRAggregationEnabled", CRAggregationEnabled); @@ -1578,11 +1733,26 @@ public Builder CRAggregationEnabled(Boolean CRAggregationEnabled) { } /** - * Specifies whether to enable the feature of controlling the OPA injection scope. Valid values: - *

+ *

The certificate chain from the CA certificate to the root certificate. At least two certificates are included in the chain.

+ * + * example: + *

Base64 encoded PEM cert chain.

+ */ + public Builder certChain(String certChain) { + this.putBodyParameter("CertChain", certChain); + this.certChain = certChain; + return this; + } + + /** + *

Specifies whether to enable the feature of controlling the OPA injection scope. Valid values:

+ *
    + *
  • true: enables the feature.
  • + *
  • false: disables the feature.
  • + *
* - * * `true`: enables the feature. - * * `false`: disables the feature. + * example: + *

standard

*/ public Builder clusterSpec(String clusterSpec) { this.putBodyParameter("ClusterSpec", clusterSpec); @@ -1591,13 +1761,15 @@ public Builder clusterSpec(String clusterSpec) { } /** - * Specifies whether to enable the Container Network Interface (CNI) plug-in. Valid values: - *

- * - * * `true`: enables the CNI plug-in. - * * `false`: disables the CNI plug-in. + *

Specifies whether to enable the Container Network Interface (CNI) plug-in. Valid values:

+ *
    + *
  • true: enables the CNI plug-in.
  • + *
  • false: disables the CNI plug-in.
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder cniEnabled(Boolean cniEnabled) { this.putBodyParameter("CniEnabled", cniEnabled); @@ -1606,7 +1778,10 @@ public Builder cniEnabled(Boolean cniEnabled) { } /** - * The namespaces to be excluded for the CNI plug-in. + *

The namespaces to be excluded for the CNI plug-in.

+ * + * example: + *

kube-system

*/ public Builder cniExcludeNamespaces(String cniExcludeNamespaces) { this.putBodyParameter("CniExcludeNamespaces", cniExcludeNamespaces); @@ -1615,7 +1790,10 @@ public Builder cniExcludeNamespaces(String cniExcludeNamespaces) { } /** - * Specifies whether to delay application container startup until the sidecar proxy container is started in a pod. + *

Specifies whether to delay application container startup until the sidecar proxy container is started in a pod.

+ * + * example: + *

2

*/ public Builder concurrency(Integer concurrency) { this.putBodyParameter("Concurrency", concurrency); @@ -1624,13 +1802,15 @@ public Builder concurrency(Integer concurrency) { } /** - * Specifies whether to enable the external service registry. Valid values: - *

- * - * * `true`: enables the external service registry. - * * `false`: disables the external service registry. + *

Specifies whether to enable the external service registry. Valid values:

+ *
    + *
  • true: enables the external service registry.
  • + *
  • false: disables the external service registry.
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder configSourceEnabled(Boolean configSourceEnabled) { this.putBodyParameter("ConfigSourceEnabled", configSourceEnabled); @@ -1639,7 +1819,10 @@ public Builder configSourceEnabled(Boolean configSourceEnabled) { } /** - * The instance ID of the Nacos registry. + *

The instance ID of the Nacos registry.

+ * + * example: + *

mse-cn-tl326******

*/ public Builder configSourceNacosID(String configSourceNacosID) { this.putBodyParameter("ConfigSourceNacosID", configSourceNacosID); @@ -1648,13 +1831,15 @@ public Builder configSourceNacosID(String configSourceNacosID) { } /** - * Specifies whether to use a custom Prometheus instance. Valid values: - *

+ *

Specifies whether to use a custom Prometheus instance. Valid values:

+ *
    + *
  • true: uses a custom Prometheus instance.
  • + *
  • false: does not use a custom Prometheus instance.
  • + *
+ *

Default value: false.

* - * * `true`: uses a custom Prometheus instance. - * * `false`: does not use a custom Prometheus instance. - * - * Default value: `false`. + * example: + *

false

*/ public Builder customizedPrometheus(Boolean customizedPrometheus) { this.putBodyParameter("CustomizedPrometheus", customizedPrometheus); @@ -1663,13 +1848,15 @@ public Builder customizedPrometheus(Boolean customizedPrometheus) { } /** - * Specifies whether to use a self-managed Zipkin system to collect tracing data. Valid values: - *

- * - * * `true`: uses a self-managed Zipkin system. - * * `false`: does not use a self-managed Zipkin system. + *

Specifies whether to use a self-managed Zipkin system to collect tracing data. Valid values:

+ *
    + *
  • true: uses a self-managed Zipkin system.
  • + *
  • false: does not use a self-managed Zipkin system.
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder customizedZipkin(Boolean customizedZipkin) { this.putBodyParameter("CustomizedZipkin", customizedZipkin); @@ -1678,13 +1865,15 @@ public Builder customizedZipkin(Boolean customizedZipkin) { } /** - * Specifies whether to enable DNS proxy. Valid values: - *

- * - * * `true`: enables the DNS proxy feature. - * * `false`: disables the DNS proxy feature. + *

Specifies whether to enable DNS proxy. Valid values:

+ *
    + *
  • true: enables the DNS proxy feature.
  • + *
  • false: disables the DNS proxy feature.
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder DNSProxyingEnabled(Boolean DNSProxyingEnabled) { this.putBodyParameter("DNSProxyingEnabled", DNSProxyingEnabled); @@ -1693,14 +1882,18 @@ public Builder DNSProxyingEnabled(Boolean DNSProxyingEnabled) { } /** - * Specifies the default scheduling configurations that ASM delivers to components on the data plane. You can configure `nodeSelector` and `tolerations` in the JSON format. - *

+ *

Specifies the default scheduling configurations that ASM delivers to components on the data plane. You can configure nodeSelector and tolerations in the JSON format.

+ *
+ *
+ *
    + *
  • Modifying the value of this parameter is a high-risk operation. The modification will cause all components on the data plane of ASM to restart. Exercise caution before modifying the value of this parameter.

    + *
  • + *
  • The configurations specified by this parameter do not apply to ASM gateways. You can configure gateway-specific scheduling on ASM gateways.

    + *
  • + *
* - * > - * - * * Modifying the value of this parameter is a high-risk operation. The modification will cause all components on the data plane of ASM to restart. Exercise caution before modifying the value of this parameter. - * - * * The configurations specified by this parameter do not apply to the ASM gateway. You can configure gateway-specific scheduling on the ASM gateway. + * example: + *

{"tolerations":[{"key":"test-taints", "operator":"Exists", "effect":"NoSchedule"}], "nodeSelector":{"kubernetes.io/hostname":"test-nodes"}}

*/ public Builder defaultComponentsScheduleConfig(String defaultComponentsScheduleConfig) { this.putBodyParameter("DefaultComponentsScheduleConfig", defaultComponentsScheduleConfig); @@ -1709,7 +1902,10 @@ public Builder defaultComponentsScheduleConfig(String defaultComponentsScheduleC } /** - * The label selectors used to specify the namespaces of the clusters on the data plane for selective service discovery. + *

The label selectors used to specify the namespaces of the clusters on the data plane for selective service discovery.

+ * + * example: + *

[{"matchExpressions":[{"key":"asm-discovery","operator":"Exists"}]}]

*/ public Builder discoverySelectors(String discoverySelectors) { this.putBodyParameter("DiscoverySelectors", discoverySelectors); @@ -1718,13 +1914,15 @@ public Builder discoverySelectors(String discoverySelectors) { } /** - * Specifies whether to enable Dubbo Filter. Valid values: - *

+ *

Specifies whether to enable Dubbo Filter. Valid values:

+ *
    + *
  • true: enables Dubbo Filter.
  • + *
  • false: disables Dubbo Filter.
  • + *
+ *

Default value: false.

* - * * `true`: enables Dubbo Filter. - * * `false`: disables Dubbo Filter. - * - * Default value: `false`. + * example: + *

false

*/ public Builder dubboFilterEnabled(Boolean dubboFilterEnabled) { this.putBodyParameter("DubboFilterEnabled", dubboFilterEnabled); @@ -1733,13 +1931,15 @@ public Builder dubboFilterEnabled(Boolean dubboFilterEnabled) { } /** - * Specifies whether to enable the mesh audit feature. To enable this feature, make sure that you have activated [Log Service](https://sls.console.aliyun.com/). Valid values: - *

- * - * * `true`: enables the mesh audit feature. - * * `false`: disables the mesh audit feature. + *

Specifies whether to enable the mesh audit feature. To enable this feature, make sure that you have activated Log Service. Valid values:

+ *
    + *
  • true: enables the mesh audit feature.
  • + *
  • false: disables the mesh audit feature.
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder enableAudit(Boolean enableAudit) { this.putBodyParameter("EnableAudit", enableAudit); @@ -1748,7 +1948,10 @@ public Builder enableAudit(Boolean enableAudit) { } /** - * The ports for which outbound traffic is redirected to the sidecar proxy. + *

The ports for which outbound traffic is redirected to the sidecar proxy.

+ * + * example: + *

true

*/ public Builder enableAutoDiagnosis(Boolean enableAutoDiagnosis) { this.putBodyParameter("EnableAutoDiagnosis", enableAutoDiagnosis); @@ -1757,7 +1960,10 @@ public Builder enableAutoDiagnosis(Boolean enableAutoDiagnosis) { } /** - * Specifies the authentication token of an ARMS Prometheus instance when the Mesh Topology feature is enabled and ARMS Prometheus is used to collect monitoring metrics. The token is used to allow Mesh Topology to access the ARMS Prometheus instance. The token is in the JSON format. The key in the JSON object is the ID of the cluster on the data plane, and the value is the authentication token of the ARMS Prometheus instance deployed in the cluster. + *

Specifies the authentication token of an ARMS Prometheus instance when the Mesh Topology feature is enabled and ARMS Prometheus is used to collect monitoring metrics. The token is used to allow Mesh Topology to access the ARMS Prometheus instance. The token is in the JSON format. The key in the JSON object is the ID of the cluster on the data plane, and the value is the authentication token of the ARMS Prometheus instance deployed in the cluster.

+ * + * example: + *

true

*/ public Builder enableBootstrapXdsAgent(Boolean enableBootstrapXdsAgent) { this.putBodyParameter("EnableBootstrapXdsAgent", enableBootstrapXdsAgent); @@ -1766,7 +1972,10 @@ public Builder enableBootstrapXdsAgent(Boolean enableBootstrapXdsAgent) { } /** - * Specifies whether to enable the rollback feature for Istio resources. + *

Specifies whether to enable the rollback feature for Istio resources.

+ * + * example: + *

false

*/ public Builder enableCRHistory(Boolean enableCRHistory) { this.putBodyParameter("EnableCRHistory", enableCRHistory); @@ -1775,13 +1984,15 @@ public Builder enableCRHistory(Boolean enableCRHistory) { } /** - * Specifies whether to enable automatic sidecar proxy injection for all namespaces. Valid values: - *

- * - * * `true`: enables automatic sidecar proxy injection for all namespaces. - * * `false`: disables automatic sidecar proxy injection for all namespaces. + *

Specifies whether to enable automatic sidecar proxy injection for all namespaces. Valid values:

+ *
    + *
  • true: enables automatic sidecar proxy injection for all namespaces.
  • + *
  • false: disables automatic sidecar proxy injection for all namespaces.
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder enableNamespacesByDefault(Boolean enableNamespacesByDefault) { this.putBodyParameter("EnableNamespacesByDefault", enableNamespacesByDefault); @@ -1790,13 +2001,15 @@ public Builder enableNamespacesByDefault(Boolean enableNamespacesByDefault) { } /** - * Specifies whether to enable Secret Discovery Service (SDS). Valid values: - *

+ *

Specifies whether to enable Secret Discovery Service (SDS). Valid values:

+ *
    + *
  • true: enables SDS.
  • + *
  • false: disables SDS.
  • + *
+ *

Default value: false.

* - * * `true`: enables SDS. - * * `false`: disables SDS. - * - * Default value: `false`. + * example: + *

false

*/ public Builder enableSDSServer(Boolean enableSDSServer) { this.putBodyParameter("EnableSDSServer", enableSDSServer); @@ -1805,7 +2018,10 @@ public Builder enableSDSServer(Boolean enableSDSServer) { } /** - * The IP addresses of external services to which traffic is not intercepted. + *

The IP addresses of external services to which traffic is not intercepted.

+ * + * example: + *

100.100.XXX.XXX

*/ public Builder excludeIPRanges(String excludeIPRanges) { this.putBodyParameter("ExcludeIPRanges", excludeIPRanges); @@ -1814,7 +2030,10 @@ public Builder excludeIPRanges(String excludeIPRanges) { } /** - * The ports for which inbound traffic is not redirected to the sidecar proxy. Separate multiple ports with commas (,). + *

The ports for which inbound traffic is not redirected to the sidecar proxy. Separate multiple ports with commas (,).

+ * + * example: + *

80,81

*/ public Builder excludeInboundPorts(String excludeInboundPorts) { this.putBodyParameter("ExcludeInboundPorts", excludeInboundPorts); @@ -1823,7 +2042,10 @@ public Builder excludeInboundPorts(String excludeInboundPorts) { } /** - * The ports for which outbound traffic is not redirected to the sidecar proxy. Separate multiple ports with commas (,). + *

The ports for which outbound traffic is not redirected to the sidecar proxy. Separate multiple ports with commas (,).

+ * + * example: + *

80,81

*/ public Builder excludeOutboundPorts(String excludeOutboundPorts) { this.putBodyParameter("ExcludeOutboundPorts", excludeOutboundPorts); @@ -1832,13 +2054,52 @@ public Builder excludeOutboundPorts(String excludeOutboundPorts) { } /** - * Specifies whether to enable gateway configuration filtering. Valid values: - *

+ *

The updated certificate authority (CA) certificate. You can modify this parameter only if you use a custom certificate when you create an ASM instance.

+ * + * example: + *

Base64 encoded PEM certificate.

+ */ + public Builder existingCaCert(String existingCaCert) { + this.putBodyParameter("ExistingCaCert", existingCaCert); + this.existingCaCert = existingCaCert; + return this; + } + + /** + *

The updated CA certificate key. You can modify this parameter only if you use a custom certificate when you create an ASM instance.

+ * + * example: + *

Base64 encoded PEM + * private key.

+ */ + public Builder existingCaKey(String existingCaKey) { + this.putBodyParameter("ExistingCaKey", existingCaKey); + this.existingCaKey = existingCaKey; + return this; + } + + /** + *

The updated root certificate. You can modify this parameter only if you use a custom certificate when you create a Service Mesh (ASM) instance.

* - * * `true`: enables gateway configuration filtering. - * * `false`: disables gateway configuration filtering. + * example: + *

Base64 encoded PEM certificate.

+ */ + public Builder existingRootCaCert(String existingRootCaCert) { + this.putBodyParameter("ExistingRootCaCert", existingRootCaCert); + this.existingRootCaCert = existingRootCaCert; + return this; + } + + /** + *

Specifies whether to enable gateway configuration filtering. Valid values:

+ *
    + *
  • true: enables gateway configuration filtering.
  • + *
  • false: disables gateway configuration filtering.
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder filterGatewayClusterConfig(Boolean filterGatewayClusterConfig) { this.putBodyParameter("FilterGatewayClusterConfig", filterGatewayClusterConfig); @@ -1847,13 +2108,15 @@ public Builder filterGatewayClusterConfig(Boolean filterGatewayClusterConfig) { } /** - * Specifies whether to enable Gateway API. Valid values: - *

+ *

Specifies whether to enable Gateway API. Valid values:

+ *
    + *
  • true: enables Gateway API.
  • + *
  • false: disables Gateway API.
  • + *
+ *

Default value: false.

* - * * `true`: enables Gateway API. - * * `false`: disables Gateway API. - * - * Default value: `false`. + * example: + *

false

*/ public Builder gatewayAPIEnabled(Boolean gatewayAPIEnabled) { this.putBodyParameter("GatewayAPIEnabled", gatewayAPIEnabled); @@ -1862,7 +2125,10 @@ public Builder gatewayAPIEnabled(Boolean gatewayAPIEnabled) { } /** - * Other metrics of the sidecar proxy on the data plane. + *

Other metrics of the sidecar proxy on the data plane.

+ * + * example: + *

true

*/ public Builder holdApplicationUntilProxyStarts(Boolean holdApplicationUntilProxyStarts) { this.putBodyParameter("HoldApplicationUntilProxyStarts", holdApplicationUntilProxyStarts); @@ -1871,13 +2137,15 @@ public Builder holdApplicationUntilProxyStarts(Boolean holdApplicationUntilProxy } /** - * Specifies whether to support HTTP 1.0. Valid values: - *

- * - * * `true`: supports HTTP 1.0. - * * `false`: does not support HTTP 1.0. + *

Specifies whether to support HTTP 1.0. Valid values:

+ *
    + *
  • true: supports HTTP 1.0.
  • + *
  • false: does not support HTTP 1.0.
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder http10Enabled(Boolean http10Enabled) { this.putBodyParameter("Http10Enabled", http10Enabled); @@ -1886,7 +2154,12 @@ public Builder http10Enabled(Boolean http10Enabled) { } /** - * The IP addresses of external services to which traffic is intercepted. + *

The IP addresses of external services to which traffic is intercepted.

+ * + * example: + *
    + *
  • + *
*/ public Builder includeIPRanges(String includeIPRanges) { this.putBodyParameter("IncludeIPRanges", includeIPRanges); @@ -1895,7 +2168,10 @@ public Builder includeIPRanges(String includeIPRanges) { } /** - * The ports for which inbound traffic is redirected to the sidecar proxy. + *

The ports for which inbound traffic is redirected to the sidecar proxy.

+ * + * example: + *

80,81

*/ public Builder includeInboundPorts(String includeInboundPorts) { this.putBodyParameter("IncludeInboundPorts", includeInboundPorts); @@ -1904,7 +2180,10 @@ public Builder includeInboundPorts(String includeInboundPorts) { } /** - * The log level of the sidecar proxy on the data plane. Log levels include `none`, `error`, `warn`, `info`, and `debug`. The levels correspond to different amounts of information reported by the logs. For example, none-level logs report the least information, while debug-level logs report the most information. + *

The log level of the sidecar proxy on the data plane. Log levels include none, error, warn, info, and debug. The levels correspond to different amounts of information reported by the logs. For example, none-level logs report the least information, while debug-level logs report the most information.

+ * + * example: + *

8000,8001

*/ public Builder includeOutboundPorts(String includeOutboundPorts) { this.putBodyParameter("IncludeOutboundPorts", includeOutboundPorts); @@ -1913,7 +2192,10 @@ public Builder includeOutboundPorts(String includeOutboundPorts) { } /** - * Specifies whether to enable Node Feature Discovery (NFD). + *

Specifies whether to create a Classic Load Balancer (CLB) instance for accessing Mesh Topology of Service Mesh (ASM).

+ * + * example: + *

false

*/ public Builder integrateKiali(Boolean integrateKiali) { this.putBodyParameter("IntegrateKiali", integrateKiali); @@ -1922,7 +2204,10 @@ public Builder integrateKiali(Boolean integrateKiali) { } /** - * Specifies whether to load the bootstrap configuration before the sidecar proxy is started. + *

Specifies whether to load the bootstrap configuration before the sidecar proxy is started.

+ * + * example: + *

TPROXY

*/ public Builder interceptionMode(String interceptionMode) { this.putBodyParameter("InterceptionMode", interceptionMode); @@ -1931,11 +2216,16 @@ public Builder interceptionMode(String interceptionMode) { } /** - * Specifies the default scheduling configurations that ASM delivers to components on the data plane. You can configure `nodeSelector` and tolerations in the JSON format. - *

+ *

Specifies the default scheduling configurations that ASM delivers to components on the data plane. You can configure nodeSelector and tolerations in the JSON format.

+ *
+ *
    + *
  • Modifying the value of this parameter is a high-risk operation. The modification will cause all components on the data plane of ASM to restart. Exercise caution before modifying the value of this parameter.
  • + *
  • The configurations specified by this parameter do not apply to the ASM gateway. You can configure gateway-specific scheduling on the ASM gateway.
  • + *
+ *
* - * > * Modifying the value of this parameter is a high-risk operation. The modification will cause all components on the data plane of ASM to restart. Exercise caution before modifying the value of this parameter. - * >* The configurations specified by this parameter do not apply to the ASM gateway. You can configure gateway-specific scheduling on the ASM gateway. + * example: + *

{"c31e3b******5634b":"token_example"}

*/ public Builder kialiArmsAuthTokens(String kialiArmsAuthTokens) { this.putBodyParameter("KialiArmsAuthTokens", kialiArmsAuthTokens); @@ -1944,13 +2234,15 @@ public Builder kialiArmsAuthTokens(String kialiArmsAuthTokens) { } /** - * Specifies whether to enable the Mesh Topology feature. To enable this feature, make sure that you have enabled Prometheus monitoring. If Prometheus monitoring is disabled, the Mesh Topology feature must be disabled. Valid values:```` - *

- * - * * `true`: enables the Mesh Topology feature. - * * `false`: disables the Mesh Topology feature. + *

Specifies whether to enable the Mesh Topology feature. To enable this feature, make sure that you have enabled Prometheus monitoring. If Prometheus monitoring is disabled, the Mesh Topology feature must be disabled. Valid values:````

+ *
    + *
  • true: enables the Mesh Topology feature.
  • + *
  • false: disables the Mesh Topology feature.
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder kialiEnabled(Boolean kialiEnabled) { this.putBodyParameter("KialiEnabled", kialiEnabled); @@ -1959,12 +2251,12 @@ public Builder kialiEnabled(Boolean kialiEnabled) { } /** - * Specifies Classic Load Balancer (CLB) instances by using annotations when the Mesh Topology feature is enabled. These CLB instances are used to access the Mesh Topology feature in different clusters. - *

+ *

Specifies Classic Load Balancer (CLB) instances by using annotations when the Mesh Topology feature is enabled. These CLB instances are used to access the Mesh Topology feature in different clusters.

+ *

This parameter is a JSON-encoded string. The key in the JSON object is the ID of a cluster on the data plane, and the value is the annotation content of the Mesh Topology service in the cluster.

+ *

For more information about how to configure CLB instances by using annotations, see Add annotations to the YAML file of a Service to configure CLB instances.

* - * This parameter is a JSON-encoded string. The key in the JSON object is the ID of a cluster on the data plane, and the value is the annotation content of the Mesh Topology service in the cluster. - * - * For more information about how to configure CLB instances by using annotations, see [Add annotations to the YAML file of a Service to configure CLB instances](https://www.alibabacloud.com/help/container-service-for-kubernetes/latest/use-annotations-to-configure-load-balancing-1). + * example: + *

{"c31e3b******5634b":{"service.beta.kubernetes.io/alibaba-cloud-loadbalancer-address-type":"intranet"}}

*/ public Builder kialiServiceAnnotations(String kialiServiceAnnotations) { this.putBodyParameter("KialiServiceAnnotations", kialiServiceAnnotations); @@ -1973,7 +2265,22 @@ public Builder kialiServiceAnnotations(String kialiServiceAnnotations) { } /** - * The lifecycle of the sidecar proxy. + *

The labels for isolated workloads.

+ * + * example: + *

name=xx,region=xx

+ */ + public Builder labelsForOffloadedWorkloads(String labelsForOffloadedWorkloads) { + this.putQueryParameter("LabelsForOffloadedWorkloads", labelsForOffloadedWorkloads); + this.labelsForOffloadedWorkloads = labelsForOffloadedWorkloads; + return this; + } + + /** + *

The lifecycle of the sidecar proxy.

+ * + * example: + *

{"postStart":{"exec":{"command":["pilot-agent","wait"]}},"preStop":{"exec":{"command":["/bin/sh","-c","sleep 15"]}}}

*/ public Builder lifecycle(String lifecycle) { this.putBodyParameter("Lifecycle", lifecycle); @@ -1982,35 +2289,39 @@ public Builder lifecycle(String lifecycle) { } /** - * The configurations of cross-region load balancing. Valid values: - *

- * - * * `failover`: the configurations of cross-region failover. Example: - * + *

The configurations of cross-region load balancing. Valid values:

+ *
    + *
  • failover: the configurations of cross-region failover. Example:
  • + *
* * - * failover: [// Cross-region failover configurations of the struct type. - * { - * // If a service fails in the China (Beijing) region, the traffic is redirected to the same service in the China (Hangzhou) region. - * from: "cn-beijing", - * to: "cn-hangzhou", - * } - * ] - * - * * `distribute`: the configurations of cross-region traffic distribution. Example: - * + *
failover: [// Cross-region failover configurations of the struct type. 
+         *         {
+         *             // If a service fails in the China (Beijing) region, the traffic is redirected to the same service in the China (Hangzhou) region. 
+         *             from: "cn-beijing", 
+         *             to: "cn-hangzhou",
+         *         }
+         *     ]
+         * 
+ *
    + *
  • distribute: the configurations of cross-region traffic distribution. Example:
  • + *
* * - * distribute: [// Cross-region traffic distribution configurations of the struct type. - * { - * // For traffic that is routed to the China (Beijing) region, 70% of the traffic is allocated to the China (Beijing) region and the rest of the traffic is redirected to the China (Hangzhou) region. - * "from": "cn-beijing", - * "to": { - * "cn-beijing": 70, - * "cn-hangzhou": 30, - * } + *
distribute: [// Cross-region traffic distribution configurations of the struct type. 
+         *         {
+         *             // For traffic that is routed to the China (Beijing) region, 70% of the traffic is allocated to the China (Beijing) region and the rest of the traffic is redirected to the China (Hangzhou) region. 
+         *             "from": "cn-beijing",
+         *             "to": {
+         *                 "cn-beijing": 70,
+         *                 "cn-hangzhou": 30,
          *             }
-         *         ]
+         *         }
+         *     ]
+         * 
+ * + * example: + *

{"failover":[{"from":"cn-hangzhou","to":"cn-shanghai"}]}

*/ public Builder localityLBConf(String localityLBConf) { this.putBodyParameter("LocalityLBConf", localityLBConf); @@ -2019,13 +2330,15 @@ public Builder localityLBConf(String localityLBConf) { } /** - * Specifies whether to enable cross-region load balancing. Valid values: - *

- * - * * `true`: enables cross-region load balancing. - * * `false`: disables cross-region load balancing. + *

Specifies whether to enable cross-region load balancing. Valid values:

+ *
    + *
  • true: enables cross-region load balancing.
  • + *
  • false: disables cross-region load balancing.
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

true

*/ public Builder localityLoadBalancing(Boolean localityLoadBalancing) { this.putBodyParameter("LocalityLoadBalancing", localityLoadBalancing); @@ -2034,7 +2347,10 @@ public Builder localityLoadBalancing(Boolean localityLoadBalancing) { } /** - * The number of worker threads used by the sidecar proxy on the data plane. + *

The number of worker threads used by the sidecar proxy on the data plane.

+ * + * example: + *

info

*/ public Builder logLevel(String logLevel) { this.putBodyParameter("LogLevel", logLevel); @@ -2043,13 +2359,15 @@ public Builder logLevel(String logLevel) { } /** - * Specifies whether to enable Microservice Engine (MSE). Valid values: - *

+ *

Specifies whether to enable Microservices Engine (MSE). Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * * `true`: enables MSE. - * * `false`: disables MSE. - * - * Default value: `false`. + * example: + *

false

*/ public Builder MSEEnabled(Boolean MSEEnabled) { this.putBodyParameter("MSEEnabled", MSEEnabled); @@ -2058,7 +2376,10 @@ public Builder MSEEnabled(Boolean MSEEnabled) { } /** - * Specifies whether to enable Transport Layer Security (TLS) acceleration based on MultiBuffer. + *

Specifies whether to enable Transport Layer Security (TLS) acceleration based on MultiBuffer.

+ * + * example: + *

false

*/ public Builder multiBufferEnabled(Boolean multiBufferEnabled) { this.putBodyParameter("MultiBufferEnabled", multiBufferEnabled); @@ -2067,7 +2388,10 @@ public Builder multiBufferEnabled(Boolean multiBufferEnabled) { } /** - * The pull-request latency. By default, this parameter is left empty. + *

The pull-request latency. By default, this parameter is left empty.

+ * + * example: + *

0.02s

*/ public Builder multiBufferPollDelay(String multiBufferPollDelay) { this.putBodyParameter("MultiBufferPollDelay", multiBufferPollDelay); @@ -2076,13 +2400,15 @@ public Builder multiBufferPollDelay(String multiBufferPollDelay) { } /** - * Specifies whether to enable MySQL Filter. Valid values: - *

+ *

Specifies whether to enable MySQL Filter. Valid values:

+ *
    + *
  • true: enables MySQL Filter.
  • + *
  • false: disables MySQL Filter.
  • + *
+ *

Default value: false.

* - * * `true`: enables MySQL Filter. - * * `false`: disables MySQL Filter. - * - * Default value: `false`. + * example: + *

false

*/ public Builder mysqlFilterEnabled(Boolean mysqlFilterEnabled) { this.putBodyParameter("MysqlFilterEnabled", mysqlFilterEnabled); @@ -2091,10 +2417,11 @@ public Builder mysqlFilterEnabled(Boolean mysqlFilterEnabled) { } /** - * Specifies whether to clear feature labels on nodes when NFD is disabled. - *

+ *

Specifies whether to clear feature labels on nodes when NFD is disabled.

+ *

This parameter is valid only when the NFDEnabled parameter is set to false.

* - * This parameter is valid only when the `NFDEnabled` parameter is set to `false`. + * example: + *

false

*/ public Builder NFDEnabled(Boolean NFDEnabled) { this.putBodyParameter("NFDEnabled", NFDEnabled); @@ -2103,7 +2430,10 @@ public Builder NFDEnabled(Boolean NFDEnabled) { } /** - * The minimum number of CPU cores requested by the proxy service that exports Tracing Analysis data. For example, `1000m` indicates one CPU core. + *

The minimum number of CPU cores requested by the proxy service that exports Tracing Analysis data. For example, 1000m indicates one CPU core.

+ * + * example: + *

false

*/ public Builder NFDLabelPruned(Boolean NFDLabelPruned) { this.putBodyParameter("NFDLabelPruned", NFDLabelPruned); @@ -2112,7 +2442,10 @@ public Builder NFDLabelPruned(Boolean NFDLabelPruned) { } /** - * The maximum size of the memory that is available to the pod that injects OPA proxies into application pods. For example, `1024Mi` indicates 1024 MB. + *

The maximum size of the memory that is available to the pod that injects OPA proxies into application pods. For example, 1024Mi indicates 1024 MB.

+ * + * example: + *

1000m

*/ public Builder OPAInjectorCPULimit(String OPAInjectorCPULimit) { this.putBodyParameter("OPAInjectorCPULimit", OPAInjectorCPULimit); @@ -2121,7 +2454,10 @@ public Builder OPAInjectorCPULimit(String OPAInjectorCPULimit) { } /** - * The minimum size of the memory requested by the pod that injects OPA proxies into application pods. For example, `50 Mi` indicates 50 MB. + *

The minimum size of the memory requested by the pod that injects OPA proxies into application pods. For example, 50 Mi indicates 50 MB.

+ * + * example: + *

80m

*/ public Builder OPAInjectorCPURequirement(String OPAInjectorCPURequirement) { this.putBodyParameter("OPAInjectorCPURequirement", OPAInjectorCPURequirement); @@ -2130,7 +2466,10 @@ public Builder OPAInjectorCPURequirement(String OPAInjectorCPURequirement) { } /** - * Specifies whether to create a CLB instance for accessing the ASM mesh topology. + *

Specifies whether to create a CLB instance for accessing the ASM mesh topology.

+ * + * example: + *

1024Mi

*/ public Builder OPAInjectorMemoryLimit(String OPAInjectorMemoryLimit) { this.putBodyParameter("OPAInjectorMemoryLimit", OPAInjectorMemoryLimit); @@ -2139,7 +2478,10 @@ public Builder OPAInjectorMemoryLimit(String OPAInjectorMemoryLimit) { } /** - * The maximum number of CPU cores that are available to the pod that injects OPA proxies into application pods. For example, `1000m` indicates one CPU core. + *

The maximum number of CPU cores that are available to the pod that injects OPA proxies into application pods. For example, 1000m indicates one CPU core.

+ * + * example: + *

50Mi

*/ public Builder OPAInjectorMemoryRequirement(String OPAInjectorMemoryRequirement) { this.putBodyParameter("OPAInjectorMemoryRequirement", OPAInjectorMemoryRequirement); @@ -2148,7 +2490,10 @@ public Builder OPAInjectorMemoryRequirement(String OPAInjectorMemoryRequirement) } /** - * The maximum number of CPU cores that are available to the OPA proxy container. + *

The maximum number of CPU cores that are available to the OPA proxy container.

+ * + * example: + *

2

*/ public Builder OPALimitCPU(String OPALimitCPU) { this.putBodyParameter("OPALimitCPU", OPALimitCPU); @@ -2157,7 +2502,10 @@ public Builder OPALimitCPU(String OPALimitCPU) { } /** - * The maximum size of the memory that is available to the OPA proxy container. + *

The maximum size of the memory that is available to the OPA proxy container.

+ * + * example: + *

1024Mi

*/ public Builder OPALimitMemory(String OPALimitMemory) { this.putBodyParameter("OPALimitMemory", OPALimitMemory); @@ -2166,12 +2514,15 @@ public Builder OPALimitMemory(String OPALimitMemory) { } /** - * The log level of the OPA proxy container. - *

+ *

The log level of the OPA proxy container.

+ *
    + *
  • info: outputs all information.
  • + *
  • debug: outputs debugging and error information.
  • + *
  • error: outputs only error information.
  • + *
* - * * `info`: outputs all information. - * * `debug`: outputs debugging and error information. - * * `error`: outputs only error information. + * example: + *

info

*/ public Builder OPALogLevel(String OPALogLevel) { this.putBodyParameter("OPALogLevel", OPALogLevel); @@ -2180,7 +2531,10 @@ public Builder OPALogLevel(String OPALogLevel) { } /** - * The number of CPU cores that are requested by the OPA proxy container. + *

The number of CPU cores that are requested by the OPA proxy container.

+ * + * example: + *

1

*/ public Builder OPARequestCPU(String OPARequestCPU) { this.putBodyParameter("OPARequestCPU", OPARequestCPU); @@ -2189,7 +2543,10 @@ public Builder OPARequestCPU(String OPARequestCPU) { } /** - * The size of the memory that is requested by the OPA proxy container. + *

The size of the memory that is requested by the OPA proxy container.

+ * + * example: + *

512Mi

*/ public Builder OPARequestMemory(String OPARequestMemory) { this.putBodyParameter("OPARequestMemory", OPARequestMemory); @@ -2198,7 +2555,10 @@ public Builder OPARequestMemory(String OPARequestMemory) { } /** - * The minimum number of CPU cores requested by the pod that injects OPA proxies into application pods. For example, `1000m` indicates one CPU core. + *

The minimum number of CPU cores requested by the pod that injects OPA proxies into application pods. For example, 1000m indicates one CPU core.

+ * + * example: + *

false

*/ public Builder OPAScopeInjected(Boolean OPAScopeInjected) { this.putBodyParameter("OPAScopeInjected", OPAScopeInjected); @@ -2207,13 +2567,15 @@ public Builder OPAScopeInjected(Boolean OPAScopeInjected) { } /** - * Specifies whether to enable the OPA plug-in. Valid values: - *

- * - * * `true`: enables the OPA plug-in. - * * `false`: disables the OPA plug-in. + *

Specifies whether to enable the OPA plug-in. Valid values:

+ *
    + *
  • true: enables the OPA plug-in.
  • + *
  • false: disables the OPA plug-in.
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder opaEnabled(Boolean opaEnabled) { this.putBodyParameter("OpaEnabled", opaEnabled); @@ -2222,13 +2584,15 @@ public Builder opaEnabled(Boolean opaEnabled) { } /** - * Specifies whether to install the Open Policy Agent (OPA) plug-in. Valid values: - *

+ *

Specifies whether to install the Open Policy Agent (OPA) plug-in. Valid values:

+ *
    + *
  • true: installs the OPA plug-in.
  • + *
  • false: does not install the OPA plug-in.
  • + *
+ *

Default value: false.

* - * * `true`: installs the OPA plug-in. - * * `false`: does not install the OPA plug-in. - * - * Default value: `false`. + * example: + *

false

*/ public Builder openAgentPolicy(Boolean openAgentPolicy) { this.putBodyParameter("OpenAgentPolicy", openAgentPolicy); @@ -2237,11 +2601,14 @@ public Builder openAgentPolicy(Boolean openAgentPolicy) { } /** - * The policy for accessing external services. Valid values: - *

+ *

The policy for accessing external services. Valid values:

+ *
    + *
  • ALLOW_ANY: allows access to all external services.
  • + *
  • REGISTRY_ONLY: allows access to only the external services that are defined in the ServiceEntry of the ASM instance.
  • + *
* - * * `ALLOW_ANY`: allows access to all external services. - * * `REGISTRY_ONLY`: allows access to only the external services that are defined in the ServiceEntry of the ASM instance. + * example: + *

ALLOW_ANY

*/ public Builder outboundTrafficPolicy(String outboundTrafficPolicy) { this.putBodyParameter("OutboundTrafficPolicy", outboundTrafficPolicy); @@ -2250,7 +2617,22 @@ public Builder outboundTrafficPolicy(String outboundTrafficPolicy) { } /** - * The endpoint of Prometheus monitoring. If you use ARMS Prometheus, set this parameter to the endpoint of Prometheus provided by ARMS. + *

Specifies whether to support HTTP/3.

+ * + * example: + *

false

+ */ + public Builder pilotEnableQuicListeners(Boolean pilotEnableQuicListeners) { + this.putBodyParameter("PilotEnableQuicListeners", pilotEnableQuicListeners); + this.pilotEnableQuicListeners = pilotEnableQuicListeners; + return this; + } + + /** + *

The endpoint of Prometheus monitoring. If you use ARMS Prometheus, set this parameter to the endpoint of Prometheus provided by ARMS.

+ * + * example: + *

http://prometheus:9090

*/ public Builder prometheusUrl(String prometheusUrl) { this.putBodyParameter("PrometheusUrl", prometheusUrl); @@ -2259,7 +2641,10 @@ public Builder prometheusUrl(String prometheusUrl) { } /** - * The maximum number of CPU cores that are available to the istio-init container. + *

The maximum number of CPU cores that are available to the istio-init container.

+ * + * example: + *

2000m

*/ public Builder proxyInitCPUResourceLimit(String proxyInitCPUResourceLimit) { this.putBodyParameter("ProxyInitCPUResourceLimit", proxyInitCPUResourceLimit); @@ -2268,7 +2653,10 @@ public Builder proxyInitCPUResourceLimit(String proxyInitCPUResourceLimit) { } /** - * The number of CPU cores that are requested by the istio-init container. + *

The number of CPU cores that are requested by the istio-init container.

+ * + * example: + *

10m

*/ public Builder proxyInitCPUResourceRequest(String proxyInitCPUResourceRequest) { this.putBodyParameter("ProxyInitCPUResourceRequest", proxyInitCPUResourceRequest); @@ -2277,7 +2665,10 @@ public Builder proxyInitCPUResourceRequest(String proxyInitCPUResourceRequest) { } /** - * The maximum size of the memory that is available to the istio-init container. + *

The maximum size of the memory that is available to the istio-init container.

+ * + * example: + *

1024Mi

*/ public Builder proxyInitMemoryResourceLimit(String proxyInitMemoryResourceLimit) { this.putBodyParameter("ProxyInitMemoryResourceLimit", proxyInitMemoryResourceLimit); @@ -2286,7 +2677,10 @@ public Builder proxyInitMemoryResourceLimit(String proxyInitMemoryResourceLimit) } /** - * The size of the memory that is requested by the istio-init container. + *

The size of the memory that is requested by the istio-init container.

+ * + * example: + *

10Mi

*/ public Builder proxyInitMemoryResourceRequest(String proxyInitMemoryResourceRequest) { this.putBodyParameter("ProxyInitMemoryResourceRequest", proxyInitMemoryResourceRequest); @@ -2295,7 +2689,10 @@ public Builder proxyInitMemoryResourceRequest(String proxyInitMemoryResourceRequ } /** - * The maximum number of CPU cores that are available to the sidecar proxy container. + *

The maximum number of CPU cores that are available to the sidecar proxy container.

+ * + * example: + *

2000m

*/ public Builder proxyLimitCPU(String proxyLimitCPU) { this.putBodyParameter("ProxyLimitCPU", proxyLimitCPU); @@ -2304,7 +2701,10 @@ public Builder proxyLimitCPU(String proxyLimitCPU) { } /** - * The maximum size of the memory that is available to the sidecar proxy container. + *

The maximum size of the memory that is available to the sidecar proxy container.

+ * + * example: + *

1024Mi

*/ public Builder proxyLimitMemory(String proxyLimitMemory) { this.putBodyParameter("ProxyLimitMemory", proxyLimitMemory); @@ -2313,7 +2713,10 @@ public Builder proxyLimitMemory(String proxyLimitMemory) { } /** - * The number of CPU cores that are requested by the sidecar proxy container. + *

The number of CPU cores that are requested by the sidecar proxy container.

+ * + * example: + *

100m

*/ public Builder proxyRequestCPU(String proxyRequestCPU) { this.putBodyParameter("ProxyRequestCPU", proxyRequestCPU); @@ -2322,7 +2725,10 @@ public Builder proxyRequestCPU(String proxyRequestCPU) { } /** - * The size of the memory that is requested by the sidecar proxy container. + *

The size of the memory that is requested by the sidecar proxy container.

+ * + * example: + *

128Mi

*/ public Builder proxyRequestMemory(String proxyRequestMemory) { this.putBodyParameter("ProxyRequestMemory", proxyRequestMemory); @@ -2331,11 +2737,14 @@ public Builder proxyRequestMemory(String proxyRequestMemory) { } /** - * The mode in which the sidecar proxy intercepts inbound traffic. Valid values: - *

+ *

The mode in which the sidecar proxy intercepts inbound traffic. Valid values:

+ *
    + *
  • REDIRECT: The sidecar proxy intercepts inbound traffic in the REDIRECT mode.
  • + *
  • TPROXY: The sidecar proxy intercepts inbound traffic in the TPROXY mode.
  • + *
* - * * `REDIRECT`: The sidecar proxy intercepts inbound traffic in the REDIRECT mode. - * * `TPROXY`: The sidecar proxy intercepts inbound traffic in the TPROXY mode. + * example: + *

{"inclusionRegexps":".adaptive_concurrency."}

*/ public Builder proxyStatsMatcher(String proxyStatsMatcher) { this.putBodyParameter("ProxyStatsMatcher", proxyStatsMatcher); @@ -2344,13 +2753,15 @@ public Builder proxyStatsMatcher(String proxyStatsMatcher) { } /** - * Specifies whether to enable Redis Filter. Valid values: - *

- * - * * `true`: enables Redis Filter. - * * `false`: disables Redis Filter. + *

Specifies whether to enable Redis Filter. Valid values:

+ *
    + *
  • true: enables Redis Filter.
  • + *
  • false: disables Redis Filter.
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder redisFilterEnabled(Boolean redisFilterEnabled) { this.putBodyParameter("RedisFilterEnabled", redisFilterEnabled); @@ -2359,7 +2770,23 @@ public Builder redisFilterEnabled(Boolean redisFilterEnabled) { } /** - * The ID of the ASM instance. + *

Specifies whether to enable SMC optimization.

+ * + * example: + *

false

+ */ + public Builder SMCEnabled(Boolean SMCEnabled) { + this.putBodyParameter("SMCEnabled", SMCEnabled); + this.SMCEnabled = SMCEnabled; + return this; + } + + /** + *

The ID of the ASM instance.

+ *

This parameter is required.

+ * + * example: + *

cb8963379255149cb98c8686f274x****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); @@ -2368,7 +2795,10 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * The maximum number of CPU cores that are available to the pod where a sidecar proxy injector resides. + *

The maximum number of CPU cores that are available to the pod where a sidecar proxy injector resides.

+ * + * example: + *

4000m

*/ public Builder sidecarInjectorLimitCPU(String sidecarInjectorLimitCPU) { this.putBodyParameter("SidecarInjectorLimitCPU", sidecarInjectorLimitCPU); @@ -2377,7 +2807,10 @@ public Builder sidecarInjectorLimitCPU(String sidecarInjectorLimitCPU) { } /** - * The maximum size of the memory that is available to the pod where a sidecar proxy injector resides. + *

The maximum size of the memory that is available to the pod where a sidecar proxy injector resides.

+ * + * example: + *

2048Mi

*/ public Builder sidecarInjectorLimitMemory(String sidecarInjectorLimitMemory) { this.putBodyParameter("SidecarInjectorLimitMemory", sidecarInjectorLimitMemory); @@ -2386,7 +2819,10 @@ public Builder sidecarInjectorLimitMemory(String sidecarInjectorLimitMemory) { } /** - * The number of CPU cores that are requested by the pod where a sidecar proxy injector resides. + *

The number of CPU cores that are requested by the pod where a sidecar proxy injector resides.

+ * + * example: + *

1000m

*/ public Builder sidecarInjectorRequestCPU(String sidecarInjectorRequestCPU) { this.putBodyParameter("SidecarInjectorRequestCPU", sidecarInjectorRequestCPU); @@ -2395,7 +2831,10 @@ public Builder sidecarInjectorRequestCPU(String sidecarInjectorRequestCPU) { } /** - * The size of the memory that is requested by the pod where a sidecar proxy injector resides. + *

The size of the memory that is requested by the pod where a sidecar proxy injector resides.

+ * + * example: + *

512Mi

*/ public Builder sidecarInjectorRequestMemory(String sidecarInjectorRequestMemory) { this.putBodyParameter("SidecarInjectorRequestMemory", sidecarInjectorRequestMemory); @@ -2404,7 +2843,10 @@ public Builder sidecarInjectorRequestMemory(String sidecarInjectorRequestMemory) } /** - * Other configurations of automatic sidecar proxy injection, in the YAML format. + *

Other configurations of automatic sidecar proxy injection, in the YAML format.

+ * + * example: + *

{"injectedAnnotations":{"test/istio-init":"runtime/default2","test/istio-proxy":"runtime/default"},"replicaCount":2,"nodeSelector":{"beta.kubernetes.io/os":"linux"}}

*/ public Builder sidecarInjectorWebhookAsYaml(String sidecarInjectorWebhookAsYaml) { this.putBodyParameter("SidecarInjectorWebhookAsYaml", sidecarInjectorWebhookAsYaml); @@ -2413,13 +2855,15 @@ public Builder sidecarInjectorWebhookAsYaml(String sidecarInjectorWebhookAsYaml) } /** - * Specifies whether to enable Prometheus monitoring. We recommend that you enable [ARMS Prometheus](https://arms.console.aliyun.com/). Valid values: - *

- * - * * `true`: enables Prometheus monitoring. - * * `false`: disables Prometheus monitoring. + *

Specifies whether to enable Prometheus monitoring. We recommend that you enable ARMS Prometheus. Valid values:

+ *
    + *
  • true: enables Prometheus monitoring.
  • + *
  • false: disables Prometheus monitoring.
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder telemetry(Boolean telemetry) { this.putBodyParameter("Telemetry", telemetry); @@ -2428,7 +2872,10 @@ public Builder telemetry(Boolean telemetry) { } /** - * The maximum period of time that the sidecar proxy waits for requests to be processed before the proxy is stopped. For example, if you want to specify a period of 5 seconds, set this parameter to 5s. + *

The maximum period of time that the sidecar proxy waits for requests to be processed before the proxy is stopped. For example, if you want to specify a period of 5 seconds, set this parameter to 5s.

+ * + * example: + *

5s

*/ public Builder terminationDrainDuration(String terminationDrainDuration) { this.putBodyParameter("TerminationDrainDuration", terminationDrainDuration); @@ -2437,13 +2884,15 @@ public Builder terminationDrainDuration(String terminationDrainDuration) { } /** - * Specifies whether to enable Thrift Filter. Valid values: - *

- * - * * `true`: enables Thrift Filter. - * * `false`: disables Thrift Filter. + *

Specifies whether to enable Thrift Filter. Valid values:

+ *
    + *
  • true: enables Thrift Filter.
  • + *
  • false: disables Thrift Filter.
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder thriftFilterEnabled(Boolean thriftFilterEnabled) { this.putBodyParameter("ThriftFilterEnabled", thriftFilterEnabled); @@ -2452,29 +2901,30 @@ public Builder thriftFilterEnabled(Boolean thriftFilterEnabled) { } /** - * The custom tag of Tracing Analysis. Specify this parameter in the JSON format. - *

- * - * { - * "name1": CustomTag, - * "name2": CustomTag + *

The custom tag of Tracing Analysis. Specify this parameter in the JSON format.

+ *
{
+         *     "name1": CustomTag,
+         *     "name2": CustomTag
+         * }
+         * 
+ *

Tag key: literal, header, or environment.

+ *
{
+         *     "literal": {
+         *         "value": "Fixed value"
          *     }
-         * 
-         * Tag key: literal, header, or environment.
-         * 
-         *     {
-         *         "literal": {
-         *             "value": "Fixed value"
-         *         }
-         *         "header": {
-         *             "name": "Header name"
-         *             "defaultValue": "Default value that is used if the specified header does not exist"
-         *         }
-         *         "environment": {
-         *             "name": "Environment variable name"
-         *             "defaultValue": "Default value that is used if the specified environment variable does not exist"
-         *         }
+         *     "header": {
+         *         "name": "Header name"
+         *         "defaultValue": "Default value that is used if the specified header does not exist"
+         *     }
+         *     "environment": {
+         *         "name": "Environment variable name"
+         *         "defaultValue": "Default value that is used if the specified environment variable does not exist"
          *     }
+         * }
+         * 
+ * + * example: + *

{"mytag": {"literal":{"value":"test"}}}

*/ public Builder traceCustomTags(String traceCustomTags) { this.putBodyParameter("TraceCustomTags", traceCustomTags); @@ -2483,7 +2933,10 @@ public Builder traceCustomTags(String traceCustomTags) { } /** - * The maximum length of the request path contained in the HttpUrl span tag. Default value: `256`. + *

The maximum length of the request path contained in the HttpUrl span tag. Default value: 256.

+ * + * example: + *

256

*/ public Builder traceMaxPathTagLength(String traceMaxPathTagLength) { this.putBodyParameter("TraceMaxPathTagLength", traceMaxPathTagLength); @@ -2492,7 +2945,10 @@ public Builder traceMaxPathTagLength(String traceMaxPathTagLength) { } /** - * The sampling percentage of Tracing Analysis. + *

The sampling percentage of Tracing Analysis.

+ * + * example: + *

100

*/ public Builder traceSampling(Float traceSampling) { this.putBodyParameter("TraceSampling", traceSampling); @@ -2501,13 +2957,15 @@ public Builder traceSampling(Float traceSampling) { } /** - * Specifies whether to enable the Tracing Analysis feature. To enable this feature, make sure that you have activated [Tracing Analysis](https://tracing-analysis.console.aliyun.com/). Valid values: - *

+ *

Specifies whether to enable Managed Service for OpenTelemetry. (Before you enable Managed Service for OpenTelemetry, make sure that you have activated it.) Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ *

Default value: false.

* - * * `true`: enables the Tracing Analysis feature. - * * `false`: disables the Tracing Analysis feature. - * - * Default value: `false`. + * example: + *

false

*/ public Builder tracing(Boolean tracing) { this.putBodyParameter("Tracing", tracing); @@ -2516,7 +2974,10 @@ public Builder tracing(Boolean tracing) { } /** - * The maximum size of the memory that is available to the proxy service that exports Tracing Analysis data. For example, `1Mi` indicates 1 MB. + *

The maximum size of the memory that is available to the proxy service that exports Tracing Analysis data. For example, 1Mi indicates 1 MB.

+ * + * example: + *

1000Mi

*/ public Builder tracingOnExtZipkinLimitCPU(String tracingOnExtZipkinLimitCPU) { this.putBodyParameter("TracingOnExtZipkinLimitCPU", tracingOnExtZipkinLimitCPU); @@ -2525,7 +2986,10 @@ public Builder tracingOnExtZipkinLimitCPU(String tracingOnExtZipkinLimitCPU) { } /** - * The retention period for the access logs of the ingress gateway. Unit: day. The logs are collected by using Log Service. For example, `30` indicates 30 days. + *

The retention period for the access logs of the ingress gateway. Unit: day. The logs are collected by using Log Service. For example, 30 indicates 30 days.

+ * + * example: + *

1024Mi

*/ public Builder tracingOnExtZipkinLimitMemory(String tracingOnExtZipkinLimitMemory) { this.putBodyParameter("TracingOnExtZipkinLimitMemory", tracingOnExtZipkinLimitMemory); @@ -2534,7 +2998,22 @@ public Builder tracingOnExtZipkinLimitMemory(String tracingOnExtZipkinLimitMemor } /** - * The minimum size of the memory requested by the proxy service that exports Tracing Analysis data. For example, `1Mi` indicates 1 MB. + *

The number of replicas that are available to the proxy service that exports Managed Service for OpenTelemetry data.

+ * + * example: + *

2

+ */ + public Builder tracingOnExtZipkinReplicaCount(String tracingOnExtZipkinReplicaCount) { + this.putBodyParameter("TracingOnExtZipkinReplicaCount", tracingOnExtZipkinReplicaCount); + this.tracingOnExtZipkinReplicaCount = tracingOnExtZipkinReplicaCount; + return this; + } + + /** + *

The minimum size of the memory requested by the proxy service that exports Tracing Analysis data. For example, 1Mi indicates 1 MB.

+ * + * example: + *

200m

*/ public Builder tracingOnExtZipkinRequestCPU(String tracingOnExtZipkinRequestCPU) { this.putBodyParameter("TracingOnExtZipkinRequestCPU", tracingOnExtZipkinRequestCPU); @@ -2543,7 +3022,10 @@ public Builder tracingOnExtZipkinRequestCPU(String tracingOnExtZipkinRequestCPU) } /** - * The maximum number of CPU cores that are available to the proxy service that exports Tracing Analysis data. For example, `1000m` indicates one CPU core. + *

The maximum number of CPU cores that are available to the proxy service that exports Tracing Analysis data. For example, 1000m indicates one CPU core.

+ * + * example: + *

200Mi

*/ public Builder tracingOnExtZipkinRequestMemory(String tracingOnExtZipkinRequestMemory) { this.putBodyParameter("TracingOnExtZipkinRequestMemory", tracingOnExtZipkinRequestMemory); @@ -2552,13 +3034,15 @@ public Builder tracingOnExtZipkinRequestMemory(String tracingOnExtZipkinRequestM } /** - * Specifies whether to enable WebAssembly Filter. Valid values: - *

- * - * * `true`: enables WebAssembly Filter. - * * `false`: disables WebAssembly Filter. + *

Specifies whether to enable WebAssembly Filter. Valid values:

+ *
    + *
  • true: enables WebAssembly Filter.
  • + *
  • false: disables WebAssembly Filter.
  • + *
+ *

Default value: false.

* - * Default value: `false`. + * example: + *

false

*/ public Builder webAssemblyFilterEnabled(Boolean webAssemblyFilterEnabled) { this.putBodyParameter("WebAssemblyFilterEnabled", webAssemblyFilterEnabled); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshFeatureResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshFeatureResponse.java index 4b9d8f09142..a6670a5a785 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshFeatureResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshFeatureResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateMeshFeatureResponse} extends {@link TeaModel} * *

UpdateMeshFeatureResponse

*/ public class UpdateMeshFeatureResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private UpdateMeshFeatureResponseBody body; private UpdateMeshFeatureResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static UpdateMeshFeatureResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public UpdateMeshFeatureResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private UpdateMeshFeatureResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(UpdateMeshFeatureResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshFeatureResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshFeatureResponseBody.java index 9032382145a..512a678110f 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshFeatureResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshFeatureResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateMeshFeatureResponseBody} extends {@link TeaModel} * *

UpdateMeshFeatureResponseBody

*/ public class UpdateMeshFeatureResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private UpdateMeshFeatureResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static UpdateMeshFeatureResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(UpdateMeshFeatureResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshMultiClusterNetworkRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshMultiClusterNetworkRequest.java new file mode 100644 index 00000000000..ed257cee469 --- /dev/null +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshMultiClusterNetworkRequest.java @@ -0,0 +1,106 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.servicemesh20200111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link UpdateMeshMultiClusterNetworkRequest} extends {@link RequestModel} + * + *

UpdateMeshMultiClusterNetworkRequest

+ */ +public class UpdateMeshMultiClusterNetworkRequest extends Request { + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("MultiClusterNetworks") + private java.util.Map multiClusterNetworks; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) + private String serviceMeshId; + + private UpdateMeshMultiClusterNetworkRequest(Builder builder) { + super(builder); + this.multiClusterNetworks = builder.multiClusterNetworks; + this.serviceMeshId = builder.serviceMeshId; + } + + public static Builder builder() { + return new Builder(); + } + + public static UpdateMeshMultiClusterNetworkRequest create() { + return builder().build(); + } + +@Override + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return multiClusterNetworks + */ + public java.util.Map getMultiClusterNetworks() { + return this.multiClusterNetworks; + } + + /** + * @return serviceMeshId + */ + public String getServiceMeshId() { + return this.serviceMeshId; + } + + public static final class Builder extends Request.Builder { + private java.util.Map multiClusterNetworks; + private String serviceMeshId; + + private Builder() { + super(); + } + + private Builder(UpdateMeshMultiClusterNetworkRequest request) { + super(request); + this.multiClusterNetworks = request.multiClusterNetworks; + this.serviceMeshId = request.serviceMeshId; + } + + /** + *

The network configuration descriptions of multiple Kubernetes clusters. The key in the map is the ID of a Kubernetes cluster, and the value is the network configuration of the cluster.

+ */ + public Builder multiClusterNetworks(java.util.Map multiClusterNetworks) { + String multiClusterNetworksShrink = shrink(multiClusterNetworks, "MultiClusterNetworks", "json"); + this.putBodyParameter("MultiClusterNetworks", multiClusterNetworksShrink); + this.multiClusterNetworks = multiClusterNetworks; + return this; + } + + /** + *

The ID of the ASM instance.

+ *

This parameter is required.

+ * + * example: + *

cb8963379255149cb98c8686f274x****

+ */ + public Builder serviceMeshId(String serviceMeshId) { + this.putBodyParameter("ServiceMeshId", serviceMeshId); + this.serviceMeshId = serviceMeshId; + return this; + } + + @Override + public UpdateMeshMultiClusterNetworkRequest build() { + return new UpdateMeshMultiClusterNetworkRequest(this); + } + + } + +} diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshMultiClusterNetworkResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshMultiClusterNetworkResponse.java new file mode 100644 index 00000000000..e2e2ac016ce --- /dev/null +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshMultiClusterNetworkResponse.java @@ -0,0 +1,131 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.servicemesh20200111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link UpdateMeshMultiClusterNetworkResponse} extends {@link TeaModel} + * + *

UpdateMeshMultiClusterNetworkResponse

+ */ +public class UpdateMeshMultiClusterNetworkResponse extends Response { + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; + + @com.aliyun.core.annotation.NameInMap("statusCode") + private Integer statusCode; + + @com.aliyun.core.annotation.NameInMap("body") + private UpdateMeshMultiClusterNetworkResponseBody body; + + private UpdateMeshMultiClusterNetworkResponse(BuilderImpl builder) { + super(builder); + this.headers = builder.headers; + this.statusCode = builder.statusCode; + this.body = builder.body; + } + + public static UpdateMeshMultiClusterNetworkResponse create() { + return new BuilderImpl().build(); + } + +@Override + public Builder toBuilder() { + return new BuilderImpl(this); + } + + /** + * @return headers + */ + public java.util.Map getHeaders() { + return this.headers; + } + + /** + * @return statusCode + */ + public Integer getStatusCode() { + return this.statusCode; + } + + /** + * @return body + */ + public UpdateMeshMultiClusterNetworkResponseBody getBody() { + return this.body; + } + + public interface Builder extends Response.Builder { + + Builder headers(java.util.Map headers); + + Builder statusCode(Integer statusCode); + + Builder body(UpdateMeshMultiClusterNetworkResponseBody body); + + @Override + UpdateMeshMultiClusterNetworkResponse build(); + + } + + private static final class BuilderImpl + extends Response.BuilderImpl + implements Builder { + private java.util.Map headers; + private Integer statusCode; + private UpdateMeshMultiClusterNetworkResponseBody body; + + private BuilderImpl() { + super(); + } + + private BuilderImpl(UpdateMeshMultiClusterNetworkResponse response) { + super(response); + this.headers = response.headers; + this.statusCode = response.statusCode; + this.body = response.body; + } + + /** + * headers. + */ + @Override + public Builder headers(java.util.Map headers) { + this.headers = headers; + return this; + } + + /** + * statusCode. + */ + @Override + public Builder statusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + + /** + * body. + */ + @Override + public Builder body(UpdateMeshMultiClusterNetworkResponseBody body) { + this.body = body; + return this; + } + + @Override + public UpdateMeshMultiClusterNetworkResponse build() { + return new UpdateMeshMultiClusterNetworkResponse(this); + } + + } + +} diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshMultiClusterNetworkResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshMultiClusterNetworkResponseBody.java new file mode 100644 index 00000000000..2e057af154c --- /dev/null +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateMeshMultiClusterNetworkResponseBody.java @@ -0,0 +1,73 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.servicemesh20200111.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link UpdateMeshMultiClusterNetworkResponseBody} extends {@link TeaModel} + * + *

UpdateMeshMultiClusterNetworkResponseBody

+ */ +public class UpdateMeshMultiClusterNetworkResponseBody extends TeaModel { + @com.aliyun.core.annotation.NameInMap("RequestId") + private String requestId; + + private UpdateMeshMultiClusterNetworkResponseBody(Builder builder) { + this.requestId = builder.requestId; + } + + public static Builder builder() { + return new Builder(); + } + + public static UpdateMeshMultiClusterNetworkResponseBody create() { + return builder().build(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return requestId + */ + public String getRequestId() { + return this.requestId; + } + + public static final class Builder { + private String requestId; + + private Builder() { + } + + private Builder(UpdateMeshMultiClusterNetworkResponseBody model) { + this.requestId = model.requestId; + } + + /** + *

Id of the request

+ * + * example: + *

BD65C0AD-D3C6-48D3-8D93-38D2015C****

+ */ + public Builder requestId(String requestId) { + this.requestId = requestId; + return this; + } + + public UpdateMeshMultiClusterNetworkResponseBody build() { + return new UpdateMeshMultiClusterNetworkResponseBody(this); + } + + } + +} diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateNamespaceScopeSidecarConfigRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateNamespaceScopeSidecarConfigRequest.java index a50ecd30cf7..e404b68fe32 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateNamespaceScopeSidecarConfigRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateNamespaceScopeSidecarConfigRequest.java @@ -1,180 +1,197 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateNamespaceScopeSidecarConfigRequest} extends {@link RequestModel} * *

UpdateNamespaceScopeSidecarConfigRequest

*/ public class UpdateNamespaceScopeSidecarConfigRequest extends Request { - @Body - @NameInMap("Concurrency") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Concurrency") private Integer concurrency; - @Body - @NameInMap("EnableCoreDump") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("EnableCoreDump") private Boolean enableCoreDump; - @Body - @NameInMap("ExcludeIPRanges") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ExcludeIPRanges") private String excludeIPRanges; - @Body - @NameInMap("ExcludeInboundPorts") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ExcludeInboundPorts") private String excludeInboundPorts; - @Body - @NameInMap("ExcludeOutboundPorts") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ExcludeOutboundPorts") private String excludeOutboundPorts; - @Body - @NameInMap("HoldApplicationUntilProxyStarts") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("HoldApplicationUntilProxyStarts") private Boolean holdApplicationUntilProxyStarts; - @Body - @NameInMap("IncludeIPRanges") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IncludeIPRanges") private String includeIPRanges; - @Body - @NameInMap("IncludeInboundPorts") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IncludeInboundPorts") private String includeInboundPorts; - @Body - @NameInMap("IncludeOutboundPorts") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IncludeOutboundPorts") private String includeOutboundPorts; - @Body - @NameInMap("InterceptionMode") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("InterceptionMode") private String interceptionMode; - @Body - @NameInMap("IstioDNSProxyEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IstioDNSProxyEnabled") private Boolean istioDNSProxyEnabled; - @Body - @NameInMap("Lifecycle") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Lifecycle") private String lifecycle; - @Body - @NameInMap("LogLevel") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("LogLevel") private String logLevel; - @Body - @NameInMap("Namespace") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Namespace") private String namespace; - @Body - @NameInMap("PostStart") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("PostStart") private String postStart; - @Body - @NameInMap("PreStop") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("PreStop") private String preStop; - @Body - @NameInMap("Privileged") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Privileged") private Boolean privileged; - @Body - @NameInMap("ProxyInitAckSloCPUResourceLimit") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ProxyInitAckSloCPUResourceLimit") private String proxyInitAckSloCPUResourceLimit; - @Body - @NameInMap("ProxyInitAckSloCPUResourceRequest") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ProxyInitAckSloCPUResourceRequest") private String proxyInitAckSloCPUResourceRequest; - @Body - @NameInMap("ProxyInitAckSloMemoryResourceLimit") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ProxyInitAckSloMemoryResourceLimit") private String proxyInitAckSloMemoryResourceLimit; - @Body - @NameInMap("ProxyInitAckSloMemoryResourceRequest") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ProxyInitAckSloMemoryResourceRequest") private String proxyInitAckSloMemoryResourceRequest; - @Body - @NameInMap("ProxyInitCPUResourceLimit") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ProxyInitCPUResourceLimit") private String proxyInitCPUResourceLimit; - @Body - @NameInMap("ProxyInitCPUResourceRequest") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ProxyInitCPUResourceRequest") private String proxyInitCPUResourceRequest; - @Body - @NameInMap("ProxyInitMemoryResourceLimit") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ProxyInitMemoryResourceLimit") private String proxyInitMemoryResourceLimit; - @Body - @NameInMap("ProxyInitMemoryResourceRequest") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ProxyInitMemoryResourceRequest") private String proxyInitMemoryResourceRequest; - @Body - @NameInMap("ProxyMetadata") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ProxyMetadata") private String proxyMetadata; - @Body - @NameInMap("ProxyStatsMatcher") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ProxyStatsMatcher") private String proxyStatsMatcher; - @Body - @NameInMap("ReadinessFailureThreshold") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ReadinessFailureThreshold") private Integer readinessFailureThreshold; - @Body - @NameInMap("ReadinessInitialDelaySeconds") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ReadinessInitialDelaySeconds") private Integer readinessInitialDelaySeconds; - @Body - @NameInMap("ReadinessPeriodSeconds") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ReadinessPeriodSeconds") private Integer readinessPeriodSeconds; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("RuntimeValues") + private String runtimeValues; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SMCEnabled") + private Boolean SMCEnabled; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ScaledSidecarResource") + private ScaledSidecarResource scaledSidecarResource; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; - @Body - @NameInMap("SidecarProxyAckSloCPUResourceLimit") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SidecarProxyAckSloCPUResourceLimit") private String sidecarProxyAckSloCPUResourceLimit; - @Body - @NameInMap("SidecarProxyAckSloCPUResourceRequest") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SidecarProxyAckSloCPUResourceRequest") private String sidecarProxyAckSloCPUResourceRequest; - @Body - @NameInMap("SidecarProxyAckSloMemoryResourceLimit") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SidecarProxyAckSloMemoryResourceLimit") private String sidecarProxyAckSloMemoryResourceLimit; - @Body - @NameInMap("SidecarProxyAckSloMemoryResourceRequest") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SidecarProxyAckSloMemoryResourceRequest") private String sidecarProxyAckSloMemoryResourceRequest; - @Body - @NameInMap("SidecarProxyCPUResourceLimit") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SidecarProxyCPUResourceLimit") private String sidecarProxyCPUResourceLimit; - @Body - @NameInMap("SidecarProxyCPUResourceRequest") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SidecarProxyCPUResourceRequest") private String sidecarProxyCPUResourceRequest; - @Body - @NameInMap("SidecarProxyMemoryResourceLimit") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SidecarProxyMemoryResourceLimit") private String sidecarProxyMemoryResourceLimit; - @Body - @NameInMap("SidecarProxyMemoryResourceRequest") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SidecarProxyMemoryResourceRequest") private String sidecarProxyMemoryResourceRequest; - @Body - @NameInMap("TerminationDrainDuration") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("TerminationDrainDuration") private String terminationDrainDuration; - @Body - @NameInMap("Tracing") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Tracing") private String tracing; private UpdateNamespaceScopeSidecarConfigRequest(Builder builder) { @@ -209,6 +226,9 @@ private UpdateNamespaceScopeSidecarConfigRequest(Builder builder) { this.readinessFailureThreshold = builder.readinessFailureThreshold; this.readinessInitialDelaySeconds = builder.readinessInitialDelaySeconds; this.readinessPeriodSeconds = builder.readinessPeriodSeconds; + this.runtimeValues = builder.runtimeValues; + this.SMCEnabled = builder.SMCEnabled; + this.scaledSidecarResource = builder.scaledSidecarResource; this.serviceMeshId = builder.serviceMeshId; this.sidecarProxyAckSloCPUResourceLimit = builder.sidecarProxyAckSloCPUResourceLimit; this.sidecarProxyAckSloCPUResourceRequest = builder.sidecarProxyAckSloCPUResourceRequest; @@ -230,7 +250,7 @@ public static UpdateNamespaceScopeSidecarConfigRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -445,6 +465,27 @@ public Integer getReadinessPeriodSeconds() { return this.readinessPeriodSeconds; } + /** + * @return runtimeValues + */ + public String getRuntimeValues() { + return this.runtimeValues; + } + + /** + * @return SMCEnabled + */ + public Boolean getSMCEnabled() { + return this.SMCEnabled; + } + + /** + * @return scaledSidecarResource + */ + public ScaledSidecarResource getScaledSidecarResource() { + return this.scaledSidecarResource; + } + /** * @return serviceMeshId */ @@ -553,6 +594,9 @@ public static final class Builder extends Request.BuilderThe number of worker threads to run in Istio Proxy.

+ * + * example: + *

2

*/ public Builder concurrency(Integer concurrency) { this.putBodyParameter("Concurrency", concurrency); @@ -624,7 +674,14 @@ public Builder concurrency(Integer concurrency) { } /** - * EnableCoreDump. + *

Specifies whether to enable the core dump feature for the sidecar proxy containers. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
+ * + * example: + *

false

*/ public Builder enableCoreDump(Boolean enableCoreDump) { this.putBodyParameter("EnableCoreDump", enableCoreDump); @@ -633,7 +690,10 @@ public Builder enableCoreDump(Boolean enableCoreDump) { } /** - * The range of IP addresses that are allowed to access external services. (`global.proxy.excludelPRanges`) + *

The range of IP addresses that are allowed to access external services. (global.proxy.excludelPRanges)

+ * + * example: + *

172.16.0.0/12

*/ public Builder excludeIPRanges(String excludeIPRanges) { this.putBodyParameter("ExcludeIPRanges", excludeIPRanges); @@ -642,7 +702,10 @@ public Builder excludeIPRanges(String excludeIPRanges) { } /** - * The port that the inbound traffic of the sidecar proxy does not pass through. + *

The port that the inbound traffic of the sidecar proxy does not pass through.

+ * + * example: + *

82

*/ public Builder excludeInboundPorts(String excludeInboundPorts) { this.putBodyParameter("ExcludeInboundPorts", excludeInboundPorts); @@ -651,7 +714,10 @@ public Builder excludeInboundPorts(String excludeInboundPorts) { } /** - * The port that the outbound traffic of the sidecar proxy does not pass through. + *

The port that the outbound traffic of the sidecar proxy does not pass through.

+ * + * example: + *

81

*/ public Builder excludeOutboundPorts(String excludeOutboundPorts) { this.putBodyParameter("ExcludeOutboundPorts", excludeOutboundPorts); @@ -660,11 +726,14 @@ public Builder excludeOutboundPorts(String excludeOutboundPorts) { } /** - * Specifies whether applications can be started only after Istio Proxy starts. Valid values: - *

+ *

Specifies whether applications can be started only after Istio Proxy starts. Valid values:

+ *
    + *
  • true: Applications can be started only after Istio Proxy starts.
  • + *
  • false: Applications can be started before Istio Proxy starts.
  • + *
* - * * `true`: Applications can be started only after Istio Proxy starts. - * * `false`: Applications can be started before Istio Proxy starts. + * example: + *

true

*/ public Builder holdApplicationUntilProxyStarts(Boolean holdApplicationUntilProxyStarts) { this.putBodyParameter("HoldApplicationUntilProxyStarts", holdApplicationUntilProxyStarts); @@ -673,7 +742,12 @@ public Builder holdApplicationUntilProxyStarts(Boolean holdApplicationUntilProxy } /** - * The range of IP addresses that are denied to access external services. (`global.proxy.includelPRanges`) + *

The range of IP addresses that are denied to access external services. (global.proxy.includelPRanges)

+ * + * example: + *
    + *
  • + *
*/ public Builder includeIPRanges(String includeIPRanges) { this.putBodyParameter("IncludeIPRanges", includeIPRanges); @@ -682,7 +756,10 @@ public Builder includeIPRanges(String includeIPRanges) { } /** - * The port that the inbound traffic of the sidecar proxy passes through. + *

The port that the inbound traffic of the sidecar proxy passes through.

+ * + * example: + *

83

*/ public Builder includeInboundPorts(String includeInboundPorts) { this.putBodyParameter("IncludeInboundPorts", includeInboundPorts); @@ -691,7 +768,10 @@ public Builder includeInboundPorts(String includeInboundPorts) { } /** - * The port that the outbound traffic of the sidecar proxy passes through. + *

The port that the outbound traffic of the sidecar proxy passes through.

+ * + * example: + *

84

*/ public Builder includeOutboundPorts(String includeOutboundPorts) { this.putBodyParameter("IncludeOutboundPorts", includeOutboundPorts); @@ -700,11 +780,14 @@ public Builder includeOutboundPorts(String includeOutboundPorts) { } /** - * The mode in which the sidecar proxy intercepts inbound traffic. Valid values: - *

+ *

The mode in which the sidecar proxy intercepts inbound traffic. Valid values:

+ *
    + *
  • REDIRECT: The sidecar proxy intercepts inbound traffic in the REDIRECT mode.
  • + *
  • TPROXY: The sidecar proxy intercepts inbound traffic in the TPROXY mode.
  • + *
* - * * `REDIRECT`: The sidecar proxy intercepts inbound traffic in the REDIRECT mode. - * * `TPROXY`: The sidecar proxy intercepts inbound traffic in the TPROXY mode. + * example: + *

TPROXY

*/ public Builder interceptionMode(String interceptionMode) { this.putBodyParameter("InterceptionMode", interceptionMode); @@ -713,11 +796,14 @@ public Builder interceptionMode(String interceptionMode) { } /** - * Specifies whether to enable the Domain Name System (DNS) proxy feature. Valid values: - *

+ *

Specifies whether to enable the Domain Name System (DNS) proxy feature. Valid values:

+ *
    + *
  • true: The DNS proxy feature is enabled.
  • + *
  • false: The DNS proxy feature is disabled.
  • + *
* - * * `true`: The DNS proxy feature is enabled. - * * `false`: The DNS proxy feature is disabled. + * example: + *

true

*/ public Builder istioDNSProxyEnabled(Boolean istioDNSProxyEnabled) { this.putBodyParameter("IstioDNSProxyEnabled", istioDNSProxyEnabled); @@ -726,7 +812,10 @@ public Builder istioDNSProxyEnabled(Boolean istioDNSProxyEnabled) { } /** - * The lifecycle of the sidecar proxy. + *

The lifecycle of the sidecar proxy.

+ * + * example: + *

{"postStart":{"exec":{"command":["pilot-agent","wait"]}},"preStop":{"exec":{"command":["/bin/sh","-c","sleep 15"]}}}

*/ public Builder lifecycle(String lifecycle) { this.putBodyParameter("Lifecycle", lifecycle); @@ -735,7 +824,10 @@ public Builder lifecycle(String lifecycle) { } /** - * The log level. Valid values: `info`, `debug`, `tracing`, and `error`. + *

The log level. Valid values: info, debug, tracing, and error.

+ * + * example: + *

info

*/ public Builder logLevel(String logLevel) { this.putBodyParameter("LogLevel", logLevel); @@ -744,7 +836,10 @@ public Builder logLevel(String logLevel) { } /** - * The namespace for which you want to update the sidecar proxy configurations. + *

The namespace for which you want to update the sidecar proxy configurations.

+ * + * example: + *

default

*/ public Builder namespace(String namespace) { this.putBodyParameter("Namespace", namespace); @@ -753,7 +848,10 @@ public Builder namespace(String namespace) { } /** - * The post-start parameters of Istio Proxy. + *

The post-start parameters of Istio Proxy.

+ * + * example: + *

{"exec":{"command":["pilot-agent","wait"]}}

*/ public Builder postStart(String postStart) { this.putBodyParameter("PostStart", postStart); @@ -762,7 +860,10 @@ public Builder postStart(String postStart) { } /** - * The pre-close parameters of Istio Proxy. + *

The pre-close parameters of Istio Proxy.

+ * + * example: + *

{"exec":{"command":["/bin/sh","-c","sleep 15"]}}

*/ public Builder preStop(String preStop) { this.putBodyParameter("PreStop", preStop); @@ -771,7 +872,14 @@ public Builder preStop(String preStop) { } /** - * Privileged. + *

Specifies whether to enable the privileged mode in the security context of the sidecar proxy containers. Valid values:

+ *
    + *
  • true: enables the privileged mode. This means that the sidecar proxy containers run in privileged mode.
  • + *
  • false: does not enable the privileged mode.
  • + *
+ * + * example: + *

false

*/ public Builder privileged(Boolean privileged) { this.putBodyParameter("Privileged", privileged); @@ -780,7 +888,10 @@ public Builder privileged(Boolean privileged) { } /** - * ProxyInitAckSloCPUResourceLimit. + *

The maximum number of reclaimed CPU cores provided by Container Service for Kubernetes (ACK) that are available to the istio-init container. Reclaimed resources, including CPU cores and memory, are resources that can be dynamically overcommitted. This configuration item is used to set the maximum number of CPU cores that are available to the istio-init container in a pod labeled with koordinator.sh/qosClass. Unit: millicore.

+ * + * example: + *

2000

*/ public Builder proxyInitAckSloCPUResourceLimit(String proxyInitAckSloCPUResourceLimit) { this.putBodyParameter("ProxyInitAckSloCPUResourceLimit", proxyInitAckSloCPUResourceLimit); @@ -789,7 +900,10 @@ public Builder proxyInitAckSloCPUResourceLimit(String proxyInitAckSloCPUResource } /** - * ProxyInitAckSloCPUResourceRequest. + *

The minimum number of reclaimed CPU cores provided by ACK that the istio-init container requires at runtime. This configuration item is used to set the minimum number of reclaimed CPU cores for the istio-init container in a pod labeled with koordinator.sh/qosClass. Unit: millicore.

+ * + * example: + *

100

*/ public Builder proxyInitAckSloCPUResourceRequest(String proxyInitAckSloCPUResourceRequest) { this.putBodyParameter("ProxyInitAckSloCPUResourceRequest", proxyInitAckSloCPUResourceRequest); @@ -798,7 +912,10 @@ public Builder proxyInitAckSloCPUResourceRequest(String proxyInitAckSloCPUResour } /** - * ProxyInitAckSloMemoryResourceLimit. + *

The maximum size of reclaimed memory resources provided by ACK that are available to the istio-init container. This configuration item is used to set the maximum size of memory that is available to the istio-init container in a pod labeled with koordinator.sh/qosClass.

+ * + * example: + *

2048Mi

*/ public Builder proxyInitAckSloMemoryResourceLimit(String proxyInitAckSloMemoryResourceLimit) { this.putBodyParameter("ProxyInitAckSloMemoryResourceLimit", proxyInitAckSloMemoryResourceLimit); @@ -807,7 +924,10 @@ public Builder proxyInitAckSloMemoryResourceLimit(String proxyInitAckSloMemoryRe } /** - * ProxyInitAckSloMemoryResourceRequest. + *

The minimum size of reclaimed memory provided by ACK that the istio-init container requires at runtime. This configuration item is used to set the minimum size of reclaimed memory for the istio-init container in a pod labeled with koordinator.sh/qosClass.

+ * + * example: + *

128Mi

*/ public Builder proxyInitAckSloMemoryResourceRequest(String proxyInitAckSloMemoryResourceRequest) { this.putBodyParameter("ProxyInitAckSloMemoryResourceRequest", proxyInitAckSloMemoryResourceRequest); @@ -816,7 +936,10 @@ public Builder proxyInitAckSloMemoryResourceRequest(String proxyInitAckSloMemory } /** - * The maximum number of CPU cores that are available to the sidecar proxy init container. + *

The maximum number of CPU cores that are available to the sidecar proxy init container.

+ * + * example: + *

2000 m

*/ public Builder proxyInitCPUResourceLimit(String proxyInitCPUResourceLimit) { this.putBodyParameter("ProxyInitCPUResourceLimit", proxyInitCPUResourceLimit); @@ -825,7 +948,10 @@ public Builder proxyInitCPUResourceLimit(String proxyInitCPUResourceLimit) { } /** - * The minimum number of CPU cores that are requested by the sidecar proxy init container. + *

The minimum number of CPU cores that are requested by the sidecar proxy init container.

+ * + * example: + *

60 m

*/ public Builder proxyInitCPUResourceRequest(String proxyInitCPUResourceRequest) { this.putBodyParameter("ProxyInitCPUResourceRequest", proxyInitCPUResourceRequest); @@ -834,7 +960,10 @@ public Builder proxyInitCPUResourceRequest(String proxyInitCPUResourceRequest) { } /** - * The maximum size of memory that is available to the sidecar proxy init container. + *

The maximum size of memory that is available to the sidecar proxy init container.

+ * + * example: + *

50 Mi

*/ public Builder proxyInitMemoryResourceLimit(String proxyInitMemoryResourceLimit) { this.putBodyParameter("ProxyInitMemoryResourceLimit", proxyInitMemoryResourceLimit); @@ -843,7 +972,10 @@ public Builder proxyInitMemoryResourceLimit(String proxyInitMemoryResourceLimit) } /** - * The minimum size of memory that is requested by the sidecar proxy init container. + *

The minimum size of memory that is requested by the sidecar proxy init container.

+ * + * example: + *

30 Mi

*/ public Builder proxyInitMemoryResourceRequest(String proxyInitMemoryResourceRequest) { this.putBodyParameter("ProxyInitMemoryResourceRequest", proxyInitMemoryResourceRequest); @@ -852,7 +984,10 @@ public Builder proxyInitMemoryResourceRequest(String proxyInitMemoryResourceRequ } /** - * The environment variables that are added to a sidecar proxy. The environment variables are represented as JSON objects. The keys and values in the JSON objects represent the keys and values added to the environment variables of the sidecar proxy. + *

The environment variables that are added to a sidecar proxy. The environment variables are represented as JSON objects. The keys and values in the JSON objects represent the keys and values added to the environment variables of the sidecar proxy.

+ * + * example: + *

{"EXIT_ON_ZERO_ACTIVE_CONNECTIONS":"true"}

*/ public Builder proxyMetadata(String proxyMetadata) { this.putBodyParameter("ProxyMetadata", proxyMetadata); @@ -861,7 +996,10 @@ public Builder proxyMetadata(String proxyMetadata) { } /** - * The monitoring metrics for data collected by Envoy proxies. The value is in the JSON format. + *

The monitoring metrics for data collected by Envoy proxies. The value is in the JSON format.

+ * + * example: + *

{ "inclusionPrefixes": [ "cluster.outbound", "cluster_manager", "listener_manager", "server", "cluster.xds-grpc" ], "inclusionRegexps": [ "listener..downstream_cx_total", "listener..downstream_cx_active" ] }

*/ public Builder proxyStatsMatcher(String proxyStatsMatcher) { this.putBodyParameter("ProxyStatsMatcher", proxyStatsMatcher); @@ -870,7 +1008,10 @@ public Builder proxyStatsMatcher(String proxyStatsMatcher) { } /** - * ReadinessFailureThreshold. + *

The number of readiness check failures required before marking a sidecar proxy container as not ready.

+ * + * example: + *

5

*/ public Builder readinessFailureThreshold(Integer readinessFailureThreshold) { this.putBodyParameter("ReadinessFailureThreshold", readinessFailureThreshold); @@ -879,7 +1020,10 @@ public Builder readinessFailureThreshold(Integer readinessFailureThreshold) { } /** - * ReadinessInitialDelaySeconds. + *

The amount of time to wait before the first readiness check of a sidecar proxy container is performed. Unit: seconds.

+ * + * example: + *

1

*/ public Builder readinessInitialDelaySeconds(Integer readinessInitialDelaySeconds) { this.putBodyParameter("ReadinessInitialDelaySeconds", readinessInitialDelaySeconds); @@ -888,7 +1032,10 @@ public Builder readinessInitialDelaySeconds(Integer readinessInitialDelaySeconds } /** - * ReadinessPeriodSeconds. + *

The interval between two readiness checks of a sidecar proxy container. Unit: seconds.

+ * + * example: + *

2

*/ public Builder readinessPeriodSeconds(Integer readinessPeriodSeconds) { this.putBodyParameter("ReadinessPeriodSeconds", readinessPeriodSeconds); @@ -897,7 +1044,49 @@ public Builder readinessPeriodSeconds(Integer readinessPeriodSeconds) { } /** - * The ID of the ASM instance. + *

Indicates the runtime parameters of Envoy proxy processes in the sidecar proxy container. This parameter is a serialized JSON string. The keys and values of a JSON object are the keys and the values of a Envoy Runtime Parameter respectively.

+ *

Valid values:

+ *
    + *
  • global_downstream_max_connections: indicates that the limits on the number of connections from downstream to Envoy.
  • + *
+ * + * example: + *

{"overload.global_downstream_max_connections":"65536"}

+ */ + public Builder runtimeValues(String runtimeValues) { + this.putBodyParameter("RuntimeValues", runtimeValues); + this.runtimeValues = runtimeValues; + return this; + } + + /** + *

Specifies whether to enable Shared Memory Communications over Remote Direct Memory Access (SMC-R) optimization. The SMC-R optimization feature uses Alibaba Cloud Linux 3 and elastic remote direct memory access (eRDMA) network devices, which optimizes cross-node communication.

+ * + * example: + *

false

+ */ + public Builder SMCEnabled(Boolean SMCEnabled) { + this.putBodyParameter("SMCEnabled", SMCEnabled); + this.SMCEnabled = SMCEnabled; + return this; + } + + /** + * ScaledSidecarResource. + */ + public Builder scaledSidecarResource(ScaledSidecarResource scaledSidecarResource) { + String scaledSidecarResourceShrink = shrink(scaledSidecarResource, "ScaledSidecarResource", "json"); + this.putBodyParameter("ScaledSidecarResource", scaledSidecarResourceShrink); + this.scaledSidecarResource = scaledSidecarResource; + return this; + } + + /** + *

The ID of the ASM instance.

+ *

This parameter is required.

+ * + * example: + *

ca04bc38979214bf2882be79d39b4****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); @@ -906,7 +1095,10 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * SidecarProxyAckSloCPUResourceLimit. + *

The maximum number of reclaimed CPU cores provided by ACK that are available to the sidecar proxy container. This configuration item is used to set the maximum number of CPU cores that are available to the sidecar proxy container in a pod labeled with koordinator.sh/qosClass. Unit: millicore.

+ * + * example: + *

2000

*/ public Builder sidecarProxyAckSloCPUResourceLimit(String sidecarProxyAckSloCPUResourceLimit) { this.putBodyParameter("SidecarProxyAckSloCPUResourceLimit", sidecarProxyAckSloCPUResourceLimit); @@ -915,7 +1107,10 @@ public Builder sidecarProxyAckSloCPUResourceLimit(String sidecarProxyAckSloCPURe } /** - * SidecarProxyAckSloCPUResourceRequest. + *

The minimum number of reclaimed CPU cores provided by ACK that the sidecar proxy container requires at runtime. This configuration item is used to set the minimum number of reclaimed CPU cores for the sidecar proxy container in a pod labeled with koordinator.sh/qosClass. Unit: millicore.

+ * + * example: + *

100

*/ public Builder sidecarProxyAckSloCPUResourceRequest(String sidecarProxyAckSloCPUResourceRequest) { this.putBodyParameter("SidecarProxyAckSloCPUResourceRequest", sidecarProxyAckSloCPUResourceRequest); @@ -924,7 +1119,10 @@ public Builder sidecarProxyAckSloCPUResourceRequest(String sidecarProxyAckSloCPU } /** - * SidecarProxyAckSloMemoryResourceLimit. + *

The maximum size of reclaimed memory resources provided by ACK that are available to the sidecar proxy container. This configuration item is used to set the maximum size of memory that is available to the sidecar proxy container in a pod labeled with koordinator.sh/qosClass.

+ * + * example: + *

2048Mi

*/ public Builder sidecarProxyAckSloMemoryResourceLimit(String sidecarProxyAckSloMemoryResourceLimit) { this.putBodyParameter("SidecarProxyAckSloMemoryResourceLimit", sidecarProxyAckSloMemoryResourceLimit); @@ -933,7 +1131,10 @@ public Builder sidecarProxyAckSloMemoryResourceLimit(String sidecarProxyAckSloMe } /** - * SidecarProxyAckSloMemoryResourceRequest. + *

The minimum size of reclaimed memory provided by ACK that the sidecar proxy container requires at runtime. This configuration item is used to set the minimum size of reclaimed memory for the sidecar proxy container in a pod labeled with koordinator.sh/qosClass.

+ * + * example: + *

128Mi

*/ public Builder sidecarProxyAckSloMemoryResourceRequest(String sidecarProxyAckSloMemoryResourceRequest) { this.putBodyParameter("SidecarProxyAckSloMemoryResourceRequest", sidecarProxyAckSloMemoryResourceRequest); @@ -942,7 +1143,10 @@ public Builder sidecarProxyAckSloMemoryResourceRequest(String sidecarProxyAckSlo } /** - * The maximum number of CPU cores that are available to the sidecar proxy container. + *

The maximum number of CPU cores that are available to the sidecar proxy container.

+ * + * example: + *

2000 m

*/ public Builder sidecarProxyCPUResourceLimit(String sidecarProxyCPUResourceLimit) { this.putBodyParameter("SidecarProxyCPUResourceLimit", sidecarProxyCPUResourceLimit); @@ -951,7 +1155,10 @@ public Builder sidecarProxyCPUResourceLimit(String sidecarProxyCPUResourceLimit) } /** - * The minimum number of CPU cores that are requested by the sidecar proxy container. + *

The minimum number of CPU cores that are requested by the sidecar proxy container.

+ * + * example: + *

60 m

*/ public Builder sidecarProxyCPUResourceRequest(String sidecarProxyCPUResourceRequest) { this.putBodyParameter("SidecarProxyCPUResourceRequest", sidecarProxyCPUResourceRequest); @@ -960,7 +1167,10 @@ public Builder sidecarProxyCPUResourceRequest(String sidecarProxyCPUResourceRequ } /** - * The maximum size of memory that is available to the sidecar proxy container. + *

The maximum size of memory that is available to the sidecar proxy container.

+ * + * example: + *

50 Mi

*/ public Builder sidecarProxyMemoryResourceLimit(String sidecarProxyMemoryResourceLimit) { this.putBodyParameter("SidecarProxyMemoryResourceLimit", sidecarProxyMemoryResourceLimit); @@ -969,7 +1179,10 @@ public Builder sidecarProxyMemoryResourceLimit(String sidecarProxyMemoryResource } /** - * The minimum size of memory that is requested by the sidecar proxy container. + *

The minimum size of memory that is requested by the sidecar proxy container.

+ * + * example: + *

30 Mi

*/ public Builder sidecarProxyMemoryResourceRequest(String sidecarProxyMemoryResourceRequest) { this.putBodyParameter("SidecarProxyMemoryResourceRequest", sidecarProxyMemoryResourceRequest); @@ -978,7 +1191,10 @@ public Builder sidecarProxyMemoryResourceRequest(String sidecarProxyMemoryResour } /** - * The maximum period of time that the sidecar proxy waits for a request to end. + *

The maximum period of time that the sidecar proxy waits for a request to end.

+ * + * example: + *

6s

*/ public Builder terminationDrainDuration(String terminationDrainDuration) { this.putBodyParameter("TerminationDrainDuration", terminationDrainDuration); @@ -987,16 +1203,21 @@ public Builder terminationDrainDuration(String terminationDrainDuration) { } /** - * The custom configurations of Tracing Analysis. The configurations must be serialized into JSON strings. The configurations contain the following parameters: - *

- * - * * `sampling`: The sampling rate, which is of the DOUBLE type. - * - * * `custom_tags`: The custom tags added to reported spans, which are of the MAP type. The key of a tag is of the string type. The value of a tag is in the JSON format. A custom tag can belong to one of the following types: + *

The custom configurations of Tracing Analysis. The configurations must be serialized into JSON strings. The configurations contain the following parameters:

+ *
    + *
  • sampling: The sampling rate, which is of the DOUBLE type.

    + *
  • + *
  • custom_tags: The custom tags added to reported spans, which are of the MAP type. The key of a tag is of the string type. The value of a tag is in the JSON format. A custom tag can belong to one of the following types:

    + *
      + *
    • literal: The tag value is a fixed value in the JSON format. This tag must contain the value field that specifies a literal. Example: {"value":"test"}.
    • + *
    • header: The tag value is a request header in the JSON format. This tag must contain the name field and defaultValue field.The name field indicates the name of the request header. The defaultValue field indicates the default value that is used when no request header is available. Example: {"name":"test","defaultValue":"test"}.
    • + *
    • environment: The tag value is an environment variable in the JSON format. This tag must contain the name field and defaultValue field. The name field indicates the name of the environment variable. The defaultValue field indicates the environment variable that is used when no environment variable is available. Example: {"name":"test","defaultValue":"test"}.
    • + *
    + *
  • + *
* - * * `literal`: The tag value is a fixed value in the JSON format. This tag must contain the `value` field that specifies a literal. Example: `{"value":"test"}`. - * * `header`: The tag value is a request header in the JSON format. This tag must contain the `name` field and `defaultValue` field.The name field indicates the name of the request header. The defaultValue field indicates the default value that is used when no request header is available. Example: `{"name":"test","defaultValue":"test"}`. - * * `environment`: The tag value is an environment variable in the JSON format. This tag must contain the `name` field and `defaultValue` field. The name field indicates the name of the environment variable. The defaultValue field indicates the environment variable that is used when no environment variable is available. Example: `{"name":"test","defaultValue":"test"}`. + * example: + *

{"sampling":99.8,"custom_tags":{"test":{"literal":{"value":"testnamespace"}}}}

*/ public Builder tracing(String tracing) { this.putBodyParameter("Tracing", tracing); @@ -1011,4 +1232,100 @@ public UpdateNamespaceScopeSidecarConfigRequest build() { } + /** + * + * {@link UpdateNamespaceScopeSidecarConfigRequest} extends {@link TeaModel} + * + *

UpdateNamespaceScopeSidecarConfigRequest

+ */ + public static class ScaledSidecarResource extends TeaModel { + @com.aliyun.core.annotation.NameInMap("ContainerRef") + private String containerRef; + + @com.aliyun.core.annotation.NameInMap("ResourceCalculationStrategy") + private String resourceCalculationStrategy; + + @com.aliyun.core.annotation.NameInMap("ResourcePercentage") + private Integer resourcePercentage; + + private ScaledSidecarResource(Builder builder) { + this.containerRef = builder.containerRef; + this.resourceCalculationStrategy = builder.resourceCalculationStrategy; + this.resourcePercentage = builder.resourcePercentage; + } + + public static Builder builder() { + return new Builder(); + } + + public static ScaledSidecarResource create() { + return builder().build(); + } + + /** + * @return containerRef + */ + public String getContainerRef() { + return this.containerRef; + } + + /** + * @return resourceCalculationStrategy + */ + public String getResourceCalculationStrategy() { + return this.resourceCalculationStrategy; + } + + /** + * @return resourcePercentage + */ + public Integer getResourcePercentage() { + return this.resourcePercentage; + } + + public static final class Builder { + private String containerRef; + private String resourceCalculationStrategy; + private Integer resourcePercentage; + + private Builder() { + } + + private Builder(ScaledSidecarResource model) { + this.containerRef = model.containerRef; + this.resourceCalculationStrategy = model.resourceCalculationStrategy; + this.resourcePercentage = model.resourcePercentage; + } + + /** + * ContainerRef. + */ + public Builder containerRef(String containerRef) { + this.containerRef = containerRef; + return this; + } + + /** + * ResourceCalculationStrategy. + */ + public Builder resourceCalculationStrategy(String resourceCalculationStrategy) { + this.resourceCalculationStrategy = resourceCalculationStrategy; + return this; + } + + /** + * ResourcePercentage. + */ + public Builder resourcePercentage(Integer resourcePercentage) { + this.resourcePercentage = resourcePercentage; + return this; + } + + public ScaledSidecarResource build() { + return new ScaledSidecarResource(this); + } + + } + + } } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateNamespaceScopeSidecarConfigResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateNamespaceScopeSidecarConfigResponse.java index 47ebc6b0a90..a331d7839db 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateNamespaceScopeSidecarConfigResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateNamespaceScopeSidecarConfigResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateNamespaceScopeSidecarConfigResponse} extends {@link TeaModel} * *

UpdateNamespaceScopeSidecarConfigResponse

*/ public class UpdateNamespaceScopeSidecarConfigResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private UpdateNamespaceScopeSidecarConfigResponseBody body; private UpdateNamespaceScopeSidecarConfigResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static UpdateNamespaceScopeSidecarConfigResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public UpdateNamespaceScopeSidecarConfigResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private UpdateNamespaceScopeSidecarConfigResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(UpdateNamespaceScopeSidecarConfigResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateNamespaceScopeSidecarConfigResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateNamespaceScopeSidecarConfigResponseBody.java index 8e2203bf9bd..77b34e4e11a 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateNamespaceScopeSidecarConfigResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateNamespaceScopeSidecarConfigResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateNamespaceScopeSidecarConfigResponseBody} extends {@link TeaModel} * *

UpdateNamespaceScopeSidecarConfigResponseBody

*/ public class UpdateNamespaceScopeSidecarConfigResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private UpdateNamespaceScopeSidecarConfigResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static UpdateNamespaceScopeSidecarConfigResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(UpdateNamespaceScopeSidecarConfigResponseBody model) { + this.requestId = model.requestId; + } + /** - * The ID of the request. + *

The ID of the request.

+ * + * example: + *

31d3a0f0-07ed-4f6e-9004-1804498c****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneGroupRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneGroupRequest.java index 9a770f781e4..25250ed13ee 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneGroupRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneGroupRequest.java @@ -1,40 +1,60 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateSwimLaneGroupRequest} extends {@link RequestModel} * *

UpdateSwimLaneGroupRequest

*/ public class UpdateSwimLaneGroupRequest extends Request { - @Body - @NameInMap("FallbackTarget") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("FallbackTarget") private String fallbackTarget; - @Body - @NameInMap("GroupName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("GroupName") private String groupName; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("IngressRoutingStrategy") + private String ingressRoutingStrategy; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceLevelFallbackTarget") + private String serviceLevelFallbackTarget; + + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; - @Body - @NameInMap("ServicesList") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServicesList") private String servicesList; + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("WeightedIngressRule") + private String weightedIngressRule; + private UpdateSwimLaneGroupRequest(Builder builder) { super(builder); this.fallbackTarget = builder.fallbackTarget; this.groupName = builder.groupName; + this.ingressRoutingStrategy = builder.ingressRoutingStrategy; + this.serviceLevelFallbackTarget = builder.serviceLevelFallbackTarget; this.serviceMeshId = builder.serviceMeshId; this.servicesList = builder.servicesList; + this.weightedIngressRule = builder.weightedIngressRule; } public static Builder builder() { @@ -45,7 +65,7 @@ public static UpdateSwimLaneGroupRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -64,6 +84,20 @@ public String getGroupName() { return this.groupName; } + /** + * @return ingressRoutingStrategy + */ + public String getIngressRoutingStrategy() { + return this.ingressRoutingStrategy; + } + + /** + * @return serviceLevelFallbackTarget + */ + public String getServiceLevelFallbackTarget() { + return this.serviceLevelFallbackTarget; + } + /** * @return serviceMeshId */ @@ -78,11 +112,21 @@ public String getServicesList() { return this.servicesList; } + /** + * @return weightedIngressRule + */ + public String getWeightedIngressRule() { + return this.weightedIngressRule; + } + public static final class Builder extends Request.Builder { private String fallbackTarget; private String groupName; + private String ingressRoutingStrategy; + private String serviceLevelFallbackTarget; private String serviceMeshId; private String servicesList; + private String weightedIngressRule; private Builder() { super(); @@ -92,12 +136,18 @@ private Builder(UpdateSwimLaneGroupRequest request) { super(request); this.fallbackTarget = request.fallbackTarget; this.groupName = request.groupName; + this.ingressRoutingStrategy = request.ingressRoutingStrategy; + this.serviceLevelFallbackTarget = request.serviceLevelFallbackTarget; this.serviceMeshId = request.serviceMeshId; this.servicesList = request.servicesList; + this.weightedIngressRule = request.weightedIngressRule; } /** - * FallbackTarget. + *

The name of the baseline lane in the lane group if the lane group is in permissive mode. This parameter is valid only for a lane group in permissive mode.

+ * + * example: + *

s1

*/ public Builder fallbackTarget(String fallbackTarget) { this.putBodyParameter("FallbackTarget", fallbackTarget); @@ -106,7 +156,10 @@ public Builder fallbackTarget(String fallbackTarget) { } /** - * The name of the lane group. + *

The name of the lane group.

+ * + * example: + *

test

*/ public Builder groupName(String groupName) { this.putBodyParameter("GroupName", groupName); @@ -115,7 +168,36 @@ public Builder groupName(String groupName) { } /** - * The Service Mesh (ASM) instance ID. + *

The policy used to route requests among multiple lanes in a lane group. Valid values:

+ *
    + *
  • weighted: a weight-based request routing policy. Requests are matched based on uniform rules and then routed to different lanes in a lane group at a specified ratio.
  • + *
  • rule-based: a rule-based request routing policy. Each lane is configured with request routing rules. Only requests that match the request routing rules of a specific lane are routed to the lane.
  • + *
+ * + * example: + *

weighted

+ */ + public Builder ingressRoutingStrategy(String ingressRoutingStrategy) { + this.putBodyParameter("IngressRoutingStrategy", ingressRoutingStrategy); + this.ingressRoutingStrategy = ingressRoutingStrategy; + return this; + } + + /** + * ServiceLevelFallbackTarget. + */ + public Builder serviceLevelFallbackTarget(String serviceLevelFallbackTarget) { + this.putBodyParameter("ServiceLevelFallbackTarget", serviceLevelFallbackTarget); + this.serviceLevelFallbackTarget = serviceLevelFallbackTarget; + return this; + } + + /** + *

The Service Mesh (ASM) instance ID.

+ *

This parameter is required.

+ * + * example: + *

xxx

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); @@ -124,7 +206,10 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * A list of services associated with the lane group. + *

A list of services associated with the lane group.

+ * + * example: + *

["sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc"]

*/ public Builder servicesList(String servicesList) { this.putBodyParameter("ServicesList", servicesList); @@ -132,6 +217,18 @@ public Builder servicesList(String servicesList) { return this; } + /** + *

The weight-based request routing rules for a lane group. You can specify this parameter only when the IngressRoutingStrategy parameter is set to weighted.

+ * + * example: + *

{"Domains":["*"],"MatchRequests":[{"URI":{"MatchingMode":"exact","MatchingContent":"/mock"},"Headers":[{"Name":"test","MatchingMode":"exact","MatchingContent":"yes"}]}]}

+ */ + public Builder weightedIngressRule(String weightedIngressRule) { + this.putBodyParameter("WeightedIngressRule", weightedIngressRule); + this.weightedIngressRule = weightedIngressRule; + return this; + } + @Override public UpdateSwimLaneGroupRequest build() { return new UpdateSwimLaneGroupRequest(this); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneGroupResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneGroupResponse.java index 45aab8bd8ef..97895f5dd3c 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneGroupResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneGroupResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateSwimLaneGroupResponse} extends {@link TeaModel} * *

UpdateSwimLaneGroupResponse

*/ public class UpdateSwimLaneGroupResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private UpdateSwimLaneGroupResponseBody body; private UpdateSwimLaneGroupResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static UpdateSwimLaneGroupResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public UpdateSwimLaneGroupResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private UpdateSwimLaneGroupResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(UpdateSwimLaneGroupResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneGroupResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneGroupResponseBody.java index 3f56de43b97..816ee71a3db 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneGroupResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneGroupResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateSwimLaneGroupResponseBody} extends {@link TeaModel} * *

UpdateSwimLaneGroupResponseBody

*/ public class UpdateSwimLaneGroupResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private UpdateSwimLaneGroupResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static UpdateSwimLaneGroupResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(UpdateSwimLaneGroupResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

yyy

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneRequest.java index c9e59f0c959..0324eca8343 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneRequest.java @@ -1,40 +1,45 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateSwimLaneRequest} extends {@link RequestModel} * *

UpdateSwimLaneRequest

*/ public class UpdateSwimLaneRequest extends Request { - @Body - @NameInMap("GroupName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("GroupName") private String groupName; - @Body - @NameInMap("LabelSelectorKey") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("LabelSelectorKey") private String labelSelectorKey; - @Body - @NameInMap("LabelSelectorValue") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("LabelSelectorValue") private String labelSelectorValue; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; - @Body - @NameInMap("ServicesList") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServicesList") private String servicesList; - @Body - @NameInMap("SwimLaneName") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SwimLaneName") private String swimLaneName; private UpdateSwimLaneRequest(Builder builder) { @@ -55,7 +60,7 @@ public static UpdateSwimLaneRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -125,7 +130,10 @@ private Builder(UpdateSwimLaneRequest request) { } /** - * The name of the lane group. + *

The name of the lane group.

+ * + * example: + *

test

*/ public Builder groupName(String groupName) { this.putBodyParameter("GroupName", groupName); @@ -134,7 +142,10 @@ public Builder groupName(String groupName) { } /** - * The label key of the associated service workload. Set the value to `ASM_TRAFFIC_TAG`. + *

The label key of the associated service workload. Set the value to ASM_TRAFFIC_TAG.

+ * + * example: + *

ASM_TRAFFIC_TAG

*/ public Builder labelSelectorKey(String labelSelectorKey) { this.putBodyParameter("LabelSelectorKey", labelSelectorKey); @@ -143,7 +154,10 @@ public Builder labelSelectorKey(String labelSelectorKey) { } /** - * The label value of the associated service workload.`` + *

The label value of the associated service workload.``

+ * + * example: + *

v1

*/ public Builder labelSelectorValue(String labelSelectorValue) { this.putBodyParameter("LabelSelectorValue", labelSelectorValue); @@ -152,7 +166,11 @@ public Builder labelSelectorValue(String labelSelectorValue) { } /** - * The ID of the Service Mesh (ASM) instance. + *

The ID of the Service Mesh (ASM) instance.

+ *

This parameter is required.

+ * + * example: + *

xxx

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); @@ -161,7 +179,10 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * A list of services associated with the lane. + *

A list of services associated with the lane.

+ * + * example: + *

["sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mocka","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockb","sh01/c089443ea9e50403fa4f0a6237d11e0a9/default/mockc"]

*/ public Builder servicesList(String servicesList) { this.putBodyParameter("ServicesList", servicesList); @@ -170,7 +191,10 @@ public Builder servicesList(String servicesList) { } /** - * The name of the lane. + *

The name of the lane.

+ * + * example: + *

s1

*/ public Builder swimLaneName(String swimLaneName) { this.putBodyParameter("SwimLaneName", swimLaneName); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneResponse.java index 9b6af05f6ea..d351d7baa81 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateSwimLaneResponse} extends {@link TeaModel} * *

UpdateSwimLaneResponse

*/ public class UpdateSwimLaneResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private UpdateSwimLaneResponseBody body; private UpdateSwimLaneResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static UpdateSwimLaneResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public UpdateSwimLaneResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private UpdateSwimLaneResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(UpdateSwimLaneResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneResponseBody.java index 1dc347938aa..372dbf9cb26 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateSwimLaneResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateSwimLaneResponseBody} extends {@link TeaModel} * *

UpdateSwimLaneResponseBody

*/ public class UpdateSwimLaneResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private UpdateSwimLaneResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static UpdateSwimLaneResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(UpdateSwimLaneResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

yyy

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateWaypointRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateWaypointRequest.java index 0831a6baa46..0a9a7b14723 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateWaypointRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateWaypointRequest.java @@ -1,81 +1,86 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateWaypointRequest} extends {@link RequestModel} * *

UpdateWaypointRequest

*/ public class UpdateWaypointRequest extends Request { - @Body - @NameInMap("ClusterId") - @Validation(required = true, minLength = 1) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ClusterId") + @com.aliyun.core.annotation.Validation(required = true, minLength = 1) private String clusterId; - @Body - @NameInMap("HPAEnabled") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("HPAEnabled") private Boolean HPAEnabled; - @Body - @NameInMap("HPAMaxReplicas") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("HPAMaxReplicas") private Integer HPAMaxReplicas; - @Body - @NameInMap("HPAMinReplicas") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("HPAMinReplicas") private Integer HPAMinReplicas; - @Body - @NameInMap("HPATargetCPU") - @Validation(maximum = 100) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("HPATargetCPU") + @com.aliyun.core.annotation.Validation(maximum = 100) private Integer HPATargetCPU; - @Body - @NameInMap("HPATargetMemory") - @Validation(maximum = 100) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("HPATargetMemory") + @com.aliyun.core.annotation.Validation(maximum = 100) private Integer HPATargetMemory; - @Body - @NameInMap("LimitCPU") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("LimitCPU") private String limitCPU; - @Body - @NameInMap("LimitMemory") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("LimitMemory") private String limitMemory; - @Body - @NameInMap("Name") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Name") + @com.aliyun.core.annotation.Validation(required = true) private String name; - @Body - @NameInMap("Namespace") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Namespace") + @com.aliyun.core.annotation.Validation(required = true) private String namespace; - @Body - @NameInMap("PreferECI") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("PreferECI") private Boolean preferECI; - @Body - @NameInMap("Replicas") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("Replicas") private Integer replicas; - @Body - @NameInMap("RequestCPU") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("RequestCPU") private String requestCPU; - @Body - @NameInMap("RequestMemory") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("RequestMemory") private String requestMemory; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true, minLength = 1) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true, minLength = 1) private String serviceMeshId; private UpdateWaypointRequest(Builder builder) { @@ -105,7 +110,7 @@ public static UpdateWaypointRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -256,7 +261,11 @@ private Builder(UpdateWaypointRequest request) { } /** - * The ID of the cluster on the data plane. + *

The ID of the cluster on the data plane.

+ *

This parameter is required.

+ * + * example: + *

ce3c25e247da24f3aab9b7edfae83****

*/ public Builder clusterId(String clusterId) { this.putBodyParameter("ClusterId", clusterId); @@ -265,7 +274,10 @@ public Builder clusterId(String clusterId) { } /** - * Specifies whether to enable Horizontal Pod Autoscaling (HPA). + *

Specifies whether to enable Horizontal Pod Autoscaling (HPA).

+ * + * example: + *

false

*/ public Builder HPAEnabled(Boolean HPAEnabled) { this.putBodyParameter("HPAEnabled", HPAEnabled); @@ -274,7 +286,10 @@ public Builder HPAEnabled(Boolean HPAEnabled) { } /** - * The maximum number of waypoint proxy pods when HPA is enabled. + *

The maximum number of waypoint proxy pods when HPA is enabled.

+ * + * example: + *

4

*/ public Builder HPAMaxReplicas(Integer HPAMaxReplicas) { this.putBodyParameter("HPAMaxReplicas", HPAMaxReplicas); @@ -283,7 +298,10 @@ public Builder HPAMaxReplicas(Integer HPAMaxReplicas) { } /** - * The minimum number of waypoint proxy pods when HPA is enabled. + *

The minimum number of waypoint proxy pods when HPA is enabled.

+ * + * example: + *

2

*/ public Builder HPAMinReplicas(Integer HPAMinReplicas) { this.putBodyParameter("HPAMinReplicas", HPAMinReplicas); @@ -292,7 +310,10 @@ public Builder HPAMinReplicas(Integer HPAMinReplicas) { } /** - * The expected CPU utilization when HPA is enabled. + *

The expected CPU utilization when HPA is enabled.

+ * + * example: + *

91

*/ public Builder HPATargetCPU(Integer HPATargetCPU) { this.putBodyParameter("HPATargetCPU", HPATargetCPU); @@ -301,7 +322,10 @@ public Builder HPATargetCPU(Integer HPATargetCPU) { } /** - * The expected memory usage when HPA is enabled. + *

The expected memory usage when HPA is enabled.

+ * + * example: + *

89

*/ public Builder HPATargetMemory(Integer HPATargetMemory) { this.putBodyParameter("HPATargetMemory", HPATargetMemory); @@ -310,7 +334,10 @@ public Builder HPATargetMemory(Integer HPATargetMemory) { } /** - * The maximum number of CPU cores that are available to the waypoint proxy pods. + *

The maximum number of CPU cores that are available to the waypoint proxy pods.

+ * + * example: + *

2000m

*/ public Builder limitCPU(String limitCPU) { this.putBodyParameter("LimitCPU", limitCPU); @@ -319,7 +346,10 @@ public Builder limitCPU(String limitCPU) { } /** - * The maximum size of the memory that is available to the waypoint proxy pods. + *

The maximum size of the memory that is available to the waypoint proxy pods.

+ * + * example: + *

1024Mi

*/ public Builder limitMemory(String limitMemory) { this.putBodyParameter("LimitMemory", limitMemory); @@ -328,7 +358,11 @@ public Builder limitMemory(String limitMemory) { } /** - * Waypoint名称。 + *

Waypoint名称。

+ *

This parameter is required.

+ * + * example: + *

bookinfo-reviews

*/ public Builder name(String name) { this.putBodyParameter("Name", name); @@ -337,7 +371,11 @@ public Builder name(String name) { } /** - * The namespace. + *

The namespace.

+ *

This parameter is required.

+ * + * example: + *

default

*/ public Builder namespace(String namespace) { this.putBodyParameter("Namespace", namespace); @@ -346,7 +384,10 @@ public Builder namespace(String namespace) { } /** - * Specifies whether to deploy waypoint proxy pods based on Elastic Container Instance (ECI). + *

Specifies whether to deploy waypoint proxy pods based on Elastic Container Instance (ECI).

+ * + * example: + *

false

*/ public Builder preferECI(Boolean preferECI) { this.putBodyParameter("PreferECI", preferECI); @@ -355,7 +396,10 @@ public Builder preferECI(Boolean preferECI) { } /** - * The number of waypoint proxy pods. + *

The number of waypoint proxy pods.

+ * + * example: + *

1

*/ public Builder replicas(Integer replicas) { this.putBodyParameter("Replicas", replicas); @@ -364,7 +408,10 @@ public Builder replicas(Integer replicas) { } /** - * The number of CPU cores requested by the waypoint proxy pods. + *

The number of CPU cores requested by the waypoint proxy pods.

+ * + * example: + *

100m

*/ public Builder requestCPU(String requestCPU) { this.putBodyParameter("RequestCPU", requestCPU); @@ -373,7 +420,10 @@ public Builder requestCPU(String requestCPU) { } /** - * The size of the memory requested by the waypoint proxy pods. + *

The size of the memory requested by the waypoint proxy pods.

+ * + * example: + *

128Mi

*/ public Builder requestMemory(String requestMemory) { this.putBodyParameter("RequestMemory", requestMemory); @@ -382,7 +432,11 @@ public Builder requestMemory(String requestMemory) { } /** - * The Service Mesh (ASM) instance ID. + *

The Service Mesh (ASM) instance ID.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateWaypointResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateWaypointResponse.java index ee20d6ad2e0..dcd331a1585 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateWaypointResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateWaypointResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateWaypointResponse} extends {@link TeaModel} * *

UpdateWaypointResponse

*/ public class UpdateWaypointResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private UpdateWaypointResponseBody body; private UpdateWaypointResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static UpdateWaypointResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public UpdateWaypointResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private UpdateWaypointResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(UpdateWaypointResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateWaypointResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateWaypointResponseBody.java index 8cbc1e05209..843de4f0f2d 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateWaypointResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpdateWaypointResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpdateWaypointResponseBody} extends {@link TeaModel} * *

UpdateWaypointResponseBody

*/ public class UpdateWaypointResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private UpdateWaypointResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static UpdateWaypointResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(UpdateWaypointResponseBody model) { + this.requestId = model.requestId; + } + /** - * Id of the request + *

Id of the request

+ * + * example: + *

71680038-8009-5073-B43E-C057E9******

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeDetailGatewayStatusRecordValue.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeDetailGatewayStatusRecordValue.java index cdf15522c0c..0b9b1ec682c 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeDetailGatewayStatusRecordValue.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeDetailGatewayStatusRecordValue.java @@ -1,24 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpgradeDetailGatewayStatusRecordValue} extends {@link TeaModel} * *

UpgradeDetailGatewayStatusRecordValue

*/ public class UpgradeDetailGatewayStatusRecordValue extends TeaModel { - @NameInMap("Status") + @com.aliyun.core.annotation.NameInMap("Status") private String status; - @NameInMap("Message") + @com.aliyun.core.annotation.NameInMap("Message") private String message; - @NameInMap("Version") + @com.aliyun.core.annotation.NameInMap("Version") private String version; private UpgradeDetailGatewayStatusRecordValue(Builder builder) { @@ -35,6 +40,10 @@ public static UpgradeDetailGatewayStatusRecordValue create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return status */ @@ -61,16 +70,28 @@ public static final class Builder { private String message; private String version; + private Builder() { + } + + private Builder(UpgradeDetailGatewayStatusRecordValue model) { + this.status = model.status; + this.message = model.message; + this.version = model.version; + } + /** - * The upgrade status of the ingress gateway. Valid values: - *

+ *

The upgrade status of the ingress gateway. Valid values:

+ *
    + *
  • upgrading: The ingress gateway is being upgraded.
  • + *
  • pending: The ingress gateway waits to be upgraded.
  • + *
  • finished: The ingress gateway upgrade is complete.
  • + *
  • notStart: The ingress gateway upgrade does not start.
  • + *
  • failed: The ingress gateway upgrade fails.
  • + *
  • unknown: The upgrade status of the ingress gateway is unknown.
  • + *
* - * * `upgrading`: The ingress gateway is being upgraded. - * * `pending`: The ingress gateway waits to be upgraded. - * * `finished`: The ingress gateway upgrade is complete. - * * `notStart`: The ingress gateway upgrade does not start. - * * `failed`: The ingress gateway upgrade fails. - * * `unknown`: The upgrade status of the ingress gateway is unknown. + * example: + *

upgrading

*/ public Builder status(String status) { this.status = status; @@ -78,7 +99,10 @@ public Builder status(String status) { } /** - * Additional status information of the ingress gateway. + *

Additional status information of the ingress gateway.

+ * + * example: + *

success

*/ public Builder message(String message) { this.message = message; @@ -86,7 +110,10 @@ public Builder message(String message) { } /** - * The version of the ingress gateway. + *

The version of the ingress gateway.

+ * + * example: + *

1.9.7

*/ public Builder version(String version) { this.version = version; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshEditionPartiallyRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshEditionPartiallyRequest.java index 71cbd7e6323..eb2ee0f57d4 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshEditionPartiallyRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshEditionPartiallyRequest.java @@ -1,41 +1,46 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpgradeMeshEditionPartiallyRequest} extends {@link RequestModel} * *

UpgradeMeshEditionPartiallyRequest

*/ public class UpgradeMeshEditionPartiallyRequest extends Request { - @Body - @NameInMap("ASMGatewayContinue") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ASMGatewayContinue") private Boolean ASMGatewayContinue; - @Body - @NameInMap("ExpectedVersion") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ExpectedVersion") private String expectedVersion; - @Body - @NameInMap("PreCheck") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("PreCheck") private Boolean preCheck; - @Body - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; - @Body - @NameInMap("SwitchToPro") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("SwitchToPro") @Deprecated private Boolean switchToPro; - @Body - @NameInMap("UpgradeGatewayRecords") + @com.aliyun.core.annotation.Body + @com.aliyun.core.annotation.NameInMap("UpgradeGatewayRecords") private String upgradeGatewayRecords; private UpgradeMeshEditionPartiallyRequest(Builder builder) { @@ -56,7 +61,7 @@ public static UpgradeMeshEditionPartiallyRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -126,11 +131,14 @@ private Builder(UpgradeMeshEditionPartiallyRequest request) { } /** - * Specifies whether to upgrade the ASM gateways for the ASM instance. Valid values: - *

+ *

Specifies whether to upgrade the ASM gateways for the ASM instance. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

true

*/ public Builder ASMGatewayContinue(Boolean ASMGatewayContinue) { this.putBodyParameter("ASMGatewayContinue", ASMGatewayContinue); @@ -139,7 +147,10 @@ public Builder ASMGatewayContinue(Boolean ASMGatewayContinue) { } /** - * ExpectedVersion. + *

The expected version that desired to be upgraded to.

+ * + * example: + *

v1.15.3.118-g4712daf0-aliyun

*/ public Builder expectedVersion(String expectedVersion) { this.putBodyParameter("ExpectedVersion", expectedVersion); @@ -148,7 +159,10 @@ public Builder expectedVersion(String expectedVersion) { } /** - * Specifies whether to perform an upgrade check. If the value of this parameter is set to true, only the upgrade check is performed and the ASM instance is not upgraded. + *

Specifies whether to perform an upgrade check. If the value of this parameter is set to true, only the upgrade check is performed and the ASM instance is not upgraded.

+ * + * example: + *

true

*/ public Builder preCheck(Boolean preCheck) { this.putBodyParameter("PreCheck", preCheck); @@ -157,7 +171,11 @@ public Builder preCheck(Boolean preCheck) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

ca04bc38979214bf2882be79d39b4****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); @@ -166,11 +184,14 @@ public Builder serviceMeshId(String serviceMeshId) { } /** - * Specifies whether to upgrade the ASM instance to Professional Edition. Valid values: - *

+ *

Specifies whether to upgrade the ASM instance to Professional Edition. Valid values:

+ *
    + *
  • true
  • + *
  • false
  • + *
* - * * `true` - * * `false` + * example: + *

true

*/ public Builder switchToPro(Boolean switchToPro) { this.putBodyParameter("SwitchToPro", switchToPro); @@ -179,7 +200,10 @@ public Builder switchToPro(Boolean switchToPro) { } /** - * Specifies the ASM gateways to be upgraded. Separate multiple ASM gateways with commas (,). + *

Specifies the ASM gateways to be upgraded. Separate multiple ASM gateways with commas (,).

+ * + * example: + *

ingressgateway1,ingressgateway2

*/ public Builder upgradeGatewayRecords(String upgradeGatewayRecords) { this.putBodyParameter("UpgradeGatewayRecords", upgradeGatewayRecords); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshEditionPartiallyResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshEditionPartiallyResponse.java index 45c98479f01..9e5ad5fd246 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshEditionPartiallyResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshEditionPartiallyResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpgradeMeshEditionPartiallyResponse} extends {@link TeaModel} * *

UpgradeMeshEditionPartiallyResponse

*/ public class UpgradeMeshEditionPartiallyResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private UpgradeMeshEditionPartiallyResponseBody body; private UpgradeMeshEditionPartiallyResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static UpgradeMeshEditionPartiallyResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public UpgradeMeshEditionPartiallyResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private UpgradeMeshEditionPartiallyResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(UpgradeMeshEditionPartiallyResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshEditionPartiallyResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshEditionPartiallyResponseBody.java index 134c748b8b6..cce225bcd3e 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshEditionPartiallyResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshEditionPartiallyResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpgradeMeshEditionPartiallyResponseBody} extends {@link TeaModel} * *

UpgradeMeshEditionPartiallyResponseBody

*/ public class UpgradeMeshEditionPartiallyResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private UpgradeMeshEditionPartiallyResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static UpgradeMeshEditionPartiallyResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(UpgradeMeshEditionPartiallyResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

31d3a0f0-07ed-4f6e-9004-1804498c****

*/ public Builder requestId(String requestId) { this.requestId = requestId; diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshVersionRequest.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshVersionRequest.java index 2483ef16260..ad78e9da73b 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshVersionRequest.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshVersionRequest.java @@ -1,24 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpgradeMeshVersionRequest} extends {@link RequestModel} * *

UpgradeMeshVersionRequest

*/ public class UpgradeMeshVersionRequest extends Request { - @Query - @NameInMap("PreCheck") + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("PreCheck") private Boolean preCheck; - @Query - @NameInMap("ServiceMeshId") - @Validation(required = true) + @com.aliyun.core.annotation.Query + @com.aliyun.core.annotation.NameInMap("ServiceMeshId") + @com.aliyun.core.annotation.Validation(required = true) private String serviceMeshId; private UpgradeMeshVersionRequest(Builder builder) { @@ -35,7 +40,7 @@ public static UpgradeMeshVersionRequest create() { return builder().build(); } - @Override +@Override public Builder toBuilder() { return new Builder(this); } @@ -69,7 +74,10 @@ private Builder(UpgradeMeshVersionRequest request) { } /** - * Specifies whether to perform a precheck. Default value: false. If this parameter is set to true, this call only checks whether the current ASM instance meets the upgrade conditions and does not actually perform an upgrade. + *

Specifies whether to perform a precheck. Default value: false. If this parameter is set to true, this call only checks whether the current ASM instance meets the upgrade conditions and does not actually perform an upgrade.

+ * + * example: + *

false

*/ public Builder preCheck(Boolean preCheck) { this.putQueryParameter("PreCheck", preCheck); @@ -78,7 +86,11 @@ public Builder preCheck(Boolean preCheck) { } /** - * The ASM instance ID. + *

The ASM instance ID.

+ *

This parameter is required.

+ * + * example: + *

c08ba3fd1e6484b0f8cc1ad8fe10d****

*/ public Builder serviceMeshId(String serviceMeshId) { this.putQueryParameter("ServiceMeshId", serviceMeshId); diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshVersionResponse.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshVersionResponse.java index fab638938f3..ee27410529e 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshVersionResponse.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshVersionResponse.java @@ -1,27 +1,29 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpgradeMeshVersionResponse} extends {@link TeaModel} * *

UpgradeMeshVersionResponse

*/ public class UpgradeMeshVersionResponse extends Response { - @NameInMap("headers") - @Validation(required = true) - private java.util.Map < String, String > headers; + @com.aliyun.core.annotation.NameInMap("headers") + private java.util.Map headers; - @NameInMap("statusCode") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; - @NameInMap("body") - @Validation(required = true) + @com.aliyun.core.annotation.NameInMap("body") private UpgradeMeshVersionResponseBody body; private UpgradeMeshVersionResponse(BuilderImpl builder) { @@ -35,7 +37,7 @@ public static UpgradeMeshVersionResponse create() { return new BuilderImpl().build(); } - @Override +@Override public Builder toBuilder() { return new BuilderImpl(this); } @@ -43,7 +45,7 @@ public Builder toBuilder() { /** * @return headers */ - public java.util.Map < String, String > getHeaders() { + public java.util.Map getHeaders() { return this.headers; } @@ -63,7 +65,7 @@ public UpgradeMeshVersionResponseBody getBody() { public interface Builder extends Response.Builder { - Builder headers(java.util.Map < String, String > headers); + Builder headers(java.util.Map headers); Builder statusCode(Integer statusCode); @@ -77,7 +79,7 @@ public interface Builder extends Response.Builder implements Builder { - private java.util.Map < String, String > headers; + private java.util.Map headers; private Integer statusCode; private UpgradeMeshVersionResponseBody body; @@ -96,7 +98,7 @@ private BuilderImpl(UpgradeMeshVersionResponse response) { * headers. */ @Override - public Builder headers(java.util.Map < String, String > headers) { + public Builder headers(java.util.Map headers) { this.headers = headers; return this; } diff --git a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshVersionResponseBody.java b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshVersionResponseBody.java index 6331dc3c116..e7b4b06a47e 100644 --- a/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshVersionResponseBody.java +++ b/servicemesh-20200111/src/main/java/com/aliyun/sdk/service/servicemesh20200111/models/UpgradeMeshVersionResponseBody.java @@ -1,18 +1,23 @@ // This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.servicemesh20200111.models; -import com.aliyun.core.annotation.*; +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** + * * {@link UpgradeMeshVersionResponseBody} extends {@link TeaModel} * *

UpgradeMeshVersionResponseBody

*/ public class UpgradeMeshVersionResponseBody extends TeaModel { - @NameInMap("RequestId") + @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private UpgradeMeshVersionResponseBody(Builder builder) { @@ -27,6 +32,10 @@ public static UpgradeMeshVersionResponseBody create() { return builder().build(); } + public Builder toBuilder() { + return new Builder(this); + } + /** * @return requestId */ @@ -37,8 +46,18 @@ public String getRequestId() { public static final class Builder { private String requestId; + private Builder() { + } + + private Builder(UpgradeMeshVersionResponseBody model) { + this.requestId = model.requestId; + } + /** - * The request ID. + *

The request ID.

+ * + * example: + *

11fd0027-c27e-41bb-a565-75583054****

*/ public Builder requestId(String requestId) { this.requestId = requestId;