index int64 | repo_id string | file_path string | content string |
|---|---|---|---|
0 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901/models/TerminateProvisionedProductResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicecatalog20210901.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link TerminateProvisionedProductResponseBody} extends {@link TeaModel}
*
* <p>TerminateProvisionedProductResponseBody</p>
*/
public class TerminateProvisionedProductResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private TerminateProvisionedProductResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static TerminateProvisionedProductResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* The ID of the request.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public TerminateProvisionedProductResponseBody build() {
return new TerminateProvisionedProductResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901/models/UpdateConstraintRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicecatalog20210901.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdateConstraintRequest} extends {@link RequestModel}
*
* <p>UpdateConstraintRequest</p>
*/
public class UpdateConstraintRequest extends Request {
@Body
@NameInMap("Config")
@Validation(required = true)
private String config;
@Body
@NameInMap("ConstraintId")
@Validation(required = true)
private String constraintId;
@Body
@NameInMap("Description")
private String description;
private UpdateConstraintRequest(Builder builder) {
super(builder);
this.config = builder.config;
this.constraintId = builder.constraintId;
this.description = builder.description;
}
public static Builder builder() {
return new Builder();
}
public static UpdateConstraintRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return config
*/
public String getConfig() {
return this.config;
}
/**
* @return constraintId
*/
public String getConstraintId() {
return this.constraintId;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
public static final class Builder extends Request.Builder<UpdateConstraintRequest, Builder> {
private String config;
private String constraintId;
private String description;
private Builder() {
super();
}
private Builder(UpdateConstraintRequest request) {
super(request);
this.config = request.config;
this.constraintId = request.constraintId;
this.description = request.description;
}
/**
* The configurations of the constraint.
* <p>
*
* Format: { "LocalRoleName": "\<role_name>" }.
*/
public Builder config(String config) {
this.putBodyParameter("Config", config);
this.config = config;
return this;
}
/**
* The ID of the constraint.
*/
public Builder constraintId(String constraintId) {
this.putBodyParameter("ConstraintId", constraintId);
this.constraintId = constraintId;
return this;
}
/**
* The description of the constraint.
* <p>
*
* The value must be 1 to 128 characters in length.
*/
public Builder description(String description) {
this.putBodyParameter("Description", description);
this.description = description;
return this;
}
@Override
public UpdateConstraintRequest build() {
return new UpdateConstraintRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901/models/UpdateConstraintResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicecatalog20210901.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdateConstraintResponse} extends {@link TeaModel}
*
* <p>UpdateConstraintResponse</p>
*/
public class UpdateConstraintResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private UpdateConstraintResponseBody body;
private UpdateConstraintResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateConstraintResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public UpdateConstraintResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateConstraintResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateConstraintResponseBody body);
@Override
UpdateConstraintResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateConstraintResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private UpdateConstraintResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateConstraintResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(UpdateConstraintResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateConstraintResponse build() {
return new UpdateConstraintResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901/models/UpdateConstraintResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicecatalog20210901.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdateConstraintResponseBody} extends {@link TeaModel}
*
* <p>UpdateConstraintResponseBody</p>
*/
public class UpdateConstraintResponseBody extends TeaModel {
@NameInMap("ConstraintId")
private String constraintId;
@NameInMap("RequestId")
private String requestId;
private UpdateConstraintResponseBody(Builder builder) {
this.constraintId = builder.constraintId;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateConstraintResponseBody create() {
return builder().build();
}
/**
* @return constraintId
*/
public String getConstraintId() {
return this.constraintId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String constraintId;
private String requestId;
/**
* The ID of the constraint.
*/
public Builder constraintId(String constraintId) {
this.constraintId = constraintId;
return this;
}
/**
* The ID of the request.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public UpdateConstraintResponseBody build() {
return new UpdateConstraintResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901/models/UpdatePortfolioRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicecatalog20210901.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdatePortfolioRequest} extends {@link RequestModel}
*
* <p>UpdatePortfolioRequest</p>
*/
public class UpdatePortfolioRequest extends Request {
@Body
@NameInMap("Description")
private String description;
@Body
@NameInMap("PortfolioId")
@Validation(required = true)
private String portfolioId;
@Body
@NameInMap("PortfolioName")
@Validation(required = true, maxLength = 100, minLength = 1)
private String portfolioName;
@Body
@NameInMap("ProviderName")
@Validation(required = true, maxLength = 100, minLength = 1)
private String providerName;
private UpdatePortfolioRequest(Builder builder) {
super(builder);
this.description = builder.description;
this.portfolioId = builder.portfolioId;
this.portfolioName = builder.portfolioName;
this.providerName = builder.providerName;
}
public static Builder builder() {
return new Builder();
}
public static UpdatePortfolioRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return portfolioId
*/
public String getPortfolioId() {
return this.portfolioId;
}
/**
* @return portfolioName
*/
public String getPortfolioName() {
return this.portfolioName;
}
/**
* @return providerName
*/
public String getProviderName() {
return this.providerName;
}
public static final class Builder extends Request.Builder<UpdatePortfolioRequest, Builder> {
private String description;
private String portfolioId;
private String portfolioName;
private String providerName;
private Builder() {
super();
}
private Builder(UpdatePortfolioRequest request) {
super(request);
this.description = request.description;
this.portfolioId = request.portfolioId;
this.portfolioName = request.portfolioName;
this.providerName = request.providerName;
}
/**
* 产品组合描述
*/
public Builder description(String description) {
this.putBodyParameter("Description", description);
this.description = description;
return this;
}
/**
* 代表资源一级ID的资源属性字段
*/
public Builder portfolioId(String portfolioId) {
this.putBodyParameter("PortfolioId", portfolioId);
this.portfolioId = portfolioId;
return this;
}
/**
* 代表资源名称的资源属性字段
*/
public Builder portfolioName(String portfolioName) {
this.putBodyParameter("PortfolioName", portfolioName);
this.portfolioName = portfolioName;
return this;
}
/**
* 产品组合提供方
*/
public Builder providerName(String providerName) {
this.putBodyParameter("ProviderName", providerName);
this.providerName = providerName;
return this;
}
@Override
public UpdatePortfolioRequest build() {
return new UpdatePortfolioRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901/models/UpdatePortfolioResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicecatalog20210901.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdatePortfolioResponse} extends {@link TeaModel}
*
* <p>UpdatePortfolioResponse</p>
*/
public class UpdatePortfolioResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private UpdatePortfolioResponseBody body;
private UpdatePortfolioResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdatePortfolioResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public UpdatePortfolioResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdatePortfolioResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(UpdatePortfolioResponseBody body);
@Override
UpdatePortfolioResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdatePortfolioResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private UpdatePortfolioResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdatePortfolioResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(UpdatePortfolioResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdatePortfolioResponse build() {
return new UpdatePortfolioResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901/models/UpdatePortfolioResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicecatalog20210901.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdatePortfolioResponseBody} extends {@link TeaModel}
*
* <p>UpdatePortfolioResponseBody</p>
*/
public class UpdatePortfolioResponseBody extends TeaModel {
@NameInMap("PortfolioId")
private String portfolioId;
@NameInMap("RequestId")
private String requestId;
private UpdatePortfolioResponseBody(Builder builder) {
this.portfolioId = builder.portfolioId;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdatePortfolioResponseBody create() {
return builder().build();
}
/**
* @return portfolioId
*/
public String getPortfolioId() {
return this.portfolioId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String portfolioId;
private String requestId;
/**
* PortfolioId.
*/
public Builder portfolioId(String portfolioId) {
this.portfolioId = portfolioId;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public UpdatePortfolioResponseBody build() {
return new UpdatePortfolioResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901/models/UpdateProductRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicecatalog20210901.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdateProductRequest} extends {@link RequestModel}
*
* <p>UpdateProductRequest</p>
*/
public class UpdateProductRequest extends Request {
@Body
@NameInMap("Description")
private String description;
@Body
@NameInMap("ProductId")
@Validation(required = true)
private String productId;
@Body
@NameInMap("ProductName")
@Validation(required = true, maxLength = 100, minLength = 1)
private String productName;
@Body
@NameInMap("ProviderName")
@Validation(required = true, maxLength = 100, minLength = 1)
private String providerName;
private UpdateProductRequest(Builder builder) {
super(builder);
this.description = builder.description;
this.productId = builder.productId;
this.productName = builder.productName;
this.providerName = builder.providerName;
}
public static Builder builder() {
return new Builder();
}
public static UpdateProductRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return productId
*/
public String getProductId() {
return this.productId;
}
/**
* @return productName
*/
public String getProductName() {
return this.productName;
}
/**
* @return providerName
*/
public String getProviderName() {
return this.providerName;
}
public static final class Builder extends Request.Builder<UpdateProductRequest, Builder> {
private String description;
private String productId;
private String productName;
private String providerName;
private Builder() {
super();
}
private Builder(UpdateProductRequest request) {
super(request);
this.description = request.description;
this.productId = request.productId;
this.productName = request.productName;
this.providerName = request.providerName;
}
/**
* 产品描述
*/
public Builder description(String description) {
this.putBodyParameter("Description", description);
this.description = description;
return this;
}
/**
* 代表资源一级ID的资源属性字段
*/
public Builder productId(String productId) {
this.putBodyParameter("ProductId", productId);
this.productId = productId;
return this;
}
/**
* 代表资源名称的资源属性字段
*/
public Builder productName(String productName) {
this.putBodyParameter("ProductName", productName);
this.productName = productName;
return this;
}
/**
* 产品提供方
*/
public Builder providerName(String providerName) {
this.putBodyParameter("ProviderName", providerName);
this.providerName = providerName;
return this;
}
@Override
public UpdateProductRequest build() {
return new UpdateProductRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901/models/UpdateProductResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicecatalog20210901.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdateProductResponse} extends {@link TeaModel}
*
* <p>UpdateProductResponse</p>
*/
public class UpdateProductResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private UpdateProductResponseBody body;
private UpdateProductResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateProductResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public UpdateProductResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateProductResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateProductResponseBody body);
@Override
UpdateProductResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateProductResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private UpdateProductResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateProductResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(UpdateProductResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateProductResponse build() {
return new UpdateProductResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901/models/UpdateProductResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicecatalog20210901.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdateProductResponseBody} extends {@link TeaModel}
*
* <p>UpdateProductResponseBody</p>
*/
public class UpdateProductResponseBody extends TeaModel {
@NameInMap("ProductId")
private String productId;
@NameInMap("RequestId")
private String requestId;
private UpdateProductResponseBody(Builder builder) {
this.productId = builder.productId;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateProductResponseBody create() {
return builder().build();
}
/**
* @return productId
*/
public String getProductId() {
return this.productId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String productId;
private String requestId;
/**
* ProductId.
*/
public Builder productId(String productId) {
this.productId = productId;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public UpdateProductResponseBody build() {
return new UpdateProductResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901/models/UpdateProductVersionRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicecatalog20210901.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdateProductVersionRequest} extends {@link RequestModel}
*
* <p>UpdateProductVersionRequest</p>
*/
public class UpdateProductVersionRequest extends Request {
@Body
@NameInMap("Active")
private Boolean active;
@Body
@NameInMap("Description")
private String description;
@Body
@NameInMap("Guidance")
private String guidance;
@Body
@NameInMap("ProductVersionId")
@Validation(required = true)
private String productVersionId;
@Body
@NameInMap("ProductVersionName")
@Validation(required = true, maxLength = 100, minLength = 1)
private String productVersionName;
private UpdateProductVersionRequest(Builder builder) {
super(builder);
this.active = builder.active;
this.description = builder.description;
this.guidance = builder.guidance;
this.productVersionId = builder.productVersionId;
this.productVersionName = builder.productVersionName;
}
public static Builder builder() {
return new Builder();
}
public static UpdateProductVersionRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return active
*/
public Boolean getActive() {
return this.active;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return guidance
*/
public String getGuidance() {
return this.guidance;
}
/**
* @return productVersionId
*/
public String getProductVersionId() {
return this.productVersionId;
}
/**
* @return productVersionName
*/
public String getProductVersionName() {
return this.productVersionName;
}
public static final class Builder extends Request.Builder<UpdateProductVersionRequest, Builder> {
private Boolean active;
private String description;
private String guidance;
private String productVersionId;
private String productVersionName;
private Builder() {
super();
}
private Builder(UpdateProductVersionRequest request) {
super(request);
this.active = request.active;
this.description = request.description;
this.guidance = request.guidance;
this.productVersionId = request.productVersionId;
this.productVersionName = request.productVersionName;
}
/**
* Specifies whether to enable the product version. Valid values:
* <p>
*
* * true: enables the product version. This is the default value.
* * false: disables the product version.
*/
public Builder active(Boolean active) {
this.putBodyParameter("Active", active);
this.active = active;
return this;
}
/**
* The description of the product version.
* <p>
*
* The value must be 1 to 128 characters in length.
*/
public Builder description(String description) {
this.putBodyParameter("Description", description);
this.description = description;
return this;
}
/**
* The recommendation information. Valid values:
* <p>
*
* * Default: No recommendation information is provided. This is the default value.
* * Recommended: the recommended version.
* * Latest: the latest version.
* * Deprecated: the version that is about to be discontinued.
*/
public Builder guidance(String guidance) {
this.putBodyParameter("Guidance", guidance);
this.guidance = guidance;
return this;
}
/**
* The ID of the product version.
*/
public Builder productVersionId(String productVersionId) {
this.putBodyParameter("ProductVersionId", productVersionId);
this.productVersionId = productVersionId;
return this;
}
/**
* The name of the product version.
* <p>
*
* The value must be 1 to 128 characters in length.
*/
public Builder productVersionName(String productVersionName) {
this.putBodyParameter("ProductVersionName", productVersionName);
this.productVersionName = productVersionName;
return this;
}
@Override
public UpdateProductVersionRequest build() {
return new UpdateProductVersionRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901/models/UpdateProductVersionResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicecatalog20210901.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdateProductVersionResponse} extends {@link TeaModel}
*
* <p>UpdateProductVersionResponse</p>
*/
public class UpdateProductVersionResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private UpdateProductVersionResponseBody body;
private UpdateProductVersionResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateProductVersionResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public UpdateProductVersionResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateProductVersionResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateProductVersionResponseBody body);
@Override
UpdateProductVersionResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateProductVersionResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private UpdateProductVersionResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateProductVersionResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(UpdateProductVersionResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateProductVersionResponse build() {
return new UpdateProductVersionResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901/models/UpdateProductVersionResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicecatalog20210901.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdateProductVersionResponseBody} extends {@link TeaModel}
*
* <p>UpdateProductVersionResponseBody</p>
*/
public class UpdateProductVersionResponseBody extends TeaModel {
@NameInMap("ProductVersionId")
private String productVersionId;
@NameInMap("RequestId")
private String requestId;
private UpdateProductVersionResponseBody(Builder builder) {
this.productVersionId = builder.productVersionId;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateProductVersionResponseBody create() {
return builder().build();
}
/**
* @return productVersionId
*/
public String getProductVersionId() {
return this.productVersionId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String productVersionId;
private String requestId;
/**
* The ID of the product version.
*/
public Builder productVersionId(String productVersionId) {
this.productVersionId = productVersionId;
return this;
}
/**
* The ID of the request.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public UpdateProductVersionResponseBody build() {
return new UpdateProductVersionResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901/models/UpdateProvisionedProductPlanRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicecatalog20210901.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdateProvisionedProductPlanRequest} extends {@link RequestModel}
*
* <p>UpdateProvisionedProductPlanRequest</p>
*/
public class UpdateProvisionedProductPlanRequest extends Request {
@Body
@NameInMap("Description")
private String description;
@Body
@NameInMap("Parameters")
private java.util.List < Parameters> parameters;
@Body
@NameInMap("PlanId")
@Validation(required = true)
private String planId;
@Body
@NameInMap("PortfolioId")
private String portfolioId;
@Body
@NameInMap("ProductId")
@Validation(required = true)
private String productId;
@Body
@NameInMap("ProductVersionId")
@Validation(required = true)
private String productVersionId;
@Body
@NameInMap("Tags")
private java.util.List < Tags> tags;
private UpdateProvisionedProductPlanRequest(Builder builder) {
super(builder);
this.description = builder.description;
this.parameters = builder.parameters;
this.planId = builder.planId;
this.portfolioId = builder.portfolioId;
this.productId = builder.productId;
this.productVersionId = builder.productVersionId;
this.tags = builder.tags;
}
public static Builder builder() {
return new Builder();
}
public static UpdateProvisionedProductPlanRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return parameters
*/
public java.util.List < Parameters> getParameters() {
return this.parameters;
}
/**
* @return planId
*/
public String getPlanId() {
return this.planId;
}
/**
* @return portfolioId
*/
public String getPortfolioId() {
return this.portfolioId;
}
/**
* @return productId
*/
public String getProductId() {
return this.productId;
}
/**
* @return productVersionId
*/
public String getProductVersionId() {
return this.productVersionId;
}
/**
* @return tags
*/
public java.util.List < Tags> getTags() {
return this.tags;
}
public static final class Builder extends Request.Builder<UpdateProvisionedProductPlanRequest, Builder> {
private String description;
private java.util.List < Parameters> parameters;
private String planId;
private String portfolioId;
private String productId;
private String productVersionId;
private java.util.List < Tags> tags;
private Builder() {
super();
}
private Builder(UpdateProvisionedProductPlanRequest request) {
super(request);
this.description = request.description;
this.parameters = request.parameters;
this.planId = request.planId;
this.portfolioId = request.portfolioId;
this.productId = request.productId;
this.productVersionId = request.productVersionId;
this.tags = request.tags;
}
/**
* The description of the plan.
*/
public Builder description(String description) {
this.putBodyParameter("Description", description);
this.description = description;
return this;
}
/**
* An array that consists of the parameters in the template.
* <p>
*
* Maximum value of N: 200.
*
* > If you specify Parameters, you must specify ParameterKey and ParameterValue.
*/
public Builder parameters(java.util.List < Parameters> parameters) {
this.putBodyParameter("Parameters", parameters);
this.parameters = parameters;
return this;
}
/**
* The ID of the plan.
*/
public Builder planId(String planId) {
this.putBodyParameter("PlanId", planId);
this.planId = planId;
return this;
}
/**
* The ID of the product portfolio.
* <p>
*
* > If the default launch option exists, you do not need to specify PortfolioId. If the default launch option does not exist, you must specify PortfolioId. For more information about how to obtain the value of PortfolioId, see [ListLaunchOptions](~~ListLaunchOptions~~).
*/
public Builder portfolioId(String portfolioId) {
this.putBodyParameter("PortfolioId", portfolioId);
this.portfolioId = portfolioId;
return this;
}
/**
* The ID of the product.
*/
public Builder productId(String productId) {
this.putBodyParameter("ProductId", productId);
this.productId = productId;
return this;
}
/**
* The ID of the product version.
*/
public Builder productVersionId(String productVersionId) {
this.putBodyParameter("ProductVersionId", productVersionId);
this.productVersionId = productVersionId;
return this;
}
/**
* An array that consists of custom tags.
* <p>
*
* Maximum value of N: 20.
*
* >
* * If you specify Tags, you must specify Tags.N.Key and Tags.N.Value.
* * The tag of a stack is propagated to each resource that supports the tag feature in the stack.
*/
public Builder tags(java.util.List < Tags> tags) {
this.putBodyParameter("Tags", tags);
this.tags = tags;
return this;
}
@Override
public UpdateProvisionedProductPlanRequest build() {
return new UpdateProvisionedProductPlanRequest(this);
}
}
public static class Parameters extends TeaModel {
@NameInMap("ParameterKey")
private String parameterKey;
@NameInMap("ParameterValue")
private String parameterValue;
private Parameters(Builder builder) {
this.parameterKey = builder.parameterKey;
this.parameterValue = builder.parameterValue;
}
public static Builder builder() {
return new Builder();
}
public static Parameters create() {
return builder().build();
}
/**
* @return parameterKey
*/
public String getParameterKey() {
return this.parameterKey;
}
/**
* @return parameterValue
*/
public String getParameterValue() {
return this.parameterValue;
}
public static final class Builder {
private String parameterKey;
private String parameterValue;
/**
* The name of the parameter in the template.
*/
public Builder parameterKey(String parameterKey) {
this.parameterKey = parameterKey;
return this;
}
/**
* The value of the parameter in the template.
*/
public Builder parameterValue(String parameterValue) {
this.parameterValue = parameterValue;
return this;
}
public Parameters build() {
return new Parameters(this);
}
}
}
public static class Tags extends TeaModel {
@NameInMap("Key")
private String key;
@NameInMap("Value")
private String value;
private Tags(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tags create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
/**
* The key of the custom tag.
* <p>
*
* The key can be up to 128 characters in length, and cannot start with `acs:` or `aliyun`. The tag key cannot contain `http://` or `https://`.
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* The value of the custom tag.
* <p>
*
* The value can be up to 128 characters in length, and cannot start with `acs:`. The tag value cannot contain `http://` or `https://`.
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tags build() {
return new Tags(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901/models/UpdateProvisionedProductPlanResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicecatalog20210901.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdateProvisionedProductPlanResponse} extends {@link TeaModel}
*
* <p>UpdateProvisionedProductPlanResponse</p>
*/
public class UpdateProvisionedProductPlanResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private UpdateProvisionedProductPlanResponseBody body;
private UpdateProvisionedProductPlanResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateProvisionedProductPlanResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public UpdateProvisionedProductPlanResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateProvisionedProductPlanResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateProvisionedProductPlanResponseBody body);
@Override
UpdateProvisionedProductPlanResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateProvisionedProductPlanResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private UpdateProvisionedProductPlanResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateProvisionedProductPlanResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(UpdateProvisionedProductPlanResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateProvisionedProductPlanResponse build() {
return new UpdateProvisionedProductPlanResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901/models/UpdateProvisionedProductPlanResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicecatalog20210901.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdateProvisionedProductPlanResponseBody} extends {@link TeaModel}
*
* <p>UpdateProvisionedProductPlanResponseBody</p>
*/
public class UpdateProvisionedProductPlanResponseBody extends TeaModel {
@NameInMap("PlanId")
private String planId;
@NameInMap("ProvisionedProductId")
private String provisionedProductId;
@NameInMap("RequestId")
private String requestId;
private UpdateProvisionedProductPlanResponseBody(Builder builder) {
this.planId = builder.planId;
this.provisionedProductId = builder.provisionedProductId;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateProvisionedProductPlanResponseBody create() {
return builder().build();
}
/**
* @return planId
*/
public String getPlanId() {
return this.planId;
}
/**
* @return provisionedProductId
*/
public String getProvisionedProductId() {
return this.provisionedProductId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String planId;
private String provisionedProductId;
private String requestId;
/**
* The ID of the plan.
*/
public Builder planId(String planId) {
this.planId = planId;
return this;
}
/**
* The ID of the product instance.
*/
public Builder provisionedProductId(String provisionedProductId) {
this.provisionedProductId = provisionedProductId;
return this;
}
/**
* The ID of the request.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public UpdateProvisionedProductPlanResponseBody build() {
return new UpdateProvisionedProductPlanResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901/models/UpdateProvisionedProductRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicecatalog20210901.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdateProvisionedProductRequest} extends {@link RequestModel}
*
* <p>UpdateProvisionedProductRequest</p>
*/
public class UpdateProvisionedProductRequest extends Request {
@Body
@NameInMap("Parameters")
private java.util.List < Parameters> parameters;
@Body
@NameInMap("PortfolioId")
private String portfolioId;
@Body
@NameInMap("ProductId")
@Validation(required = true)
private String productId;
@Body
@NameInMap("ProductVersionId")
@Validation(required = true)
private String productVersionId;
@Body
@NameInMap("ProvisionedProductId")
@Validation(required = true)
private String provisionedProductId;
@Body
@NameInMap("Tags")
private java.util.List < Tags> tags;
private UpdateProvisionedProductRequest(Builder builder) {
super(builder);
this.parameters = builder.parameters;
this.portfolioId = builder.portfolioId;
this.productId = builder.productId;
this.productVersionId = builder.productVersionId;
this.provisionedProductId = builder.provisionedProductId;
this.tags = builder.tags;
}
public static Builder builder() {
return new Builder();
}
public static UpdateProvisionedProductRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return parameters
*/
public java.util.List < Parameters> getParameters() {
return this.parameters;
}
/**
* @return portfolioId
*/
public String getPortfolioId() {
return this.portfolioId;
}
/**
* @return productId
*/
public String getProductId() {
return this.productId;
}
/**
* @return productVersionId
*/
public String getProductVersionId() {
return this.productVersionId;
}
/**
* @return provisionedProductId
*/
public String getProvisionedProductId() {
return this.provisionedProductId;
}
/**
* @return tags
*/
public java.util.List < Tags> getTags() {
return this.tags;
}
public static final class Builder extends Request.Builder<UpdateProvisionedProductRequest, Builder> {
private java.util.List < Parameters> parameters;
private String portfolioId;
private String productId;
private String productVersionId;
private String provisionedProductId;
private java.util.List < Tags> tags;
private Builder() {
super();
}
private Builder(UpdateProvisionedProductRequest request) {
super(request);
this.parameters = request.parameters;
this.portfolioId = request.portfolioId;
this.productId = request.productId;
this.productVersionId = request.productVersionId;
this.provisionedProductId = request.provisionedProductId;
this.tags = request.tags;
}
/**
* The input parameters of the template.
* <p>
*
* You can specify up to 200 parameters.
*
* > - This parameter is optional. If you specify the Parameters parameter, you must specify the ParameterKey and ParameterValue parameters.
* > - If the values of the ProductVersionId and Parameters parameters are not changed, you are not allowed to update the information about the product instance.
*/
public Builder parameters(java.util.List < Parameters> parameters) {
this.putBodyParameter("Parameters", parameters);
this.parameters = parameters;
return this;
}
/**
* The ID of the product portfolio.
* <p>
*
* > The PortfolioId parameter is not required if the default launch option exists. The PortfolioId parameter is required if the default launch option does not exist. For more information about how to obtain the value of the PortfolioId parameter, see [ListLaunchOptions](~~ListLaunchOptions~~).
*/
public Builder portfolioId(String portfolioId) {
this.putBodyParameter("PortfolioId", portfolioId);
this.portfolioId = portfolioId;
return this;
}
/**
* The ID of the product.
*/
public Builder productId(String productId) {
this.putBodyParameter("ProductId", productId);
this.productId = productId;
return this;
}
/**
* The ID of the product version.
* <p>
*
* > If the values of the ProductVersionId and Parameters parameters are not changed, the information about the product instance cannot be updated.
*/
public Builder productVersionId(String productVersionId) {
this.putBodyParameter("ProductVersionId", productVersionId);
this.productVersionId = productVersionId;
return this;
}
/**
* The ID of the product instance.
*/
public Builder provisionedProductId(String provisionedProductId) {
this.putBodyParameter("ProvisionedProductId", provisionedProductId);
this.provisionedProductId = provisionedProductId;
return this;
}
/**
* The input custom tags.
* <p>
*
* Maximum value of N: 20.
*
* > - The Tags parameter is optional. If you need to specify the Tags parameter, you must specify the Tags.N.Key and Tags.N.Value parameters.
* > - The tag is propagated to each stack resource that supports the tag feature.
*/
public Builder tags(java.util.List < Tags> tags) {
this.putBodyParameter("Tags", tags);
this.tags = tags;
return this;
}
@Override
public UpdateProvisionedProductRequest build() {
return new UpdateProvisionedProductRequest(this);
}
}
public static class Parameters extends TeaModel {
@NameInMap("ParameterKey")
private String parameterKey;
@NameInMap("ParameterValue")
private String parameterValue;
private Parameters(Builder builder) {
this.parameterKey = builder.parameterKey;
this.parameterValue = builder.parameterValue;
}
public static Builder builder() {
return new Builder();
}
public static Parameters create() {
return builder().build();
}
/**
* @return parameterKey
*/
public String getParameterKey() {
return this.parameterKey;
}
/**
* @return parameterValue
*/
public String getParameterValue() {
return this.parameterValue;
}
public static final class Builder {
private String parameterKey;
private String parameterValue;
/**
* The name of the input parameter for the template.
*/
public Builder parameterKey(String parameterKey) {
this.parameterKey = parameterKey;
return this;
}
/**
* The value of the input parameter for the template.
*/
public Builder parameterValue(String parameterValue) {
this.parameterValue = parameterValue;
return this;
}
public Parameters build() {
return new Parameters(this);
}
}
}
public static class Tags extends TeaModel {
@NameInMap("Key")
private String key;
@NameInMap("Value")
private String value;
private Tags(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tags create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
/**
* The tag key of the custom tag.
* <p>
*
* The tag key must be 1 to 128 characters in length and cannot contain `http://` or `https://`. It cannot start with `acs:` or `aliyun`.
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* The tag value of the custom tag.
* <p>
*
* The tag value can be up to 128 characters in length and cannot start with `acs:`. It cannot contain `http://` or `https://`.
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tags build() {
return new Tags(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901/models/UpdateProvisionedProductResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicecatalog20210901.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdateProvisionedProductResponse} extends {@link TeaModel}
*
* <p>UpdateProvisionedProductResponse</p>
*/
public class UpdateProvisionedProductResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private UpdateProvisionedProductResponseBody body;
private UpdateProvisionedProductResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateProvisionedProductResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public UpdateProvisionedProductResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateProvisionedProductResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateProvisionedProductResponseBody body);
@Override
UpdateProvisionedProductResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateProvisionedProductResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private UpdateProvisionedProductResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateProvisionedProductResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(UpdateProvisionedProductResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateProvisionedProductResponse build() {
return new UpdateProvisionedProductResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901/models/UpdateProvisionedProductResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicecatalog20210901.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdateProvisionedProductResponseBody} extends {@link TeaModel}
*
* <p>UpdateProvisionedProductResponseBody</p>
*/
public class UpdateProvisionedProductResponseBody extends TeaModel {
@NameInMap("ProvisionedProductId")
private String provisionedProductId;
@NameInMap("RequestId")
private String requestId;
private UpdateProvisionedProductResponseBody(Builder builder) {
this.provisionedProductId = builder.provisionedProductId;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateProvisionedProductResponseBody create() {
return builder().build();
}
/**
* @return provisionedProductId
*/
public String getProvisionedProductId() {
return this.provisionedProductId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String provisionedProductId;
private String requestId;
/**
* The ID of the product instance.
*/
public Builder provisionedProductId(String provisionedProductId) {
this.provisionedProductId = provisionedProductId;
return this;
}
/**
* The ID of the request.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public UpdateProvisionedProductResponseBody build() {
return new UpdateProvisionedProductResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901/models/UpdateTagOptionRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicecatalog20210901.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdateTagOptionRequest} extends {@link RequestModel}
*
* <p>UpdateTagOptionRequest</p>
*/
public class UpdateTagOptionRequest extends Request {
@Body
@NameInMap("Active")
private Boolean active;
@Body
@NameInMap("TagOptionId")
@Validation(required = true)
private String tagOptionId;
@Body
@NameInMap("Value")
@Validation(maxLength = 128, minLength = 1)
private String value;
private UpdateTagOptionRequest(Builder builder) {
super(builder);
this.active = builder.active;
this.tagOptionId = builder.tagOptionId;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static UpdateTagOptionRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return active
*/
public Boolean getActive() {
return this.active;
}
/**
* @return tagOptionId
*/
public String getTagOptionId() {
return this.tagOptionId;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder extends Request.Builder<UpdateTagOptionRequest, Builder> {
private Boolean active;
private String tagOptionId;
private String value;
private Builder() {
super();
}
private Builder(UpdateTagOptionRequest request) {
super(request);
this.active = request.active;
this.tagOptionId = request.tagOptionId;
this.value = request.value;
}
/**
* Specifies whether to enable the tag option. Valid values:
* <p>
*
* * true (default)
* * false
*/
public Builder active(Boolean active) {
this.putBodyParameter("Active", active);
this.active = active;
return this;
}
/**
* The ID of the tag option.
*/
public Builder tagOptionId(String tagOptionId) {
this.putBodyParameter("TagOptionId", tagOptionId);
this.tagOptionId = tagOptionId;
return this;
}
/**
* The value of the tag option.
* <p>
*
* The value can be up to 128 characters in length. It cannot start with `acs:` and cannot contain `http://` or `https://`.
*/
public Builder value(String value) {
this.putBodyParameter("Value", value);
this.value = value;
return this;
}
@Override
public UpdateTagOptionRequest build() {
return new UpdateTagOptionRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901/models/UpdateTagOptionResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicecatalog20210901.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdateTagOptionResponse} extends {@link TeaModel}
*
* <p>UpdateTagOptionResponse</p>
*/
public class UpdateTagOptionResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private UpdateTagOptionResponseBody body;
private UpdateTagOptionResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateTagOptionResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public UpdateTagOptionResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateTagOptionResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateTagOptionResponseBody body);
@Override
UpdateTagOptionResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateTagOptionResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private UpdateTagOptionResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateTagOptionResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(UpdateTagOptionResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateTagOptionResponse build() {
return new UpdateTagOptionResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901 | java-sources/com/aliyun/alibabacloud-servicecatalog20210901/1.0.2/com/aliyun/sdk/service/servicecatalog20210901/models/UpdateTagOptionResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicecatalog20210901.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link UpdateTagOptionResponseBody} extends {@link TeaModel}
*
* <p>UpdateTagOptionResponseBody</p>
*/
public class UpdateTagOptionResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
@NameInMap("TagOptionDetail")
private TagOptionDetail tagOptionDetail;
private UpdateTagOptionResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.tagOptionDetail = builder.tagOptionDetail;
}
public static Builder builder() {
return new Builder();
}
public static UpdateTagOptionResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return tagOptionDetail
*/
public TagOptionDetail getTagOptionDetail() {
return this.tagOptionDetail;
}
public static final class Builder {
private String requestId;
private TagOptionDetail tagOptionDetail;
/**
* The ID of the request.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The details of the tag option.
*/
public Builder tagOptionDetail(TagOptionDetail tagOptionDetail) {
this.tagOptionDetail = tagOptionDetail;
return this;
}
public UpdateTagOptionResponseBody build() {
return new UpdateTagOptionResponseBody(this);
}
}
public static class TagOptionDetail extends TeaModel {
@NameInMap("Active")
private Boolean active;
@NameInMap("Key")
private String key;
@NameInMap("Owner")
private String owner;
@NameInMap("TagOptionId")
private String tagOptionId;
@NameInMap("Value")
private String value;
private TagOptionDetail(Builder builder) {
this.active = builder.active;
this.key = builder.key;
this.owner = builder.owner;
this.tagOptionId = builder.tagOptionId;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static TagOptionDetail create() {
return builder().build();
}
/**
* @return active
*/
public Boolean getActive() {
return this.active;
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return owner
*/
public String getOwner() {
return this.owner;
}
/**
* @return tagOptionId
*/
public String getTagOptionId() {
return this.tagOptionId;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private Boolean active;
private String key;
private String owner;
private String tagOptionId;
private String value;
/**
* Indicates whether the tag option is enabled. Valid values:
* <p>
*
* * true (default)
* * false
*/
public Builder active(Boolean active) {
this.active = active;
return this;
}
/**
* The key of the tag option.
* <p>
*
* The key must be 1 to 128 characters in length. It cannot contain `http://` or `https://` and cannot start with `acs:` or `aliyun`.
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* The ID of the Alibaba Cloud account to which the tag option belongs.
*/
public Builder owner(String owner) {
this.owner = owner;
return this;
}
/**
* The ID of the tag option.
*/
public Builder tagOptionId(String tagOptionId) {
this.tagOptionId = tagOptionId;
return this;
}
/**
* The value of the tag option.
* <p>
*
* The value must be 1 to 128 characters in length. It cannot contain `http://` or `https://` and cannot start with `acs:` or `aliyun`.
*/
public Builder value(String value) {
this.value = value;
return this;
}
public TagOptionDetail build() {
return new TagOptionDetail(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/AsyncClient.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111;
import com.aliyun.core.utils.SdkAutoCloseable;
import com.aliyun.sdk.service.servicemesh20200111.models.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import java.util.concurrent.CompletableFuture;
public interface AsyncClient extends SdkAutoCloseable {
static DefaultAsyncClientBuilder builder() {
return new DefaultAsyncClientBuilder();
}
static AsyncClient create() {
return builder().build();
}
CompletableFuture<AddClusterIntoServiceMeshResponse> addClusterIntoServiceMesh(AddClusterIntoServiceMeshRequest request);
/**
* @deprecated
*
*/
CompletableFuture<AddVMIntoServiceMeshResponse> addVMIntoServiceMesh(AddVMIntoServiceMeshRequest request);
CompletableFuture<CreateASMGatewayResponse> createASMGateway(CreateASMGatewayRequest request);
CompletableFuture<CreateGatewaySecretResponse> createGatewaySecret(CreateGatewaySecretRequest request);
CompletableFuture<CreateIstioGatewayDomainsResponse> createIstioGatewayDomains(CreateIstioGatewayDomainsRequest request);
CompletableFuture<CreateIstioGatewayRoutesResponse> createIstioGatewayRoutes(CreateIstioGatewayRoutesRequest request);
CompletableFuture<CreateServiceMeshResponse> createServiceMesh(CreateServiceMeshRequest request);
CompletableFuture<CreateSwimLaneResponse> createSwimLane(CreateSwimLaneRequest request);
CompletableFuture<CreateSwimLaneGroupResponse> createSwimLaneGroup(CreateSwimLaneGroupRequest request);
CompletableFuture<CreateWaypointResponse> createWaypoint(CreateWaypointRequest request);
CompletableFuture<DeleteGatewayRouteResponse> deleteGatewayRoute(DeleteGatewayRouteRequest request);
CompletableFuture<DeleteGatewaySecretResponse> deleteGatewaySecret(DeleteGatewaySecretRequest request);
CompletableFuture<DeleteIstioGatewayDomainsResponse> deleteIstioGatewayDomains(DeleteIstioGatewayDomainsRequest request);
CompletableFuture<DeleteServiceMeshResponse> deleteServiceMesh(DeleteServiceMeshRequest request);
CompletableFuture<DeleteSwimLaneResponse> deleteSwimLane(DeleteSwimLaneRequest request);
CompletableFuture<DeleteSwimLaneGroupResponse> deleteSwimLaneGroup(DeleteSwimLaneGroupRequest request);
CompletableFuture<DeleteWaypointResponse> deleteWaypoint(DeleteWaypointRequest request);
CompletableFuture<DescribeASMGatewayImportedServicesResponse> describeASMGatewayImportedServices(DescribeASMGatewayImportedServicesRequest request);
CompletableFuture<DescribeCCMVersionResponse> describeCCMVersion(DescribeCCMVersionRequest request);
CompletableFuture<DescribeCensResponse> describeCens(DescribeCensRequest request);
CompletableFuture<DescribeClusterGrafanaResponse> describeClusterGrafana(DescribeClusterGrafanaRequest request);
CompletableFuture<DescribeClusterPrometheusResponse> describeClusterPrometheus(DescribeClusterPrometheusRequest request);
CompletableFuture<DescribeClustersInServiceMeshResponse> describeClustersInServiceMesh(DescribeClustersInServiceMeshRequest request);
CompletableFuture<DescribeCrTemplatesResponse> describeCrTemplates(DescribeCrTemplatesRequest request);
CompletableFuture<DescribeEipResourcesResponse> describeEipResources(DescribeEipResourcesRequest request);
CompletableFuture<DescribeGatewaySecretDetailsResponse> describeGatewaySecretDetails(DescribeGatewaySecretDetailsRequest request);
CompletableFuture<DescribeGuestClusterAccessLogDashboardsResponse> describeGuestClusterAccessLogDashboards(DescribeGuestClusterAccessLogDashboardsRequest request);
CompletableFuture<DescribeGuestClusterNamespacesResponse> describeGuestClusterNamespaces(DescribeGuestClusterNamespacesRequest request);
CompletableFuture<DescribeGuestClusterPodsResponse> describeGuestClusterPods(DescribeGuestClusterPodsRequest request);
CompletableFuture<DescribeImportedServicesDetailResponse> describeImportedServicesDetail(DescribeImportedServicesDetailRequest request);
CompletableFuture<DescribeIstioGatewayDomainsResponse> describeIstioGatewayDomains(DescribeIstioGatewayDomainsRequest request);
CompletableFuture<DescribeIstioGatewayRouteDetailResponse> describeIstioGatewayRouteDetail(DescribeIstioGatewayRouteDetailRequest request);
CompletableFuture<DescribeIstioGatewayRoutesResponse> describeIstioGatewayRoutes(DescribeIstioGatewayRoutesRequest request);
CompletableFuture<DescribeMetadataResponse> describeMetadata(DescribeMetadataRequest request);
CompletableFuture<DescribeNamespaceScopeSidecarConfigResponse> describeNamespaceScopeSidecarConfig(DescribeNamespaceScopeSidecarConfigRequest request);
CompletableFuture<DescribeNodesInstanceTypeResponse> describeNodesInstanceType(DescribeNodesInstanceTypeRequest request);
CompletableFuture<DescribeReusableSlbResponse> describeReusableSlb(DescribeReusableSlbRequest request);
CompletableFuture<DescribeServiceMeshAdditionalStatusResponse> describeServiceMeshAdditionalStatus(DescribeServiceMeshAdditionalStatusRequest request);
CompletableFuture<DescribeServiceMeshClustersResponse> describeServiceMeshClusters(DescribeServiceMeshClustersRequest request);
CompletableFuture<DescribeServiceMeshDetailResponse> describeServiceMeshDetail(DescribeServiceMeshDetailRequest request);
CompletableFuture<DescribeServiceMeshKubeconfigResponse> describeServiceMeshKubeconfig(DescribeServiceMeshKubeconfigRequest request);
CompletableFuture<DescribeServiceMeshLogsResponse> describeServiceMeshLogs(DescribeServiceMeshLogsRequest request);
CompletableFuture<DescribeServiceMeshProxyStatusResponse> describeServiceMeshProxyStatus(DescribeServiceMeshProxyStatusRequest request);
CompletableFuture<DescribeServiceMeshUpgradeStatusResponse> describeServiceMeshUpgradeStatus(DescribeServiceMeshUpgradeStatusRequest request);
/**
* @deprecated
*
*/
CompletableFuture<DescribeServiceMeshVMsResponse> describeServiceMeshVMs(DescribeServiceMeshVMsRequest request);
CompletableFuture<DescribeServiceMeshesResponse> describeServiceMeshes(DescribeServiceMeshesRequest request);
CompletableFuture<DescribeUpgradeVersionResponse> describeUpgradeVersion(DescribeUpgradeVersionRequest request);
CompletableFuture<DescribeUserPermissionsResponse> describeUserPermissions(DescribeUserPermissionsRequest request);
CompletableFuture<DescribeUsersWithPermissionsResponse> describeUsersWithPermissions(DescribeUsersWithPermissionsRequest request);
/**
* @deprecated
*
*/
CompletableFuture<DescribeVMsInServiceMeshResponse> describeVMsInServiceMesh(DescribeVMsInServiceMeshRequest request);
CompletableFuture<DescribeVSwitchesResponse> describeVSwitches(DescribeVSwitchesRequest request);
CompletableFuture<DescribeVersionsResponse> describeVersions(DescribeVersionsRequest request);
CompletableFuture<DescribeVpcsResponse> describeVpcs(DescribeVpcsRequest request);
CompletableFuture<GetCaCertResponse> getCaCert(GetCaCertRequest request);
CompletableFuture<GetDeploymentBySelectorResponse> getDeploymentBySelector(GetDeploymentBySelectorRequest request);
CompletableFuture<GetGrafanaDashboardUrlResponse> getGrafanaDashboardUrl(GetGrafanaDashboardUrlRequest request);
CompletableFuture<GetRegisteredServiceEndpointsResponse> getRegisteredServiceEndpoints(GetRegisteredServiceEndpointsRequest request);
CompletableFuture<GetRegisteredServiceNamespacesResponse> getRegisteredServiceNamespaces(GetRegisteredServiceNamespacesRequest request);
CompletableFuture<GetSwimLaneDetailResponse> getSwimLaneDetail(GetSwimLaneDetailRequest request);
CompletableFuture<GetSwimLaneGroupListResponse> getSwimLaneGroupList(GetSwimLaneGroupListRequest request);
CompletableFuture<GetSwimLaneListResponse> getSwimLaneList(GetSwimLaneListRequest request);
/**
* @deprecated
*
*/
CompletableFuture<GetVmAppMeshInfoResponse> getVmAppMeshInfo(GetVmAppMeshInfoRequest request);
/**
* @deprecated
*
*/
CompletableFuture<GetVmMetaResponse> getVmMeta(GetVmMetaRequest request);
CompletableFuture<GrantUserPermissionsResponse> grantUserPermissions(GrantUserPermissionsRequest request);
CompletableFuture<ListServiceAccountsResponse> listServiceAccounts(ListServiceAccountsRequest request);
CompletableFuture<ListTagResourcesResponse> listTagResources(ListTagResourcesRequest request);
CompletableFuture<ListWaypointsResponse> listWaypoints(ListWaypointsRequest request);
CompletableFuture<ModifyApiServerEipResourceResponse> modifyApiServerEipResource(ModifyApiServerEipResourceRequest request);
CompletableFuture<ModifyServiceMeshNameResponse> 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).
*
*/
CompletableFuture<ReActivateAuditResponse> reActivateAudit(ReActivateAuditRequest request);
CompletableFuture<RemoveClusterFromServiceMeshResponse> removeClusterFromServiceMesh(RemoveClusterFromServiceMeshRequest request);
/**
* @deprecated
*
*/
CompletableFuture<RemoveVMFromServiceMeshResponse> removeVMFromServiceMesh(RemoveVMFromServiceMeshRequest request);
CompletableFuture<RevokeKubeconfigResponse> revokeKubeconfig(RevokeKubeconfigRequest request);
CompletableFuture<TagResourcesResponse> tagResources(TagResourcesRequest request);
CompletableFuture<UntagResourcesResponse> untagResources(UntagResourcesRequest request);
CompletableFuture<UpdateASMGatewayResponse> updateASMGateway(UpdateASMGatewayRequest request);
CompletableFuture<UpdateASMGatewayImportedServicesResponse> updateASMGatewayImportedServices(UpdateASMGatewayImportedServicesRequest request);
CompletableFuture<UpdateASMNamespaceFromGuestClusterResponse> updateASMNamespaceFromGuestCluster(UpdateASMNamespaceFromGuestClusterRequest request);
CompletableFuture<UpdateControlPlaneLogConfigResponse> updateControlPlaneLogConfig(UpdateControlPlaneLogConfigRequest request);
CompletableFuture<UpdateIstioGatewayRoutesResponse> updateIstioGatewayRoutes(UpdateIstioGatewayRoutesRequest request);
CompletableFuture<UpdateIstioInjectionConfigResponse> updateIstioInjectionConfig(UpdateIstioInjectionConfigRequest request);
CompletableFuture<UpdateIstioRouteAdditionalStatusResponse> updateIstioRouteAdditionalStatus(UpdateIstioRouteAdditionalStatusRequest request);
CompletableFuture<UpdateMeshCRAggregationResponse> updateMeshCRAggregation(UpdateMeshCRAggregationRequest request);
CompletableFuture<UpdateMeshFeatureResponse> updateMeshFeature(UpdateMeshFeatureRequest request);
CompletableFuture<UpdateNamespaceScopeSidecarConfigResponse> updateNamespaceScopeSidecarConfig(UpdateNamespaceScopeSidecarConfigRequest request);
CompletableFuture<UpdateSwimLaneResponse> updateSwimLane(UpdateSwimLaneRequest request);
CompletableFuture<UpdateSwimLaneGroupResponse> updateSwimLaneGroup(UpdateSwimLaneGroupRequest request);
CompletableFuture<UpdateWaypointResponse> updateWaypoint(UpdateWaypointRequest request);
CompletableFuture<UpgradeMeshEditionPartiallyResponse> upgradeMeshEditionPartially(UpgradeMeshEditionPartiallyRequest request);
CompletableFuture<UpgradeMeshVersionResponse> upgradeMeshVersion(UpgradeMeshVersionRequest request);
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/DefaultAsyncClient.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111;
import com.aliyun.core.http.*;
import com.aliyun.sdk.service.servicemesh20200111.models.*;
import darabonba.core.utils.*;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import java.util.concurrent.CompletableFuture;
/**
* <p>Main client.</p>
*/
public final class DefaultAsyncClient implements AsyncClient {
protected final String product;
protected final String version;
protected final String endpointRule;
protected final java.util.Map<String, String> endpointMap;
protected final TeaRequest REQUEST;
protected final TeaAsyncHandler handler;
protected DefaultAsyncClient(ClientConfiguration configuration) {
this.handler = new TeaAsyncHandler(configuration);
this.product = "servicemesh";
this.version = "2020-01-11";
this.endpointRule = "central";
this.endpointMap = new java.util.HashMap<>();
this.REQUEST = TeaRequest.create().setProduct(product).setEndpointRule(endpointRule).setEndpointMap(endpointMap).setVersion(version);
}
@Override
public void close() {
this.handler.close();
}
@Override
public CompletableFuture<AddClusterIntoServiceMeshResponse> addClusterIntoServiceMesh(AddClusterIntoServiceMeshRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("AddClusterIntoServiceMesh").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(AddClusterIntoServiceMeshResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<AddClusterIntoServiceMeshResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @deprecated
*
*/
@Override
public CompletableFuture<AddVMIntoServiceMeshResponse> addVMIntoServiceMesh(AddVMIntoServiceMeshRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("AddVMIntoServiceMesh").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(AddVMIntoServiceMeshResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<AddVMIntoServiceMeshResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<CreateASMGatewayResponse> createASMGateway(CreateASMGatewayRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateASMGateway").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateASMGatewayResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateASMGatewayResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<CreateGatewaySecretResponse> createGatewaySecret(CreateGatewaySecretRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateGatewaySecret").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateGatewaySecretResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateGatewaySecretResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<CreateIstioGatewayDomainsResponse> createIstioGatewayDomains(CreateIstioGatewayDomainsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateIstioGatewayDomains").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateIstioGatewayDomainsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateIstioGatewayDomainsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<CreateIstioGatewayRoutesResponse> createIstioGatewayRoutes(CreateIstioGatewayRoutesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateIstioGatewayRoutes").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateIstioGatewayRoutesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateIstioGatewayRoutesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<CreateServiceMeshResponse> createServiceMesh(CreateServiceMeshRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateServiceMesh").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateServiceMeshResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateServiceMeshResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<CreateSwimLaneResponse> createSwimLane(CreateSwimLaneRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateSwimLane").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateSwimLaneResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateSwimLaneResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<CreateSwimLaneGroupResponse> createSwimLaneGroup(CreateSwimLaneGroupRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateSwimLaneGroup").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateSwimLaneGroupResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateSwimLaneGroupResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<CreateWaypointResponse> createWaypoint(CreateWaypointRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateWaypoint").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateWaypointResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateWaypointResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DeleteGatewayRouteResponse> deleteGatewayRoute(DeleteGatewayRouteRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteGatewayRoute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteGatewayRouteResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteGatewayRouteResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DeleteGatewaySecretResponse> deleteGatewaySecret(DeleteGatewaySecretRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteGatewaySecret").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteGatewaySecretResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteGatewaySecretResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DeleteIstioGatewayDomainsResponse> deleteIstioGatewayDomains(DeleteIstioGatewayDomainsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteIstioGatewayDomains").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteIstioGatewayDomainsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteIstioGatewayDomainsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DeleteServiceMeshResponse> deleteServiceMesh(DeleteServiceMeshRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteServiceMesh").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteServiceMeshResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteServiceMeshResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DeleteSwimLaneResponse> deleteSwimLane(DeleteSwimLaneRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteSwimLane").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteSwimLaneResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteSwimLaneResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DeleteSwimLaneGroupResponse> deleteSwimLaneGroup(DeleteSwimLaneGroupRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteSwimLaneGroup").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteSwimLaneGroupResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteSwimLaneGroupResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DeleteWaypointResponse> deleteWaypoint(DeleteWaypointRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteWaypoint").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteWaypointResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteWaypointResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeASMGatewayImportedServicesResponse> describeASMGatewayImportedServices(DescribeASMGatewayImportedServicesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeASMGatewayImportedServices").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeASMGatewayImportedServicesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeASMGatewayImportedServicesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeCCMVersionResponse> describeCCMVersion(DescribeCCMVersionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeCCMVersion").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeCCMVersionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeCCMVersionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeCensResponse> describeCens(DescribeCensRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeCens").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeCensResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeCensResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeClusterGrafanaResponse> describeClusterGrafana(DescribeClusterGrafanaRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeClusterGrafana").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeClusterGrafanaResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeClusterGrafanaResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeClusterPrometheusResponse> describeClusterPrometheus(DescribeClusterPrometheusRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeClusterPrometheus").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeClusterPrometheusResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeClusterPrometheusResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeClustersInServiceMeshResponse> describeClustersInServiceMesh(DescribeClustersInServiceMeshRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeClustersInServiceMesh").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeClustersInServiceMeshResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeClustersInServiceMeshResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeCrTemplatesResponse> describeCrTemplates(DescribeCrTemplatesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeCrTemplates").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeCrTemplatesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeCrTemplatesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeEipResourcesResponse> describeEipResources(DescribeEipResourcesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeEipResources").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeEipResourcesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeEipResourcesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeGatewaySecretDetailsResponse> describeGatewaySecretDetails(DescribeGatewaySecretDetailsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeGatewaySecretDetails").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeGatewaySecretDetailsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeGatewaySecretDetailsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeGuestClusterAccessLogDashboardsResponse> describeGuestClusterAccessLogDashboards(DescribeGuestClusterAccessLogDashboardsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeGuestClusterAccessLogDashboards").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeGuestClusterAccessLogDashboardsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeGuestClusterAccessLogDashboardsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeGuestClusterNamespacesResponse> describeGuestClusterNamespaces(DescribeGuestClusterNamespacesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeGuestClusterNamespaces").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeGuestClusterNamespacesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeGuestClusterNamespacesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeGuestClusterPodsResponse> describeGuestClusterPods(DescribeGuestClusterPodsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeGuestClusterPods").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeGuestClusterPodsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeGuestClusterPodsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeImportedServicesDetailResponse> describeImportedServicesDetail(DescribeImportedServicesDetailRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeImportedServicesDetail").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeImportedServicesDetailResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeImportedServicesDetailResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeIstioGatewayDomainsResponse> describeIstioGatewayDomains(DescribeIstioGatewayDomainsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeIstioGatewayDomains").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeIstioGatewayDomainsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeIstioGatewayDomainsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeIstioGatewayRouteDetailResponse> describeIstioGatewayRouteDetail(DescribeIstioGatewayRouteDetailRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeIstioGatewayRouteDetail").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeIstioGatewayRouteDetailResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeIstioGatewayRouteDetailResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeIstioGatewayRoutesResponse> describeIstioGatewayRoutes(DescribeIstioGatewayRoutesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeIstioGatewayRoutes").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeIstioGatewayRoutesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeIstioGatewayRoutesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeMetadataResponse> describeMetadata(DescribeMetadataRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeMetadata").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeMetadataResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeMetadataResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeNamespaceScopeSidecarConfigResponse> describeNamespaceScopeSidecarConfig(DescribeNamespaceScopeSidecarConfigRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeNamespaceScopeSidecarConfig").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeNamespaceScopeSidecarConfigResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeNamespaceScopeSidecarConfigResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeNodesInstanceTypeResponse> describeNodesInstanceType(DescribeNodesInstanceTypeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeNodesInstanceType").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeNodesInstanceTypeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeNodesInstanceTypeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeReusableSlbResponse> describeReusableSlb(DescribeReusableSlbRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeReusableSlb").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeReusableSlbResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeReusableSlbResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeServiceMeshAdditionalStatusResponse> describeServiceMeshAdditionalStatus(DescribeServiceMeshAdditionalStatusRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeServiceMeshAdditionalStatus").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeServiceMeshAdditionalStatusResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeServiceMeshAdditionalStatusResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeServiceMeshClustersResponse> describeServiceMeshClusters(DescribeServiceMeshClustersRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeServiceMeshClusters").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeServiceMeshClustersResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeServiceMeshClustersResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeServiceMeshDetailResponse> describeServiceMeshDetail(DescribeServiceMeshDetailRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeServiceMeshDetail").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeServiceMeshDetailResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeServiceMeshDetailResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeServiceMeshKubeconfigResponse> describeServiceMeshKubeconfig(DescribeServiceMeshKubeconfigRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeServiceMeshKubeconfig").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeServiceMeshKubeconfigResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeServiceMeshKubeconfigResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeServiceMeshLogsResponse> describeServiceMeshLogs(DescribeServiceMeshLogsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeServiceMeshLogs").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeServiceMeshLogsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeServiceMeshLogsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeServiceMeshProxyStatusResponse> describeServiceMeshProxyStatus(DescribeServiceMeshProxyStatusRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeServiceMeshProxyStatus").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeServiceMeshProxyStatusResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeServiceMeshProxyStatusResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeServiceMeshUpgradeStatusResponse> describeServiceMeshUpgradeStatus(DescribeServiceMeshUpgradeStatusRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeServiceMeshUpgradeStatus").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeServiceMeshUpgradeStatusResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeServiceMeshUpgradeStatusResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @deprecated
*
*/
@Override
public CompletableFuture<DescribeServiceMeshVMsResponse> describeServiceMeshVMs(DescribeServiceMeshVMsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeServiceMeshVMs").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeServiceMeshVMsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeServiceMeshVMsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeServiceMeshesResponse> describeServiceMeshes(DescribeServiceMeshesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeServiceMeshes").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeServiceMeshesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeServiceMeshesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeUpgradeVersionResponse> describeUpgradeVersion(DescribeUpgradeVersionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeUpgradeVersion").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeUpgradeVersionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeUpgradeVersionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeUserPermissionsResponse> describeUserPermissions(DescribeUserPermissionsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeUserPermissions").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeUserPermissionsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeUserPermissionsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeUsersWithPermissionsResponse> describeUsersWithPermissions(DescribeUsersWithPermissionsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeUsersWithPermissions").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeUsersWithPermissionsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeUsersWithPermissionsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @deprecated
*
*/
@Override
public CompletableFuture<DescribeVMsInServiceMeshResponse> describeVMsInServiceMesh(DescribeVMsInServiceMeshRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeVMsInServiceMesh").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeVMsInServiceMeshResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeVMsInServiceMeshResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeVSwitchesResponse> describeVSwitches(DescribeVSwitchesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeVSwitches").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeVSwitchesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeVSwitchesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeVersionsResponse> describeVersions(DescribeVersionsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeVersions").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeVersionsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeVersionsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<DescribeVpcsResponse> describeVpcs(DescribeVpcsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeVpcs").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeVpcsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeVpcsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<GetCaCertResponse> getCaCert(GetCaCertRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetCaCert").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetCaCertResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetCaCertResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<GetDeploymentBySelectorResponse> getDeploymentBySelector(GetDeploymentBySelectorRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetDeploymentBySelector").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetDeploymentBySelectorResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetDeploymentBySelectorResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<GetGrafanaDashboardUrlResponse> getGrafanaDashboardUrl(GetGrafanaDashboardUrlRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetGrafanaDashboardUrl").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetGrafanaDashboardUrlResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetGrafanaDashboardUrlResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<GetRegisteredServiceEndpointsResponse> getRegisteredServiceEndpoints(GetRegisteredServiceEndpointsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetRegisteredServiceEndpoints").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetRegisteredServiceEndpointsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetRegisteredServiceEndpointsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<GetRegisteredServiceNamespacesResponse> getRegisteredServiceNamespaces(GetRegisteredServiceNamespacesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetRegisteredServiceNamespaces").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetRegisteredServiceNamespacesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetRegisteredServiceNamespacesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<GetSwimLaneDetailResponse> getSwimLaneDetail(GetSwimLaneDetailRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetSwimLaneDetail").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetSwimLaneDetailResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetSwimLaneDetailResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<GetSwimLaneGroupListResponse> getSwimLaneGroupList(GetSwimLaneGroupListRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetSwimLaneGroupList").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetSwimLaneGroupListResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetSwimLaneGroupListResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<GetSwimLaneListResponse> getSwimLaneList(GetSwimLaneListRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetSwimLaneList").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetSwimLaneListResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetSwimLaneListResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @deprecated
*
*/
@Override
public CompletableFuture<GetVmAppMeshInfoResponse> getVmAppMeshInfo(GetVmAppMeshInfoRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetVmAppMeshInfo").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetVmAppMeshInfoResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetVmAppMeshInfoResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @deprecated
*
*/
@Override
public CompletableFuture<GetVmMetaResponse> getVmMeta(GetVmMetaRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetVmMeta").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetVmMetaResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetVmMetaResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<GrantUserPermissionsResponse> grantUserPermissions(GrantUserPermissionsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GrantUserPermissions").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GrantUserPermissionsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GrantUserPermissionsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<ListServiceAccountsResponse> listServiceAccounts(ListServiceAccountsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListServiceAccounts").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListServiceAccountsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ListServiceAccountsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<ListTagResourcesResponse> listTagResources(ListTagResourcesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListTagResources").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListTagResourcesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ListTagResourcesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<ListWaypointsResponse> listWaypoints(ListWaypointsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListWaypoints").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListWaypointsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ListWaypointsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<ModifyApiServerEipResourceResponse> modifyApiServerEipResource(ModifyApiServerEipResourceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyApiServerEipResource").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyApiServerEipResourceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyApiServerEipResourceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<ModifyServiceMeshNameResponse> modifyServiceMeshName(ModifyServiceMeshNameRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyServiceMeshName").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyServiceMeshNameResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyServiceMeshNameResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* 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).
*
*/
@Override
public CompletableFuture<ReActivateAuditResponse> reActivateAudit(ReActivateAuditRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ReActivateAudit").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ReActivateAuditResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ReActivateAuditResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<RemoveClusterFromServiceMeshResponse> removeClusterFromServiceMesh(RemoveClusterFromServiceMeshRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RemoveClusterFromServiceMesh").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RemoveClusterFromServiceMeshResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RemoveClusterFromServiceMeshResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @deprecated
*
*/
@Override
public CompletableFuture<RemoveVMFromServiceMeshResponse> removeVMFromServiceMesh(RemoveVMFromServiceMeshRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RemoveVMFromServiceMesh").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RemoveVMFromServiceMeshResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RemoveVMFromServiceMeshResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<RevokeKubeconfigResponse> revokeKubeconfig(RevokeKubeconfigRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RevokeKubeconfig").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RevokeKubeconfigResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RevokeKubeconfigResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<TagResourcesResponse> tagResources(TagResourcesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("TagResources").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(TagResourcesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<TagResourcesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<UntagResourcesResponse> untagResources(UntagResourcesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UntagResources").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UntagResourcesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UntagResourcesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<UpdateASMGatewayResponse> updateASMGateway(UpdateASMGatewayRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateASMGateway").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateASMGatewayResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateASMGatewayResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<UpdateASMGatewayImportedServicesResponse> updateASMGatewayImportedServices(UpdateASMGatewayImportedServicesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateASMGatewayImportedServices").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateASMGatewayImportedServicesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateASMGatewayImportedServicesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<UpdateASMNamespaceFromGuestClusterResponse> updateASMNamespaceFromGuestCluster(UpdateASMNamespaceFromGuestClusterRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateASMNamespaceFromGuestCluster").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateASMNamespaceFromGuestClusterResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateASMNamespaceFromGuestClusterResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<UpdateControlPlaneLogConfigResponse> updateControlPlaneLogConfig(UpdateControlPlaneLogConfigRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateControlPlaneLogConfig").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateControlPlaneLogConfigResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateControlPlaneLogConfigResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<UpdateIstioGatewayRoutesResponse> updateIstioGatewayRoutes(UpdateIstioGatewayRoutesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateIstioGatewayRoutes").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateIstioGatewayRoutesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateIstioGatewayRoutesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<UpdateIstioInjectionConfigResponse> updateIstioInjectionConfig(UpdateIstioInjectionConfigRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateIstioInjectionConfig").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateIstioInjectionConfigResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateIstioInjectionConfigResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<UpdateIstioRouteAdditionalStatusResponse> updateIstioRouteAdditionalStatus(UpdateIstioRouteAdditionalStatusRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateIstioRouteAdditionalStatus").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateIstioRouteAdditionalStatusResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateIstioRouteAdditionalStatusResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<UpdateMeshCRAggregationResponse> updateMeshCRAggregation(UpdateMeshCRAggregationRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateMeshCRAggregation").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateMeshCRAggregationResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateMeshCRAggregationResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<UpdateMeshFeatureResponse> updateMeshFeature(UpdateMeshFeatureRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateMeshFeature").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateMeshFeatureResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateMeshFeatureResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<UpdateNamespaceScopeSidecarConfigResponse> updateNamespaceScopeSidecarConfig(UpdateNamespaceScopeSidecarConfigRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateNamespaceScopeSidecarConfig").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateNamespaceScopeSidecarConfigResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateNamespaceScopeSidecarConfigResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<UpdateSwimLaneResponse> updateSwimLane(UpdateSwimLaneRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateSwimLane").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateSwimLaneResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateSwimLaneResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<UpdateSwimLaneGroupResponse> updateSwimLaneGroup(UpdateSwimLaneGroupRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateSwimLaneGroup").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateSwimLaneGroupResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateSwimLaneGroupResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<UpdateWaypointResponse> updateWaypoint(UpdateWaypointRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateWaypoint").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateWaypointResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpdateWaypointResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<UpgradeMeshEditionPartiallyResponse> upgradeMeshEditionPartially(UpgradeMeshEditionPartiallyRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpgradeMeshEditionPartially").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpgradeMeshEditionPartiallyResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpgradeMeshEditionPartiallyResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<UpgradeMeshVersionResponse> upgradeMeshVersion(UpgradeMeshVersionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpgradeMeshVersion").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpgradeMeshVersionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UpgradeMeshVersionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/DefaultAsyncClientBuilder.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111;
import com.aliyun.sdk.gateway.pop.BaseClientBuilder;
public final class DefaultAsyncClientBuilder extends BaseClientBuilder<DefaultAsyncClientBuilder, AsyncClient> {
@Override
protected String serviceName() {
return "servicemesh20200111";
}
@Override
protected final AsyncClient buildClient() {
return new DefaultAsyncClient(super.applyClientConfiguration());
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/AddClusterIntoServiceMeshRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link AddClusterIntoServiceMeshRequest} extends {@link RequestModel}
*
* <p>AddClusterIntoServiceMeshRequest</p>
*/
public class AddClusterIntoServiceMeshRequest extends Request {
@Body
@NameInMap("ClusterId")
@Validation(required = true)
private String clusterId;
@Body
@NameInMap("IgnoreNamespaceCheck")
private Boolean ignoreNamespaceCheck;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private AddClusterIntoServiceMeshRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.ignoreNamespaceCheck = builder.ignoreNamespaceCheck;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static AddClusterIntoServiceMeshRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return ignoreNamespaceCheck
*/
public Boolean getIgnoreNamespaceCheck() {
return this.ignoreNamespaceCheck;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<AddClusterIntoServiceMeshRequest, Builder> {
private String clusterId;
private Boolean ignoreNamespaceCheck;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(AddClusterIntoServiceMeshRequest request) {
super(request);
this.clusterId = request.clusterId;
this.ignoreNamespaceCheck = request.ignoreNamespaceCheck;
this.serviceMeshId = request.serviceMeshId;
}
/**
* ClusterId.
*/
public Builder clusterId(String clusterId) {
this.putBodyParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* IgnoreNamespaceCheck.
*/
public Builder ignoreNamespaceCheck(Boolean ignoreNamespaceCheck) {
this.putBodyParameter("IgnoreNamespaceCheck", ignoreNamespaceCheck);
this.ignoreNamespaceCheck = ignoreNamespaceCheck;
return this;
}
/**
* ServiceMeshId.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public AddClusterIntoServiceMeshRequest build() {
return new AddClusterIntoServiceMeshRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/AddClusterIntoServiceMeshResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link AddClusterIntoServiceMeshResponse} extends {@link TeaModel}
*
* <p>AddClusterIntoServiceMeshResponse</p>
*/
public class AddClusterIntoServiceMeshResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private AddClusterIntoServiceMeshResponseBody body;
private AddClusterIntoServiceMeshResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static AddClusterIntoServiceMeshResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public AddClusterIntoServiceMeshResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<AddClusterIntoServiceMeshResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(AddClusterIntoServiceMeshResponseBody body);
@Override
AddClusterIntoServiceMeshResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<AddClusterIntoServiceMeshResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private AddClusterIntoServiceMeshResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(AddClusterIntoServiceMeshResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(AddClusterIntoServiceMeshResponseBody body) {
this.body = body;
return this;
}
@Override
public AddClusterIntoServiceMeshResponse build() {
return new AddClusterIntoServiceMeshResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/AddClusterIntoServiceMeshResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link AddClusterIntoServiceMeshResponseBody} extends {@link TeaModel}
*
* <p>AddClusterIntoServiceMeshResponseBody</p>
*/
public class AddClusterIntoServiceMeshResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
private AddClusterIntoServiceMeshResponseBody(Builder builder) {
this.code = builder.code;
this.message = builder.message;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static AddClusterIntoServiceMeshResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String code;
private String message;
private String requestId;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public AddClusterIntoServiceMeshResponseBody build() {
return new AddClusterIntoServiceMeshResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/AddVMIntoServiceMeshRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link AddVMIntoServiceMeshRequest} extends {@link RequestModel}
*
* <p>AddVMIntoServiceMeshRequest</p>
*/
public class AddVMIntoServiceMeshRequest extends Request {
@Query
@NameInMap("EcsId")
@Validation(required = true)
private String ecsId;
@Query
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private AddVMIntoServiceMeshRequest(Builder builder) {
super(builder);
this.ecsId = builder.ecsId;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static AddVMIntoServiceMeshRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return ecsId
*/
public String getEcsId() {
return this.ecsId;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<AddVMIntoServiceMeshRequest, Builder> {
private String ecsId;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(AddVMIntoServiceMeshRequest request) {
super(request);
this.ecsId = request.ecsId;
this.serviceMeshId = request.serviceMeshId;
}
/**
* The ID of the ECS instance.
*/
public Builder ecsId(String ecsId) {
this.putQueryParameter("EcsId", ecsId);
this.ecsId = ecsId;
return this;
}
/**
* The ASM instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putQueryParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public AddVMIntoServiceMeshRequest build() {
return new AddVMIntoServiceMeshRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/AddVMIntoServiceMeshResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link AddVMIntoServiceMeshResponse} extends {@link TeaModel}
*
* <p>AddVMIntoServiceMeshResponse</p>
*/
public class AddVMIntoServiceMeshResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private AddVMIntoServiceMeshResponseBody body;
private AddVMIntoServiceMeshResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static AddVMIntoServiceMeshResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public AddVMIntoServiceMeshResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<AddVMIntoServiceMeshResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(AddVMIntoServiceMeshResponseBody body);
@Override
AddVMIntoServiceMeshResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<AddVMIntoServiceMeshResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private AddVMIntoServiceMeshResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(AddVMIntoServiceMeshResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(AddVMIntoServiceMeshResponseBody body) {
this.body = body;
return this;
}
@Override
public AddVMIntoServiceMeshResponse build() {
return new AddVMIntoServiceMeshResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/AddVMIntoServiceMeshResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link AddVMIntoServiceMeshResponseBody} extends {@link TeaModel}
*
* <p>AddVMIntoServiceMeshResponseBody</p>
*/
public class AddVMIntoServiceMeshResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private AddVMIntoServiceMeshResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static AddVMIntoServiceMeshResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public AddVMIntoServiceMeshResponseBody build() {
return new AddVMIntoServiceMeshResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CCMVersionsValue.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CCMVersionsValue} extends {@link TeaModel}
*
* <p>CCMVersionsValue</p>
*/
public class CCMVersionsValue extends TeaModel {
@NameInMap("QueryState")
private String queryState;
@NameInMap("Version")
private String version;
@NameInMap("SLBGracefulDrainSupport")
private Boolean SLBGracefulDrainSupport;
@NameInMap("ClusterId")
private String clusterId;
@NameInMap("Message")
private String message;
private CCMVersionsValue(Builder builder) {
this.queryState = builder.queryState;
this.version = builder.version;
this.SLBGracefulDrainSupport = builder.SLBGracefulDrainSupport;
this.clusterId = builder.clusterId;
this.message = builder.message;
}
public static Builder builder() {
return new Builder();
}
public static CCMVersionsValue create() {
return builder().build();
}
/**
* @return queryState
*/
public String getQueryState() {
return this.queryState;
}
/**
* @return version
*/
public String getVersion() {
return this.version;
}
/**
* @return SLBGracefulDrainSupport
*/
public Boolean getSLBGracefulDrainSupport() {
return this.SLBGracefulDrainSupport;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
public static final class Builder {
private String queryState;
private String version;
private Boolean SLBGracefulDrainSupport;
private String clusterId;
private String message;
/**
* QueryState.
*/
public Builder queryState(String queryState) {
this.queryState = queryState;
return this;
}
/**
* Version.
*/
public Builder version(String version) {
this.version = version;
return this;
}
/**
* SLBGracefulDrainSupport.
*/
public Builder SLBGracefulDrainSupport(Boolean SLBGracefulDrainSupport) {
this.SLBGracefulDrainSupport = SLBGracefulDrainSupport;
return this;
}
/**
* ClusterId.
*/
public Builder clusterId(String clusterId) {
this.clusterId = clusterId;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
public CCMVersionsValue build() {
return new CCMVersionsValue(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateASMGatewayRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateASMGatewayRequest} extends {@link RequestModel}
*
* <p>CreateASMGatewayRequest</p>
*/
public class CreateASMGatewayRequest extends Request {
@Body
@NameInMap("Body")
private String body;
@Body
@NameInMap("IstioGatewayName")
private String istioGatewayName;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private CreateASMGatewayRequest(Builder builder) {
super(builder);
this.body = builder.body;
this.istioGatewayName = builder.istioGatewayName;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static CreateASMGatewayRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return body
*/
public String getBody() {
return this.body;
}
/**
* @return istioGatewayName
*/
public String getIstioGatewayName() {
return this.istioGatewayName;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<CreateASMGatewayRequest, Builder> {
private String body;
private String istioGatewayName;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(CreateASMGatewayRequest request) {
super(request);
this.body = request.body;
this.istioGatewayName = request.istioGatewayName;
this.serviceMeshId = request.serviceMeshId;
}
/**
* The YAML content that is used to create the ASM gateway.
*/
public Builder body(String body) {
this.putBodyParameter("Body", body);
this.body = body;
return this;
}
/**
* The name of the ASM gateway.
*/
public Builder istioGatewayName(String istioGatewayName) {
this.putBodyParameter("IstioGatewayName", istioGatewayName);
this.istioGatewayName = istioGatewayName;
return this;
}
/**
* The ASM instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public CreateASMGatewayRequest build() {
return new CreateASMGatewayRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateASMGatewayResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateASMGatewayResponse} extends {@link TeaModel}
*
* <p>CreateASMGatewayResponse</p>
*/
public class CreateASMGatewayResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private CreateASMGatewayResponseBody body;
private CreateASMGatewayResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateASMGatewayResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public CreateASMGatewayResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateASMGatewayResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(CreateASMGatewayResponseBody body);
@Override
CreateASMGatewayResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateASMGatewayResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private CreateASMGatewayResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateASMGatewayResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(CreateASMGatewayResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateASMGatewayResponse build() {
return new CreateASMGatewayResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateASMGatewayResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateASMGatewayResponseBody} extends {@link TeaModel}
*
* <p>CreateASMGatewayResponseBody</p>
*/
public class CreateASMGatewayResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private CreateASMGatewayResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static CreateASMGatewayResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public CreateASMGatewayResponseBody build() {
return new CreateASMGatewayResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateGatewaySecretRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateGatewaySecretRequest} extends {@link RequestModel}
*
* <p>CreateGatewaySecretRequest</p>
*/
public class CreateGatewaySecretRequest extends Request {
@Body
@NameInMap("Cert")
private String cert;
@Body
@NameInMap("IstioGatewayName")
private String istioGatewayName;
@Body
@NameInMap("Key")
private String key;
@Body
@NameInMap("SecretName")
private String secretName;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private CreateGatewaySecretRequest(Builder builder) {
super(builder);
this.cert = builder.cert;
this.istioGatewayName = builder.istioGatewayName;
this.key = builder.key;
this.secretName = builder.secretName;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static CreateGatewaySecretRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return cert
*/
public String getCert() {
return this.cert;
}
/**
* @return istioGatewayName
*/
public String getIstioGatewayName() {
return this.istioGatewayName;
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return secretName
*/
public String getSecretName() {
return this.secretName;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<CreateGatewaySecretRequest, Builder> {
private String cert;
private String istioGatewayName;
private String key;
private String secretName;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(CreateGatewaySecretRequest request) {
super(request);
this.cert = request.cert;
this.istioGatewayName = request.istioGatewayName;
this.key = request.key;
this.secretName = request.secretName;
this.serviceMeshId = request.serviceMeshId;
}
/**
* The content of the certificate.
*/
public Builder cert(String cert) {
this.putBodyParameter("Cert", cert);
this.cert = cert;
return this;
}
/**
* The name of the ASM gateway.
*/
public Builder istioGatewayName(String istioGatewayName) {
this.putBodyParameter("IstioGatewayName", istioGatewayName);
this.istioGatewayName = istioGatewayName;
return this;
}
/**
* The private key of the certificate.
*/
public Builder key(String key) {
this.putBodyParameter("Key", key);
this.key = key;
return this;
}
/**
* The name of the secret.
*/
public Builder secretName(String secretName) {
this.putBodyParameter("SecretName", secretName);
this.secretName = secretName;
return this;
}
/**
* The ASM instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public CreateGatewaySecretRequest build() {
return new CreateGatewaySecretRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateGatewaySecretResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateGatewaySecretResponse} extends {@link TeaModel}
*
* <p>CreateGatewaySecretResponse</p>
*/
public class CreateGatewaySecretResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private CreateGatewaySecretResponseBody body;
private CreateGatewaySecretResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateGatewaySecretResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public CreateGatewaySecretResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateGatewaySecretResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(CreateGatewaySecretResponseBody body);
@Override
CreateGatewaySecretResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateGatewaySecretResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private CreateGatewaySecretResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateGatewaySecretResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(CreateGatewaySecretResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateGatewaySecretResponse build() {
return new CreateGatewaySecretResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateGatewaySecretResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateGatewaySecretResponseBody} extends {@link TeaModel}
*
* <p>CreateGatewaySecretResponseBody</p>
*/
public class CreateGatewaySecretResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
@NameInMap("SecretCreateRecord")
private java.util.Map < String, SecretCreateRecordValue > secretCreateRecord;
private CreateGatewaySecretResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.secretCreateRecord = builder.secretCreateRecord;
}
public static Builder builder() {
return new Builder();
}
public static CreateGatewaySecretResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return secretCreateRecord
*/
public java.util.Map < String, SecretCreateRecordValue > getSecretCreateRecord() {
return this.secretCreateRecord;
}
public static final class Builder {
private String requestId;
private java.util.Map < String, SecretCreateRecordValue > secretCreateRecord;
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The record of creating the secret.
*/
public Builder secretCreateRecord(java.util.Map < String, SecretCreateRecordValue > secretCreateRecord) {
this.secretCreateRecord = secretCreateRecord;
return this;
}
public CreateGatewaySecretResponseBody build() {
return new CreateGatewaySecretResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayDomainsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateIstioGatewayDomainsRequest} extends {@link RequestModel}
*
* <p>CreateIstioGatewayDomainsRequest</p>
*/
public class CreateIstioGatewayDomainsRequest extends Request {
@Body
@NameInMap("Credential")
private String credential;
@Body
@NameInMap("ForceHttps")
private Boolean forceHttps;
@Body
@NameInMap("Hosts")
@Validation(required = true)
private String hosts;
@Body
@NameInMap("IstioGatewayName")
@Validation(required = true)
private String istioGatewayName;
@Body
@NameInMap("Limit")
private String limit;
@Body
@NameInMap("Namespace")
private String namespace;
@Body
@NameInMap("Number")
@Validation(required = true)
private Integer number;
@Body
@NameInMap("PortName")
@Validation(required = true)
private String portName;
@Body
@NameInMap("Protocol")
@Validation(required = true)
private String protocol;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private CreateIstioGatewayDomainsRequest(Builder builder) {
super(builder);
this.credential = builder.credential;
this.forceHttps = builder.forceHttps;
this.hosts = builder.hosts;
this.istioGatewayName = builder.istioGatewayName;
this.limit = builder.limit;
this.namespace = builder.namespace;
this.number = builder.number;
this.portName = builder.portName;
this.protocol = builder.protocol;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static CreateIstioGatewayDomainsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return credential
*/
public String getCredential() {
return this.credential;
}
/**
* @return forceHttps
*/
public Boolean getForceHttps() {
return this.forceHttps;
}
/**
* @return hosts
*/
public String getHosts() {
return this.hosts;
}
/**
* @return istioGatewayName
*/
public String getIstioGatewayName() {
return this.istioGatewayName;
}
/**
* @return limit
*/
public String getLimit() {
return this.limit;
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return number
*/
public Integer getNumber() {
return this.number;
}
/**
* @return portName
*/
public String getPortName() {
return this.portName;
}
/**
* @return protocol
*/
public String getProtocol() {
return this.protocol;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<CreateIstioGatewayDomainsRequest, Builder> {
private String credential;
private Boolean forceHttps;
private String hosts;
private String istioGatewayName;
private String limit;
private String namespace;
private Integer number;
private String portName;
private String protocol;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(CreateIstioGatewayDomainsRequest request) {
super(request);
this.credential = request.credential;
this.forceHttps = request.forceHttps;
this.hosts = request.hosts;
this.istioGatewayName = request.istioGatewayName;
this.limit = request.limit;
this.namespace = request.namespace;
this.number = request.number;
this.portName = request.portName;
this.protocol = request.protocol;
this.serviceMeshId = request.serviceMeshId;
}
/**
* The name of the secret that contains the Transport Layer Security (TLS) certificate and certificate authority (CA) certificate.
*/
public Builder credential(String credential) {
this.putBodyParameter("Credential", credential);
this.credential = credential;
return this;
}
/**
* Specifies whether to forcibly use TLS to protect connection security.
* <p>
*
* * `true`: forcibly uses TLS to protect connection security.
* * `false`: does not forcibly use TLS to protect connection security.
*/
public Builder forceHttps(Boolean forceHttps) {
this.putBodyParameter("ForceHttps", forceHttps);
this.forceHttps = forceHttps;
return this;
}
/**
* The one or more domain names that are exposed by the ASM gateway. Separate multiple domain names with commas (,).
*/
public Builder hosts(String hosts) {
this.putBodyParameter("Hosts", hosts);
this.hosts = hosts;
return this;
}
/**
* The name of the ASM gateway.
*/
public Builder istioGatewayName(String istioGatewayName) {
this.putBodyParameter("IstioGatewayName", istioGatewayName);
this.istioGatewayName = istioGatewayName;
return this;
}
/**
* The maximum number of ASM gateways to query.
*/
public Builder limit(String limit) {
this.putBodyParameter("Limit", limit);
this.limit = limit;
return this;
}
/**
* The name of the namespace.
*/
public Builder namespace(String namespace) {
this.putBodyParameter("Namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* The port that is provided by the ASM gateway.
*/
public Builder number(Integer number) {
this.putBodyParameter("Number", number);
this.number = number;
return this;
}
/**
* The name of the port.
*/
public Builder portName(String portName) {
this.putBodyParameter("PortName", portName);
this.portName = portName;
return this;
}
/**
* The type of the protocol. Valid values: `HTTP`, `HTTPS`, `GRPC`, `HTTP2`, `MONGO`, `TCP`, and `TLS`.
*/
public Builder protocol(String protocol) {
this.putBodyParameter("Protocol", protocol);
this.protocol = protocol;
return this;
}
/**
* The ASM instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public CreateIstioGatewayDomainsRequest build() {
return new CreateIstioGatewayDomainsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayDomainsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateIstioGatewayDomainsResponse} extends {@link TeaModel}
*
* <p>CreateIstioGatewayDomainsResponse</p>
*/
public class CreateIstioGatewayDomainsResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private CreateIstioGatewayDomainsResponseBody body;
private CreateIstioGatewayDomainsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateIstioGatewayDomainsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public CreateIstioGatewayDomainsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateIstioGatewayDomainsResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(CreateIstioGatewayDomainsResponseBody body);
@Override
CreateIstioGatewayDomainsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateIstioGatewayDomainsResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private CreateIstioGatewayDomainsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateIstioGatewayDomainsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(CreateIstioGatewayDomainsResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateIstioGatewayDomainsResponse build() {
return new CreateIstioGatewayDomainsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayDomainsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateIstioGatewayDomainsResponseBody} extends {@link TeaModel}
*
* <p>CreateIstioGatewayDomainsResponseBody</p>
*/
public class CreateIstioGatewayDomainsResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private CreateIstioGatewayDomainsResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static CreateIstioGatewayDomainsResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public CreateIstioGatewayDomainsResponseBody build() {
return new CreateIstioGatewayDomainsResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayRoutesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateIstioGatewayRoutesRequest} extends {@link RequestModel}
*
* <p>CreateIstioGatewayRoutesRequest</p>
*/
public class CreateIstioGatewayRoutesRequest extends Request {
@Body
@NameInMap("Description")
private String description;
@Body
@NameInMap("GatewayRoute")
private GatewayRoute gatewayRoute;
@Body
@NameInMap("IstioGatewayName")
private String istioGatewayName;
@Body
@NameInMap("Priority")
private Integer priority;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
@Body
@NameInMap("Status")
private Integer status;
private CreateIstioGatewayRoutesRequest(Builder builder) {
super(builder);
this.description = builder.description;
this.gatewayRoute = builder.gatewayRoute;
this.istioGatewayName = builder.istioGatewayName;
this.priority = builder.priority;
this.serviceMeshId = builder.serviceMeshId;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static CreateIstioGatewayRoutesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return gatewayRoute
*/
public GatewayRoute getGatewayRoute() {
return this.gatewayRoute;
}
/**
* @return istioGatewayName
*/
public String getIstioGatewayName() {
return this.istioGatewayName;
}
/**
* @return priority
*/
public Integer getPriority() {
return this.priority;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
public static final class Builder extends Request.Builder<CreateIstioGatewayRoutesRequest, Builder> {
private String description;
private GatewayRoute gatewayRoute;
private String istioGatewayName;
private Integer priority;
private String serviceMeshId;
private Integer status;
private Builder() {
super();
}
private Builder(CreateIstioGatewayRoutesRequest request) {
super(request);
this.description = request.description;
this.gatewayRoute = request.gatewayRoute;
this.istioGatewayName = request.istioGatewayName;
this.priority = request.priority;
this.serviceMeshId = request.serviceMeshId;
this.status = request.status;
}
/**
* The description of the routing rule.
*/
public Builder description(String description) {
this.putBodyParameter("Description", description);
this.description = description;
return this;
}
/**
* The information about the routing rule to be created for the ASM gateway.
*/
public Builder gatewayRoute(GatewayRoute gatewayRoute) {
String gatewayRouteShrink = shrink(gatewayRoute, "GatewayRoute", "json");
this.putBodyParameter("GatewayRoute", gatewayRouteShrink);
this.gatewayRoute = gatewayRoute;
return this;
}
/**
* The name of the ASM gateway.
*/
public Builder istioGatewayName(String istioGatewayName) {
this.putBodyParameter("IstioGatewayName", istioGatewayName);
this.istioGatewayName = istioGatewayName;
return this;
}
/**
* The priority of the routing rule. The value of this parameter is an integer. A smaller value indicates a higher priority.
*/
public Builder priority(Integer priority) {
this.putBodyParameter("Priority", priority);
this.priority = priority;
return this;
}
/**
* The ASM instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
/**
* The status of the routing rule. Valid values:
* <p>
*
* * `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.
*/
public Builder status(Integer status) {
this.putBodyParameter("Status", status);
this.status = status;
return this;
}
@Override
public CreateIstioGatewayRoutesRequest build() {
return new CreateIstioGatewayRoutesRequest(this);
}
}
public static class Delegate extends TeaModel {
@NameInMap("Name")
private String name;
@NameInMap("Namespace")
private String namespace;
private Delegate(Builder builder) {
this.name = builder.name;
this.namespace = builder.namespace;
}
public static Builder builder() {
return new Builder();
}
public static Delegate create() {
return builder().build();
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
public static final class Builder {
private String name;
private String namespace;
/**
* The name of the virtual service.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* The namespace to which the virtual service belongs.
*/
public Builder namespace(String namespace) {
this.namespace = namespace;
return this;
}
public Delegate build() {
return new Delegate(this);
}
}
}
public static class Percentage extends TeaModel {
@NameInMap("Value")
private Float value;
private Percentage(Builder builder) {
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Percentage create() {
return builder().build();
}
/**
* @return value
*/
public Float getValue() {
return this.value;
}
public static final class Builder {
private Float value;
/**
* The percentage of requests that are aborted with the specified error code, which is expressed as a decimal.
*/
public Builder value(Float value) {
this.value = value;
return this;
}
public Percentage build() {
return new Percentage(this);
}
}
}
public static class Abort extends TeaModel {
@NameInMap("HttpStatus")
private Integer httpStatus;
@NameInMap("Percentage")
private Percentage percentage;
private Abort(Builder builder) {
this.httpStatus = builder.httpStatus;
this.percentage = builder.percentage;
}
public static Builder builder() {
return new Builder();
}
public static Abort create() {
return builder().build();
}
/**
* @return httpStatus
*/
public Integer getHttpStatus() {
return this.httpStatus;
}
/**
* @return percentage
*/
public Percentage getPercentage() {
return this.percentage;
}
public static final class Builder {
private Integer httpStatus;
private Percentage percentage;
/**
* The HTTP status code.
*/
public Builder httpStatus(Integer httpStatus) {
this.httpStatus = httpStatus;
return this;
}
/**
* The percentage of requests that are aborted with the specified error code.
*/
public Builder percentage(Percentage percentage) {
this.percentage = percentage;
return this;
}
public Abort build() {
return new Abort(this);
}
}
}
public static class DelayPercentage extends TeaModel {
@NameInMap("Value")
private Float value;
private DelayPercentage(Builder builder) {
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static DelayPercentage create() {
return builder().build();
}
/**
* @return value
*/
public Float getValue() {
return this.value;
}
public static final class Builder {
private Float value;
/**
* The percentage of requests to which the delay fault is injected, which is expressed as a decimal.
*/
public Builder value(Float value) {
this.value = value;
return this;
}
public DelayPercentage build() {
return new DelayPercentage(this);
}
}
}
public static class Delay extends TeaModel {
@NameInMap("FixedDelay")
private String fixedDelay;
@NameInMap("Percentage")
private DelayPercentage percentage;
private Delay(Builder builder) {
this.fixedDelay = builder.fixedDelay;
this.percentage = builder.percentage;
}
public static Builder builder() {
return new Builder();
}
public static Delay create() {
return builder().build();
}
/**
* @return fixedDelay
*/
public String getFixedDelay() {
return this.fixedDelay;
}
/**
* @return percentage
*/
public DelayPercentage getPercentage() {
return this.percentage;
}
public static final class Builder {
private String fixedDelay;
private DelayPercentage percentage;
/**
* The fixed duration for request delay.
*/
public Builder fixedDelay(String fixedDelay) {
this.fixedDelay = fixedDelay;
return this;
}
/**
* The percentage of requests to which the delay fault is injected.
*/
public Builder percentage(DelayPercentage percentage) {
this.percentage = percentage;
return this;
}
public Delay build() {
return new Delay(this);
}
}
}
public static class Fault extends TeaModel {
@NameInMap("Abort")
private Abort abort;
@NameInMap("Delay")
private Delay delay;
private Fault(Builder builder) {
this.abort = builder.abort;
this.delay = builder.delay;
}
public static Builder builder() {
return new Builder();
}
public static Fault create() {
return builder().build();
}
/**
* @return abort
*/
public Abort getAbort() {
return this.abort;
}
/**
* @return delay
*/
public Delay getDelay() {
return this.delay;
}
public static final class Builder {
private Abort abort;
private Delay delay;
/**
* The configurations for aborting requests with specified error codes.
*/
public Builder abort(Abort abort) {
this.abort = abort;
return this;
}
/**
* The duration to delay a request.
*/
public Builder delay(Delay delay) {
this.delay = delay;
return this;
}
public Fault build() {
return new Fault(this);
}
}
}
public static class HTTPRedirect extends TeaModel {
@NameInMap("Authority")
private String authority;
@NameInMap("RedirectCode")
private Integer redirectCode;
@NameInMap("Uri")
private String uri;
private HTTPRedirect(Builder builder) {
this.authority = builder.authority;
this.redirectCode = builder.redirectCode;
this.uri = builder.uri;
}
public static Builder builder() {
return new Builder();
}
public static HTTPRedirect create() {
return builder().build();
}
/**
* @return authority
*/
public String getAuthority() {
return this.authority;
}
/**
* @return redirectCode
*/
public Integer getRedirectCode() {
return this.redirectCode;
}
/**
* @return uri
*/
public String getUri() {
return this.uri;
}
public static final class Builder {
private String authority;
private Integer redirectCode;
private String uri;
/**
* The value to be used to overwrite the value of the Authority or Host header during redirection.``
*/
public Builder authority(String authority) {
this.authority = authority;
return this;
}
/**
* The HTTP status code to be used to indicate URL redirection. Default value: 301.
*/
public Builder redirectCode(Integer redirectCode) {
this.redirectCode = redirectCode;
return this;
}
/**
* The value to be used to overwrite the URL path during redirection.
*/
public Builder uri(String uri) {
this.uri = uri;
return this;
}
public HTTPRedirect build() {
return new HTTPRedirect(this);
}
}
}
public static class Mirror extends TeaModel {
@NameInMap("Host")
private String host;
@NameInMap("Subset")
private String subset;
private Mirror(Builder builder) {
this.host = builder.host;
this.subset = builder.subset;
}
public static Builder builder() {
return new Builder();
}
public static Mirror create() {
return builder().build();
}
/**
* @return host
*/
public String getHost() {
return this.host;
}
/**
* @return subset
*/
public String getSubset() {
return this.subset;
}
public static final class Builder {
private String host;
private String subset;
/**
* The name of the service defined in the service registry.
*/
public Builder host(String host) {
this.host = host;
return this;
}
/**
* The name of the service subset.
*/
public Builder subset(String subset) {
this.subset = subset;
return this;
}
public Mirror build() {
return new Mirror(this);
}
}
}
public static class MirrorPercentage extends TeaModel {
@NameInMap("Value")
private Float value;
private MirrorPercentage(Builder builder) {
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static MirrorPercentage create() {
return builder().build();
}
/**
* @return value
*/
public Float getValue() {
return this.value;
}
public static final class Builder {
private Float value;
/**
* The percentage of requests that are mirrored to another destination except for the original destination, which is expressed as a decimal.
*/
public Builder value(Float value) {
this.value = value;
return this;
}
public MirrorPercentage build() {
return new MirrorPercentage(this);
}
}
}
public static class RetryRemoteLocalities extends TeaModel {
@NameInMap("Value")
private Boolean value;
private RetryRemoteLocalities(Builder builder) {
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static RetryRemoteLocalities create() {
return builder().build();
}
/**
* @return value
*/
public Boolean getValue() {
return this.value;
}
public static final class Builder {
private Boolean value;
/**
* Specifies whether to allow retries to other localities. Valid values:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder value(Boolean value) {
this.value = value;
return this;
}
public RetryRemoteLocalities build() {
return new RetryRemoteLocalities(this);
}
}
}
public static class Retries extends TeaModel {
@NameInMap("Attempts")
private Integer attempts;
@NameInMap("PerTryTimeout")
private String perTryTimeout;
@NameInMap("RetryOn")
private String retryOn;
@NameInMap("RetryRemoteLocalities")
private RetryRemoteLocalities retryRemoteLocalities;
private Retries(Builder builder) {
this.attempts = builder.attempts;
this.perTryTimeout = builder.perTryTimeout;
this.retryOn = builder.retryOn;
this.retryRemoteLocalities = builder.retryRemoteLocalities;
}
public static Builder builder() {
return new Builder();
}
public static Retries create() {
return builder().build();
}
/**
* @return attempts
*/
public Integer getAttempts() {
return this.attempts;
}
/**
* @return perTryTimeout
*/
public String getPerTryTimeout() {
return this.perTryTimeout;
}
/**
* @return retryOn
*/
public String getRetryOn() {
return this.retryOn;
}
/**
* @return retryRemoteLocalities
*/
public RetryRemoteLocalities getRetryRemoteLocalities() {
return this.retryRemoteLocalities;
}
public static final class Builder {
private Integer attempts;
private String perTryTimeout;
private String retryOn;
private RetryRemoteLocalities retryRemoteLocalities;
/**
* The number of retries that are allowed for a request.
*/
public Builder attempts(Integer attempts) {
this.attempts = attempts;
return this;
}
/**
* The timeout period for each retry. Example: `5s`.
*/
public Builder perTryTimeout(String perTryTimeout) {
this.perTryTimeout = perTryTimeout;
return this;
}
/**
* The condition for retries. Example: `connect-failure,refused-stream,503`.
*/
public Builder retryOn(String retryOn) {
this.retryOn = retryOn;
return this;
}
/**
* Specifies whether to allow retries to other localities.
*/
public Builder retryRemoteLocalities(RetryRemoteLocalities retryRemoteLocalities) {
this.retryRemoteLocalities = retryRemoteLocalities;
return this;
}
public Retries build() {
return new Retries(this);
}
}
}
public static class Rewrite extends TeaModel {
@NameInMap("Authority")
private String authority;
@NameInMap("Uri")
private String uri;
private Rewrite(Builder builder) {
this.authority = builder.authority;
this.uri = builder.uri;
}
public static Builder builder() {
return new Builder();
}
public static Rewrite create() {
return builder().build();
}
/**
* @return authority
*/
public String getAuthority() {
return this.authority;
}
/**
* @return uri
*/
public String getUri() {
return this.uri;
}
public static final class Builder {
private String authority;
private String uri;
/**
* The value to be used to overwrite the value of the Authority or Host header.
*/
public Builder authority(String authority) {
this.authority = authority;
return this;
}
/**
* The value to be used to overwrite the path or prefix of the URI.
*/
public Builder uri(String uri) {
this.uri = uri;
return this;
}
public Rewrite build() {
return new Rewrite(this);
}
}
}
public static class HTTPAdvancedOptions extends TeaModel {
@NameInMap("Delegate")
private Delegate delegate;
@NameInMap("Fault")
private Fault fault;
@NameInMap("HTTPRedirect")
private HTTPRedirect HTTPRedirect;
@NameInMap("Mirror")
private Mirror mirror;
@NameInMap("MirrorPercentage")
private MirrorPercentage mirrorPercentage;
@NameInMap("Retries")
private Retries retries;
@NameInMap("Rewrite")
private Rewrite rewrite;
@NameInMap("Timeout")
private String timeout;
private HTTPAdvancedOptions(Builder builder) {
this.delegate = builder.delegate;
this.fault = builder.fault;
this.HTTPRedirect = builder.HTTPRedirect;
this.mirror = builder.mirror;
this.mirrorPercentage = builder.mirrorPercentage;
this.retries = builder.retries;
this.rewrite = builder.rewrite;
this.timeout = builder.timeout;
}
public static Builder builder() {
return new Builder();
}
public static HTTPAdvancedOptions create() {
return builder().build();
}
/**
* @return delegate
*/
public Delegate getDelegate() {
return this.delegate;
}
/**
* @return fault
*/
public Fault getFault() {
return this.fault;
}
/**
* @return HTTPRedirect
*/
public HTTPRedirect getHTTPRedirect() {
return this.HTTPRedirect;
}
/**
* @return mirror
*/
public Mirror getMirror() {
return this.mirror;
}
/**
* @return mirrorPercentage
*/
public MirrorPercentage getMirrorPercentage() {
return this.mirrorPercentage;
}
/**
* @return retries
*/
public Retries getRetries() {
return this.retries;
}
/**
* @return rewrite
*/
public Rewrite getRewrite() {
return this.rewrite;
}
/**
* @return timeout
*/
public String getTimeout() {
return this.timeout;
}
public static final class Builder {
private Delegate delegate;
private Fault fault;
private HTTPRedirect HTTPRedirect;
private Mirror mirror;
private MirrorPercentage mirrorPercentage;
private Retries retries;
private Rewrite rewrite;
private String timeout;
/**
* The virtual service that defines traffic routing.
*/
public Builder delegate(Delegate delegate) {
this.delegate = delegate;
return this;
}
/**
* The configurations of fault injection.
*/
public Builder fault(Fault fault) {
this.fault = fault;
return this;
}
/**
* The HTTP redirection rule.
*/
public Builder HTTPRedirect(HTTPRedirect HTTPRedirect) {
this.HTTPRedirect = HTTPRedirect;
return this;
}
/**
* 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;
return this;
}
/**
* The percentage of requests that are mirrored to another destination except for the original destination.
*/
public Builder mirrorPercentage(MirrorPercentage mirrorPercentage) {
this.mirrorPercentage = mirrorPercentage;
return this;
}
/**
* The configurations of retries for failed requests.
*/
public Builder retries(Retries retries) {
this.retries = retries;
return this;
}
/**
* The configurations for rewriting the virtual service.
*/
public Builder rewrite(Rewrite rewrite) {
this.rewrite = rewrite;
return this;
}
/**
* The timeout period for requests.
*/
public Builder timeout(String timeout) {
this.timeout = timeout;
return this;
}
public HTTPAdvancedOptions build() {
return new HTTPAdvancedOptions(this);
}
}
}
public static class Headers extends TeaModel {
@NameInMap("MatchingContent")
private String matchingContent;
@NameInMap("MatchingMode")
private String matchingMode;
@NameInMap("Name")
private String name;
private Headers(Builder builder) {
this.matchingContent = builder.matchingContent;
this.matchingMode = builder.matchingMode;
this.name = builder.name;
}
public static Builder builder() {
return new Builder();
}
public static Headers create() {
return builder().build();
}
/**
* @return matchingContent
*/
public String getMatchingContent() {
return this.matchingContent;
}
/**
* @return matchingMode
*/
public String getMatchingMode() {
return this.matchingMode;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
public static final class Builder {
private String matchingContent;
private String matchingMode;
private String name;
/**
* The header value to be matched.
*/
public Builder matchingContent(String matchingContent) {
this.matchingContent = matchingContent;
return this;
}
/**
* The matching mode for the header value. Valid values:
* <p>
*
* * `exact`: exact match
* * `prefix`: match by prefix
* * `regex`: match by regular expression
*/
public Builder matchingMode(String matchingMode) {
this.matchingMode = matchingMode;
return this;
}
/**
* The header key to be matched.
*/
public Builder name(String name) {
this.name = name;
return this;
}
public Headers build() {
return new Headers(this);
}
}
}
public static class TLSMatchAttributes extends TeaModel {
@NameInMap("SNIHosts")
private java.util.List < String > SNIHosts;
@NameInMap("TLSPort")
private Integer TLSPort;
private TLSMatchAttributes(Builder builder) {
this.SNIHosts = builder.SNIHosts;
this.TLSPort = builder.TLSPort;
}
public static Builder builder() {
return new Builder();
}
public static TLSMatchAttributes create() {
return builder().build();
}
/**
* @return SNIHosts
*/
public java.util.List < String > getSNIHosts() {
return this.SNIHosts;
}
/**
* @return TLSPort
*/
public Integer getTLSPort() {
return this.TLSPort;
}
public static final class Builder {
private java.util.List < String > SNIHosts;
private Integer TLSPort;
/**
* The Server Name Indication (SNI) values to be matched.
*/
public Builder SNIHosts(java.util.List < String > SNIHosts) {
this.SNIHosts = SNIHosts;
return this;
}
/**
* The TLS port.
*/
public Builder TLSPort(Integer TLSPort) {
this.TLSPort = TLSPort;
return this;
}
public TLSMatchAttributes build() {
return new TLSMatchAttributes(this);
}
}
}
public static class URI extends TeaModel {
@NameInMap("MatchingContent")
private String matchingContent;
@NameInMap("MatchingMode")
private String matchingMode;
private URI(Builder builder) {
this.matchingContent = builder.matchingContent;
this.matchingMode = builder.matchingMode;
}
public static Builder builder() {
return new Builder();
}
public static URI create() {
return builder().build();
}
/**
* @return matchingContent
*/
public String getMatchingContent() {
return this.matchingContent;
}
/**
* @return matchingMode
*/
public String getMatchingMode() {
return this.matchingMode;
}
public static final class Builder {
private String matchingContent;
private String matchingMode;
/**
* The content to be matched.
*/
public Builder matchingContent(String matchingContent) {
this.matchingContent = matchingContent;
return this;
}
/**
* The matching mode for the routing rule. Valid values:
* <p>
*
* * `exact`: exact match
* * `prefix`: match by prefix
* * `regex`: match by regular expression
*/
public Builder matchingMode(String matchingMode) {
this.matchingMode = matchingMode;
return this;
}
public URI build() {
return new URI(this);
}
}
}
public static class MatchRequest extends TeaModel {
@NameInMap("Headers")
private java.util.List < Headers> headers;
@NameInMap("Ports")
private java.util.List < Integer > ports;
@NameInMap("TLSMatchAttributes")
private java.util.List < TLSMatchAttributes> TLSMatchAttributes;
@NameInMap("URI")
private URI URI;
private MatchRequest(Builder builder) {
this.headers = builder.headers;
this.ports = builder.ports;
this.TLSMatchAttributes = builder.TLSMatchAttributes;
this.URI = builder.URI;
}
public static Builder builder() {
return new Builder();
}
public static MatchRequest create() {
return builder().build();
}
/**
* @return headers
*/
public java.util.List < Headers> getHeaders() {
return this.headers;
}
/**
* @return ports
*/
public java.util.List < Integer > getPorts() {
return this.ports;
}
/**
* @return TLSMatchAttributes
*/
public java.util.List < TLSMatchAttributes> getTLSMatchAttributes() {
return this.TLSMatchAttributes;
}
/**
* @return URI
*/
public URI getURI() {
return this.URI;
}
public static final class Builder {
private java.util.List < Headers> headers;
private java.util.List < Integer > ports;
private java.util.List < TLSMatchAttributes> TLSMatchAttributes;
private URI URI;
/**
* The request headers to be matched.
*/
public Builder headers(java.util.List < Headers> headers) {
this.headers = headers;
return this;
}
/**
* The ports of destination services for Layer 4 weighted routing.
*/
public Builder ports(java.util.List < Integer > ports) {
this.ports = ports;
return this;
}
/**
* The matching rule for Transport Layer Security (TLS) traffic.
*/
public Builder TLSMatchAttributes(java.util.List < TLSMatchAttributes> TLSMatchAttributes) {
this.TLSMatchAttributes = TLSMatchAttributes;
return this;
}
/**
* The matching rule for URIs.
*/
public Builder URI(URI URI) {
this.URI = URI;
return this;
}
public MatchRequest build() {
return new MatchRequest(this);
}
}
}
public static class Port extends TeaModel {
@NameInMap("Number")
private Integer number;
private Port(Builder builder) {
this.number = builder.number;
}
public static Builder builder() {
return new Builder();
}
public static Port create() {
return builder().build();
}
/**
* @return number
*/
public Integer getNumber() {
return this.number;
}
public static final class Builder {
private Integer number;
/**
* The port number.
*/
public Builder number(Integer number) {
this.number = number;
return this;
}
public Port build() {
return new Port(this);
}
}
}
public static class Destination extends TeaModel {
@NameInMap("Host")
private String host;
@NameInMap("Port")
private Port port;
@NameInMap("Subset")
private String subset;
private Destination(Builder builder) {
this.host = builder.host;
this.port = builder.port;
this.subset = builder.subset;
}
public static Builder builder() {
return new Builder();
}
public static Destination create() {
return builder().build();
}
/**
* @return host
*/
public String getHost() {
return this.host;
}
/**
* @return port
*/
public Port getPort() {
return this.port;
}
/**
* @return subset
*/
public String getSubset() {
return this.subset;
}
public static final class Builder {
private String host;
private Port port;
private String subset;
/**
* The name of the service defined in the service registry.
*/
public Builder host(String host) {
this.host = host;
return this;
}
/**
* The port.
*/
public Builder port(Port port) {
this.port = port;
return this;
}
/**
* The name of the service subset.
*/
public Builder subset(String subset) {
this.subset = subset;
return this;
}
public Destination build() {
return new Destination(this);
}
}
}
public static class RouteDestinations extends TeaModel {
@NameInMap("Destination")
private Destination destination;
@NameInMap("Weight")
private Integer weight;
private RouteDestinations(Builder builder) {
this.destination = builder.destination;
this.weight = builder.weight;
}
public static Builder builder() {
return new Builder();
}
public static RouteDestinations create() {
return builder().build();
}
/**
* @return destination
*/
public Destination getDestination() {
return this.destination;
}
/**
* @return weight
*/
public Integer getWeight() {
return this.weight;
}
public static final class Builder {
private Destination destination;
private Integer weight;
/**
* The unique endpoint of the destination service to which the specified requests are sent.
*/
public Builder destination(Destination destination) {
this.destination = destination;
return this;
}
/**
* The weight of the service subset.
*/
public Builder weight(Integer weight) {
this.weight = weight;
return this;
}
public RouteDestinations build() {
return new RouteDestinations(this);
}
}
}
public static class GatewayRoute extends TeaModel {
@NameInMap("Domains")
private java.util.List < String > domains;
@NameInMap("HTTPAdvancedOptions")
private HTTPAdvancedOptions HTTPAdvancedOptions;
@NameInMap("MatchRequest")
private MatchRequest matchRequest;
@NameInMap("Namespace")
private String namespace;
@NameInMap("RawVSRoute")
private Object rawVSRoute;
@NameInMap("RouteDestinations")
private java.util.List < RouteDestinations> routeDestinations;
@NameInMap("RouteName")
private String routeName;
@NameInMap("RouteType")
private String routeType;
private GatewayRoute(Builder builder) {
this.domains = builder.domains;
this.HTTPAdvancedOptions = builder.HTTPAdvancedOptions;
this.matchRequest = builder.matchRequest;
this.namespace = builder.namespace;
this.rawVSRoute = builder.rawVSRoute;
this.routeDestinations = builder.routeDestinations;
this.routeName = builder.routeName;
this.routeType = builder.routeType;
}
public static Builder builder() {
return new Builder();
}
public static GatewayRoute create() {
return builder().build();
}
/**
* @return domains
*/
public java.util.List < String > getDomains() {
return this.domains;
}
/**
* @return HTTPAdvancedOptions
*/
public HTTPAdvancedOptions getHTTPAdvancedOptions() {
return this.HTTPAdvancedOptions;
}
/**
* @return matchRequest
*/
public MatchRequest getMatchRequest() {
return this.matchRequest;
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return rawVSRoute
*/
public Object getRawVSRoute() {
return this.rawVSRoute;
}
/**
* @return routeDestinations
*/
public java.util.List < RouteDestinations> getRouteDestinations() {
return this.routeDestinations;
}
/**
* @return routeName
*/
public String getRouteName() {
return this.routeName;
}
/**
* @return routeType
*/
public String getRouteType() {
return this.routeType;
}
public static final class Builder {
private java.util.List < String > domains;
private HTTPAdvancedOptions HTTPAdvancedOptions;
private MatchRequest matchRequest;
private String namespace;
private Object rawVSRoute;
private java.util.List < RouteDestinations> routeDestinations;
private String routeName;
private String routeType;
/**
* The requested domain names.
*/
public Builder domains(java.util.List < String > domains) {
this.domains = domains;
return this;
}
/**
* The advanced settings for routing HTTP traffic.
*/
public Builder HTTPAdvancedOptions(HTTPAdvancedOptions HTTPAdvancedOptions) {
this.HTTPAdvancedOptions = HTTPAdvancedOptions;
return this;
}
/**
* The matching rules for traffic routing.
*/
public Builder matchRequest(MatchRequest matchRequest) {
this.matchRequest = matchRequest;
return this;
}
/**
* The namespace.
*/
public Builder namespace(String namespace) {
this.namespace = namespace;
return this;
}
/**
* 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.
*/
public Builder rawVSRoute(Object rawVSRoute) {
this.rawVSRoute = rawVSRoute;
return this;
}
/**
* The endpoints of destination services for Layer 4 weighted routing.
*/
public Builder routeDestinations(java.util.List < RouteDestinations> routeDestinations) {
this.routeDestinations = routeDestinations;
return this;
}
/**
* The name of the routing rule.
*/
public Builder routeName(String routeName) {
this.routeName = routeName;
return this;
}
/**
* The type of the traffic to be routed. Valid values: `HTTP`, `TLS`, and `TCP`.
*/
public Builder routeType(String routeType) {
this.routeType = routeType;
return this;
}
public GatewayRoute build() {
return new GatewayRoute(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayRoutesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateIstioGatewayRoutesResponse} extends {@link TeaModel}
*
* <p>CreateIstioGatewayRoutesResponse</p>
*/
public class CreateIstioGatewayRoutesResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private CreateIstioGatewayRoutesResponseBody body;
private CreateIstioGatewayRoutesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateIstioGatewayRoutesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public CreateIstioGatewayRoutesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateIstioGatewayRoutesResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(CreateIstioGatewayRoutesResponseBody body);
@Override
CreateIstioGatewayRoutesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateIstioGatewayRoutesResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private CreateIstioGatewayRoutesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateIstioGatewayRoutesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(CreateIstioGatewayRoutesResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateIstioGatewayRoutesResponse build() {
return new CreateIstioGatewayRoutesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateIstioGatewayRoutesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateIstioGatewayRoutesResponseBody} extends {@link TeaModel}
*
* <p>CreateIstioGatewayRoutesResponseBody</p>
*/
public class CreateIstioGatewayRoutesResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private CreateIstioGatewayRoutesResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static CreateIstioGatewayRoutesResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public CreateIstioGatewayRoutesResponseBody build() {
return new CreateIstioGatewayRoutesResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateServiceMeshRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateServiceMeshRequest} extends {@link RequestModel}
*
* <p>CreateServiceMeshRequest</p>
*/
public class CreateServiceMeshRequest extends Request {
@Body
@NameInMap("AccessLogEnabled")
private Boolean accessLogEnabled;
@Body
@NameInMap("AccessLogFile")
private String accessLogFile;
@Body
@NameInMap("AccessLogFormat")
private String accessLogFormat;
@Body
@NameInMap("AccessLogProject")
private String accessLogProject;
@Body
@NameInMap("AccessLogServiceEnabled")
private Boolean accessLogServiceEnabled;
@Body
@NameInMap("AccessLogServiceHost")
private String accessLogServiceHost;
@Body
@NameInMap("AccessLogServicePort")
private Integer accessLogServicePort;
@Body
@NameInMap("ApiServerLoadBalancerSpec")
private String apiServerLoadBalancerSpec;
@Body
@NameInMap("ApiServerPublicEip")
private Boolean apiServerPublicEip;
@Body
@NameInMap("AuditProject")
private String auditProject;
@Body
@NameInMap("AutoRenew")
private Boolean autoRenew;
@Body
@NameInMap("AutoRenewPeriod")
private Integer autoRenewPeriod;
@Body
@NameInMap("CRAggregationEnabled")
private Boolean CRAggregationEnabled;
@Body
@NameInMap("ChargeType")
private String chargeType;
@Body
@NameInMap("ClusterDomain")
private String clusterDomain;
@Body
@NameInMap("ClusterSpec")
private String clusterSpec;
@Body
@NameInMap("ConfigSourceEnabled")
private Boolean configSourceEnabled;
@Body
@NameInMap("ConfigSourceNacosID")
private String configSourceNacosID;
@Body
@NameInMap("ControlPlaneLogEnabled")
private Boolean controlPlaneLogEnabled;
@Body
@NameInMap("ControlPlaneLogProject")
private String controlPlaneLogProject;
@Body
@NameInMap("CustomizedPrometheus")
private Boolean customizedPrometheus;
@Body
@NameInMap("CustomizedZipkin")
private Boolean customizedZipkin;
@Body
@NameInMap("DNSProxyingEnabled")
private Boolean DNSProxyingEnabled;
@Body
@NameInMap("DubboFilterEnabled")
private Boolean dubboFilterEnabled;
@Body
@NameInMap("Edition")
private String edition;
@Body
@NameInMap("EnableAmbient")
private Boolean enableAmbient;
@Body
@NameInMap("EnableAudit")
private Boolean enableAudit;
@Body
@NameInMap("EnableCRHistory")
private Boolean enableCRHistory;
@Body
@NameInMap("EnableSDSServer")
private Boolean enableSDSServer;
@Body
@NameInMap("ExcludeIPRanges")
private String excludeIPRanges;
@Body
@NameInMap("ExcludeInboundPorts")
private String excludeInboundPorts;
@Body
@NameInMap("ExcludeOutboundPorts")
private String excludeOutboundPorts;
@Body
@NameInMap("ExistingCaCert")
private String existingCaCert;
@Body
@NameInMap("ExistingCaKey")
private String existingCaKey;
@Body
@NameInMap("ExistingCaType")
private String existingCaType;
@Body
@NameInMap("ExistingRootCaCert")
private String existingRootCaCert;
@Body
@NameInMap("ExistingRootCaKey")
private String existingRootCaKey;
@Body
@NameInMap("FilterGatewayClusterConfig")
private Boolean filterGatewayClusterConfig;
@Body
@NameInMap("GatewayAPIEnabled")
private Boolean gatewayAPIEnabled;
@Body
@NameInMap("GuestCluster")
private String guestCluster;
@Body
@NameInMap("IncludeIPRanges")
private String includeIPRanges;
@Body
@NameInMap("IstioVersion")
private String istioVersion;
@Body
@NameInMap("KialiEnabled")
private Boolean kialiEnabled;
@Body
@NameInMap("LocalityLBConf")
private String localityLBConf;
@Body
@NameInMap("LocalityLoadBalancing")
private Boolean localityLoadBalancing;
@Body
@NameInMap("MSEEnabled")
private Boolean MSEEnabled;
@Body
@NameInMap("MultiBufferEnabled")
private Boolean multiBufferEnabled;
@Body
@NameInMap("MultiBufferPollDelay")
private String multiBufferPollDelay;
@Body
@NameInMap("MysqlFilterEnabled")
private Boolean mysqlFilterEnabled;
@Body
@NameInMap("Name")
private String name;
@Body
@NameInMap("OPALimitCPU")
private String OPALimitCPU;
@Body
@NameInMap("OPALimitMemory")
private String OPALimitMemory;
@Body
@NameInMap("OPALogLevel")
private String OPALogLevel;
@Body
@NameInMap("OPARequestCPU")
private String OPARequestCPU;
@Body
@NameInMap("OPARequestMemory")
private String OPARequestMemory;
@Body
@NameInMap("OpaEnabled")
private Boolean opaEnabled;
@Body
@NameInMap("OpenAgentPolicy")
private Boolean openAgentPolicy;
@Body
@NameInMap("Period")
private Integer period;
@Body
@NameInMap("PilotLoadBalancerSpec")
private String pilotLoadBalancerSpec;
@Body
@NameInMap("PrometheusUrl")
private String prometheusUrl;
@Body
@NameInMap("ProxyLimitCPU")
private String proxyLimitCPU;
@Body
@NameInMap("ProxyLimitMemory")
private String proxyLimitMemory;
@Body
@NameInMap("ProxyRequestCPU")
private String proxyRequestCPU;
@Body
@NameInMap("ProxyRequestMemory")
private String proxyRequestMemory;
@Body
@NameInMap("RedisFilterEnabled")
private Boolean redisFilterEnabled;
@Body
@NameInMap("RegionId")
@Validation(required = true)
private String regionId;
@Query
@NameInMap("Tag")
private java.util.List < Tag> tag;
@Body
@NameInMap("Telemetry")
private Boolean telemetry;
@Body
@NameInMap("ThriftFilterEnabled")
private Boolean thriftFilterEnabled;
@Body
@NameInMap("TraceSampling")
private Float traceSampling;
@Body
@NameInMap("Tracing")
private Boolean tracing;
@Body
@NameInMap("UseExistingCA")
private Boolean useExistingCA;
@Body
@NameInMap("VSwitches")
@Validation(required = true)
private String vSwitches;
@Body
@NameInMap("VpcId")
@Validation(required = true)
private String vpcId;
@Body
@NameInMap("WebAssemblyFilterEnabled")
private Boolean webAssemblyFilterEnabled;
private CreateServiceMeshRequest(Builder builder) {
super(builder);
this.accessLogEnabled = builder.accessLogEnabled;
this.accessLogFile = builder.accessLogFile;
this.accessLogFormat = builder.accessLogFormat;
this.accessLogProject = builder.accessLogProject;
this.accessLogServiceEnabled = builder.accessLogServiceEnabled;
this.accessLogServiceHost = builder.accessLogServiceHost;
this.accessLogServicePort = builder.accessLogServicePort;
this.apiServerLoadBalancerSpec = builder.apiServerLoadBalancerSpec;
this.apiServerPublicEip = builder.apiServerPublicEip;
this.auditProject = builder.auditProject;
this.autoRenew = builder.autoRenew;
this.autoRenewPeriod = builder.autoRenewPeriod;
this.CRAggregationEnabled = builder.CRAggregationEnabled;
this.chargeType = builder.chargeType;
this.clusterDomain = builder.clusterDomain;
this.clusterSpec = builder.clusterSpec;
this.configSourceEnabled = builder.configSourceEnabled;
this.configSourceNacosID = builder.configSourceNacosID;
this.controlPlaneLogEnabled = builder.controlPlaneLogEnabled;
this.controlPlaneLogProject = builder.controlPlaneLogProject;
this.customizedPrometheus = builder.customizedPrometheus;
this.customizedZipkin = builder.customizedZipkin;
this.DNSProxyingEnabled = builder.DNSProxyingEnabled;
this.dubboFilterEnabled = builder.dubboFilterEnabled;
this.edition = builder.edition;
this.enableAmbient = builder.enableAmbient;
this.enableAudit = builder.enableAudit;
this.enableCRHistory = builder.enableCRHistory;
this.enableSDSServer = builder.enableSDSServer;
this.excludeIPRanges = builder.excludeIPRanges;
this.excludeInboundPorts = builder.excludeInboundPorts;
this.excludeOutboundPorts = builder.excludeOutboundPorts;
this.existingCaCert = builder.existingCaCert;
this.existingCaKey = builder.existingCaKey;
this.existingCaType = builder.existingCaType;
this.existingRootCaCert = builder.existingRootCaCert;
this.existingRootCaKey = builder.existingRootCaKey;
this.filterGatewayClusterConfig = builder.filterGatewayClusterConfig;
this.gatewayAPIEnabled = builder.gatewayAPIEnabled;
this.guestCluster = builder.guestCluster;
this.includeIPRanges = builder.includeIPRanges;
this.istioVersion = builder.istioVersion;
this.kialiEnabled = builder.kialiEnabled;
this.localityLBConf = builder.localityLBConf;
this.localityLoadBalancing = builder.localityLoadBalancing;
this.MSEEnabled = builder.MSEEnabled;
this.multiBufferEnabled = builder.multiBufferEnabled;
this.multiBufferPollDelay = builder.multiBufferPollDelay;
this.mysqlFilterEnabled = builder.mysqlFilterEnabled;
this.name = builder.name;
this.OPALimitCPU = builder.OPALimitCPU;
this.OPALimitMemory = builder.OPALimitMemory;
this.OPALogLevel = builder.OPALogLevel;
this.OPARequestCPU = builder.OPARequestCPU;
this.OPARequestMemory = builder.OPARequestMemory;
this.opaEnabled = builder.opaEnabled;
this.openAgentPolicy = builder.openAgentPolicy;
this.period = builder.period;
this.pilotLoadBalancerSpec = builder.pilotLoadBalancerSpec;
this.prometheusUrl = builder.prometheusUrl;
this.proxyLimitCPU = builder.proxyLimitCPU;
this.proxyLimitMemory = builder.proxyLimitMemory;
this.proxyRequestCPU = builder.proxyRequestCPU;
this.proxyRequestMemory = builder.proxyRequestMemory;
this.redisFilterEnabled = builder.redisFilterEnabled;
this.regionId = builder.regionId;
this.tag = builder.tag;
this.telemetry = builder.telemetry;
this.thriftFilterEnabled = builder.thriftFilterEnabled;
this.traceSampling = builder.traceSampling;
this.tracing = builder.tracing;
this.useExistingCA = builder.useExistingCA;
this.vSwitches = builder.vSwitches;
this.vpcId = builder.vpcId;
this.webAssemblyFilterEnabled = builder.webAssemblyFilterEnabled;
}
public static Builder builder() {
return new Builder();
}
public static CreateServiceMeshRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return accessLogEnabled
*/
public Boolean getAccessLogEnabled() {
return this.accessLogEnabled;
}
/**
* @return accessLogFile
*/
public String getAccessLogFile() {
return this.accessLogFile;
}
/**
* @return accessLogFormat
*/
public String getAccessLogFormat() {
return this.accessLogFormat;
}
/**
* @return accessLogProject
*/
public String getAccessLogProject() {
return this.accessLogProject;
}
/**
* @return accessLogServiceEnabled
*/
public Boolean getAccessLogServiceEnabled() {
return this.accessLogServiceEnabled;
}
/**
* @return accessLogServiceHost
*/
public String getAccessLogServiceHost() {
return this.accessLogServiceHost;
}
/**
* @return accessLogServicePort
*/
public Integer getAccessLogServicePort() {
return this.accessLogServicePort;
}
/**
* @return apiServerLoadBalancerSpec
*/
public String getApiServerLoadBalancerSpec() {
return this.apiServerLoadBalancerSpec;
}
/**
* @return apiServerPublicEip
*/
public Boolean getApiServerPublicEip() {
return this.apiServerPublicEip;
}
/**
* @return auditProject
*/
public String getAuditProject() {
return this.auditProject;
}
/**
* @return autoRenew
*/
public Boolean getAutoRenew() {
return this.autoRenew;
}
/**
* @return autoRenewPeriod
*/
public Integer getAutoRenewPeriod() {
return this.autoRenewPeriod;
}
/**
* @return CRAggregationEnabled
*/
public Boolean getCRAggregationEnabled() {
return this.CRAggregationEnabled;
}
/**
* @return chargeType
*/
public String getChargeType() {
return this.chargeType;
}
/**
* @return clusterDomain
*/
public String getClusterDomain() {
return this.clusterDomain;
}
/**
* @return clusterSpec
*/
public String getClusterSpec() {
return this.clusterSpec;
}
/**
* @return configSourceEnabled
*/
public Boolean getConfigSourceEnabled() {
return this.configSourceEnabled;
}
/**
* @return configSourceNacosID
*/
public String getConfigSourceNacosID() {
return this.configSourceNacosID;
}
/**
* @return controlPlaneLogEnabled
*/
public Boolean getControlPlaneLogEnabled() {
return this.controlPlaneLogEnabled;
}
/**
* @return controlPlaneLogProject
*/
public String getControlPlaneLogProject() {
return this.controlPlaneLogProject;
}
/**
* @return customizedPrometheus
*/
public Boolean getCustomizedPrometheus() {
return this.customizedPrometheus;
}
/**
* @return customizedZipkin
*/
public Boolean getCustomizedZipkin() {
return this.customizedZipkin;
}
/**
* @return DNSProxyingEnabled
*/
public Boolean getDNSProxyingEnabled() {
return this.DNSProxyingEnabled;
}
/**
* @return dubboFilterEnabled
*/
public Boolean getDubboFilterEnabled() {
return this.dubboFilterEnabled;
}
/**
* @return edition
*/
public String getEdition() {
return this.edition;
}
/**
* @return enableAmbient
*/
public Boolean getEnableAmbient() {
return this.enableAmbient;
}
/**
* @return enableAudit
*/
public Boolean getEnableAudit() {
return this.enableAudit;
}
/**
* @return enableCRHistory
*/
public Boolean getEnableCRHistory() {
return this.enableCRHistory;
}
/**
* @return enableSDSServer
*/
public Boolean getEnableSDSServer() {
return this.enableSDSServer;
}
/**
* @return excludeIPRanges
*/
public String getExcludeIPRanges() {
return this.excludeIPRanges;
}
/**
* @return excludeInboundPorts
*/
public String getExcludeInboundPorts() {
return this.excludeInboundPorts;
}
/**
* @return excludeOutboundPorts
*/
public String getExcludeOutboundPorts() {
return this.excludeOutboundPorts;
}
/**
* @return existingCaCert
*/
public String getExistingCaCert() {
return this.existingCaCert;
}
/**
* @return existingCaKey
*/
public String getExistingCaKey() {
return this.existingCaKey;
}
/**
* @return existingCaType
*/
public String getExistingCaType() {
return this.existingCaType;
}
/**
* @return existingRootCaCert
*/
public String getExistingRootCaCert() {
return this.existingRootCaCert;
}
/**
* @return existingRootCaKey
*/
public String getExistingRootCaKey() {
return this.existingRootCaKey;
}
/**
* @return filterGatewayClusterConfig
*/
public Boolean getFilterGatewayClusterConfig() {
return this.filterGatewayClusterConfig;
}
/**
* @return gatewayAPIEnabled
*/
public Boolean getGatewayAPIEnabled() {
return this.gatewayAPIEnabled;
}
/**
* @return guestCluster
*/
public String getGuestCluster() {
return this.guestCluster;
}
/**
* @return includeIPRanges
*/
public String getIncludeIPRanges() {
return this.includeIPRanges;
}
/**
* @return istioVersion
*/
public String getIstioVersion() {
return this.istioVersion;
}
/**
* @return kialiEnabled
*/
public Boolean getKialiEnabled() {
return this.kialiEnabled;
}
/**
* @return localityLBConf
*/
public String getLocalityLBConf() {
return this.localityLBConf;
}
/**
* @return localityLoadBalancing
*/
public Boolean getLocalityLoadBalancing() {
return this.localityLoadBalancing;
}
/**
* @return MSEEnabled
*/
public Boolean getMSEEnabled() {
return this.MSEEnabled;
}
/**
* @return multiBufferEnabled
*/
public Boolean getMultiBufferEnabled() {
return this.multiBufferEnabled;
}
/**
* @return multiBufferPollDelay
*/
public String getMultiBufferPollDelay() {
return this.multiBufferPollDelay;
}
/**
* @return mysqlFilterEnabled
*/
public Boolean getMysqlFilterEnabled() {
return this.mysqlFilterEnabled;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return OPALimitCPU
*/
public String getOPALimitCPU() {
return this.OPALimitCPU;
}
/**
* @return OPALimitMemory
*/
public String getOPALimitMemory() {
return this.OPALimitMemory;
}
/**
* @return OPALogLevel
*/
public String getOPALogLevel() {
return this.OPALogLevel;
}
/**
* @return OPARequestCPU
*/
public String getOPARequestCPU() {
return this.OPARequestCPU;
}
/**
* @return OPARequestMemory
*/
public String getOPARequestMemory() {
return this.OPARequestMemory;
}
/**
* @return opaEnabled
*/
public Boolean getOpaEnabled() {
return this.opaEnabled;
}
/**
* @return openAgentPolicy
*/
public Boolean getOpenAgentPolicy() {
return this.openAgentPolicy;
}
/**
* @return period
*/
public Integer getPeriod() {
return this.period;
}
/**
* @return pilotLoadBalancerSpec
*/
public String getPilotLoadBalancerSpec() {
return this.pilotLoadBalancerSpec;
}
/**
* @return prometheusUrl
*/
public String getPrometheusUrl() {
return this.prometheusUrl;
}
/**
* @return proxyLimitCPU
*/
public String getProxyLimitCPU() {
return this.proxyLimitCPU;
}
/**
* @return proxyLimitMemory
*/
public String getProxyLimitMemory() {
return this.proxyLimitMemory;
}
/**
* @return proxyRequestCPU
*/
public String getProxyRequestCPU() {
return this.proxyRequestCPU;
}
/**
* @return proxyRequestMemory
*/
public String getProxyRequestMemory() {
return this.proxyRequestMemory;
}
/**
* @return redisFilterEnabled
*/
public Boolean getRedisFilterEnabled() {
return this.redisFilterEnabled;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return tag
*/
public java.util.List < Tag> getTag() {
return this.tag;
}
/**
* @return telemetry
*/
public Boolean getTelemetry() {
return this.telemetry;
}
/**
* @return thriftFilterEnabled
*/
public Boolean getThriftFilterEnabled() {
return this.thriftFilterEnabled;
}
/**
* @return traceSampling
*/
public Float getTraceSampling() {
return this.traceSampling;
}
/**
* @return tracing
*/
public Boolean getTracing() {
return this.tracing;
}
/**
* @return useExistingCA
*/
public Boolean getUseExistingCA() {
return this.useExistingCA;
}
/**
* @return vSwitches
*/
public String getVSwitches() {
return this.vSwitches;
}
/**
* @return vpcId
*/
public String getVpcId() {
return this.vpcId;
}
/**
* @return webAssemblyFilterEnabled
*/
public Boolean getWebAssemblyFilterEnabled() {
return this.webAssemblyFilterEnabled;
}
public static final class Builder extends Request.Builder<CreateServiceMeshRequest, Builder> {
private Boolean accessLogEnabled;
private String accessLogFile;
private String accessLogFormat;
private String accessLogProject;
private Boolean accessLogServiceEnabled;
private String accessLogServiceHost;
private Integer accessLogServicePort;
private String apiServerLoadBalancerSpec;
private Boolean apiServerPublicEip;
private String auditProject;
private Boolean autoRenew;
private Integer autoRenewPeriod;
private Boolean CRAggregationEnabled;
private String chargeType;
private String clusterDomain;
private String clusterSpec;
private Boolean configSourceEnabled;
private String configSourceNacosID;
private Boolean controlPlaneLogEnabled;
private String controlPlaneLogProject;
private Boolean customizedPrometheus;
private Boolean customizedZipkin;
private Boolean DNSProxyingEnabled;
private Boolean dubboFilterEnabled;
private String edition;
private Boolean enableAmbient;
private Boolean enableAudit;
private Boolean enableCRHistory;
private Boolean enableSDSServer;
private String excludeIPRanges;
private String excludeInboundPorts;
private String excludeOutboundPorts;
private String existingCaCert;
private String existingCaKey;
private String existingCaType;
private String existingRootCaCert;
private String existingRootCaKey;
private Boolean filterGatewayClusterConfig;
private Boolean gatewayAPIEnabled;
private String guestCluster;
private String includeIPRanges;
private String istioVersion;
private Boolean kialiEnabled;
private String localityLBConf;
private Boolean localityLoadBalancing;
private Boolean MSEEnabled;
private Boolean multiBufferEnabled;
private String multiBufferPollDelay;
private Boolean mysqlFilterEnabled;
private String name;
private String OPALimitCPU;
private String OPALimitMemory;
private String OPALogLevel;
private String OPARequestCPU;
private String OPARequestMemory;
private Boolean opaEnabled;
private Boolean openAgentPolicy;
private Integer period;
private String pilotLoadBalancerSpec;
private String prometheusUrl;
private String proxyLimitCPU;
private String proxyLimitMemory;
private String proxyRequestCPU;
private String proxyRequestMemory;
private Boolean redisFilterEnabled;
private String regionId;
private java.util.List < Tag> tag;
private Boolean telemetry;
private Boolean thriftFilterEnabled;
private Float traceSampling;
private Boolean tracing;
private Boolean useExistingCA;
private String vSwitches;
private String vpcId;
private Boolean webAssemblyFilterEnabled;
private Builder() {
super();
}
private Builder(CreateServiceMeshRequest request) {
super(request);
this.accessLogEnabled = request.accessLogEnabled;
this.accessLogFile = request.accessLogFile;
this.accessLogFormat = request.accessLogFormat;
this.accessLogProject = request.accessLogProject;
this.accessLogServiceEnabled = request.accessLogServiceEnabled;
this.accessLogServiceHost = request.accessLogServiceHost;
this.accessLogServicePort = request.accessLogServicePort;
this.apiServerLoadBalancerSpec = request.apiServerLoadBalancerSpec;
this.apiServerPublicEip = request.apiServerPublicEip;
this.auditProject = request.auditProject;
this.autoRenew = request.autoRenew;
this.autoRenewPeriod = request.autoRenewPeriod;
this.CRAggregationEnabled = request.CRAggregationEnabled;
this.chargeType = request.chargeType;
this.clusterDomain = request.clusterDomain;
this.clusterSpec = request.clusterSpec;
this.configSourceEnabled = request.configSourceEnabled;
this.configSourceNacosID = request.configSourceNacosID;
this.controlPlaneLogEnabled = request.controlPlaneLogEnabled;
this.controlPlaneLogProject = request.controlPlaneLogProject;
this.customizedPrometheus = request.customizedPrometheus;
this.customizedZipkin = request.customizedZipkin;
this.DNSProxyingEnabled = request.DNSProxyingEnabled;
this.dubboFilterEnabled = request.dubboFilterEnabled;
this.edition = request.edition;
this.enableAmbient = request.enableAmbient;
this.enableAudit = request.enableAudit;
this.enableCRHistory = request.enableCRHistory;
this.enableSDSServer = request.enableSDSServer;
this.excludeIPRanges = request.excludeIPRanges;
this.excludeInboundPorts = request.excludeInboundPorts;
this.excludeOutboundPorts = request.excludeOutboundPorts;
this.existingCaCert = request.existingCaCert;
this.existingCaKey = request.existingCaKey;
this.existingCaType = request.existingCaType;
this.existingRootCaCert = request.existingRootCaCert;
this.existingRootCaKey = request.existingRootCaKey;
this.filterGatewayClusterConfig = request.filterGatewayClusterConfig;
this.gatewayAPIEnabled = request.gatewayAPIEnabled;
this.guestCluster = request.guestCluster;
this.includeIPRanges = request.includeIPRanges;
this.istioVersion = request.istioVersion;
this.kialiEnabled = request.kialiEnabled;
this.localityLBConf = request.localityLBConf;
this.localityLoadBalancing = request.localityLoadBalancing;
this.MSEEnabled = request.MSEEnabled;
this.multiBufferEnabled = request.multiBufferEnabled;
this.multiBufferPollDelay = request.multiBufferPollDelay;
this.mysqlFilterEnabled = request.mysqlFilterEnabled;
this.name = request.name;
this.OPALimitCPU = request.OPALimitCPU;
this.OPALimitMemory = request.OPALimitMemory;
this.OPALogLevel = request.OPALogLevel;
this.OPARequestCPU = request.OPARequestCPU;
this.OPARequestMemory = request.OPARequestMemory;
this.opaEnabled = request.opaEnabled;
this.openAgentPolicy = request.openAgentPolicy;
this.period = request.period;
this.pilotLoadBalancerSpec = request.pilotLoadBalancerSpec;
this.prometheusUrl = request.prometheusUrl;
this.proxyLimitCPU = request.proxyLimitCPU;
this.proxyLimitMemory = request.proxyLimitMemory;
this.proxyRequestCPU = request.proxyRequestCPU;
this.proxyRequestMemory = request.proxyRequestMemory;
this.redisFilterEnabled = request.redisFilterEnabled;
this.regionId = request.regionId;
this.tag = request.tag;
this.telemetry = request.telemetry;
this.thriftFilterEnabled = request.thriftFilterEnabled;
this.traceSampling = request.traceSampling;
this.tracing = request.tracing;
this.useExistingCA = request.useExistingCA;
this.vSwitches = request.vSwitches;
this.vpcId = request.vpcId;
this.webAssemblyFilterEnabled = request.webAssemblyFilterEnabled;
}
/**
* Specifies whether to enable access log collection. Valid values:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder accessLogEnabled(Boolean accessLogEnabled) {
this.putBodyParameter("AccessLogEnabled", accessLogEnabled);
this.accessLogEnabled = accessLogEnabled;
return this;
}
/**
* Specifies whether to enable access log collection. Valid values:
* <p>
*
* * "": disables access log collection.
* * `/dev/stdout`: enables access log collection. Access logs are written to /dev/stdout.
*/
public Builder accessLogFile(String accessLogFile) {
this.putBodyParameter("AccessLogFile", accessLogFile);
this.accessLogFile = accessLogFile;
return this;
}
/**
* 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.
*/
public Builder accessLogFormat(String accessLogFormat) {
this.putBodyParameter("AccessLogFormat", accessLogFormat);
this.accessLogFormat = accessLogFormat;
return this;
}
/**
* The SLS project from which access logs are collected.
*/
public Builder accessLogProject(String accessLogProject) {
this.putBodyParameter("AccessLogProject", accessLogProject);
this.accessLogProject = accessLogProject;
return this;
}
/**
* Specifies whether to enable gRPC Access Log Service (ALS) of Envoy. gRPC is short for Google Remote Procedure Call. Valid values:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder accessLogServiceEnabled(Boolean accessLogServiceEnabled) {
this.putBodyParameter("AccessLogServiceEnabled", accessLogServiceEnabled);
this.accessLogServiceEnabled = accessLogServiceEnabled;
return this;
}
/**
* The endpoint of Envoy\"s gRPC ALS.
*/
public Builder accessLogServiceHost(String accessLogServiceHost) {
this.putBodyParameter("AccessLogServiceHost", accessLogServiceHost);
this.accessLogServiceHost = accessLogServiceHost;
return this;
}
/**
* The port of Envoy\"s gRPC ALS.
*/
public Builder accessLogServicePort(Integer accessLogServicePort) {
this.putBodyParameter("AccessLogServicePort", accessLogServicePort);
this.accessLogServicePort = accessLogServicePort;
return this;
}
/**
* 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`.
*/
public Builder apiServerLoadBalancerSpec(String apiServerLoadBalancerSpec) {
this.putBodyParameter("ApiServerLoadBalancerSpec", apiServerLoadBalancerSpec);
this.apiServerLoadBalancerSpec = apiServerLoadBalancerSpec;
return this;
}
/**
* Specifies whether to expose the API server to the Internet. Valid values:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*
* > If you set this parameter to `false`, the API server cannot be accessed over the Internet.
*/
public Builder apiServerPublicEip(Boolean apiServerPublicEip) {
this.putBodyParameter("ApiServerPublicEip", apiServerPublicEip);
this.apiServerPublicEip = apiServerPublicEip;
return this;
}
/**
* The name of the Log Service project that is used for mesh audit.
* <p>
*
* Default value: mesh-log-{ASM instance ID}.
*/
public Builder auditProject(String auditProject) {
this.putBodyParameter("AuditProject", auditProject);
this.auditProject = auditProject;
return this;
}
/**
* Specifies whether to enable auto-renewal for the CLB instance if the CLB instance uses the subscription billing method. Valid values:
* <p>
*
* - true
*
* - false
*/
public Builder autoRenew(Boolean autoRenew) {
this.putBodyParameter("AutoRenew", autoRenew);
this.autoRenew = autoRenew;
return this;
}
/**
* 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.
*/
public Builder autoRenewPeriod(Integer autoRenewPeriod) {
this.putBodyParameter("AutoRenewPeriod", autoRenewPeriod);
this.autoRenewPeriod = autoRenewPeriod;
return this;
}
/**
* 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:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder CRAggregationEnabled(Boolean CRAggregationEnabled) {
this.putBodyParameter("CRAggregationEnabled", CRAggregationEnabled);
this.CRAggregationEnabled = CRAggregationEnabled;
return this;
}
/**
* The billing method of the CLB instance. Valid values:
* <p>
*
* * `PayOnDemand`: pay-as-you-go.
* * `PrePay`: subscription.
*/
public Builder chargeType(String chargeType) {
this.putBodyParameter("ChargeType", chargeType);
this.chargeType = chargeType;
return this;
}
/**
* ClusterDomain.
*/
public Builder clusterDomain(String clusterDomain) {
this.putBodyParameter("ClusterDomain", clusterDomain);
this.clusterDomain = clusterDomain;
return this;
}
/**
* The edition of the ASM instance. Valid values:
* <p>
*
* - `standard`: Standard Edition
*
* - `enterprise`: Enterprise Edition
*
* - `ultimate`: Ultimate Edition
*/
public Builder clusterSpec(String clusterSpec) {
this.putBodyParameter("ClusterSpec", clusterSpec);
this.clusterSpec = clusterSpec;
return this;
}
/**
* Specifies whether to enable the external service registry. Valid values:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder configSourceEnabled(Boolean configSourceEnabled) {
this.putBodyParameter("ConfigSourceEnabled", configSourceEnabled);
this.configSourceEnabled = configSourceEnabled;
return this;
}
/**
* The instance ID of the Nacos registry.
*/
public Builder configSourceNacosID(String configSourceNacosID) {
this.putBodyParameter("ConfigSourceNacosID", configSourceNacosID);
this.configSourceNacosID = configSourceNacosID;
return this;
}
/**
* Specifies whether to enable the collection of control plane logs. Valid values:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder controlPlaneLogEnabled(Boolean controlPlaneLogEnabled) {
this.putBodyParameter("ControlPlaneLogEnabled", controlPlaneLogEnabled);
this.controlPlaneLogEnabled = controlPlaneLogEnabled;
return this;
}
/**
* The name of the Log Service project that is used to collect the logs of the control plane.
*/
public Builder controlPlaneLogProject(String controlPlaneLogProject) {
this.putBodyParameter("ControlPlaneLogProject", controlPlaneLogProject);
this.controlPlaneLogProject = controlPlaneLogProject;
return this;
}
/**
* Specifies whether to use a custom Prometheus instance. Valid values:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder customizedPrometheus(Boolean customizedPrometheus) {
this.putBodyParameter("CustomizedPrometheus", customizedPrometheus);
this.customizedPrometheus = customizedPrometheus;
return this;
}
/**
* Specifies whether to use a self-managed Zipkin system to collect tracing data. Valid values:
* <p>
*
* * `true`: uses a self-managed Zipkin system to collect tracing data.
* * `false`: uses Alibaba Cloud Tracing Analysis to collect tracing data.
*
* Default value: `false`.
*/
public Builder customizedZipkin(Boolean customizedZipkin) {
this.putBodyParameter("CustomizedZipkin", customizedZipkin);
this.customizedZipkin = customizedZipkin;
return this;
}
/**
* Specifies whether to enable the DNS proxy feature. Valid values:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder DNSProxyingEnabled(Boolean DNSProxyingEnabled) {
this.putBodyParameter("DNSProxyingEnabled", DNSProxyingEnabled);
this.DNSProxyingEnabled = DNSProxyingEnabled;
return this;
}
/**
* Specifies whether to enable Dubbo Filter. Valid values:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder dubboFilterEnabled(Boolean dubboFilterEnabled) {
this.putBodyParameter("DubboFilterEnabled", dubboFilterEnabled);
this.dubboFilterEnabled = dubboFilterEnabled;
return this;
}
/**
* The edition of the ASM instance.
*/
public Builder edition(String edition) {
this.putBodyParameter("Edition", edition);
this.edition = edition;
return this;
}
/**
* Specifies whether to enable the Ambient Mesh mode for the ASM instance.
*/
public Builder enableAmbient(Boolean enableAmbient) {
this.putBodyParameter("EnableAmbient", enableAmbient);
this.enableAmbient = enableAmbient;
return this;
}
/**
* 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:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder enableAudit(Boolean enableAudit) {
this.putBodyParameter("EnableAudit", enableAudit);
this.enableAudit = enableAudit;
return this;
}
/**
* Specifies whether to enable the rollback feature for Istio resources. Valid values:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder enableCRHistory(Boolean enableCRHistory) {
this.putBodyParameter("EnableCRHistory", enableCRHistory);
this.enableCRHistory = enableCRHistory;
return this;
}
/**
* Specifies whether to enable Secret Discovery Service (SDS). Valid values:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder enableSDSServer(Boolean enableSDSServer) {
this.putBodyParameter("EnableSDSServer", enableSDSServer);
this.enableSDSServer = enableSDSServer;
return this;
}
/**
* The IP ranges in CIDR form to be excluded from redirection to the sidecar proxy in the ASM instance.
*/
public Builder excludeIPRanges(String excludeIPRanges) {
this.putBodyParameter("ExcludeIPRanges", excludeIPRanges);
this.excludeIPRanges = excludeIPRanges;
return this;
}
/**
* The inbound ports to be excluded from redirection to the sidecar proxy in the ASM instance. Separate multiple port numbers with commas (,).
*/
public Builder excludeInboundPorts(String excludeInboundPorts) {
this.putBodyParameter("ExcludeInboundPorts", excludeInboundPorts);
this.excludeInboundPorts = excludeInboundPorts;
return this;
}
/**
* The outbound ports to be excluded from redirection to the sidecar proxy in the ASM instance. Separate multiple port numbers with commas (,).
*/
public Builder excludeOutboundPorts(String excludeOutboundPorts) {
this.putBodyParameter("ExcludeOutboundPorts", excludeOutboundPorts);
this.excludeOutboundPorts = excludeOutboundPorts;
return this;
}
/**
* 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.
*/
public Builder existingCaCert(String existingCaCert) {
this.putBodyParameter("ExistingCaCert", existingCaCert);
this.existingCaCert = existingCaCert;
return this;
}
/**
* 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.
*/
public Builder existingCaKey(String existingCaKey) {
this.putBodyParameter("ExistingCaKey", existingCaKey);
this.existingCaKey = existingCaKey;
return this;
}
/**
* The type of the existing CA certificate. Valid values:
* <p>
*
* * 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.
*/
public Builder existingCaType(String existingCaType) {
this.putBodyParameter("ExistingCaType", existingCaType);
this.existingCaType = existingCaType;
return this;
}
/**
* The existing root certificate, which is encoded in Base64.
*/
public Builder existingRootCaCert(String existingRootCaCert) {
this.putBodyParameter("ExistingRootCaCert", existingRootCaCert);
this.existingRootCaCert = existingRootCaCert;
return this;
}
/**
* The private key that corresponds to the root certificate, which is encoded in Base64.
*/
public Builder existingRootCaKey(String existingRootCaKey) {
this.putBodyParameter("ExistingRootCaKey", existingRootCaKey);
this.existingRootCaKey = existingRootCaKey;
return this;
}
/**
* Specifies whether to enable gateway configuration filtering. Valid values:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder filterGatewayClusterConfig(Boolean filterGatewayClusterConfig) {
this.putBodyParameter("FilterGatewayClusterConfig", filterGatewayClusterConfig);
this.filterGatewayClusterConfig = filterGatewayClusterConfig;
return this;
}
/**
* Specifies whether to enable Gateway API. Valid values:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder gatewayAPIEnabled(Boolean gatewayAPIEnabled) {
this.putBodyParameter("GatewayAPIEnabled", gatewayAPIEnabled);
this.gatewayAPIEnabled = gatewayAPIEnabled;
return this;
}
/**
* 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.
*/
public Builder guestCluster(String guestCluster) {
this.putBodyParameter("GuestCluster", guestCluster);
this.guestCluster = guestCluster;
return this;
}
/**
* The IP ranges in CIDR form for which traffic is to be redirected to the sidecar proxy in the ASM instance.
*/
public Builder includeIPRanges(String includeIPRanges) {
this.putBodyParameter("IncludeIPRanges", includeIPRanges);
this.includeIPRanges = includeIPRanges;
return this;
}
/**
* The Istio version of the ASM instance.
*/
public Builder istioVersion(String istioVersion) {
this.putBodyParameter("IstioVersion", istioVersion);
this.istioVersion = istioVersion;
return this;
}
/**
* 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:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder kialiEnabled(Boolean kialiEnabled) {
this.putBodyParameter("KialiEnabled", kialiEnabled);
this.kialiEnabled = kialiEnabled;
return this;
}
/**
* The configurations for the access to the nearest instance.
*/
public Builder localityLBConf(String localityLBConf) {
this.putBodyParameter("LocalityLBConf", localityLBConf);
this.localityLBConf = localityLBConf;
return this;
}
/**
* Specifies whether to route traffic to the nearest instance. Valid values:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder localityLoadBalancing(Boolean localityLoadBalancing) {
this.putBodyParameter("LocalityLoadBalancing", localityLoadBalancing);
this.localityLoadBalancing = localityLoadBalancing;
return this;
}
/**
* Specifies whether to enable Microservices Engine (MSE). Valid values:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder MSEEnabled(Boolean MSEEnabled) {
this.putBodyParameter("MSEEnabled", MSEEnabled);
this.MSEEnabled = MSEEnabled;
return this;
}
/**
* Specifies whether to enable MultiBuffer-based Transport Layer Security (TLS) acceleration. Valid values:
* <p>
*
* - `true`
*
* - `false`
*
*
* Default value: `true`
*/
public Builder multiBufferEnabled(Boolean multiBufferEnabled) {
this.putBodyParameter("MultiBufferEnabled", multiBufferEnabled);
this.multiBufferEnabled = multiBufferEnabled;
return this;
}
/**
* The pull-request latency. Default value: 30. Unit: seconds.
*/
public Builder multiBufferPollDelay(String multiBufferPollDelay) {
this.putBodyParameter("MultiBufferPollDelay", multiBufferPollDelay);
this.multiBufferPollDelay = multiBufferPollDelay;
return this;
}
/**
* Specifies whether to enable MySQL Filter. Valid values:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder mysqlFilterEnabled(Boolean mysqlFilterEnabled) {
this.putBodyParameter("MysqlFilterEnabled", mysqlFilterEnabled);
this.mysqlFilterEnabled = mysqlFilterEnabled;
return this;
}
/**
* The name of the ASM instance.
*/
public Builder name(String name) {
this.putBodyParameter("Name", name);
this.name = name;
return this;
}
/**
* The maximum number of CPU cores that are available to the OPA container.
*/
public Builder OPALimitCPU(String OPALimitCPU) {
this.putBodyParameter("OPALimitCPU", OPALimitCPU);
this.OPALimitCPU = OPALimitCPU;
return this;
}
/**
* 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.
*/
public Builder OPALimitMemory(String OPALimitMemory) {
this.putBodyParameter("OPALimitMemory", OPALimitMemory);
this.OPALimitMemory = OPALimitMemory;
return this;
}
/**
* The log level of the OPA container.
*/
public Builder OPALogLevel(String OPALogLevel) {
this.putBodyParameter("OPALogLevel", OPALogLevel);
this.OPALogLevel = OPALogLevel;
return this;
}
/**
* 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.
*/
public Builder OPARequestCPU(String OPARequestCPU) {
this.putBodyParameter("OPARequestCPU", OPARequestCPU);
this.OPARequestCPU = OPARequestCPU;
return this;
}
/**
* 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.
*/
public Builder OPARequestMemory(String OPARequestMemory) {
this.putBodyParameter("OPARequestMemory", OPARequestMemory);
this.OPARequestMemory = OPARequestMemory;
return this;
}
/**
* Specifies whether to enable the OPA plug-in. Valid values:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder opaEnabled(Boolean opaEnabled) {
this.putBodyParameter("OpaEnabled", opaEnabled);
this.opaEnabled = opaEnabled;
return this;
}
/**
* Specifies whether to install the Open Policy Agent (OPA) plug-in. Valid values:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder openAgentPolicy(Boolean openAgentPolicy) {
this.putBodyParameter("OpenAgentPolicy", openAgentPolicy);
this.openAgentPolicy = openAgentPolicy;
return this;
}
/**
* 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.
*/
public Builder period(Integer period) {
this.putBodyParameter("Period", period);
this.period = period;
return this;
}
/**
* 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`.
*/
public Builder pilotLoadBalancerSpec(String pilotLoadBalancerSpec) {
this.putBodyParameter("PilotLoadBalancerSpec", pilotLoadBalancerSpec);
this.pilotLoadBalancerSpec = pilotLoadBalancerSpec;
return this;
}
/**
* The endpoint of the custom Prometheus instance.
*/
public Builder prometheusUrl(String prometheusUrl) {
this.putBodyParameter("PrometheusUrl", prometheusUrl);
this.prometheusUrl = prometheusUrl;
return this;
}
/**
* The maximum number of CPU cores that are available to the proxy container.
*/
public Builder proxyLimitCPU(String proxyLimitCPU) {
this.putBodyParameter("ProxyLimitCPU", proxyLimitCPU);
this.proxyLimitCPU = proxyLimitCPU;
return this;
}
/**
* The maximum size of the memory that is available to the proxy container.
*/
public Builder proxyLimitMemory(String proxyLimitMemory) {
this.putBodyParameter("ProxyLimitMemory", proxyLimitMemory);
this.proxyLimitMemory = proxyLimitMemory;
return this;
}
/**
* The minimum number of CPU cores that are required by the proxy container.
*/
public Builder proxyRequestCPU(String proxyRequestCPU) {
this.putBodyParameter("ProxyRequestCPU", proxyRequestCPU);
this.proxyRequestCPU = proxyRequestCPU;
return this;
}
/**
* The minimum size of the memory that is required by the proxy container.
*/
public Builder proxyRequestMemory(String proxyRequestMemory) {
this.putBodyParameter("ProxyRequestMemory", proxyRequestMemory);
this.proxyRequestMemory = proxyRequestMemory;
return this;
}
/**
* Specifies whether to enable Redis Filter. Valid values:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder redisFilterEnabled(Boolean redisFilterEnabled) {
this.putBodyParameter("RedisFilterEnabled", redisFilterEnabled);
this.redisFilterEnabled = redisFilterEnabled;
return this;
}
/**
* The ID of the region in which the ASM instance resides.
*/
public Builder regionId(String regionId) {
this.putBodyParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* Tag of the ASM instance. A tag contains the following information:
* <p>
*
* * key: the name of the tag
* * value: the value of the tag
*/
public Builder tag(java.util.List < Tag> 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:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder telemetry(Boolean telemetry) {
this.putBodyParameter("Telemetry", telemetry);
this.telemetry = telemetry;
return this;
}
/**
* Specifies whether to enable Thrift Filter. Valid values:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder thriftFilterEnabled(Boolean thriftFilterEnabled) {
this.putBodyParameter("ThriftFilterEnabled", thriftFilterEnabled);
this.thriftFilterEnabled = thriftFilterEnabled;
return this;
}
/**
* The sampling percentage of Tracing Analysis.
*/
public Builder traceSampling(Float traceSampling) {
this.putBodyParameter("TraceSampling", traceSampling);
this.traceSampling = traceSampling;
return this;
}
/**
* Specifies whether to enable the Tracing Analysis feature. Valid values:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder tracing(Boolean tracing) {
this.putBodyParameter("Tracing", tracing);
this.tracing = tracing;
return this;
}
/**
* Specifies whether to use an existing CA certificate and private key.
*/
public Builder useExistingCA(Boolean useExistingCA) {
this.putBodyParameter("UseExistingCA", useExistingCA);
this.useExistingCA = useExistingCA;
return this;
}
/**
* The ID of the vSwitch to which the ASM instance is connected.
*/
public Builder vSwitches(String vSwitches) {
this.putBodyParameter("VSwitches", vSwitches);
this.vSwitches = vSwitches;
return this;
}
/**
* The ID of the virtual private cloud (VPC) in which the ASM instance resides.
*/
public Builder vpcId(String vpcId) {
this.putBodyParameter("VpcId", vpcId);
this.vpcId = vpcId;
return this;
}
/**
* Specifies whether to enable WebAssembly Filter. Valid values:
* <p>
*
* * `true`
* * `false`
*
* Default value: `false`.
*/
public Builder webAssemblyFilterEnabled(Boolean webAssemblyFilterEnabled) {
this.putBodyParameter("WebAssemblyFilterEnabled", webAssemblyFilterEnabled);
this.webAssemblyFilterEnabled = webAssemblyFilterEnabled;
return this;
}
@Override
public CreateServiceMeshRequest build() {
return new CreateServiceMeshRequest(this);
}
}
public static class Tag extends TeaModel {
@NameInMap("Key")
private String key;
@NameInMap("Value")
private String value;
private Tag(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
/**
* The name of the tag.
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* The value of the tag.
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateServiceMeshResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateServiceMeshResponse} extends {@link TeaModel}
*
* <p>CreateServiceMeshResponse</p>
*/
public class CreateServiceMeshResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private CreateServiceMeshResponseBody body;
private CreateServiceMeshResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateServiceMeshResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public CreateServiceMeshResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateServiceMeshResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(CreateServiceMeshResponseBody body);
@Override
CreateServiceMeshResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateServiceMeshResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private CreateServiceMeshResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateServiceMeshResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(CreateServiceMeshResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateServiceMeshResponse build() {
return new CreateServiceMeshResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateServiceMeshResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateServiceMeshResponseBody} extends {@link TeaModel}
*
* <p>CreateServiceMeshResponseBody</p>
*/
public class CreateServiceMeshResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
@NameInMap("ServiceMeshId")
private String serviceMeshId;
private CreateServiceMeshResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static CreateServiceMeshResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder {
private String requestId;
private String serviceMeshId;
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The ID of the ASM instance.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.serviceMeshId = serviceMeshId;
return this;
}
public CreateServiceMeshResponseBody build() {
return new CreateServiceMeshResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneGroupRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateSwimLaneGroupRequest} extends {@link RequestModel}
*
* <p>CreateSwimLaneGroupRequest</p>
*/
public class CreateSwimLaneGroupRequest extends Request {
@Body
@NameInMap("GroupName")
@Validation(required = true)
private String groupName;
@Body
@NameInMap("IngressGatewayName")
@Validation(required = true)
private String ingressGatewayName;
@Body
@NameInMap("IngressType")
@Validation(required = true)
private String ingressType;
@Body
@NameInMap("IsPermissive")
private Boolean isPermissive;
@Body
@NameInMap("RouteHeader")
private String routeHeader;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
@Body
@NameInMap("ServicesList")
@Validation(required = true)
private String servicesList;
@Body
@NameInMap("TraceHeader")
private String traceHeader;
private CreateSwimLaneGroupRequest(Builder builder) {
super(builder);
this.groupName = builder.groupName;
this.ingressGatewayName = builder.ingressGatewayName;
this.ingressType = builder.ingressType;
this.isPermissive = builder.isPermissive;
this.routeHeader = builder.routeHeader;
this.serviceMeshId = builder.serviceMeshId;
this.servicesList = builder.servicesList;
this.traceHeader = builder.traceHeader;
}
public static Builder builder() {
return new Builder();
}
public static CreateSwimLaneGroupRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return groupName
*/
public String getGroupName() {
return this.groupName;
}
/**
* @return ingressGatewayName
*/
public String getIngressGatewayName() {
return this.ingressGatewayName;
}
/**
* @return ingressType
*/
public String getIngressType() {
return this.ingressType;
}
/**
* @return isPermissive
*/
public Boolean getIsPermissive() {
return this.isPermissive;
}
/**
* @return routeHeader
*/
public String getRouteHeader() {
return this.routeHeader;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
/**
* @return servicesList
*/
public String getServicesList() {
return this.servicesList;
}
/**
* @return traceHeader
*/
public String getTraceHeader() {
return this.traceHeader;
}
public static final class Builder extends Request.Builder<CreateSwimLaneGroupRequest, Builder> {
private String groupName;
private String ingressGatewayName;
private String ingressType;
private Boolean isPermissive;
private String routeHeader;
private String serviceMeshId;
private String servicesList;
private String traceHeader;
private Builder() {
super();
}
private Builder(CreateSwimLaneGroupRequest request) {
super(request);
this.groupName = request.groupName;
this.ingressGatewayName = request.ingressGatewayName;
this.ingressType = request.ingressType;
this.isPermissive = request.isPermissive;
this.routeHeader = request.routeHeader;
this.serviceMeshId = request.serviceMeshId;
this.servicesList = request.servicesList;
this.traceHeader = request.traceHeader;
}
/**
* The name of the lane group.
*/
public Builder groupName(String groupName) {
this.putBodyParameter("GroupName", groupName);
this.groupName = groupName;
return this;
}
/**
* The name of the ingress gateway.
*/
public Builder ingressGatewayName(String ingressGatewayName) {
this.putBodyParameter("IngressGatewayName", ingressGatewayName);
this.ingressGatewayName = ingressGatewayName;
return this;
}
/**
* The type of the gateway for ingress traffic. Only ASM ingress gateways are supported.
*/
public Builder ingressType(String ingressType) {
this.putBodyParameter("IngressType", ingressType);
this.ingressType = ingressType;
return this;
}
/**
* IsPermissive.
*/
public Builder isPermissive(Boolean isPermissive) {
this.putBodyParameter("IsPermissive", isPermissive);
this.isPermissive = isPermissive;
return this;
}
/**
* RouteHeader.
*/
public Builder routeHeader(String routeHeader) {
this.putBodyParameter("RouteHeader", routeHeader);
this.routeHeader = routeHeader;
return this;
}
/**
* The ID of the Alibaba Cloud Service Mesh (ASM) instance.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
/**
* 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`.
*/
public Builder servicesList(String servicesList) {
this.putBodyParameter("ServicesList", servicesList);
this.servicesList = servicesList;
return this;
}
/**
* TraceHeader.
*/
public Builder traceHeader(String traceHeader) {
this.putBodyParameter("TraceHeader", traceHeader);
this.traceHeader = traceHeader;
return this;
}
@Override
public CreateSwimLaneGroupRequest build() {
return new CreateSwimLaneGroupRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneGroupResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateSwimLaneGroupResponse} extends {@link TeaModel}
*
* <p>CreateSwimLaneGroupResponse</p>
*/
public class CreateSwimLaneGroupResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private CreateSwimLaneGroupResponseBody body;
private CreateSwimLaneGroupResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateSwimLaneGroupResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public CreateSwimLaneGroupResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateSwimLaneGroupResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(CreateSwimLaneGroupResponseBody body);
@Override
CreateSwimLaneGroupResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateSwimLaneGroupResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private CreateSwimLaneGroupResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateSwimLaneGroupResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(CreateSwimLaneGroupResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateSwimLaneGroupResponse build() {
return new CreateSwimLaneGroupResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneGroupResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateSwimLaneGroupResponseBody} extends {@link TeaModel}
*
* <p>CreateSwimLaneGroupResponseBody</p>
*/
public class CreateSwimLaneGroupResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private CreateSwimLaneGroupResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static CreateSwimLaneGroupResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public CreateSwimLaneGroupResponseBody build() {
return new CreateSwimLaneGroupResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateSwimLaneRequest} extends {@link RequestModel}
*
* <p>CreateSwimLaneRequest</p>
*/
public class CreateSwimLaneRequest extends Request {
@Body
@NameInMap("GroupName")
private String groupName;
@Body
@NameInMap("LabelSelectorKey")
private String labelSelectorKey;
@Body
@NameInMap("LabelSelectorValue")
private String labelSelectorValue;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
@Body
@NameInMap("ServicesList")
private String servicesList;
@Body
@NameInMap("SwimLaneName")
private String swimLaneName;
private CreateSwimLaneRequest(Builder builder) {
super(builder);
this.groupName = builder.groupName;
this.labelSelectorKey = builder.labelSelectorKey;
this.labelSelectorValue = builder.labelSelectorValue;
this.serviceMeshId = builder.serviceMeshId;
this.servicesList = builder.servicesList;
this.swimLaneName = builder.swimLaneName;
}
public static Builder builder() {
return new Builder();
}
public static CreateSwimLaneRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return groupName
*/
public String getGroupName() {
return this.groupName;
}
/**
* @return labelSelectorKey
*/
public String getLabelSelectorKey() {
return this.labelSelectorKey;
}
/**
* @return labelSelectorValue
*/
public String getLabelSelectorValue() {
return this.labelSelectorValue;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
/**
* @return servicesList
*/
public String getServicesList() {
return this.servicesList;
}
/**
* @return swimLaneName
*/
public String getSwimLaneName() {
return this.swimLaneName;
}
public static final class Builder extends Request.Builder<CreateSwimLaneRequest, Builder> {
private String groupName;
private String labelSelectorKey;
private String labelSelectorValue;
private String serviceMeshId;
private String servicesList;
private String swimLaneName;
private Builder() {
super();
}
private Builder(CreateSwimLaneRequest request) {
super(request);
this.groupName = request.groupName;
this.labelSelectorKey = request.labelSelectorKey;
this.labelSelectorValue = request.labelSelectorValue;
this.serviceMeshId = request.serviceMeshId;
this.servicesList = request.servicesList;
this.swimLaneName = request.swimLaneName;
}
/**
* The name of the lane group.
*/
public Builder groupName(String groupName) {
this.putBodyParameter("GroupName", groupName);
this.groupName = groupName;
return this;
}
/**
* The label key of the associated service workload. Set the value to `ASM_TRAFFIC_TAG`.
*/
public Builder labelSelectorKey(String labelSelectorKey) {
this.putBodyParameter("LabelSelectorKey", labelSelectorKey);
this.labelSelectorKey = labelSelectorKey;
return this;
}
/**
* The label value of the associated service workload.``
*/
public Builder labelSelectorValue(String labelSelectorValue) {
this.putBodyParameter("LabelSelectorValue", labelSelectorValue);
this.labelSelectorValue = labelSelectorValue;
return this;
}
/**
* The ID of the Service Mesh (ASM) instance.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
/**
* 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`.
*/
public Builder servicesList(String servicesList) {
this.putBodyParameter("ServicesList", servicesList);
this.servicesList = servicesList;
return this;
}
/**
* The name of the lane.
*/
public Builder swimLaneName(String swimLaneName) {
this.putBodyParameter("SwimLaneName", swimLaneName);
this.swimLaneName = swimLaneName;
return this;
}
@Override
public CreateSwimLaneRequest build() {
return new CreateSwimLaneRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateSwimLaneResponse} extends {@link TeaModel}
*
* <p>CreateSwimLaneResponse</p>
*/
public class CreateSwimLaneResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private CreateSwimLaneResponseBody body;
private CreateSwimLaneResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateSwimLaneResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public CreateSwimLaneResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateSwimLaneResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(CreateSwimLaneResponseBody body);
@Override
CreateSwimLaneResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateSwimLaneResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private CreateSwimLaneResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateSwimLaneResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(CreateSwimLaneResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateSwimLaneResponse build() {
return new CreateSwimLaneResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateSwimLaneResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateSwimLaneResponseBody} extends {@link TeaModel}
*
* <p>CreateSwimLaneResponseBody</p>
*/
public class CreateSwimLaneResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private CreateSwimLaneResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static CreateSwimLaneResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public CreateSwimLaneResponseBody build() {
return new CreateSwimLaneResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateWaypointRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateWaypointRequest} extends {@link RequestModel}
*
* <p>CreateWaypointRequest</p>
*/
public class CreateWaypointRequest extends Request {
@Body
@NameInMap("ClusterId")
@Validation(required = true, minLength = 1)
private String clusterId;
@Body
@NameInMap("HPAEnabled")
private Boolean HPAEnabled;
@Body
@NameInMap("HPAMaxReplicas")
private Integer HPAMaxReplicas;
@Body
@NameInMap("HPAMinReplicas")
private Integer HPAMinReplicas;
@Body
@NameInMap("HPATargetCPU")
@Validation(maximum = 100)
private Integer HPATargetCPU;
@Body
@NameInMap("HPATargetMemory")
@Validation(maximum = 100)
private Integer HPATargetMemory;
@Body
@NameInMap("LimitCPU")
private String limitCPU;
@Body
@NameInMap("LimitMemory")
private String limitMemory;
@Body
@NameInMap("Namespace")
@Validation(required = true)
private String namespace;
@Body
@NameInMap("PreferECI")
private Boolean preferECI;
@Body
@NameInMap("Replicas")
private Integer replicas;
@Body
@NameInMap("RequestCPU")
private String requestCPU;
@Body
@NameInMap("RequestMemory")
private String requestMemory;
@Body
@NameInMap("ServiceAccount")
private String serviceAccount;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true, minLength = 1)
private String serviceMeshId;
private CreateWaypointRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.HPAEnabled = builder.HPAEnabled;
this.HPAMaxReplicas = builder.HPAMaxReplicas;
this.HPAMinReplicas = builder.HPAMinReplicas;
this.HPATargetCPU = builder.HPATargetCPU;
this.HPATargetMemory = builder.HPATargetMemory;
this.limitCPU = builder.limitCPU;
this.limitMemory = builder.limitMemory;
this.namespace = builder.namespace;
this.preferECI = builder.preferECI;
this.replicas = builder.replicas;
this.requestCPU = builder.requestCPU;
this.requestMemory = builder.requestMemory;
this.serviceAccount = builder.serviceAccount;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static CreateWaypointRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return HPAEnabled
*/
public Boolean getHPAEnabled() {
return this.HPAEnabled;
}
/**
* @return HPAMaxReplicas
*/
public Integer getHPAMaxReplicas() {
return this.HPAMaxReplicas;
}
/**
* @return HPAMinReplicas
*/
public Integer getHPAMinReplicas() {
return this.HPAMinReplicas;
}
/**
* @return HPATargetCPU
*/
public Integer getHPATargetCPU() {
return this.HPATargetCPU;
}
/**
* @return HPATargetMemory
*/
public Integer getHPATargetMemory() {
return this.HPATargetMemory;
}
/**
* @return limitCPU
*/
public String getLimitCPU() {
return this.limitCPU;
}
/**
* @return limitMemory
*/
public String getLimitMemory() {
return this.limitMemory;
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return preferECI
*/
public Boolean getPreferECI() {
return this.preferECI;
}
/**
* @return replicas
*/
public Integer getReplicas() {
return this.replicas;
}
/**
* @return requestCPU
*/
public String getRequestCPU() {
return this.requestCPU;
}
/**
* @return requestMemory
*/
public String getRequestMemory() {
return this.requestMemory;
}
/**
* @return serviceAccount
*/
public String getServiceAccount() {
return this.serviceAccount;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<CreateWaypointRequest, Builder> {
private String clusterId;
private Boolean HPAEnabled;
private Integer HPAMaxReplicas;
private Integer HPAMinReplicas;
private Integer HPATargetCPU;
private Integer HPATargetMemory;
private String limitCPU;
private String limitMemory;
private String namespace;
private Boolean preferECI;
private Integer replicas;
private String requestCPU;
private String requestMemory;
private String serviceAccount;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(CreateWaypointRequest request) {
super(request);
this.clusterId = request.clusterId;
this.HPAEnabled = request.HPAEnabled;
this.HPAMaxReplicas = request.HPAMaxReplicas;
this.HPAMinReplicas = request.HPAMinReplicas;
this.HPATargetCPU = request.HPATargetCPU;
this.HPATargetMemory = request.HPATargetMemory;
this.limitCPU = request.limitCPU;
this.limitMemory = request.limitMemory;
this.namespace = request.namespace;
this.preferECI = request.preferECI;
this.replicas = request.replicas;
this.requestCPU = request.requestCPU;
this.requestMemory = request.requestMemory;
this.serviceAccount = request.serviceAccount;
this.serviceMeshId = request.serviceMeshId;
}
/**
* The ID of the cluster on the data plane.
*/
public Builder clusterId(String clusterId) {
this.putBodyParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* Specifies whether to enable Horizontal Pod Autoscaling (HPA).
*/
public Builder HPAEnabled(Boolean HPAEnabled) {
this.putBodyParameter("HPAEnabled", HPAEnabled);
this.HPAEnabled = HPAEnabled;
return this;
}
/**
* The maximum number of waypoint proxy pods when HPA is enabled.
*/
public Builder HPAMaxReplicas(Integer HPAMaxReplicas) {
this.putBodyParameter("HPAMaxReplicas", HPAMaxReplicas);
this.HPAMaxReplicas = HPAMaxReplicas;
return this;
}
/**
* The minimum number of waypoint proxy pods when HPA is enabled.
*/
public Builder HPAMinReplicas(Integer HPAMinReplicas) {
this.putBodyParameter("HPAMinReplicas", HPAMinReplicas);
this.HPAMinReplicas = HPAMinReplicas;
return this;
}
/**
* The expected CPU utilization when HPA is enabled.
*/
public Builder HPATargetCPU(Integer HPATargetCPU) {
this.putBodyParameter("HPATargetCPU", HPATargetCPU);
this.HPATargetCPU = HPATargetCPU;
return this;
}
/**
* The expected memory usage when HPA is enabled.
*/
public Builder HPATargetMemory(Integer HPATargetMemory) {
this.putBodyParameter("HPATargetMemory", HPATargetMemory);
this.HPATargetMemory = HPATargetMemory;
return this;
}
/**
* The maximum number of CPU cores that are available to the waypoint proxy pods.
*/
public Builder limitCPU(String limitCPU) {
this.putBodyParameter("LimitCPU", limitCPU);
this.limitCPU = limitCPU;
return this;
}
/**
* The maximum size of the memory that is available to the waypoint proxy pods.
*/
public Builder limitMemory(String limitMemory) {
this.putBodyParameter("LimitMemory", limitMemory);
this.limitMemory = limitMemory;
return this;
}
/**
* The namespace.
*/
public Builder namespace(String namespace) {
this.putBodyParameter("Namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* Specifies whether to deploy waypoint proxy pods based on Elastic Container Instance (ECI).
*/
public Builder preferECI(Boolean preferECI) {
this.putBodyParameter("PreferECI", preferECI);
this.preferECI = preferECI;
return this;
}
/**
* The number of waypoint proxy pods.
*/
public Builder replicas(Integer replicas) {
this.putBodyParameter("Replicas", replicas);
this.replicas = replicas;
return this;
}
/**
* The number of CPU cores requested by the waypoint proxy pods.
*/
public Builder requestCPU(String requestCPU) {
this.putBodyParameter("RequestCPU", requestCPU);
this.requestCPU = requestCPU;
return this;
}
/**
* The size of the memory requested by the waypoint proxy pods.
*/
public Builder requestMemory(String requestMemory) {
this.putBodyParameter("RequestMemory", requestMemory);
this.requestMemory = requestMemory;
return this;
}
/**
* 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.
*/
public Builder serviceAccount(String serviceAccount) {
this.putBodyParameter("ServiceAccount", serviceAccount);
this.serviceAccount = serviceAccount;
return this;
}
/**
* The Service Mesh (ASM) instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public CreateWaypointRequest build() {
return new CreateWaypointRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateWaypointResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateWaypointResponse} extends {@link TeaModel}
*
* <p>CreateWaypointResponse</p>
*/
public class CreateWaypointResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private CreateWaypointResponseBody body;
private CreateWaypointResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateWaypointResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public CreateWaypointResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateWaypointResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(CreateWaypointResponseBody body);
@Override
CreateWaypointResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateWaypointResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private CreateWaypointResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateWaypointResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(CreateWaypointResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateWaypointResponse build() {
return new CreateWaypointResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/CreateWaypointResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateWaypointResponseBody} extends {@link TeaModel}
*
* <p>CreateWaypointResponseBody</p>
*/
public class CreateWaypointResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private CreateWaypointResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static CreateWaypointResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public CreateWaypointResponseBody build() {
return new CreateWaypointResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewayRouteRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteGatewayRouteRequest} extends {@link RequestModel}
*
* <p>DeleteGatewayRouteRequest</p>
*/
public class DeleteGatewayRouteRequest extends Request {
@Body
@NameInMap("IstioGatewayName")
private String istioGatewayName;
@Body
@NameInMap("RouteName")
private String routeName;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private DeleteGatewayRouteRequest(Builder builder) {
super(builder);
this.istioGatewayName = builder.istioGatewayName;
this.routeName = builder.routeName;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteGatewayRouteRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return istioGatewayName
*/
public String getIstioGatewayName() {
return this.istioGatewayName;
}
/**
* @return routeName
*/
public String getRouteName() {
return this.routeName;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<DeleteGatewayRouteRequest, Builder> {
private String istioGatewayName;
private String routeName;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(DeleteGatewayRouteRequest request) {
super(request);
this.istioGatewayName = request.istioGatewayName;
this.routeName = request.routeName;
this.serviceMeshId = request.serviceMeshId;
}
/**
* The name of the ASM gateway.
*/
public Builder istioGatewayName(String istioGatewayName) {
this.putBodyParameter("IstioGatewayName", istioGatewayName);
this.istioGatewayName = istioGatewayName;
return this;
}
/**
* The name of the routing rule.
*/
public Builder routeName(String routeName) {
this.putBodyParameter("RouteName", routeName);
this.routeName = routeName;
return this;
}
/**
* The ASM instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public DeleteGatewayRouteRequest build() {
return new DeleteGatewayRouteRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewayRouteResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteGatewayRouteResponse} extends {@link TeaModel}
*
* <p>DeleteGatewayRouteResponse</p>
*/
public class DeleteGatewayRouteResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private DeleteGatewayRouteResponseBody body;
private DeleteGatewayRouteResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteGatewayRouteResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DeleteGatewayRouteResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteGatewayRouteResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteGatewayRouteResponseBody body);
@Override
DeleteGatewayRouteResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteGatewayRouteResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DeleteGatewayRouteResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteGatewayRouteResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DeleteGatewayRouteResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteGatewayRouteResponse build() {
return new DeleteGatewayRouteResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewayRouteResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteGatewayRouteResponseBody} extends {@link TeaModel}
*
* <p>DeleteGatewayRouteResponseBody</p>
*/
public class DeleteGatewayRouteResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private DeleteGatewayRouteResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteGatewayRouteResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteGatewayRouteResponseBody build() {
return new DeleteGatewayRouteResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewaySecretRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteGatewaySecretRequest} extends {@link RequestModel}
*
* <p>DeleteGatewaySecretRequest</p>
*/
public class DeleteGatewaySecretRequest extends Request {
@Body
@NameInMap("IstioGatewayName")
private String istioGatewayName;
@Body
@NameInMap("SecretName")
private String secretName;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private DeleteGatewaySecretRequest(Builder builder) {
super(builder);
this.istioGatewayName = builder.istioGatewayName;
this.secretName = builder.secretName;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteGatewaySecretRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return istioGatewayName
*/
public String getIstioGatewayName() {
return this.istioGatewayName;
}
/**
* @return secretName
*/
public String getSecretName() {
return this.secretName;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<DeleteGatewaySecretRequest, Builder> {
private String istioGatewayName;
private String secretName;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(DeleteGatewaySecretRequest request) {
super(request);
this.istioGatewayName = request.istioGatewayName;
this.secretName = request.secretName;
this.serviceMeshId = request.serviceMeshId;
}
/**
* The name of the ASM gateway.
*/
public Builder istioGatewayName(String istioGatewayName) {
this.putBodyParameter("IstioGatewayName", istioGatewayName);
this.istioGatewayName = istioGatewayName;
return this;
}
/**
* The name of the secret.
*/
public Builder secretName(String secretName) {
this.putBodyParameter("SecretName", secretName);
this.secretName = secretName;
return this;
}
/**
* The ASM instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public DeleteGatewaySecretRequest build() {
return new DeleteGatewaySecretRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewaySecretResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteGatewaySecretResponse} extends {@link TeaModel}
*
* <p>DeleteGatewaySecretResponse</p>
*/
public class DeleteGatewaySecretResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private DeleteGatewaySecretResponseBody body;
private DeleteGatewaySecretResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteGatewaySecretResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DeleteGatewaySecretResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteGatewaySecretResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteGatewaySecretResponseBody body);
@Override
DeleteGatewaySecretResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteGatewaySecretResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DeleteGatewaySecretResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteGatewaySecretResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DeleteGatewaySecretResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteGatewaySecretResponse build() {
return new DeleteGatewaySecretResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DeleteGatewaySecretResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteGatewaySecretResponseBody} extends {@link TeaModel}
*
* <p>DeleteGatewaySecretResponseBody</p>
*/
public class DeleteGatewaySecretResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
@NameInMap("SecretDeleteRecord")
private java.util.Map < String, SecretDeleteRecordValue > secretDeleteRecord;
private DeleteGatewaySecretResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.secretDeleteRecord = builder.secretDeleteRecord;
}
public static Builder builder() {
return new Builder();
}
public static DeleteGatewaySecretResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return secretDeleteRecord
*/
public java.util.Map < String, SecretDeleteRecordValue > getSecretDeleteRecord() {
return this.secretDeleteRecord;
}
public static final class Builder {
private String requestId;
private java.util.Map < String, SecretDeleteRecordValue > secretDeleteRecord;
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The records of deleting the secret in all clusters.
*/
public Builder secretDeleteRecord(java.util.Map < String, SecretDeleteRecordValue > secretDeleteRecord) {
this.secretDeleteRecord = secretDeleteRecord;
return this;
}
public DeleteGatewaySecretResponseBody build() {
return new DeleteGatewaySecretResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DeleteIstioGatewayDomainsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteIstioGatewayDomainsRequest} extends {@link RequestModel}
*
* <p>DeleteIstioGatewayDomainsRequest</p>
*/
public class DeleteIstioGatewayDomainsRequest extends Request {
@Body
@NameInMap("Hosts")
private String hosts;
@Body
@NameInMap("IstioGatewayName")
private String istioGatewayName;
@Body
@NameInMap("Limit")
private String limit;
@Body
@NameInMap("Namespace")
private String namespace;
@Body
@NameInMap("PortName")
private String portName;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private DeleteIstioGatewayDomainsRequest(Builder builder) {
super(builder);
this.hosts = builder.hosts;
this.istioGatewayName = builder.istioGatewayName;
this.limit = builder.limit;
this.namespace = builder.namespace;
this.portName = builder.portName;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteIstioGatewayDomainsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return hosts
*/
public String getHosts() {
return this.hosts;
}
/**
* @return istioGatewayName
*/
public String getIstioGatewayName() {
return this.istioGatewayName;
}
/**
* @return limit
*/
public String getLimit() {
return this.limit;
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return portName
*/
public String getPortName() {
return this.portName;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<DeleteIstioGatewayDomainsRequest, Builder> {
private String hosts;
private String istioGatewayName;
private String limit;
private String namespace;
private String portName;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(DeleteIstioGatewayDomainsRequest request) {
super(request);
this.hosts = request.hosts;
this.istioGatewayName = request.istioGatewayName;
this.limit = request.limit;
this.namespace = request.namespace;
this.portName = request.portName;
this.serviceMeshId = request.serviceMeshId;
}
/**
* The domain names of the one or more hosts that are exposed by the ASM gateway. Separate multiple domain names with commas (,).
*/
public Builder hosts(String hosts) {
this.putBodyParameter("Hosts", hosts);
this.hosts = hosts;
return this;
}
/**
* The name of the ASM gateway.
*/
public Builder istioGatewayName(String istioGatewayName) {
this.putBodyParameter("IstioGatewayName", istioGatewayName);
this.istioGatewayName = istioGatewayName;
return this;
}
/**
* The maximum number of Istio gateways to query.
*/
public Builder limit(String limit) {
this.putBodyParameter("Limit", limit);
this.limit = limit;
return this;
}
/**
* The name of the namespace.
*/
public Builder namespace(String namespace) {
this.putBodyParameter("Namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* The port name.
*/
public Builder portName(String portName) {
this.putBodyParameter("PortName", portName);
this.portName = portName;
return this;
}
/**
* The ASM instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public DeleteIstioGatewayDomainsRequest build() {
return new DeleteIstioGatewayDomainsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DeleteIstioGatewayDomainsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteIstioGatewayDomainsResponse} extends {@link TeaModel}
*
* <p>DeleteIstioGatewayDomainsResponse</p>
*/
public class DeleteIstioGatewayDomainsResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private DeleteIstioGatewayDomainsResponseBody body;
private DeleteIstioGatewayDomainsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteIstioGatewayDomainsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DeleteIstioGatewayDomainsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteIstioGatewayDomainsResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteIstioGatewayDomainsResponseBody body);
@Override
DeleteIstioGatewayDomainsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteIstioGatewayDomainsResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DeleteIstioGatewayDomainsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteIstioGatewayDomainsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DeleteIstioGatewayDomainsResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteIstioGatewayDomainsResponse build() {
return new DeleteIstioGatewayDomainsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DeleteIstioGatewayDomainsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteIstioGatewayDomainsResponseBody} extends {@link TeaModel}
*
* <p>DeleteIstioGatewayDomainsResponseBody</p>
*/
public class DeleteIstioGatewayDomainsResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private DeleteIstioGatewayDomainsResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteIstioGatewayDomainsResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteIstioGatewayDomainsResponseBody build() {
return new DeleteIstioGatewayDomainsResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DeleteServiceMeshRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteServiceMeshRequest} extends {@link RequestModel}
*
* <p>DeleteServiceMeshRequest</p>
*/
public class DeleteServiceMeshRequest extends Request {
@Body
@NameInMap("Force")
private Boolean force;
@Body
@NameInMap("RetainResources")
private String retainResources;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private DeleteServiceMeshRequest(Builder builder) {
super(builder);
this.force = builder.force;
this.retainResources = builder.retainResources;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteServiceMeshRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return force
*/
public Boolean getForce() {
return this.force;
}
/**
* @return retainResources
*/
public String getRetainResources() {
return this.retainResources;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<DeleteServiceMeshRequest, Builder> {
private Boolean force;
private String retainResources;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(DeleteServiceMeshRequest request) {
super(request);
this.force = request.force;
this.retainResources = request.retainResources;
this.serviceMeshId = request.serviceMeshId;
}
/**
* Specifies whether to forcibly delete the ASM instance. Valid values:
* <p>
*
* * `true`: forcibly deletes the ASM instance.
* * `false`: does not forcibly delete the ASM instance.
*
* Default value: false.
*/
public Builder force(Boolean force) {
this.putBodyParameter("Force", force);
this.force = force;
return this;
}
/**
* 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.
*/
public Builder retainResources(String retainResources) {
this.putBodyParameter("RetainResources", retainResources);
this.retainResources = retainResources;
return this;
}
/**
* The ASM instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public DeleteServiceMeshRequest build() {
return new DeleteServiceMeshRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DeleteServiceMeshResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteServiceMeshResponse} extends {@link TeaModel}
*
* <p>DeleteServiceMeshResponse</p>
*/
public class DeleteServiceMeshResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private DeleteServiceMeshResponseBody body;
private DeleteServiceMeshResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteServiceMeshResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DeleteServiceMeshResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteServiceMeshResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteServiceMeshResponseBody body);
@Override
DeleteServiceMeshResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteServiceMeshResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DeleteServiceMeshResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteServiceMeshResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DeleteServiceMeshResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteServiceMeshResponse build() {
return new DeleteServiceMeshResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DeleteServiceMeshResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteServiceMeshResponseBody} extends {@link TeaModel}
*
* <p>DeleteServiceMeshResponseBody</p>
*/
public class DeleteServiceMeshResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private DeleteServiceMeshResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteServiceMeshResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteServiceMeshResponseBody build() {
return new DeleteServiceMeshResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneGroupRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteSwimLaneGroupRequest} extends {@link RequestModel}
*
* <p>DeleteSwimLaneGroupRequest</p>
*/
public class DeleteSwimLaneGroupRequest extends Request {
@Body
@NameInMap("GroupName")
private String groupName;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private DeleteSwimLaneGroupRequest(Builder builder) {
super(builder);
this.groupName = builder.groupName;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteSwimLaneGroupRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return groupName
*/
public String getGroupName() {
return this.groupName;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<DeleteSwimLaneGroupRequest, Builder> {
private String groupName;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(DeleteSwimLaneGroupRequest request) {
super(request);
this.groupName = request.groupName;
this.serviceMeshId = request.serviceMeshId;
}
/**
* The name of the lane group.
*/
public Builder groupName(String groupName) {
this.putBodyParameter("GroupName", groupName);
this.groupName = groupName;
return this;
}
/**
* The ID of the Service Mesh (ASM) instance.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public DeleteSwimLaneGroupRequest build() {
return new DeleteSwimLaneGroupRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneGroupResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteSwimLaneGroupResponse} extends {@link TeaModel}
*
* <p>DeleteSwimLaneGroupResponse</p>
*/
public class DeleteSwimLaneGroupResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private DeleteSwimLaneGroupResponseBody body;
private DeleteSwimLaneGroupResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteSwimLaneGroupResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DeleteSwimLaneGroupResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteSwimLaneGroupResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteSwimLaneGroupResponseBody body);
@Override
DeleteSwimLaneGroupResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteSwimLaneGroupResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DeleteSwimLaneGroupResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteSwimLaneGroupResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DeleteSwimLaneGroupResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteSwimLaneGroupResponse build() {
return new DeleteSwimLaneGroupResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneGroupResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteSwimLaneGroupResponseBody} extends {@link TeaModel}
*
* <p>DeleteSwimLaneGroupResponseBody</p>
*/
public class DeleteSwimLaneGroupResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private DeleteSwimLaneGroupResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteSwimLaneGroupResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteSwimLaneGroupResponseBody build() {
return new DeleteSwimLaneGroupResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteSwimLaneRequest} extends {@link RequestModel}
*
* <p>DeleteSwimLaneRequest</p>
*/
public class DeleteSwimLaneRequest extends Request {
@Body
@NameInMap("GroupName")
private String groupName;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
@Body
@NameInMap("SwimLaneName")
private String swimLaneName;
private DeleteSwimLaneRequest(Builder builder) {
super(builder);
this.groupName = builder.groupName;
this.serviceMeshId = builder.serviceMeshId;
this.swimLaneName = builder.swimLaneName;
}
public static Builder builder() {
return new Builder();
}
public static DeleteSwimLaneRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return groupName
*/
public String getGroupName() {
return this.groupName;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
/**
* @return swimLaneName
*/
public String getSwimLaneName() {
return this.swimLaneName;
}
public static final class Builder extends Request.Builder<DeleteSwimLaneRequest, Builder> {
private String groupName;
private String serviceMeshId;
private String swimLaneName;
private Builder() {
super();
}
private Builder(DeleteSwimLaneRequest request) {
super(request);
this.groupName = request.groupName;
this.serviceMeshId = request.serviceMeshId;
this.swimLaneName = request.swimLaneName;
}
/**
* The name of the lane group.
*/
public Builder groupName(String groupName) {
this.putBodyParameter("GroupName", groupName);
this.groupName = groupName;
return this;
}
/**
* The ID of the Service Mesh (ASM) instance.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
/**
* The name of the lane.
*/
public Builder swimLaneName(String swimLaneName) {
this.putBodyParameter("SwimLaneName", swimLaneName);
this.swimLaneName = swimLaneName;
return this;
}
@Override
public DeleteSwimLaneRequest build() {
return new DeleteSwimLaneRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteSwimLaneResponse} extends {@link TeaModel}
*
* <p>DeleteSwimLaneResponse</p>
*/
public class DeleteSwimLaneResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private DeleteSwimLaneResponseBody body;
private DeleteSwimLaneResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteSwimLaneResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DeleteSwimLaneResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteSwimLaneResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteSwimLaneResponseBody body);
@Override
DeleteSwimLaneResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteSwimLaneResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DeleteSwimLaneResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteSwimLaneResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DeleteSwimLaneResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteSwimLaneResponse build() {
return new DeleteSwimLaneResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DeleteSwimLaneResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteSwimLaneResponseBody} extends {@link TeaModel}
*
* <p>DeleteSwimLaneResponseBody</p>
*/
public class DeleteSwimLaneResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private DeleteSwimLaneResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteSwimLaneResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteSwimLaneResponseBody build() {
return new DeleteSwimLaneResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DeleteWaypointRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteWaypointRequest} extends {@link RequestModel}
*
* <p>DeleteWaypointRequest</p>
*/
public class DeleteWaypointRequest extends Request {
@Body
@NameInMap("ClusterId")
@Validation(required = true)
private String clusterId;
@Body
@NameInMap("Name")
@Validation(required = true)
private String name;
@Body
@NameInMap("Namespace")
@Validation(required = true)
private String namespace;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private DeleteWaypointRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.name = builder.name;
this.namespace = builder.namespace;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteWaypointRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<DeleteWaypointRequest, Builder> {
private String clusterId;
private String name;
private String namespace;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(DeleteWaypointRequest request) {
super(request);
this.clusterId = request.clusterId;
this.name = request.name;
this.namespace = request.namespace;
this.serviceMeshId = request.serviceMeshId;
}
/**
* The ID of the cluster on the data plane.
*/
public Builder clusterId(String clusterId) {
this.putBodyParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* Waypoint名称。
*/
public Builder name(String name) {
this.putBodyParameter("Name", name);
this.name = name;
return this;
}
/**
* The namespace.
*/
public Builder namespace(String namespace) {
this.putBodyParameter("Namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* The Service Mesh (ASM) instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public DeleteWaypointRequest build() {
return new DeleteWaypointRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DeleteWaypointResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteWaypointResponse} extends {@link TeaModel}
*
* <p>DeleteWaypointResponse</p>
*/
public class DeleteWaypointResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private DeleteWaypointResponseBody body;
private DeleteWaypointResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteWaypointResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DeleteWaypointResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteWaypointResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteWaypointResponseBody body);
@Override
DeleteWaypointResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteWaypointResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DeleteWaypointResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteWaypointResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DeleteWaypointResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteWaypointResponse build() {
return new DeleteWaypointResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DeleteWaypointResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DeleteWaypointResponseBody} extends {@link TeaModel}
*
* <p>DeleteWaypointResponseBody</p>
*/
public class DeleteWaypointResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private DeleteWaypointResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteWaypointResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteWaypointResponseBody build() {
return new DeleteWaypointResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeASMGatewayImportedServicesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeASMGatewayImportedServicesRequest} extends {@link RequestModel}
*
* <p>DescribeASMGatewayImportedServicesRequest</p>
*/
public class DescribeASMGatewayImportedServicesRequest extends Request {
@Body
@NameInMap("ASMGatewayName")
private String ASMGatewayName;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
@Body
@NameInMap("ServiceNamespace")
private String serviceNamespace;
private DescribeASMGatewayImportedServicesRequest(Builder builder) {
super(builder);
this.ASMGatewayName = builder.ASMGatewayName;
this.serviceMeshId = builder.serviceMeshId;
this.serviceNamespace = builder.serviceNamespace;
}
public static Builder builder() {
return new Builder();
}
public static DescribeASMGatewayImportedServicesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return ASMGatewayName
*/
public String getASMGatewayName() {
return this.ASMGatewayName;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
/**
* @return serviceNamespace
*/
public String getServiceNamespace() {
return this.serviceNamespace;
}
public static final class Builder extends Request.Builder<DescribeASMGatewayImportedServicesRequest, Builder> {
private String ASMGatewayName;
private String serviceMeshId;
private String serviceNamespace;
private Builder() {
super();
}
private Builder(DescribeASMGatewayImportedServicesRequest request) {
super(request);
this.ASMGatewayName = request.ASMGatewayName;
this.serviceMeshId = request.serviceMeshId;
this.serviceNamespace = request.serviceNamespace;
}
/**
* The name of the ASM gateway.
*/
public Builder ASMGatewayName(String ASMGatewayName) {
this.putBodyParameter("ASMGatewayName", ASMGatewayName);
this.ASMGatewayName = ASMGatewayName;
return this;
}
/**
* The ASM instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
/**
* The namespace in which the services reside.
*/
public Builder serviceNamespace(String serviceNamespace) {
this.putBodyParameter("ServiceNamespace", serviceNamespace);
this.serviceNamespace = serviceNamespace;
return this;
}
@Override
public DescribeASMGatewayImportedServicesRequest build() {
return new DescribeASMGatewayImportedServicesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeASMGatewayImportedServicesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeASMGatewayImportedServicesResponse} extends {@link TeaModel}
*
* <p>DescribeASMGatewayImportedServicesResponse</p>
*/
public class DescribeASMGatewayImportedServicesResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private DescribeASMGatewayImportedServicesResponseBody body;
private DescribeASMGatewayImportedServicesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeASMGatewayImportedServicesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DescribeASMGatewayImportedServicesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeASMGatewayImportedServicesResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeASMGatewayImportedServicesResponseBody body);
@Override
DescribeASMGatewayImportedServicesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeASMGatewayImportedServicesResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeASMGatewayImportedServicesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeASMGatewayImportedServicesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DescribeASMGatewayImportedServicesResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeASMGatewayImportedServicesResponse build() {
return new DescribeASMGatewayImportedServicesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeASMGatewayImportedServicesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeASMGatewayImportedServicesResponseBody} extends {@link TeaModel}
*
* <p>DescribeASMGatewayImportedServicesResponseBody</p>
*/
public class DescribeASMGatewayImportedServicesResponseBody extends TeaModel {
@NameInMap("ImportedServices")
private java.util.List < ImportedServices> importedServices;
@NameInMap("RequestId")
private String requestId;
private DescribeASMGatewayImportedServicesResponseBody(Builder builder) {
this.importedServices = builder.importedServices;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeASMGatewayImportedServicesResponseBody create() {
return builder().build();
}
/**
* @return importedServices
*/
public java.util.List < ImportedServices> getImportedServices() {
return this.importedServices;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List < ImportedServices> importedServices;
private String requestId;
/**
* The list of the imported services.
*/
public Builder importedServices(java.util.List < ImportedServices> importedServices) {
this.importedServices = importedServices;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeASMGatewayImportedServicesResponseBody build() {
return new DescribeASMGatewayImportedServicesResponseBody(this);
}
}
public static class ImportedServices extends TeaModel {
@NameInMap("ServiceName")
private String serviceName;
@NameInMap("ServiceNamespace")
private String serviceNamespace;
private ImportedServices(Builder builder) {
this.serviceName = builder.serviceName;
this.serviceNamespace = builder.serviceNamespace;
}
public static Builder builder() {
return new Builder();
}
public static ImportedServices create() {
return builder().build();
}
/**
* @return serviceName
*/
public String getServiceName() {
return this.serviceName;
}
/**
* @return serviceNamespace
*/
public String getServiceNamespace() {
return this.serviceNamespace;
}
public static final class Builder {
private String serviceName;
private String serviceNamespace;
/**
* The name of a service.
*/
public Builder serviceName(String serviceName) {
this.serviceName = serviceName;
return this;
}
/**
* The namespace in which the service resides.
*/
public Builder serviceNamespace(String serviceNamespace) {
this.serviceNamespace = serviceNamespace;
return this;
}
public ImportedServices build() {
return new ImportedServices(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCCMVersionRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeCCMVersionRequest} extends {@link RequestModel}
*
* <p>DescribeCCMVersionRequest</p>
*/
public class DescribeCCMVersionRequest extends Request {
@Query
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private DescribeCCMVersionRequest(Builder builder) {
super(builder);
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCCMVersionRequest 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<DescribeCCMVersionRequest, Builder> {
private String serviceMeshId;
private Builder() {
super();
}
private Builder(DescribeCCMVersionRequest request) {
super(request);
this.serviceMeshId = request.serviceMeshId;
}
/**
* The versions of the CCM component in all clusters on the data plane.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putQueryParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public DescribeCCMVersionRequest build() {
return new DescribeCCMVersionRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCCMVersionResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeCCMVersionResponse} extends {@link TeaModel}
*
* <p>DescribeCCMVersionResponse</p>
*/
public class DescribeCCMVersionResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private DescribeCCMVersionResponseBody body;
private DescribeCCMVersionResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCCMVersionResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DescribeCCMVersionResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCCMVersionResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCCMVersionResponseBody body);
@Override
DescribeCCMVersionResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCCMVersionResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeCCMVersionResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCCMVersionResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DescribeCCMVersionResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCCMVersionResponse build() {
return new DescribeCCMVersionResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCCMVersionResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeCCMVersionResponseBody} extends {@link TeaModel}
*
* <p>DescribeCCMVersionResponseBody</p>
*/
public class DescribeCCMVersionResponseBody extends TeaModel {
@NameInMap("CCMVersions")
private java.util.Map < String, CCMVersionsValue > CCMVersions;
@NameInMap("RequestId")
private String requestId;
private DescribeCCMVersionResponseBody(Builder builder) {
this.CCMVersions = builder.CCMVersions;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCCMVersionResponseBody create() {
return builder().build();
}
/**
* @return CCMVersions
*/
public java.util.Map < String, CCMVersionsValue > getCCMVersions() {
return this.CCMVersions;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.Map < String, CCMVersionsValue > CCMVersions;
private String requestId;
/**
* The ID of the request.
*/
public Builder CCMVersions(java.util.Map < String, CCMVersionsValue > CCMVersions) {
this.CCMVersions = CCMVersions;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeCCMVersionResponseBody build() {
return new DescribeCCMVersionResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCensRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeCensRequest} extends {@link RequestModel}
*
* <p>DescribeCensRequest</p>
*/
public class DescribeCensRequest extends Request {
@Query
@NameInMap("ServiceMeshId")
private String serviceMeshId;
private DescribeCensRequest(Builder builder) {
super(builder);
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCensRequest 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<DescribeCensRequest, Builder> {
private String serviceMeshId;
private Builder() {
super();
}
private Builder(DescribeCensRequest request) {
super(request);
this.serviceMeshId = request.serviceMeshId;
}
/**
* The ASM instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putQueryParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public DescribeCensRequest build() {
return new DescribeCensRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCensResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeCensResponse} extends {@link TeaModel}
*
* <p>DescribeCensResponse</p>
*/
public class DescribeCensResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private DescribeCensResponseBody body;
private DescribeCensResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCensResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DescribeCensResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCensResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCensResponseBody body);
@Override
DescribeCensResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCensResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeCensResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCensResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DescribeCensResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCensResponse build() {
return new DescribeCensResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCensResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeCensResponseBody} extends {@link TeaModel}
*
* <p>DescribeCensResponseBody</p>
*/
public class DescribeCensResponseBody extends TeaModel {
@NameInMap("Clusters")
private java.util.List < String > clusters;
@NameInMap("RequestId")
private String requestId;
private DescribeCensResponseBody(Builder builder) {
this.clusters = builder.clusters;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCensResponseBody create() {
return builder().build();
}
/**
* @return clusters
*/
public java.util.List < String > getClusters() {
return this.clusters;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List < String > clusters;
private String 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.
*/
public Builder clusters(java.util.List < String > clusters) {
this.clusters = clusters;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeCensResponseBody build() {
return new DescribeCensResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterGrafanaRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeClusterGrafanaRequest} extends {@link RequestModel}
*
* <p>DescribeClusterGrafanaRequest</p>
*/
public class DescribeClusterGrafanaRequest extends Request {
@Query
@NameInMap("K8sClusterId")
@Validation(required = true)
private String k8sClusterId;
@Query
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private DescribeClusterGrafanaRequest(Builder builder) {
super(builder);
this.k8sClusterId = builder.k8sClusterId;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClusterGrafanaRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return k8sClusterId
*/
public String getK8sClusterId() {
return this.k8sClusterId;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<DescribeClusterGrafanaRequest, Builder> {
private String k8sClusterId;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(DescribeClusterGrafanaRequest request) {
super(request);
this.k8sClusterId = request.k8sClusterId;
this.serviceMeshId = request.serviceMeshId;
}
/**
* The ID of the cluster on the data plane.
*/
public Builder k8sClusterId(String k8sClusterId) {
this.putQueryParameter("K8sClusterId", k8sClusterId);
this.k8sClusterId = k8sClusterId;
return this;
}
/**
* The ASM instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putQueryParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public DescribeClusterGrafanaRequest build() {
return new DescribeClusterGrafanaRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterGrafanaResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeClusterGrafanaResponse} extends {@link TeaModel}
*
* <p>DescribeClusterGrafanaResponse</p>
*/
public class DescribeClusterGrafanaResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private DescribeClusterGrafanaResponseBody body;
private DescribeClusterGrafanaResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeClusterGrafanaResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DescribeClusterGrafanaResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeClusterGrafanaResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeClusterGrafanaResponseBody body);
@Override
DescribeClusterGrafanaResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeClusterGrafanaResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeClusterGrafanaResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeClusterGrafanaResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DescribeClusterGrafanaResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeClusterGrafanaResponse build() {
return new DescribeClusterGrafanaResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterGrafanaResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeClusterGrafanaResponseBody} extends {@link TeaModel}
*
* <p>DescribeClusterGrafanaResponseBody</p>
*/
public class DescribeClusterGrafanaResponseBody extends TeaModel {
@NameInMap("Dashboards")
private java.util.List < Dashboards> dashboards;
@NameInMap("RequestId")
private String requestId;
private DescribeClusterGrafanaResponseBody(Builder builder) {
this.dashboards = builder.dashboards;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClusterGrafanaResponseBody create() {
return builder().build();
}
/**
* @return dashboards
*/
public java.util.List < Dashboards> getDashboards() {
return this.dashboards;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List < Dashboards> dashboards;
private String requestId;
/**
* The information of Grafana dashboards.
*/
public Builder dashboards(java.util.List < Dashboards> dashboards) {
this.dashboards = dashboards;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeClusterGrafanaResponseBody build() {
return new DescribeClusterGrafanaResponseBody(this);
}
}
public static class Dashboards extends TeaModel {
@NameInMap("Title")
private String title;
@NameInMap("Url")
private String url;
private Dashboards(Builder builder) {
this.title = builder.title;
this.url = builder.url;
}
public static Builder builder() {
return new Builder();
}
public static Dashboards create() {
return builder().build();
}
/**
* @return title
*/
public String getTitle() {
return this.title;
}
/**
* @return url
*/
public String getUrl() {
return this.url;
}
public static final class Builder {
private String title;
private String url;
/**
* The title of the Grafana dashboard.
*/
public Builder title(String title) {
this.title = title;
return this;
}
/**
* The endpoint of a Grafana dashboard.
*/
public Builder url(String url) {
this.url = url;
return this;
}
public Dashboards build() {
return new Dashboards(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterPrometheusRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeClusterPrometheusRequest} extends {@link RequestModel}
*
* <p>DescribeClusterPrometheusRequest</p>
*/
public class DescribeClusterPrometheusRequest extends Request {
@Query
@NameInMap("K8sClusterId")
private String k8sClusterId;
@Query
@NameInMap("K8sClusterRegionId")
private String k8sClusterRegionId;
@Query
@NameInMap("ServiceMeshId")
private String serviceMeshId;
private DescribeClusterPrometheusRequest(Builder builder) {
super(builder);
this.k8sClusterId = builder.k8sClusterId;
this.k8sClusterRegionId = builder.k8sClusterRegionId;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClusterPrometheusRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return k8sClusterId
*/
public String getK8sClusterId() {
return this.k8sClusterId;
}
/**
* @return k8sClusterRegionId
*/
public String getK8sClusterRegionId() {
return this.k8sClusterRegionId;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<DescribeClusterPrometheusRequest, Builder> {
private String k8sClusterId;
private String k8sClusterRegionId;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(DescribeClusterPrometheusRequest request) {
super(request);
this.k8sClusterId = request.k8sClusterId;
this.k8sClusterRegionId = request.k8sClusterRegionId;
this.serviceMeshId = request.serviceMeshId;
}
/**
* The ID of the cluster on the data plane.
*/
public Builder k8sClusterId(String k8sClusterId) {
this.putQueryParameter("K8sClusterId", k8sClusterId);
this.k8sClusterId = k8sClusterId;
return this;
}
/**
* The ID of the region where the cluster on the data plane resides.
*/
public Builder k8sClusterRegionId(String k8sClusterRegionId) {
this.putQueryParameter("K8sClusterRegionId", k8sClusterRegionId);
this.k8sClusterRegionId = k8sClusterRegionId;
return this;
}
/**
* The ASM instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putQueryParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public DescribeClusterPrometheusRequest build() {
return new DescribeClusterPrometheusRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterPrometheusResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeClusterPrometheusResponse} extends {@link TeaModel}
*
* <p>DescribeClusterPrometheusResponse</p>
*/
public class DescribeClusterPrometheusResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private DescribeClusterPrometheusResponseBody body;
private DescribeClusterPrometheusResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeClusterPrometheusResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DescribeClusterPrometheusResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeClusterPrometheusResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeClusterPrometheusResponseBody body);
@Override
DescribeClusterPrometheusResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeClusterPrometheusResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeClusterPrometheusResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeClusterPrometheusResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DescribeClusterPrometheusResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeClusterPrometheusResponse build() {
return new DescribeClusterPrometheusResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClusterPrometheusResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeClusterPrometheusResponseBody} extends {@link TeaModel}
*
* <p>DescribeClusterPrometheusResponseBody</p>
*/
public class DescribeClusterPrometheusResponseBody extends TeaModel {
@NameInMap("Prometheus")
private String prometheus;
@NameInMap("RequestId")
private String requestId;
private DescribeClusterPrometheusResponseBody(Builder builder) {
this.prometheus = builder.prometheus;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClusterPrometheusResponseBody create() {
return builder().build();
}
/**
* @return prometheus
*/
public String getPrometheus() {
return this.prometheus;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String prometheus;
private String requestId;
/**
* The public endpoint of the Prometheus service that is used to monitor a cluster in the ASM instance.
*/
public Builder prometheus(String prometheus) {
this.prometheus = prometheus;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeClusterPrometheusResponseBody build() {
return new DescribeClusterPrometheusResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClustersInServiceMeshRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeClustersInServiceMeshRequest} extends {@link RequestModel}
*
* <p>DescribeClustersInServiceMeshRequest</p>
*/
public class DescribeClustersInServiceMeshRequest extends Request {
@Query
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private DescribeClustersInServiceMeshRequest(Builder builder) {
super(builder);
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClustersInServiceMeshRequest 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<DescribeClustersInServiceMeshRequest, Builder> {
private String serviceMeshId;
private Builder() {
super();
}
private Builder(DescribeClustersInServiceMeshRequest request) {
super(request);
this.serviceMeshId = request.serviceMeshId;
}
/**
* The ASM instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putQueryParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public DescribeClustersInServiceMeshRequest build() {
return new DescribeClustersInServiceMeshRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClustersInServiceMeshResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeClustersInServiceMeshResponse} extends {@link TeaModel}
*
* <p>DescribeClustersInServiceMeshResponse</p>
*/
public class DescribeClustersInServiceMeshResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private DescribeClustersInServiceMeshResponseBody body;
private DescribeClustersInServiceMeshResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeClustersInServiceMeshResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DescribeClustersInServiceMeshResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeClustersInServiceMeshResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeClustersInServiceMeshResponseBody body);
@Override
DescribeClustersInServiceMeshResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeClustersInServiceMeshResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeClustersInServiceMeshResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeClustersInServiceMeshResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DescribeClustersInServiceMeshResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeClustersInServiceMeshResponse build() {
return new DescribeClustersInServiceMeshResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeClustersInServiceMeshResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeClustersInServiceMeshResponseBody} extends {@link TeaModel}
*
* <p>DescribeClustersInServiceMeshResponseBody</p>
*/
public class DescribeClustersInServiceMeshResponseBody extends TeaModel {
@NameInMap("Clusters")
private java.util.List < Clusters> clusters;
@NameInMap("RequestId")
private String requestId;
private DescribeClustersInServiceMeshResponseBody(Builder builder) {
this.clusters = builder.clusters;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClustersInServiceMeshResponseBody create() {
return builder().build();
}
/**
* @return clusters
*/
public java.util.List < Clusters> getClusters() {
return this.clusters;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List < Clusters> clusters;
private String requestId;
/**
* The list of the clusters in the ASM instance.
*/
public Builder clusters(java.util.List < Clusters> clusters) {
this.clusters = clusters;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeClustersInServiceMeshResponseBody build() {
return new DescribeClustersInServiceMeshResponseBody(this);
}
}
public static class AccessLogDashboards extends TeaModel {
@NameInMap("Title")
private String title;
@NameInMap("Url")
private String url;
private AccessLogDashboards(Builder builder) {
this.title = builder.title;
this.url = builder.url;
}
public static Builder builder() {
return new Builder();
}
public static AccessLogDashboards create() {
return builder().build();
}
/**
* @return title
*/
public String getTitle() {
return this.title;
}
/**
* @return url
*/
public String getUrl() {
return this.url;
}
public static final class Builder {
private String title;
private String url;
/**
* The name of the dashboard for access logs.
*/
public Builder title(String title) {
this.title = title;
return this;
}
/**
* The URL of the dashboard for access logs.
*/
public Builder url(String url) {
this.url = url;
return this;
}
public AccessLogDashboards build() {
return new AccessLogDashboards(this);
}
}
}
public static class Clusters extends TeaModel {
@NameInMap("AccessLogDashboards")
private java.util.List < AccessLogDashboards> accessLogDashboards;
@NameInMap("ClusterDomain")
private String clusterDomain;
@NameInMap("ClusterId")
private String clusterId;
@NameInMap("ClusterType")
private String clusterType;
@NameInMap("CreationTime")
private String creationTime;
@NameInMap("ErrorMessage")
private String errorMessage;
@NameInMap("LogtailInstalledState")
private String logtailInstalledState;
@NameInMap("Name")
private String name;
@NameInMap("RegionId")
private String regionId;
@NameInMap("SgId")
private String sgId;
@NameInMap("State")
private String state;
@NameInMap("UpdateTime")
private String updateTime;
@NameInMap("Version")
private String version;
@NameInMap("VpcId")
private String vpcId;
private Clusters(Builder builder) {
this.accessLogDashboards = builder.accessLogDashboards;
this.clusterDomain = builder.clusterDomain;
this.clusterId = builder.clusterId;
this.clusterType = builder.clusterType;
this.creationTime = builder.creationTime;
this.errorMessage = builder.errorMessage;
this.logtailInstalledState = builder.logtailInstalledState;
this.name = builder.name;
this.regionId = builder.regionId;
this.sgId = builder.sgId;
this.state = builder.state;
this.updateTime = builder.updateTime;
this.version = builder.version;
this.vpcId = builder.vpcId;
}
public static Builder builder() {
return new Builder();
}
public static Clusters create() {
return builder().build();
}
/**
* @return accessLogDashboards
*/
public java.util.List < AccessLogDashboards> getAccessLogDashboards() {
return this.accessLogDashboards;
}
/**
* @return clusterDomain
*/
public String getClusterDomain() {
return this.clusterDomain;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return clusterType
*/
public String getClusterType() {
return this.clusterType;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return errorMessage
*/
public String getErrorMessage() {
return this.errorMessage;
}
/**
* @return logtailInstalledState
*/
public String getLogtailInstalledState() {
return this.logtailInstalledState;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return sgId
*/
public String getSgId() {
return this.sgId;
}
/**
* @return state
*/
public String getState() {
return this.state;
}
/**
* @return updateTime
*/
public String getUpdateTime() {
return this.updateTime;
}
/**
* @return version
*/
public String getVersion() {
return this.version;
}
/**
* @return vpcId
*/
public String getVpcId() {
return this.vpcId;
}
public static final class Builder {
private java.util.List < AccessLogDashboards> accessLogDashboards;
private String clusterDomain;
private String clusterId;
private String clusterType;
private String creationTime;
private String errorMessage;
private String logtailInstalledState;
private String name;
private String regionId;
private String sgId;
private String state;
private String updateTime;
private String version;
private String vpcId;
/**
* The configurations of access log collection.
*/
public Builder accessLogDashboards(java.util.List < AccessLogDashboards> accessLogDashboards) {
this.accessLogDashboards = accessLogDashboards;
return this;
}
/**
* The domain name of the cluster.
*/
public Builder clusterDomain(String clusterDomain) {
this.clusterDomain = clusterDomain;
return this;
}
/**
* The ID of the cluster.
*/
public Builder clusterId(String clusterId) {
this.clusterId = clusterId;
return this;
}
/**
* The type of the cluster.
*/
public Builder clusterType(String clusterType) {
this.clusterType = clusterType;
return this;
}
/**
* The time when the cluster was created.
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* The error message.
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* Indicates whether the Logtail component is installed in the cluster. Valid values:
* <p>
*
* * `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.
*/
public Builder logtailInstalledState(String logtailInstalledState) {
this.logtailInstalledState = logtailInstalledState;
return this;
}
/**
* The name of the cluster.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* The ID of the region in which the cluster resides.
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* The ID of the security group.
*/
public Builder sgId(String sgId) {
this.sgId = sgId;
return this;
}
/**
* The status of the cluster.
*/
public Builder state(String state) {
this.state = state;
return this;
}
/**
* The time when the cluster was last modified.
*/
public Builder updateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}
/**
* The version number of the cluster.
*/
public Builder version(String version) {
this.version = version;
return this;
}
/**
* The ID of the virtual private cloud (VPC).
*/
public Builder vpcId(String vpcId) {
this.vpcId = vpcId;
return this;
}
public Clusters build() {
return new Clusters(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCrTemplatesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeCrTemplatesRequest} extends {@link RequestModel}
*
* <p>DescribeCrTemplatesRequest</p>
*/
public class DescribeCrTemplatesRequest extends Request {
@Body
@NameInMap("IstioVersion")
@Validation(required = true)
private String istioVersion;
@Body
@NameInMap("Kind")
@Validation(required = true)
private String kind;
private DescribeCrTemplatesRequest(Builder builder) {
super(builder);
this.istioVersion = builder.istioVersion;
this.kind = builder.kind;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCrTemplatesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return istioVersion
*/
public String getIstioVersion() {
return this.istioVersion;
}
/**
* @return kind
*/
public String getKind() {
return this.kind;
}
public static final class Builder extends Request.Builder<DescribeCrTemplatesRequest, Builder> {
private String istioVersion;
private String kind;
private Builder() {
super();
}
private Builder(DescribeCrTemplatesRequest request) {
super(request);
this.istioVersion = request.istioVersion;
this.kind = request.kind;
}
/**
* The Istio version used in ASM.
*/
public Builder istioVersion(String istioVersion) {
this.putBodyParameter("IstioVersion", istioVersion);
this.istioVersion = istioVersion;
return this;
}
/**
* The type of Istio resource whose common YAML templates you want to query. Valid values:
* <p>
*
* * AuthorizationPolicy
* * RequestAuthentication
* * PeerAuthentication
* * WorkloadGroup
* * WorkloadEntry
* * Sidecar
* * EnvoyFilter
* * ServiceEntry
* * Gateway
* * DestinationRule
* * VirtualService
*/
public Builder kind(String kind) {
this.putBodyParameter("Kind", kind);
this.kind = kind;
return this;
}
@Override
public DescribeCrTemplatesRequest build() {
return new DescribeCrTemplatesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCrTemplatesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeCrTemplatesResponse} extends {@link TeaModel}
*
* <p>DescribeCrTemplatesResponse</p>
*/
public class DescribeCrTemplatesResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private DescribeCrTemplatesResponseBody body;
private DescribeCrTemplatesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCrTemplatesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DescribeCrTemplatesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCrTemplatesResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCrTemplatesResponseBody body);
@Override
DescribeCrTemplatesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCrTemplatesResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeCrTemplatesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCrTemplatesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DescribeCrTemplatesResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCrTemplatesResponse build() {
return new DescribeCrTemplatesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeCrTemplatesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeCrTemplatesResponseBody} extends {@link TeaModel}
*
* <p>DescribeCrTemplatesResponseBody</p>
*/
public class DescribeCrTemplatesResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
@NameInMap("Templates")
private java.util.List < Templates> templates;
private DescribeCrTemplatesResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.templates = builder.templates;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCrTemplatesResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return templates
*/
public java.util.List < Templates> getTemplates() {
return this.templates;
}
public static final class Builder {
private String requestId;
private java.util.List < Templates> templates;
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The common YAML templates for the specified type of Istio resource.
*/
public Builder templates(java.util.List < Templates> templates) {
this.templates = templates;
return this;
}
public DescribeCrTemplatesResponseBody build() {
return new DescribeCrTemplatesResponseBody(this);
}
}
public static class Templates extends TeaModel {
@NameInMap("ChineseName")
private String chineseName;
@NameInMap("EnglishName")
private String englishName;
@NameInMap("Yaml")
private String yaml;
private Templates(Builder builder) {
this.chineseName = builder.chineseName;
this.englishName = builder.englishName;
this.yaml = builder.yaml;
}
public static Builder builder() {
return new Builder();
}
public static Templates create() {
return builder().build();
}
/**
* @return chineseName
*/
public String getChineseName() {
return this.chineseName;
}
/**
* @return englishName
*/
public String getEnglishName() {
return this.englishName;
}
/**
* @return yaml
*/
public String getYaml() {
return this.yaml;
}
public static final class Builder {
private String chineseName;
private String englishName;
private String yaml;
/**
* The Chinese name of the YAML template.
*/
public Builder chineseName(String chineseName) {
this.chineseName = chineseName;
return this;
}
/**
* The English name of the YAML template.
*/
public Builder englishName(String englishName) {
this.englishName = englishName;
return this;
}
/**
* The content in the YAML template.
*/
public Builder yaml(String yaml) {
this.yaml = yaml;
return this;
}
public Templates build() {
return new Templates(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeEipResourcesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeEipResourcesRequest} extends {@link RequestModel}
*
* <p>DescribeEipResourcesRequest</p>
*/
public class DescribeEipResourcesRequest extends Request {
@Body
@NameInMap("PageNum")
private Integer pageNum;
@Body
@NameInMap("PageSize")
private Integer pageSize;
@Body
@NameInMap("ServiceMeshId")
private String serviceMeshId;
private DescribeEipResourcesRequest(Builder builder) {
super(builder);
this.pageNum = builder.pageNum;
this.pageSize = builder.pageSize;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeEipResourcesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return pageNum
*/
public Integer getPageNum() {
return this.pageNum;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<DescribeEipResourcesRequest, Builder> {
private Integer pageNum;
private Integer pageSize;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(DescribeEipResourcesRequest request) {
super(request);
this.pageNum = request.pageNum;
this.pageSize = request.pageSize;
this.serviceMeshId = request.serviceMeshId;
}
/**
* The number of the page to return. Default value: 1.
*/
public Builder pageNum(Integer pageNum) {
this.putBodyParameter("PageNum", pageNum);
this.pageNum = pageNum;
return this;
}
/**
* The number of entries to return on each page.
*/
public Builder pageSize(Integer pageSize) {
this.putBodyParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* The ID of the ASM instance.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public DescribeEipResourcesRequest build() {
return new DescribeEipResourcesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111 | java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeEipResourcesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.servicemesh20200111.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeEipResourcesResponse} extends {@link TeaModel}
*
* <p>DescribeEipResourcesResponse</p>
*/
public class DescribeEipResourcesResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private DescribeEipResourcesResponseBody body;
private DescribeEipResourcesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeEipResourcesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DescribeEipResourcesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeEipResourcesResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeEipResourcesResponseBody body);
@Override
DescribeEipResourcesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeEipResourcesResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeEipResourcesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeEipResourcesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DescribeEipResourcesResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeEipResourcesResponse build() {
return new DescribeEipResourcesResponse(this);
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.