index int64 | repo_id string | file_path string | content string |
|---|---|---|---|
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/GetSwimLaneDetailRequest.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 GetSwimLaneDetailRequest} extends {@link RequestModel}
*
* <p>GetSwimLaneDetailRequest</p>
*/
public class GetSwimLaneDetailRequest extends Request {
@Body
@NameInMap("GroupName")
private String groupName;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
@Body
@NameInMap("SwimLaneName")
private String swimLaneName;
private GetSwimLaneDetailRequest(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 GetSwimLaneDetailRequest 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<GetSwimLaneDetailRequest, Builder> {
private String groupName;
private String serviceMeshId;
private String swimLaneName;
private Builder() {
super();
}
private Builder(GetSwimLaneDetailRequest 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 GetSwimLaneDetailRequest build() {
return new GetSwimLaneDetailRequest(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/GetSwimLaneDetailResponse.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 GetSwimLaneDetailResponse} extends {@link TeaModel}
*
* <p>GetSwimLaneDetailResponse</p>
*/
public class GetSwimLaneDetailResponse 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 GetSwimLaneDetailResponseBody body;
private GetSwimLaneDetailResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetSwimLaneDetailResponse 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 GetSwimLaneDetailResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetSwimLaneDetailResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(GetSwimLaneDetailResponseBody body);
@Override
GetSwimLaneDetailResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetSwimLaneDetailResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private GetSwimLaneDetailResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetSwimLaneDetailResponse 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(GetSwimLaneDetailResponseBody body) {
this.body = body;
return this;
}
@Override
public GetSwimLaneDetailResponse build() {
return new GetSwimLaneDetailResponse(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/GetSwimLaneDetailResponseBody.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 GetSwimLaneDetailResponseBody} extends {@link TeaModel}
*
* <p>GetSwimLaneDetailResponseBody</p>
*/
public class GetSwimLaneDetailResponseBody extends TeaModel {
@NameInMap("IngressRule")
private String ingressRule;
@NameInMap("IngressService")
private String ingressService;
@NameInMap("LabelSelectorKey")
private String labelSelectorKey;
@NameInMap("LabelSelectorValue")
private String labelSelectorValue;
@NameInMap("RequestId")
private String requestId;
@NameInMap("ServicesList")
private String servicesList;
private GetSwimLaneDetailResponseBody(Builder builder) {
this.ingressRule = builder.ingressRule;
this.ingressService = builder.ingressService;
this.labelSelectorKey = builder.labelSelectorKey;
this.labelSelectorValue = builder.labelSelectorValue;
this.requestId = builder.requestId;
this.servicesList = builder.servicesList;
}
public static Builder builder() {
return new Builder();
}
public static GetSwimLaneDetailResponseBody create() {
return builder().build();
}
/**
* @return ingressRule
*/
public String getIngressRule() {
return this.ingressRule;
}
/**
* @return ingressService
*/
public String getIngressService() {
return this.ingressService;
}
/**
* @return labelSelectorKey
*/
public String getLabelSelectorKey() {
return this.labelSelectorKey;
}
/**
* @return labelSelectorValue
*/
public String getLabelSelectorValue() {
return this.labelSelectorValue;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return servicesList
*/
public String getServicesList() {
return this.servicesList;
}
public static final class Builder {
private String ingressRule;
private String ingressService;
private String labelSelectorKey;
private String labelSelectorValue;
private String requestId;
private String servicesList;
/**
* The traffic routing rule that routes traffic to the lane by using the ingress gateway. The traffic routing rule contains one or more custom routes.
*/
public Builder ingressRule(String ingressRule) {
this.ingressRule = ingressRule;
return this;
}
/**
* This parameter is deprecated.
*/
public Builder ingressService(String ingressService) {
this.ingressService = ingressService;
return this;
}
/**
* The label key of the associated service workload. The value is fixed as **ASM_TRAFFIC_TAG**.
*/
public Builder labelSelectorKey(String labelSelectorKey) {
this.labelSelectorKey = labelSelectorKey;
return this;
}
/**
* The value of ASM_TRAFFIC_TAG.
*/
public Builder labelSelectorValue(String labelSelectorValue) {
this.labelSelectorValue = labelSelectorValue;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A list of services associated with the lane.
*/
public Builder servicesList(String servicesList) {
this.servicesList = servicesList;
return this;
}
public GetSwimLaneDetailResponseBody build() {
return new GetSwimLaneDetailResponseBody(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/GetSwimLaneGroupListRequest.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 GetSwimLaneGroupListRequest} extends {@link RequestModel}
*
* <p>GetSwimLaneGroupListRequest</p>
*/
public class GetSwimLaneGroupListRequest extends Request {
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private GetSwimLaneGroupListRequest(Builder builder) {
super(builder);
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static GetSwimLaneGroupListRequest 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<GetSwimLaneGroupListRequest, Builder> {
private String serviceMeshId;
private Builder() {
super();
}
private Builder(GetSwimLaneGroupListRequest request) {
super(request);
this.serviceMeshId = request.serviceMeshId;
}
/**
* The ASM instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public GetSwimLaneGroupListRequest build() {
return new GetSwimLaneGroupListRequest(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/GetSwimLaneGroupListResponse.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 GetSwimLaneGroupListResponse} extends {@link TeaModel}
*
* <p>GetSwimLaneGroupListResponse</p>
*/
public class GetSwimLaneGroupListResponse 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 GetSwimLaneGroupListResponseBody body;
private GetSwimLaneGroupListResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetSwimLaneGroupListResponse 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 GetSwimLaneGroupListResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetSwimLaneGroupListResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(GetSwimLaneGroupListResponseBody body);
@Override
GetSwimLaneGroupListResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetSwimLaneGroupListResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private GetSwimLaneGroupListResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetSwimLaneGroupListResponse 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(GetSwimLaneGroupListResponseBody body) {
this.body = body;
return this;
}
@Override
public GetSwimLaneGroupListResponse build() {
return new GetSwimLaneGroupListResponse(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/GetSwimLaneGroupListResponseBody.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 GetSwimLaneGroupListResponseBody} extends {@link TeaModel}
*
* <p>GetSwimLaneGroupListResponseBody</p>
*/
public class GetSwimLaneGroupListResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
@NameInMap("SwimLaneGroupList")
private java.util.List < SwimLaneGroupList> swimLaneGroupList;
private GetSwimLaneGroupListResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.swimLaneGroupList = builder.swimLaneGroupList;
}
public static Builder builder() {
return new Builder();
}
public static GetSwimLaneGroupListResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return swimLaneGroupList
*/
public java.util.List < SwimLaneGroupList> getSwimLaneGroupList() {
return this.swimLaneGroupList;
}
public static final class Builder {
private String requestId;
private java.util.List < SwimLaneGroupList> swimLaneGroupList;
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The information about the lane groups.
*/
public Builder swimLaneGroupList(java.util.List < SwimLaneGroupList> swimLaneGroupList) {
this.swimLaneGroupList = swimLaneGroupList;
return this;
}
public GetSwimLaneGroupListResponseBody build() {
return new GetSwimLaneGroupListResponseBody(this);
}
}
public static class SwimLaneGroupList extends TeaModel {
@NameInMap("FallbackTarget")
private String fallbackTarget;
@NameInMap("GroupName")
private String groupName;
@NameInMap("IngressGatewayName")
private String ingressGatewayName;
@NameInMap("IngressType")
private String ingressType;
@NameInMap("IsPermissive")
private Boolean isPermissive;
@NameInMap("RouteHeader")
private String routeHeader;
@NameInMap("ServiceList")
private String serviceList;
@NameInMap("SwimLaneLabels")
private String swimLaneLabels;
@NameInMap("TraceHeader")
private String traceHeader;
private SwimLaneGroupList(Builder builder) {
this.fallbackTarget = builder.fallbackTarget;
this.groupName = builder.groupName;
this.ingressGatewayName = builder.ingressGatewayName;
this.ingressType = builder.ingressType;
this.isPermissive = builder.isPermissive;
this.routeHeader = builder.routeHeader;
this.serviceList = builder.serviceList;
this.swimLaneLabels = builder.swimLaneLabels;
this.traceHeader = builder.traceHeader;
}
public static Builder builder() {
return new Builder();
}
public static SwimLaneGroupList create() {
return builder().build();
}
/**
* @return fallbackTarget
*/
public String getFallbackTarget() {
return this.fallbackTarget;
}
/**
* @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 serviceList
*/
public String getServiceList() {
return this.serviceList;
}
/**
* @return swimLaneLabels
*/
public String getSwimLaneLabels() {
return this.swimLaneLabels;
}
/**
* @return traceHeader
*/
public String getTraceHeader() {
return this.traceHeader;
}
public static final class Builder {
private String fallbackTarget;
private String groupName;
private String ingressGatewayName;
private String ingressType;
private Boolean isPermissive;
private String routeHeader;
private String serviceList;
private String swimLaneLabels;
private String traceHeader;
/**
* FallbackTarget.
*/
public Builder fallbackTarget(String fallbackTarget) {
this.fallbackTarget = fallbackTarget;
return this;
}
/**
* The name of a lane group.
*/
public Builder groupName(String groupName) {
this.groupName = groupName;
return this;
}
/**
* The name of the ingress gateway.
*/
public Builder ingressGatewayName(String ingressGatewayName) {
this.ingressGatewayName = ingressGatewayName;
return this;
}
/**
* The ingress type. Traffic routing rules can be configured only in an ingress gateway.
*/
public Builder ingressType(String ingressType) {
this.ingressType = ingressType;
return this;
}
/**
* IsPermissive.
*/
public Builder isPermissive(Boolean isPermissive) {
this.isPermissive = isPermissive;
return this;
}
/**
* RouteHeader.
*/
public Builder routeHeader(String routeHeader) {
this.routeHeader = routeHeader;
return this;
}
/**
* A list of services associated with the lane group.
*/
public Builder serviceList(String serviceList) {
this.serviceList = serviceList;
return this;
}
/**
* SwimLaneLabels.
*/
public Builder swimLaneLabels(String swimLaneLabels) {
this.swimLaneLabels = swimLaneLabels;
return this;
}
/**
* TraceHeader.
*/
public Builder traceHeader(String traceHeader) {
this.traceHeader = traceHeader;
return this;
}
public SwimLaneGroupList build() {
return new SwimLaneGroupList(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/GetSwimLaneListRequest.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 GetSwimLaneListRequest} extends {@link RequestModel}
*
* <p>GetSwimLaneListRequest</p>
*/
public class GetSwimLaneListRequest extends Request {
@Body
@NameInMap("GroupName")
private String groupName;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private GetSwimLaneListRequest(Builder builder) {
super(builder);
this.groupName = builder.groupName;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static GetSwimLaneListRequest 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<GetSwimLaneListRequest, Builder> {
private String groupName;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(GetSwimLaneListRequest 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 GetSwimLaneListRequest build() {
return new GetSwimLaneListRequest(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/GetSwimLaneListResponse.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 GetSwimLaneListResponse} extends {@link TeaModel}
*
* <p>GetSwimLaneListResponse</p>
*/
public class GetSwimLaneListResponse 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 GetSwimLaneListResponseBody body;
private GetSwimLaneListResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetSwimLaneListResponse 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 GetSwimLaneListResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetSwimLaneListResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(GetSwimLaneListResponseBody body);
@Override
GetSwimLaneListResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetSwimLaneListResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private GetSwimLaneListResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetSwimLaneListResponse 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(GetSwimLaneListResponseBody body) {
this.body = body;
return this;
}
@Override
public GetSwimLaneListResponse build() {
return new GetSwimLaneListResponse(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/GetSwimLaneListResponseBody.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 GetSwimLaneListResponseBody} extends {@link TeaModel}
*
* <p>GetSwimLaneListResponseBody</p>
*/
public class GetSwimLaneListResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
@NameInMap("SwimLaneList")
private java.util.List < SwimLaneList> swimLaneList;
private GetSwimLaneListResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.swimLaneList = builder.swimLaneList;
}
public static Builder builder() {
return new Builder();
}
public static GetSwimLaneListResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return swimLaneList
*/
public java.util.List < SwimLaneList> getSwimLaneList() {
return this.swimLaneList;
}
public static final class Builder {
private String requestId;
private java.util.List < SwimLaneList> swimLaneList;
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* A list of all the lanes in the lane group.
*/
public Builder swimLaneList(java.util.List < SwimLaneList> swimLaneList) {
this.swimLaneList = swimLaneList;
return this;
}
public GetSwimLaneListResponseBody build() {
return new GetSwimLaneListResponseBody(this);
}
}
public static class SwimLaneList extends TeaModel {
@NameInMap("GroupName")
private String groupName;
@NameInMap("IngressRule")
private String ingressRule;
@NameInMap("IngressService")
private String ingressService;
@NameInMap("LabelSelectorKey")
private String labelSelectorKey;
@NameInMap("LabelSelectorValue")
private String labelSelectorValue;
@NameInMap("Name")
private String name;
@NameInMap("ServiceList")
private String serviceList;
private SwimLaneList(Builder builder) {
this.groupName = builder.groupName;
this.ingressRule = builder.ingressRule;
this.ingressService = builder.ingressService;
this.labelSelectorKey = builder.labelSelectorKey;
this.labelSelectorValue = builder.labelSelectorValue;
this.name = builder.name;
this.serviceList = builder.serviceList;
}
public static Builder builder() {
return new Builder();
}
public static SwimLaneList create() {
return builder().build();
}
/**
* @return groupName
*/
public String getGroupName() {
return this.groupName;
}
/**
* @return ingressRule
*/
public String getIngressRule() {
return this.ingressRule;
}
/**
* @return ingressService
*/
public String getIngressService() {
return this.ingressService;
}
/**
* @return labelSelectorKey
*/
public String getLabelSelectorKey() {
return this.labelSelectorKey;
}
/**
* @return labelSelectorValue
*/
public String getLabelSelectorValue() {
return this.labelSelectorValue;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return serviceList
*/
public String getServiceList() {
return this.serviceList;
}
public static final class Builder {
private String groupName;
private String ingressRule;
private String ingressService;
private String labelSelectorKey;
private String labelSelectorValue;
private String name;
private String serviceList;
/**
* The name of the lane group.
*/
public Builder groupName(String groupName) {
this.groupName = groupName;
return this;
}
/**
* The traffic routing rule associated with the lane.
*/
public Builder ingressRule(String ingressRule) {
this.ingressRule = ingressRule;
return this;
}
/**
* This parameter is deprecated.
*/
public Builder ingressService(String ingressService) {
this.ingressService = ingressService;
return this;
}
/**
* The label key of the associated service workload. The value is fixed as `ASM_TRAFFIC_TAG`.
*/
public Builder labelSelectorKey(String labelSelectorKey) {
this.labelSelectorKey = labelSelectorKey;
return this;
}
/**
* The label value of the associated service workload.``
*/
public Builder labelSelectorValue(String labelSelectorValue) {
this.labelSelectorValue = labelSelectorValue;
return this;
}
/**
* The name of a lane.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* A list of services associated with the lane.
*/
public Builder serviceList(String serviceList) {
this.serviceList = serviceList;
return this;
}
public SwimLaneList build() {
return new SwimLaneList(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/GetVmAppMeshInfoRequest.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 GetVmAppMeshInfoRequest} extends {@link RequestModel}
*
* <p>GetVmAppMeshInfoRequest</p>
*/
public class GetVmAppMeshInfoRequest extends Request {
@Query
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private GetVmAppMeshInfoRequest(Builder builder) {
super(builder);
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static GetVmAppMeshInfoRequest 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<GetVmAppMeshInfoRequest, Builder> {
private String serviceMeshId;
private Builder() {
super();
}
private Builder(GetVmAppMeshInfoRequest 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 GetVmAppMeshInfoRequest build() {
return new GetVmAppMeshInfoRequest(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/GetVmAppMeshInfoResponse.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 GetVmAppMeshInfoResponse} extends {@link TeaModel}
*
* <p>GetVmAppMeshInfoResponse</p>
*/
public class GetVmAppMeshInfoResponse 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 GetVmAppMeshInfoResponseBody body;
private GetVmAppMeshInfoResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetVmAppMeshInfoResponse 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 GetVmAppMeshInfoResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetVmAppMeshInfoResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(GetVmAppMeshInfoResponseBody body);
@Override
GetVmAppMeshInfoResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetVmAppMeshInfoResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private GetVmAppMeshInfoResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetVmAppMeshInfoResponse 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(GetVmAppMeshInfoResponseBody body) {
this.body = body;
return this;
}
@Override
public GetVmAppMeshInfoResponse build() {
return new GetVmAppMeshInfoResponse(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/GetVmAppMeshInfoResponseBody.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 GetVmAppMeshInfoResponseBody} extends {@link TeaModel}
*
* <p>GetVmAppMeshInfoResponseBody</p>
*/
public class GetVmAppMeshInfoResponseBody extends TeaModel {
@NameInMap("Data")
private String data;
@NameInMap("RequestId")
private String requestId;
private GetVmAppMeshInfoResponseBody(Builder builder) {
this.data = builder.data;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static GetVmAppMeshInfoResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public String getData() {
return this.data;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String data;
private String requestId;
/**
* The response parameters.
*/
public Builder data(String data) {
this.data = data;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public GetVmAppMeshInfoResponseBody build() {
return new GetVmAppMeshInfoResponseBody(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/GetVmMetaRequest.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 GetVmMetaRequest} extends {@link RequestModel}
*
* <p>GetVmMetaRequest</p>
*/
public class GetVmMetaRequest extends Request {
@Query
@NameInMap("Namespace")
private String namespace;
@Query
@NameInMap("ServiceAccount")
private String serviceAccount;
@Query
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
@Query
@NameInMap("TrustDomain")
private String trustDomain;
private GetVmMetaRequest(Builder builder) {
super(builder);
this.namespace = builder.namespace;
this.serviceAccount = builder.serviceAccount;
this.serviceMeshId = builder.serviceMeshId;
this.trustDomain = builder.trustDomain;
}
public static Builder builder() {
return new Builder();
}
public static GetVmMetaRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return serviceAccount
*/
public String getServiceAccount() {
return this.serviceAccount;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
/**
* @return trustDomain
*/
public String getTrustDomain() {
return this.trustDomain;
}
public static final class Builder extends Request.Builder<GetVmMetaRequest, Builder> {
private String namespace;
private String serviceAccount;
private String serviceMeshId;
private String trustDomain;
private Builder() {
super();
}
private Builder(GetVmMetaRequest request) {
super(request);
this.namespace = request.namespace;
this.serviceAccount = request.serviceAccount;
this.serviceMeshId = request.serviceMeshId;
this.trustDomain = request.trustDomain;
}
/**
* The name of the namespace. This parameter is valid only after you set the Namespace and the ServiceAccount parameters.
*/
public Builder namespace(String namespace) {
this.putQueryParameter("Namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* The service account. This parameter is valid only after you set the Namespace and the ServiceAccount parameters.
*/
public Builder serviceAccount(String serviceAccount) {
this.putQueryParameter("ServiceAccount", serviceAccount);
this.serviceAccount = serviceAccount;
return this;
}
/**
* The ASM instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putQueryParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
/**
* The trusted domain. Default value: cluster.local. This parameter is valid only after you set the Namespace and the ServiceAccount parameters.
*/
public Builder trustDomain(String trustDomain) {
this.putQueryParameter("TrustDomain", trustDomain);
this.trustDomain = trustDomain;
return this;
}
@Override
public GetVmMetaRequest build() {
return new GetVmMetaRequest(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/GetVmMetaResponse.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 GetVmMetaResponse} extends {@link TeaModel}
*
* <p>GetVmMetaResponse</p>
*/
public class GetVmMetaResponse 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 GetVmMetaResponseBody body;
private GetVmMetaResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetVmMetaResponse 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 GetVmMetaResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetVmMetaResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(GetVmMetaResponseBody body);
@Override
GetVmMetaResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetVmMetaResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private GetVmMetaResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetVmMetaResponse 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(GetVmMetaResponseBody body) {
this.body = body;
return this;
}
@Override
public GetVmMetaResponse build() {
return new GetVmMetaResponse(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/GetVmMetaResponseBody.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 GetVmMetaResponseBody} extends {@link TeaModel}
*
* <p>GetVmMetaResponseBody</p>
*/
public class GetVmMetaResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
@NameInMap("VmMetaInfo")
private VmMetaInfo vmMetaInfo;
private GetVmMetaResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.vmMetaInfo = builder.vmMetaInfo;
}
public static Builder builder() {
return new Builder();
}
public static GetVmMetaResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return vmMetaInfo
*/
public VmMetaInfo getVmMetaInfo() {
return this.vmMetaInfo;
}
public static final class Builder {
private String requestId;
private VmMetaInfo vmMetaInfo;
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The metadata that is required to add a non-containerized application to the ASM instance.
*/
public Builder vmMetaInfo(VmMetaInfo vmMetaInfo) {
this.vmMetaInfo = vmMetaInfo;
return this;
}
public GetVmMetaResponseBody build() {
return new GetVmMetaResponseBody(this);
}
}
public static class VmMetaInfo extends TeaModel {
@NameInMap("EnvoyEnvContent")
private String envoyEnvContent;
@NameInMap("HostsContent")
private String hostsContent;
@NameInMap("TokenContent")
private String tokenContent;
private VmMetaInfo(Builder builder) {
this.envoyEnvContent = builder.envoyEnvContent;
this.hostsContent = builder.hostsContent;
this.tokenContent = builder.tokenContent;
}
public static Builder builder() {
return new Builder();
}
public static VmMetaInfo create() {
return builder().build();
}
/**
* @return envoyEnvContent
*/
public String getEnvoyEnvContent() {
return this.envoyEnvContent;
}
/**
* @return hostsContent
*/
public String getHostsContent() {
return this.hostsContent;
}
/**
* @return tokenContent
*/
public String getTokenContent() {
return this.tokenContent;
}
public static final class Builder {
private String envoyEnvContent;
private String hostsContent;
private String tokenContent;
/**
* The content of the EnvoyEnv file.
*/
public Builder envoyEnvContent(String envoyEnvContent) {
this.envoyEnvContent = envoyEnvContent;
return this;
}
/**
* The content of the hosts file.
*/
public Builder hostsContent(String hostsContent) {
this.hostsContent = hostsContent;
return this;
}
/**
* The content of the Token file.
*/
public Builder tokenContent(String tokenContent) {
this.tokenContent = tokenContent;
return this;
}
public VmMetaInfo build() {
return new VmMetaInfo(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/GrantUserPermissionsRequest.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 GrantUserPermissionsRequest} extends {@link RequestModel}
*
* <p>GrantUserPermissionsRequest</p>
*/
public class GrantUserPermissionsRequest extends Request {
@Body
@NameInMap("Permissions")
private String permissions;
@Body
@NameInMap("SubAccountUserId")
private String subAccountUserId;
@Body
@NameInMap("SubAccountUserIds")
private java.util.List < String > subAccountUserIds;
private GrantUserPermissionsRequest(Builder builder) {
super(builder);
this.permissions = builder.permissions;
this.subAccountUserId = builder.subAccountUserId;
this.subAccountUserIds = builder.subAccountUserIds;
}
public static Builder builder() {
return new Builder();
}
public static GrantUserPermissionsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return permissions
*/
public String getPermissions() {
return this.permissions;
}
/**
* @return subAccountUserId
*/
public String getSubAccountUserId() {
return this.subAccountUserId;
}
/**
* @return subAccountUserIds
*/
public java.util.List < String > getSubAccountUserIds() {
return this.subAccountUserIds;
}
public static final class Builder extends Request.Builder<GrantUserPermissionsRequest, Builder> {
private String permissions;
private String subAccountUserId;
private java.util.List < String > subAccountUserIds;
private Builder() {
super();
}
private Builder(GrantUserPermissionsRequest request) {
super(request);
this.permissions = request.permissions;
this.subAccountUserId = request.subAccountUserId;
this.subAccountUserIds = request.subAccountUserIds;
}
/**
* The permissions that are granted to an entity. The content is a string that consists of JSON arrays. You must specify all permissions that you want to grant to an entity. You can add or remove permissions by modifying the content. Field definition of the sample code:
* <p>
*
* * `IsCustom`: a parameter that is required by the system. Set the value to `true`.
* * `Cluster`: the ID of the Service Mesh (ASM) instance.
* * `RoleName`: the name of the permissions. Valid values: `istio-admin`, `istio-ops`, and `istio-readonly`. A value of istio-admin indicates the permissions of ASM administrators. A value of istio-ops indicates the permissions of ASM restricted users. A value of istio-readonly indicates the read-only permissions.
* * `IsRamRole`: the entity to which you want to grant the permissions. To grant the permissions to a RAM role, set the value to `true`. Otherwise, set the value to `false`.
*/
public Builder permissions(String permissions) {
this.putBodyParameter("Permissions", permissions);
this.permissions = permissions;
return this;
}
/**
* The ID of the RAM user or RAM role.
*/
public Builder subAccountUserId(String subAccountUserId) {
this.putBodyParameter("SubAccountUserId", subAccountUserId);
this.subAccountUserId = subAccountUserId;
return this;
}
/**
* The IDs of RAM users or RAM roles. You can grant permissions to multiple users at a time.
*/
public Builder subAccountUserIds(java.util.List < String > subAccountUserIds) {
String subAccountUserIdsShrink = shrink(subAccountUserIds, "SubAccountUserIds", "json");
this.putBodyParameter("SubAccountUserIds", subAccountUserIdsShrink);
this.subAccountUserIds = subAccountUserIds;
return this;
}
@Override
public GrantUserPermissionsRequest build() {
return new GrantUserPermissionsRequest(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/GrantUserPermissionsResponse.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 GrantUserPermissionsResponse} extends {@link TeaModel}
*
* <p>GrantUserPermissionsResponse</p>
*/
public class GrantUserPermissionsResponse 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 GrantUserPermissionsResponseBody body;
private GrantUserPermissionsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GrantUserPermissionsResponse 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 GrantUserPermissionsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GrantUserPermissionsResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(GrantUserPermissionsResponseBody body);
@Override
GrantUserPermissionsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GrantUserPermissionsResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private GrantUserPermissionsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GrantUserPermissionsResponse 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(GrantUserPermissionsResponseBody body) {
this.body = body;
return this;
}
@Override
public GrantUserPermissionsResponse build() {
return new GrantUserPermissionsResponse(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/GrantUserPermissionsResponseBody.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 GrantUserPermissionsResponseBody} extends {@link TeaModel}
*
* <p>GrantUserPermissionsResponseBody</p>
*/
public class GrantUserPermissionsResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private GrantUserPermissionsResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static GrantUserPermissionsResponseBody 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 GrantUserPermissionsResponseBody build() {
return new GrantUserPermissionsResponseBody(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/ListServiceAccountsRequest.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 ListServiceAccountsRequest} extends {@link RequestModel}
*
* <p>ListServiceAccountsRequest</p>
*/
public class ListServiceAccountsRequest extends Request {
@Body
@NameInMap("ClusterId")
@Validation(required = true, minLength = 1)
private String clusterId;
@Body
@NameInMap("Namespace")
private String namespace;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true, minLength = 1)
private String serviceMeshId;
private ListServiceAccountsRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.namespace = builder.namespace;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static ListServiceAccountsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<ListServiceAccountsRequest, Builder> {
private String clusterId;
private String namespace;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(ListServiceAccountsRequest request) {
super(request);
this.clusterId = request.clusterId;
this.namespace = request.namespace;
this.serviceMeshId = request.serviceMeshId;
}
/**
* ClusterId.
*/
public Builder clusterId(String clusterId) {
this.putBodyParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* Namespace.
*/
public Builder namespace(String namespace) {
this.putBodyParameter("Namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* ServiceMeshId.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public ListServiceAccountsRequest build() {
return new ListServiceAccountsRequest(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/ListServiceAccountsResponse.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 ListServiceAccountsResponse} extends {@link TeaModel}
*
* <p>ListServiceAccountsResponse</p>
*/
public class ListServiceAccountsResponse 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 ListServiceAccountsResponseBody body;
private ListServiceAccountsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListServiceAccountsResponse 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 ListServiceAccountsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListServiceAccountsResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(ListServiceAccountsResponseBody body);
@Override
ListServiceAccountsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListServiceAccountsResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private ListServiceAccountsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListServiceAccountsResponse 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(ListServiceAccountsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListServiceAccountsResponse build() {
return new ListServiceAccountsResponse(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/ListServiceAccountsResponseBody.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 ListServiceAccountsResponseBody} extends {@link TeaModel}
*
* <p>ListServiceAccountsResponseBody</p>
*/
public class ListServiceAccountsResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
@NameInMap("ServiceAccounts")
private java.util.List < ServiceAccounts> serviceAccounts;
private ListServiceAccountsResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.serviceAccounts = builder.serviceAccounts;
}
public static Builder builder() {
return new Builder();
}
public static ListServiceAccountsResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return serviceAccounts
*/
public java.util.List < ServiceAccounts> getServiceAccounts() {
return this.serviceAccounts;
}
public static final class Builder {
private String requestId;
private java.util.List < ServiceAccounts> serviceAccounts;
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* ServiceAccounts.
*/
public Builder serviceAccounts(java.util.List < ServiceAccounts> serviceAccounts) {
this.serviceAccounts = serviceAccounts;
return this;
}
public ListServiceAccountsResponseBody build() {
return new ListServiceAccountsResponseBody(this);
}
}
public static class ServiceAccounts extends TeaModel {
@NameInMap("Name")
private String name;
@NameInMap("Namespace")
private String namespace;
private ServiceAccounts(Builder builder) {
this.name = builder.name;
this.namespace = builder.namespace;
}
public static Builder builder() {
return new Builder();
}
public static ServiceAccounts 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;
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* Namespace.
*/
public Builder namespace(String namespace) {
this.namespace = namespace;
return this;
}
public ServiceAccounts build() {
return new ServiceAccounts(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/ListTagResourcesRequest.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 ListTagResourcesRequest} extends {@link RequestModel}
*
* <p>ListTagResourcesRequest</p>
*/
public class ListTagResourcesRequest extends Request {
@Query
@NameInMap("NextToken")
private String nextToken;
@Query
@NameInMap("RegionId")
@Validation(required = true)
private String regionId;
@Query
@NameInMap("ResourceId")
private java.util.List < String > resourceId;
@Query
@NameInMap("ResourceType")
@Validation(required = true)
private String resourceType;
@Query
@NameInMap("Tag")
private java.util.List < Tag> tag;
private ListTagResourcesRequest(Builder builder) {
super(builder);
this.nextToken = builder.nextToken;
this.regionId = builder.regionId;
this.resourceId = builder.resourceId;
this.resourceType = builder.resourceType;
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static ListTagResourcesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceId
*/
public java.util.List < String > getResourceId() {
return this.resourceId;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return tag
*/
public java.util.List < Tag> getTag() {
return this.tag;
}
public static final class Builder extends Request.Builder<ListTagResourcesRequest, Builder> {
private String nextToken;
private String regionId;
private java.util.List < String > resourceId;
private String resourceType;
private java.util.List < Tag> tag;
private Builder() {
super();
}
private Builder(ListTagResourcesRequest request) {
super(request);
this.nextToken = request.nextToken;
this.regionId = request.regionId;
this.resourceId = request.resourceId;
this.resourceType = request.resourceType;
this.tag = request.tag;
}
/**
* A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
/**
* The region ID of the ASM instance.
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* The IDs of the ASM instances.
*/
public Builder resourceId(java.util.List < String > resourceId) {
this.putQueryParameter("ResourceId", resourceId);
this.resourceId = resourceId;
return this;
}
/**
* The resource type. Set the value to `servicemesh`.
*/
public Builder resourceType(String resourceType) {
this.putQueryParameter("ResourceType", resourceType);
this.resourceType = resourceType;
return this;
}
/**
* The tags. A maximum of 20 tags are supported.
*/
public Builder tag(java.util.List < Tag> tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
@Override
public ListTagResourcesRequest build() {
return new ListTagResourcesRequest(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 tag key.
* <p>
*
* A tag key can be up to 128 characters in length. The tag key cannot contain `http://` or `https://` and cannot start with `aliyun` or `acs:`.
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* The tag value of the resource.
* <p>
*
* The tag value can be left empty or a string of up to 128 characters. The tag value cannot start with aliyun or acs:, and cannot contain http:// or https://.
*
* Each tag key must have a unique tag value. You can specify at most 20 tag values in each call.
*/
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/ListTagResourcesResponse.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 ListTagResourcesResponse} extends {@link TeaModel}
*
* <p>ListTagResourcesResponse</p>
*/
public class ListTagResourcesResponse 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 ListTagResourcesResponseBody body;
private ListTagResourcesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListTagResourcesResponse 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 ListTagResourcesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListTagResourcesResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(ListTagResourcesResponseBody body);
@Override
ListTagResourcesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListTagResourcesResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private ListTagResourcesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListTagResourcesResponse 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(ListTagResourcesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListTagResourcesResponse build() {
return new ListTagResourcesResponse(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/ListTagResourcesResponseBody.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 ListTagResourcesResponseBody} extends {@link TeaModel}
*
* <p>ListTagResourcesResponseBody</p>
*/
public class ListTagResourcesResponseBody extends TeaModel {
@NameInMap("NextToken")
private String nextToken;
@NameInMap("RequestId")
private String requestId;
@NameInMap("TagResources")
private java.util.List < TagResources> tagResources;
private ListTagResourcesResponseBody(Builder builder) {
this.nextToken = builder.nextToken;
this.requestId = builder.requestId;
this.tagResources = builder.tagResources;
}
public static Builder builder() {
return new Builder();
}
public static ListTagResourcesResponseBody create() {
return builder().build();
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return tagResources
*/
public java.util.List < TagResources> getTagResources() {
return this.tagResources;
}
public static final class Builder {
private String nextToken;
private String requestId;
private java.util.List < TagResources> tagResources;
/**
* A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The details of the queried clusters and tags.
*/
public Builder tagResources(java.util.List < TagResources> tagResources) {
this.tagResources = tagResources;
return this;
}
public ListTagResourcesResponseBody build() {
return new ListTagResourcesResponseBody(this);
}
}
public static class TagResources extends TeaModel {
@NameInMap("ResourceId")
private String resourceId;
@NameInMap("ResourceType")
private String resourceType;
@NameInMap("TagKey")
private String tagKey;
@NameInMap("TagValue")
private String tagValue;
private TagResources(Builder builder) {
this.resourceId = builder.resourceId;
this.resourceType = builder.resourceType;
this.tagKey = builder.tagKey;
this.tagValue = builder.tagValue;
}
public static Builder builder() {
return new Builder();
}
public static TagResources create() {
return builder().build();
}
/**
* @return resourceId
*/
public String getResourceId() {
return this.resourceId;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return tagKey
*/
public String getTagKey() {
return this.tagKey;
}
/**
* @return tagValue
*/
public String getTagValue() {
return this.tagValue;
}
public static final class Builder {
private String resourceId;
private String resourceType;
private String tagKey;
private String tagValue;
/**
* The ID of the ASM instance.
*/
public Builder resourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}
/**
* The resource type. Set the value to `servicemesh`.
*/
public Builder resourceType(String resourceType) {
this.resourceType = resourceType;
return this;
}
/**
* The tag key.
*/
public Builder tagKey(String tagKey) {
this.tagKey = tagKey;
return this;
}
/**
* The tag value.
*/
public Builder tagValue(String tagValue) {
this.tagValue = tagValue;
return this;
}
public TagResources build() {
return new TagResources(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/ListWaypointsRequest.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 ListWaypointsRequest} extends {@link RequestModel}
*
* <p>ListWaypointsRequest</p>
*/
public class ListWaypointsRequest extends Request {
@Body
@NameInMap("ClusterId")
@Validation(required = true, minLength = 1)
private String clusterId;
@Body
@NameInMap("Continue")
private String _continue;
@Body
@NameInMap("Limit")
private Long limit;
@Body
@NameInMap("Name")
private String name;
@Body
@NameInMap("Namespace")
private String namespace;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true, minLength = 1)
private String serviceMeshId;
private ListWaypointsRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this._continue = builder._continue;
this.limit = builder.limit;
this.name = builder.name;
this.namespace = builder.namespace;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static ListWaypointsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return _continue
*/
public String get_continue() {
return this._continue;
}
/**
* @return limit
*/
public Long getLimit() {
return this.limit;
}
/**
* @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<ListWaypointsRequest, Builder> {
private String clusterId;
private String _continue;
private Long limit;
private String name;
private String namespace;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(ListWaypointsRequest request) {
super(request);
this.clusterId = request.clusterId;
this._continue = request._continue;
this.limit = request.limit;
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;
}
/**
* Continue.
*/
public Builder _continue(String _continue) {
this.putBodyParameter("Continue", _continue);
this._continue = _continue;
return this;
}
/**
* Limit.
*/
public Builder limit(Long limit) {
this.putBodyParameter("Limit", limit);
this.limit = limit;
return this;
}
/**
* Name.
*/
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 ListWaypointsRequest build() {
return new ListWaypointsRequest(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/ListWaypointsResponse.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 ListWaypointsResponse} extends {@link TeaModel}
*
* <p>ListWaypointsResponse</p>
*/
public class ListWaypointsResponse 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 ListWaypointsResponseBody body;
private ListWaypointsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListWaypointsResponse 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 ListWaypointsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListWaypointsResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(ListWaypointsResponseBody body);
@Override
ListWaypointsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListWaypointsResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private ListWaypointsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListWaypointsResponse 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(ListWaypointsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListWaypointsResponse build() {
return new ListWaypointsResponse(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/ListWaypointsResponseBody.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 ListWaypointsResponseBody} extends {@link TeaModel}
*
* <p>ListWaypointsResponseBody</p>
*/
public class ListWaypointsResponseBody extends TeaModel {
@NameInMap("Continue")
private String _continue;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Waypoints")
private java.util.List < Waypoints> waypoints;
private ListWaypointsResponseBody(Builder builder) {
this._continue = builder._continue;
this.requestId = builder.requestId;
this.waypoints = builder.waypoints;
}
public static Builder builder() {
return new Builder();
}
public static ListWaypointsResponseBody create() {
return builder().build();
}
/**
* @return _continue
*/
public String get_continue() {
return this._continue;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return waypoints
*/
public java.util.List < Waypoints> getWaypoints() {
return this.waypoints;
}
public static final class Builder {
private String _continue;
private String requestId;
private java.util.List < Waypoints> waypoints;
/**
* Continue.
*/
public Builder _continue(String _continue) {
this._continue = _continue;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The list of waypoint proxy configurations.
*/
public Builder waypoints(java.util.List < Waypoints> waypoints) {
this.waypoints = waypoints;
return this;
}
public ListWaypointsResponseBody build() {
return new ListWaypointsResponseBody(this);
}
}
public static class Waypoints extends TeaModel {
@NameInMap("HPAEnabled")
private String HPAEnabled;
@NameInMap("HPAMaxReplicas")
private String HPAMaxReplicas;
@NameInMap("HPAMinReplicas")
private String HPAMinReplicas;
@NameInMap("HPATargetCPU")
private String HPATargetCPU;
@NameInMap("HPATargetMemory")
private String HPATargetMemory;
@NameInMap("LimitCPU")
private String limitCPU;
@NameInMap("LimitMemory")
private String limitMemory;
@NameInMap("Name")
private String name;
@NameInMap("Namespace")
private String namespace;
@NameInMap("PreferECI")
private String preferECI;
@NameInMap("Replicas")
private String replicas;
@NameInMap("RequestCPU")
private String requestCPU;
@NameInMap("RequestMemory")
private String requestMemory;
@NameInMap("ServiceAccount")
private String serviceAccount;
private Waypoints(Builder builder) {
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.name = builder.name;
this.namespace = builder.namespace;
this.preferECI = builder.preferECI;
this.replicas = builder.replicas;
this.requestCPU = builder.requestCPU;
this.requestMemory = builder.requestMemory;
this.serviceAccount = builder.serviceAccount;
}
public static Builder builder() {
return new Builder();
}
public static Waypoints create() {
return builder().build();
}
/**
* @return HPAEnabled
*/
public String getHPAEnabled() {
return this.HPAEnabled;
}
/**
* @return HPAMaxReplicas
*/
public String getHPAMaxReplicas() {
return this.HPAMaxReplicas;
}
/**
* @return HPAMinReplicas
*/
public String getHPAMinReplicas() {
return this.HPAMinReplicas;
}
/**
* @return HPATargetCPU
*/
public String getHPATargetCPU() {
return this.HPATargetCPU;
}
/**
* @return HPATargetMemory
*/
public String getHPATargetMemory() {
return this.HPATargetMemory;
}
/**
* @return limitCPU
*/
public String getLimitCPU() {
return this.limitCPU;
}
/**
* @return limitMemory
*/
public String getLimitMemory() {
return this.limitMemory;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return preferECI
*/
public String getPreferECI() {
return this.preferECI;
}
/**
* @return replicas
*/
public String 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;
}
public static final class Builder {
private String HPAEnabled;
private String HPAMaxReplicas;
private String HPAMinReplicas;
private String HPATargetCPU;
private String HPATargetMemory;
private String limitCPU;
private String limitMemory;
private String name;
private String namespace;
private String preferECI;
private String replicas;
private String requestCPU;
private String requestMemory;
private String serviceAccount;
/**
* Indicates whether Horizontal Pod Autoscaling (HPA) is enabled.
*/
public Builder HPAEnabled(String HPAEnabled) {
this.HPAEnabled = HPAEnabled;
return this;
}
/**
* The maximum number of waypoint proxy pods when HPA is enabled.
*/
public Builder HPAMaxReplicas(String HPAMaxReplicas) {
this.HPAMaxReplicas = HPAMaxReplicas;
return this;
}
/**
* The minimum number of waypoint proxy pods when HPA is enabled.
*/
public Builder HPAMinReplicas(String HPAMinReplicas) {
this.HPAMinReplicas = HPAMinReplicas;
return this;
}
/**
* The expected CPU utilization when HPA is enabled.
*/
public Builder HPATargetCPU(String HPATargetCPU) {
this.HPATargetCPU = HPATargetCPU;
return this;
}
/**
* The expected memory usage when HPA is enabled.
*/
public Builder HPATargetMemory(String 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.limitCPU = limitCPU;
return this;
}
/**
* The maximum size of the memory that is available to the waypoint proxy pods.
*/
public Builder limitMemory(String limitMemory) {
this.limitMemory = limitMemory;
return this;
}
/**
* The name of the gateway resource corresponding to the waypoint proxy. If the waypoint proxy takes effect on a service account, the name is the service account name. If the waypoint proxy takes effect for the entire namespace, the name is "namespace".
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* The namespace.
*/
public Builder namespace(String namespace) {
this.namespace = namespace;
return this;
}
/**
* Indicates whether waypoint proxy pods are deployed based on Elastic Container Instance (ECI).
*/
public Builder preferECI(String preferECI) {
this.preferECI = preferECI;
return this;
}
/**
* The number of waypoint proxy pods.
*/
public Builder replicas(String replicas) {
this.replicas = replicas;
return this;
}
/**
* The number of CPU cores requested by the waypoint proxy pods.
*/
public Builder requestCPU(String requestCPU) {
this.requestCPU = requestCPU;
return this;
}
/**
* The size of the memory requested by the waypoint proxy pods.
*/
public Builder requestMemory(String requestMemory) {
this.requestMemory = requestMemory;
return this;
}
/**
* The service account on which the waypoint proxy takes effect. If this parameter is not specified, the waypoint proxy takes effect for the entire namespace.
*/
public Builder serviceAccount(String serviceAccount) {
this.serviceAccount = serviceAccount;
return this;
}
public Waypoints build() {
return new Waypoints(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/ModifyApiServerEipResourceRequest.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 ModifyApiServerEipResourceRequest} extends {@link RequestModel}
*
* <p>ModifyApiServerEipResourceRequest</p>
*/
public class ModifyApiServerEipResourceRequest extends Request {
@Body
@NameInMap("ApiServerEipId")
private String apiServerEipId;
@Body
@NameInMap("Operation")
private String operation;
@Body
@NameInMap("ServiceMeshId")
private String serviceMeshId;
private ModifyApiServerEipResourceRequest(Builder builder) {
super(builder);
this.apiServerEipId = builder.apiServerEipId;
this.operation = builder.operation;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static ModifyApiServerEipResourceRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return apiServerEipId
*/
public String getApiServerEipId() {
return this.apiServerEipId;
}
/**
* @return operation
*/
public String getOperation() {
return this.operation;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<ModifyApiServerEipResourceRequest, Builder> {
private String apiServerEipId;
private String operation;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(ModifyApiServerEipResourceRequest request) {
super(request);
this.apiServerEipId = request.apiServerEipId;
this.operation = request.operation;
this.serviceMeshId = request.serviceMeshId;
}
/**
* The ID of the EIP.
*/
public Builder apiServerEipId(String apiServerEipId) {
this.putBodyParameter("ApiServerEipId", apiServerEipId);
this.apiServerEipId = apiServerEipId;
return this;
}
/**
* The type of the operation. Valid values:
* <p>
*
* * `UnBindEip`: disassociates an EIP from the API server.
* * `BindEip`: associates an EIP with the API server.
*/
public Builder operation(String operation) {
this.putBodyParameter("Operation", operation);
this.operation = operation;
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;
}
@Override
public ModifyApiServerEipResourceRequest build() {
return new ModifyApiServerEipResourceRequest(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/ModifyApiServerEipResourceResponse.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 ModifyApiServerEipResourceResponse} extends {@link TeaModel}
*
* <p>ModifyApiServerEipResourceResponse</p>
*/
public class ModifyApiServerEipResourceResponse 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 ModifyApiServerEipResourceResponseBody body;
private ModifyApiServerEipResourceResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ModifyApiServerEipResourceResponse 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 ModifyApiServerEipResourceResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ModifyApiServerEipResourceResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(ModifyApiServerEipResourceResponseBody body);
@Override
ModifyApiServerEipResourceResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ModifyApiServerEipResourceResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private ModifyApiServerEipResourceResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ModifyApiServerEipResourceResponse 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(ModifyApiServerEipResourceResponseBody body) {
this.body = body;
return this;
}
@Override
public ModifyApiServerEipResourceResponse build() {
return new ModifyApiServerEipResourceResponse(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/ModifyApiServerEipResourceResponseBody.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 ModifyApiServerEipResourceResponseBody} extends {@link TeaModel}
*
* <p>ModifyApiServerEipResourceResponseBody</p>
*/
public class ModifyApiServerEipResourceResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private ModifyApiServerEipResourceResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ModifyApiServerEipResourceResponseBody 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 ModifyApiServerEipResourceResponseBody build() {
return new ModifyApiServerEipResourceResponseBody(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/ModifyServiceMeshNameRequest.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 ModifyServiceMeshNameRequest} extends {@link RequestModel}
*
* <p>ModifyServiceMeshNameRequest</p>
*/
public class ModifyServiceMeshNameRequest extends Request {
@Body
@NameInMap("Name")
@Validation(required = true)
private String name;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private ModifyServiceMeshNameRequest(Builder builder) {
super(builder);
this.name = builder.name;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static ModifyServiceMeshNameRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<ModifyServiceMeshNameRequest, Builder> {
private String name;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(ModifyServiceMeshNameRequest request) {
super(request);
this.name = request.name;
this.serviceMeshId = request.serviceMeshId;
}
/**
* The new name of the ASM instance.
*/
public Builder name(String name) {
this.putBodyParameter("Name", name);
this.name = name;
return this;
}
/**
* The ASM instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public ModifyServiceMeshNameRequest build() {
return new ModifyServiceMeshNameRequest(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/ModifyServiceMeshNameResponse.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 ModifyServiceMeshNameResponse} extends {@link TeaModel}
*
* <p>ModifyServiceMeshNameResponse</p>
*/
public class ModifyServiceMeshNameResponse 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 ModifyServiceMeshNameResponseBody body;
private ModifyServiceMeshNameResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ModifyServiceMeshNameResponse 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 ModifyServiceMeshNameResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ModifyServiceMeshNameResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(ModifyServiceMeshNameResponseBody body);
@Override
ModifyServiceMeshNameResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ModifyServiceMeshNameResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private ModifyServiceMeshNameResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ModifyServiceMeshNameResponse 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(ModifyServiceMeshNameResponseBody body) {
this.body = body;
return this;
}
@Override
public ModifyServiceMeshNameResponse build() {
return new ModifyServiceMeshNameResponse(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/ModifyServiceMeshNameResponseBody.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 ModifyServiceMeshNameResponseBody} extends {@link TeaModel}
*
* <p>ModifyServiceMeshNameResponseBody</p>
*/
public class ModifyServiceMeshNameResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private ModifyServiceMeshNameResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ModifyServiceMeshNameResponseBody 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 ModifyServiceMeshNameResponseBody build() {
return new ModifyServiceMeshNameResponseBody(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/ReActivateAuditRequest.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 ReActivateAuditRequest} extends {@link RequestModel}
*
* <p>ReActivateAuditRequest</p>
*/
public class ReActivateAuditRequest extends Request {
@Body
@NameInMap("EnableAudit")
private Boolean enableAudit;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private ReActivateAuditRequest(Builder builder) {
super(builder);
this.enableAudit = builder.enableAudit;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static ReActivateAuditRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return enableAudit
*/
public Boolean getEnableAudit() {
return this.enableAudit;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<ReActivateAuditRequest, Builder> {
private Boolean enableAudit;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(ReActivateAuditRequest request) {
super(request);
this.enableAudit = request.enableAudit;
this.serviceMeshId = request.serviceMeshId;
}
/**
* Specifies whether to recreate a project that is used to store audit logs. Valid values:
* <p>
*
* * true: recreates a project.
* * false: does not recreate a project.
*/
public Builder enableAudit(Boolean enableAudit) {
this.putBodyParameter("EnableAudit", enableAudit);
this.enableAudit = enableAudit;
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 ReActivateAuditRequest build() {
return new ReActivateAuditRequest(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/ReActivateAuditResponse.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 ReActivateAuditResponse} extends {@link TeaModel}
*
* <p>ReActivateAuditResponse</p>
*/
public class ReActivateAuditResponse 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 ReActivateAuditResponseBody body;
private ReActivateAuditResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ReActivateAuditResponse 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 ReActivateAuditResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ReActivateAuditResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(ReActivateAuditResponseBody body);
@Override
ReActivateAuditResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ReActivateAuditResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private ReActivateAuditResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ReActivateAuditResponse 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(ReActivateAuditResponseBody body) {
this.body = body;
return this;
}
@Override
public ReActivateAuditResponse build() {
return new ReActivateAuditResponse(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/ReActivateAuditResponseBody.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 ReActivateAuditResponseBody} extends {@link TeaModel}
*
* <p>ReActivateAuditResponseBody</p>
*/
public class ReActivateAuditResponseBody extends TeaModel {
@NameInMap("Data")
private String data;
@NameInMap("RequestId")
private String requestId;
private ReActivateAuditResponseBody(Builder builder) {
this.data = builder.data;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ReActivateAuditResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public String getData() {
return this.data;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String data;
private String requestId;
/**
* The name of the project that is used to store audit logs.
*/
public Builder data(String data) {
this.data = data;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ReActivateAuditResponseBody build() {
return new ReActivateAuditResponseBody(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/RemoveClusterFromServiceMeshRequest.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 RemoveClusterFromServiceMeshRequest} extends {@link RequestModel}
*
* <p>RemoveClusterFromServiceMeshRequest</p>
*/
public class RemoveClusterFromServiceMeshRequest extends Request {
@Body
@NameInMap("ClusterId")
@Validation(required = true)
private String clusterId;
@Body
@NameInMap("ReserveNamespace")
private Boolean reserveNamespace;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private RemoveClusterFromServiceMeshRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.reserveNamespace = builder.reserveNamespace;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static RemoveClusterFromServiceMeshRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return reserveNamespace
*/
public Boolean getReserveNamespace() {
return this.reserveNamespace;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<RemoveClusterFromServiceMeshRequest, Builder> {
private String clusterId;
private Boolean reserveNamespace;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(RemoveClusterFromServiceMeshRequest request) {
super(request);
this.clusterId = request.clusterId;
this.reserveNamespace = request.reserveNamespace;
this.serviceMeshId = request.serviceMeshId;
}
/**
* ClusterId.
*/
public Builder clusterId(String clusterId) {
this.putBodyParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* ReserveNamespace.
*/
public Builder reserveNamespace(Boolean reserveNamespace) {
this.putBodyParameter("ReserveNamespace", reserveNamespace);
this.reserveNamespace = reserveNamespace;
return this;
}
/**
* ServiceMeshId.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public RemoveClusterFromServiceMeshRequest build() {
return new RemoveClusterFromServiceMeshRequest(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/RemoveClusterFromServiceMeshResponse.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 RemoveClusterFromServiceMeshResponse} extends {@link TeaModel}
*
* <p>RemoveClusterFromServiceMeshResponse</p>
*/
public class RemoveClusterFromServiceMeshResponse 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 RemoveClusterFromServiceMeshResponseBody body;
private RemoveClusterFromServiceMeshResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static RemoveClusterFromServiceMeshResponse 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 RemoveClusterFromServiceMeshResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<RemoveClusterFromServiceMeshResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(RemoveClusterFromServiceMeshResponseBody body);
@Override
RemoveClusterFromServiceMeshResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<RemoveClusterFromServiceMeshResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private RemoveClusterFromServiceMeshResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(RemoveClusterFromServiceMeshResponse 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(RemoveClusterFromServiceMeshResponseBody body) {
this.body = body;
return this;
}
@Override
public RemoveClusterFromServiceMeshResponse build() {
return new RemoveClusterFromServiceMeshResponse(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/RemoveClusterFromServiceMeshResponseBody.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 RemoveClusterFromServiceMeshResponseBody} extends {@link TeaModel}
*
* <p>RemoveClusterFromServiceMeshResponseBody</p>
*/
public class RemoveClusterFromServiceMeshResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
private RemoveClusterFromServiceMeshResponseBody(Builder builder) {
this.code = builder.code;
this.message = builder.message;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static RemoveClusterFromServiceMeshResponseBody 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 RemoveClusterFromServiceMeshResponseBody build() {
return new RemoveClusterFromServiceMeshResponseBody(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/RemoveVMFromServiceMeshRequest.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 RemoveVMFromServiceMeshRequest} extends {@link RequestModel}
*
* <p>RemoveVMFromServiceMeshRequest</p>
*/
public class RemoveVMFromServiceMeshRequest extends Request {
@Query
@NameInMap("EcsId")
@Validation(required = true)
private String ecsId;
@Query
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private RemoveVMFromServiceMeshRequest(Builder builder) {
super(builder);
this.ecsId = builder.ecsId;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static RemoveVMFromServiceMeshRequest 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<RemoveVMFromServiceMeshRequest, Builder> {
private String ecsId;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(RemoveVMFromServiceMeshRequest 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 RemoveVMFromServiceMeshRequest build() {
return new RemoveVMFromServiceMeshRequest(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/RemoveVMFromServiceMeshResponse.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 RemoveVMFromServiceMeshResponse} extends {@link TeaModel}
*
* <p>RemoveVMFromServiceMeshResponse</p>
*/
public class RemoveVMFromServiceMeshResponse 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 RemoveVMFromServiceMeshResponseBody body;
private RemoveVMFromServiceMeshResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static RemoveVMFromServiceMeshResponse 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 RemoveVMFromServiceMeshResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<RemoveVMFromServiceMeshResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(RemoveVMFromServiceMeshResponseBody body);
@Override
RemoveVMFromServiceMeshResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<RemoveVMFromServiceMeshResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private RemoveVMFromServiceMeshResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(RemoveVMFromServiceMeshResponse 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(RemoveVMFromServiceMeshResponseBody body) {
this.body = body;
return this;
}
@Override
public RemoveVMFromServiceMeshResponse build() {
return new RemoveVMFromServiceMeshResponse(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/RemoveVMFromServiceMeshResponseBody.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 RemoveVMFromServiceMeshResponseBody} extends {@link TeaModel}
*
* <p>RemoveVMFromServiceMeshResponseBody</p>
*/
public class RemoveVMFromServiceMeshResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private RemoveVMFromServiceMeshResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static RemoveVMFromServiceMeshResponseBody 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 RemoveVMFromServiceMeshResponseBody build() {
return new RemoveVMFromServiceMeshResponseBody(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/RevokeKubeconfigRequest.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 RevokeKubeconfigRequest} extends {@link RequestModel}
*
* <p>RevokeKubeconfigRequest</p>
*/
public class RevokeKubeconfigRequest extends Request {
@Body
@NameInMap("PrivateIpAddress")
private Boolean privateIpAddress;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private RevokeKubeconfigRequest(Builder builder) {
super(builder);
this.privateIpAddress = builder.privateIpAddress;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static RevokeKubeconfigRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return privateIpAddress
*/
public Boolean getPrivateIpAddress() {
return this.privateIpAddress;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<RevokeKubeconfigRequest, Builder> {
private Boolean privateIpAddress;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(RevokeKubeconfigRequest request) {
super(request);
this.privateIpAddress = request.privateIpAddress;
this.serviceMeshId = request.serviceMeshId;
}
/**
* Specifies whether to return the kubeconfig file for private access.
* <p>
*
* * `true`: returns the kubeconfig file for private access.
* * `false`: returns the kubeconfig file for public access.
*/
public Builder privateIpAddress(Boolean privateIpAddress) {
this.putBodyParameter("PrivateIpAddress", privateIpAddress);
this.privateIpAddress = privateIpAddress;
return this;
}
/**
* The ID of the ASM instance for which you want to revoke its kubeconfig file.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public RevokeKubeconfigRequest build() {
return new RevokeKubeconfigRequest(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/RevokeKubeconfigResponse.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 RevokeKubeconfigResponse} extends {@link TeaModel}
*
* <p>RevokeKubeconfigResponse</p>
*/
public class RevokeKubeconfigResponse 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 RevokeKubeconfigResponseBody body;
private RevokeKubeconfigResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static RevokeKubeconfigResponse 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 RevokeKubeconfigResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<RevokeKubeconfigResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(RevokeKubeconfigResponseBody body);
@Override
RevokeKubeconfigResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<RevokeKubeconfigResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private RevokeKubeconfigResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(RevokeKubeconfigResponse 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(RevokeKubeconfigResponseBody body) {
this.body = body;
return this;
}
@Override
public RevokeKubeconfigResponse build() {
return new RevokeKubeconfigResponse(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/RevokeKubeconfigResponseBody.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 RevokeKubeconfigResponseBody} extends {@link TeaModel}
*
* <p>RevokeKubeconfigResponseBody</p>
*/
public class RevokeKubeconfigResponseBody extends TeaModel {
@NameInMap("Kubeconfig")
private String kubeconfig;
@NameInMap("RequestId")
private String requestId;
private RevokeKubeconfigResponseBody(Builder builder) {
this.kubeconfig = builder.kubeconfig;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static RevokeKubeconfigResponseBody create() {
return builder().build();
}
/**
* @return kubeconfig
*/
public String getKubeconfig() {
return this.kubeconfig;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String kubeconfig;
private String requestId;
/**
* The new kubeconfig file generated.
*/
public Builder kubeconfig(String kubeconfig) {
this.kubeconfig = kubeconfig;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public RevokeKubeconfigResponseBody build() {
return new RevokeKubeconfigResponseBody(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/SecretCreateRecordValue.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 SecretCreateRecordValue} extends {@link TeaModel}
*
* <p>SecretCreateRecordValue</p>
*/
public class SecretCreateRecordValue extends TeaModel {
@NameInMap("State")
private String state;
@NameInMap("ClusterId")
private String clusterId;
@NameInMap("Message")
private String message;
private SecretCreateRecordValue(Builder builder) {
this.state = builder.state;
this.clusterId = builder.clusterId;
this.message = builder.message;
}
public static Builder builder() {
return new Builder();
}
public static SecretCreateRecordValue create() {
return builder().build();
}
/**
* @return state
*/
public String getState() {
return this.state;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
public static final class Builder {
private String state;
private String clusterId;
private String message;
/**
* The result of creating the secret. Valid values:
* <p>
*
* * `success`: The secret was created.
* * `fail`: The secret failed to be created.
*/
public Builder state(String state) {
this.state = state;
return this;
}
/**
* The ID of the cluster on the data plane.
*/
public Builder clusterId(String clusterId) {
this.clusterId = clusterId;
return this;
}
/**
* The error message returned when exceptions occur. Otherwise, an empty value is returned.
*/
public Builder message(String message) {
this.message = message;
return this;
}
public SecretCreateRecordValue build() {
return new SecretCreateRecordValue(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/SecretDeleteRecordValue.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 SecretDeleteRecordValue} extends {@link TeaModel}
*
* <p>SecretDeleteRecordValue</p>
*/
public class SecretDeleteRecordValue extends TeaModel {
@NameInMap("State")
private String state;
@NameInMap("ClusterId")
private String clusterId;
@NameInMap("Message")
private String message;
private SecretDeleteRecordValue(Builder builder) {
this.state = builder.state;
this.clusterId = builder.clusterId;
this.message = builder.message;
}
public static Builder builder() {
return new Builder();
}
public static SecretDeleteRecordValue create() {
return builder().build();
}
/**
* @return state
*/
public String getState() {
return this.state;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
public static final class Builder {
private String state;
private String clusterId;
private String message;
/**
* The result of deleting the secret. Valid values:
* <p>
*
* * `success`: The secret was deleted.
* * `fail`: The secret failed to be deleted.
*/
public Builder state(String state) {
this.state = state;
return this;
}
/**
* The ID of the cluster.
*/
public Builder clusterId(String clusterId) {
this.clusterId = clusterId;
return this;
}
/**
* The error message returned when exceptions occur. Otherwise, an empty value is returned.
*/
public Builder message(String message) {
this.message = message;
return this;
}
public SecretDeleteRecordValue build() {
return new SecretDeleteRecordValue(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/TagResourcesRequest.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 TagResourcesRequest} extends {@link RequestModel}
*
* <p>TagResourcesRequest</p>
*/
public class TagResourcesRequest extends Request {
@Query
@NameInMap("RegionId")
@Validation(required = true)
private String regionId;
@Query
@NameInMap("ResourceId")
@Validation(required = true)
private java.util.List < String > resourceId;
@Query
@NameInMap("ResourceType")
@Validation(required = true)
private String resourceType;
@Query
@NameInMap("Tag")
@Validation(required = true)
private java.util.List < Tag> tag;
private TagResourcesRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.resourceId = builder.resourceId;
this.resourceType = builder.resourceType;
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static TagResourcesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceId
*/
public java.util.List < String > getResourceId() {
return this.resourceId;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return tag
*/
public java.util.List < Tag> getTag() {
return this.tag;
}
public static final class Builder extends Request.Builder<TagResourcesRequest, Builder> {
private String regionId;
private java.util.List < String > resourceId;
private String resourceType;
private java.util.List < Tag> tag;
private Builder() {
super();
}
private Builder(TagResourcesRequest request) {
super(request);
this.regionId = request.regionId;
this.resourceId = request.resourceId;
this.resourceType = request.resourceType;
this.tag = request.tag;
}
/**
* The region ID of the Service Mesh (ASM) instance.
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* The IDs of the ASM instances.
*/
public Builder resourceId(java.util.List < String > resourceId) {
this.putQueryParameter("ResourceId", resourceId);
this.resourceId = resourceId;
return this;
}
/**
* The resource type. Set the value to `servicemesh`.
*/
public Builder resourceType(String resourceType) {
this.putQueryParameter("ResourceType", resourceType);
this.resourceType = resourceType;
return this;
}
/**
* The tags.
*/
public Builder tag(java.util.List < Tag> tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
@Override
public TagResourcesRequest build() {
return new TagResourcesRequest(this);
}
}
public static class Tag extends TeaModel {
@NameInMap("Key")
@Validation(required = true)
private String key;
@NameInMap("Value")
@Validation(required = true)
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 tag keys.
* <p>
*
* The following limits apply:
*
* * The key of tag N cannot be an empty string.
* * Valid values of N: 1 to 20.
* * The tag key can be up to 128 characters in length.
* * The tag key cannot start with `aliyun` or `acs:`.
* * The tag key cannot contain `http://` or `https://`.
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* The tag values.
* <p>
*
* The following limits apply:
*
* * The value of tag N cannot be an empty string.
* * Valid values of N: 1 to 20.
* * The tag value can be up to 128 characters in length.
* * The tag value cannot contain `http://` or `https://`.
*/
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/TagResourcesResponse.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 TagResourcesResponse} extends {@link TeaModel}
*
* <p>TagResourcesResponse</p>
*/
public class TagResourcesResponse 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 TagResourcesResponseBody body;
private TagResourcesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static TagResourcesResponse 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 TagResourcesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<TagResourcesResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(TagResourcesResponseBody body);
@Override
TagResourcesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<TagResourcesResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private TagResourcesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(TagResourcesResponse 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(TagResourcesResponseBody body) {
this.body = body;
return this;
}
@Override
public TagResourcesResponse build() {
return new TagResourcesResponse(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/TagResourcesResponseBody.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 TagResourcesResponseBody} extends {@link TeaModel}
*
* <p>TagResourcesResponseBody</p>
*/
public class TagResourcesResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private TagResourcesResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static TagResourcesResponseBody 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 TagResourcesResponseBody build() {
return new TagResourcesResponseBody(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/UntagResourcesRequest.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 UntagResourcesRequest} extends {@link RequestModel}
*
* <p>UntagResourcesRequest</p>
*/
public class UntagResourcesRequest extends Request {
@Query
@NameInMap("All")
private Boolean all;
@Query
@NameInMap("RegionId")
@Validation(required = true)
private String regionId;
@Query
@NameInMap("ResourceId")
@Validation(required = true)
private java.util.List < String > resourceId;
@Query
@NameInMap("ResourceType")
@Validation(required = true)
private String resourceType;
@Query
@NameInMap("TagKey")
private java.util.List < String > tagKey;
private UntagResourcesRequest(Builder builder) {
super(builder);
this.all = builder.all;
this.regionId = builder.regionId;
this.resourceId = builder.resourceId;
this.resourceType = builder.resourceType;
this.tagKey = builder.tagKey;
}
public static Builder builder() {
return new Builder();
}
public static UntagResourcesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return all
*/
public Boolean getAll() {
return this.all;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceId
*/
public java.util.List < String > getResourceId() {
return this.resourceId;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return tagKey
*/
public java.util.List < String > getTagKey() {
return this.tagKey;
}
public static final class Builder extends Request.Builder<UntagResourcesRequest, Builder> {
private Boolean all;
private String regionId;
private java.util.List < String > resourceId;
private String resourceType;
private java.util.List < String > tagKey;
private Builder() {
super();
}
private Builder(UntagResourcesRequest request) {
super(request);
this.all = request.all;
this.regionId = request.regionId;
this.resourceId = request.resourceId;
this.resourceType = request.resourceType;
this.tagKey = request.tagKey;
}
/**
* Specifies whether to delete all tags. This parameter takes effect only when the TagKey.N parameter is not specified. Valid values:
* <p>
*
* * true
* * false
*
* Default value: false.
*/
public Builder all(Boolean all) {
this.putQueryParameter("All", all);
this.all = all;
return this;
}
/**
* The region ID of the ASM instance.
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* The IDs of the ASM instances.
*/
public Builder resourceId(java.util.List < String > resourceId) {
this.putQueryParameter("ResourceId", resourceId);
this.resourceId = resourceId;
return this;
}
/**
* The resource type. Set the value to `servicemesh`.
*/
public Builder resourceType(String resourceType) {
this.putQueryParameter("ResourceType", resourceType);
this.resourceType = resourceType;
return this;
}
/**
* The tag keys.
*/
public Builder tagKey(java.util.List < String > tagKey) {
this.putQueryParameter("TagKey", tagKey);
this.tagKey = tagKey;
return this;
}
@Override
public UntagResourcesRequest build() {
return new UntagResourcesRequest(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/UntagResourcesResponse.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 UntagResourcesResponse} extends {@link TeaModel}
*
* <p>UntagResourcesResponse</p>
*/
public class UntagResourcesResponse 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 UntagResourcesResponseBody body;
private UntagResourcesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UntagResourcesResponse 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 UntagResourcesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UntagResourcesResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(UntagResourcesResponseBody body);
@Override
UntagResourcesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UntagResourcesResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private UntagResourcesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UntagResourcesResponse 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(UntagResourcesResponseBody body) {
this.body = body;
return this;
}
@Override
public UntagResourcesResponse build() {
return new UntagResourcesResponse(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/UntagResourcesResponseBody.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 UntagResourcesResponseBody} extends {@link TeaModel}
*
* <p>UntagResourcesResponseBody</p>
*/
public class UntagResourcesResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private UntagResourcesResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UntagResourcesResponseBody 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 UntagResourcesResponseBody build() {
return new UntagResourcesResponseBody(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/UpdateASMGatewayImportedServicesRequest.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 UpdateASMGatewayImportedServicesRequest} extends {@link RequestModel}
*
* <p>UpdateASMGatewayImportedServicesRequest</p>
*/
public class UpdateASMGatewayImportedServicesRequest extends Request {
@Body
@NameInMap("ASMGatewayName")
private String ASMGatewayName;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
@Body
@NameInMap("ServiceNames")
private String serviceNames;
@Body
@NameInMap("ServiceNamespace")
private String serviceNamespace;
private UpdateASMGatewayImportedServicesRequest(Builder builder) {
super(builder);
this.ASMGatewayName = builder.ASMGatewayName;
this.serviceMeshId = builder.serviceMeshId;
this.serviceNames = builder.serviceNames;
this.serviceNamespace = builder.serviceNamespace;
}
public static Builder builder() {
return new Builder();
}
public static UpdateASMGatewayImportedServicesRequest 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 serviceNames
*/
public String getServiceNames() {
return this.serviceNames;
}
/**
* @return serviceNamespace
*/
public String getServiceNamespace() {
return this.serviceNamespace;
}
public static final class Builder extends Request.Builder<UpdateASMGatewayImportedServicesRequest, Builder> {
private String ASMGatewayName;
private String serviceMeshId;
private String serviceNames;
private String serviceNamespace;
private Builder() {
super();
}
private Builder(UpdateASMGatewayImportedServicesRequest request) {
super(request);
this.ASMGatewayName = request.ASMGatewayName;
this.serviceMeshId = request.serviceMeshId;
this.serviceNames = request.serviceNames;
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 names of the services. Separate multiple service names with commas (,). Example: reviews,sleep.
*/
public Builder serviceNames(String serviceNames) {
this.putBodyParameter("ServiceNames", serviceNames);
this.serviceNames = serviceNames;
return this;
}
/**
* The namespace in which the service resides.
*/
public Builder serviceNamespace(String serviceNamespace) {
this.putBodyParameter("ServiceNamespace", serviceNamespace);
this.serviceNamespace = serviceNamespace;
return this;
}
@Override
public UpdateASMGatewayImportedServicesRequest build() {
return new UpdateASMGatewayImportedServicesRequest(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/UpdateASMGatewayImportedServicesResponse.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 UpdateASMGatewayImportedServicesResponse} extends {@link TeaModel}
*
* <p>UpdateASMGatewayImportedServicesResponse</p>
*/
public class UpdateASMGatewayImportedServicesResponse 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 UpdateASMGatewayImportedServicesResponseBody body;
private UpdateASMGatewayImportedServicesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateASMGatewayImportedServicesResponse 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 UpdateASMGatewayImportedServicesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateASMGatewayImportedServicesResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateASMGatewayImportedServicesResponseBody body);
@Override
UpdateASMGatewayImportedServicesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateASMGatewayImportedServicesResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private UpdateASMGatewayImportedServicesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateASMGatewayImportedServicesResponse 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(UpdateASMGatewayImportedServicesResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateASMGatewayImportedServicesResponse build() {
return new UpdateASMGatewayImportedServicesResponse(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/UpdateASMGatewayImportedServicesResponseBody.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 UpdateASMGatewayImportedServicesResponseBody} extends {@link TeaModel}
*
* <p>UpdateASMGatewayImportedServicesResponseBody</p>
*/
public class UpdateASMGatewayImportedServicesResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private UpdateASMGatewayImportedServicesResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateASMGatewayImportedServicesResponseBody 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 UpdateASMGatewayImportedServicesResponseBody build() {
return new UpdateASMGatewayImportedServicesResponseBody(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/UpdateASMGatewayRequest.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 UpdateASMGatewayRequest} extends {@link RequestModel}
*
* <p>UpdateASMGatewayRequest</p>
*/
public class UpdateASMGatewayRequest extends Request {
@Body
@NameInMap("Body")
private String body;
@Body
@NameInMap("IstioGatewayName")
private String istioGatewayName;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private UpdateASMGatewayRequest(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 UpdateASMGatewayRequest 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<UpdateASMGatewayRequest, Builder> {
private String body;
private String istioGatewayName;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(UpdateASMGatewayRequest request) {
super(request);
this.body = request.body;
this.istioGatewayName = request.istioGatewayName;
this.serviceMeshId = request.serviceMeshId;
}
/**
* The new YAML content of 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 UpdateASMGatewayRequest build() {
return new UpdateASMGatewayRequest(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/UpdateASMGatewayResponse.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 UpdateASMGatewayResponse} extends {@link TeaModel}
*
* <p>UpdateASMGatewayResponse</p>
*/
public class UpdateASMGatewayResponse 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 UpdateASMGatewayResponseBody body;
private UpdateASMGatewayResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateASMGatewayResponse 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 UpdateASMGatewayResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateASMGatewayResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateASMGatewayResponseBody body);
@Override
UpdateASMGatewayResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateASMGatewayResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private UpdateASMGatewayResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateASMGatewayResponse 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(UpdateASMGatewayResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateASMGatewayResponse build() {
return new UpdateASMGatewayResponse(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/UpdateASMGatewayResponseBody.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 UpdateASMGatewayResponseBody} extends {@link TeaModel}
*
* <p>UpdateASMGatewayResponseBody</p>
*/
public class UpdateASMGatewayResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private UpdateASMGatewayResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateASMGatewayResponseBody 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 UpdateASMGatewayResponseBody build() {
return new UpdateASMGatewayResponseBody(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/UpdateASMNamespaceFromGuestClusterRequest.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 UpdateASMNamespaceFromGuestClusterRequest} extends {@link RequestModel}
*
* <p>UpdateASMNamespaceFromGuestClusterRequest</p>
*/
public class UpdateASMNamespaceFromGuestClusterRequest extends Request {
@Body
@NameInMap("K8sClusterId")
@Validation(required = true)
private String k8sClusterId;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private UpdateASMNamespaceFromGuestClusterRequest(Builder builder) {
super(builder);
this.k8sClusterId = builder.k8sClusterId;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateASMNamespaceFromGuestClusterRequest 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<UpdateASMNamespaceFromGuestClusterRequest, Builder> {
private String k8sClusterId;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(UpdateASMNamespaceFromGuestClusterRequest request) {
super(request);
this.k8sClusterId = request.k8sClusterId;
this.serviceMeshId = request.serviceMeshId;
}
/**
* The ID of the Kubernetes cluster whose namespace information you want to synchronize to ASM. The Kubernetes cluster is added to the ASM instance that is specified by the ServiceMeshId parameter.
*/
public Builder k8sClusterId(String k8sClusterId) {
this.putBodyParameter("K8sClusterId", k8sClusterId);
this.k8sClusterId = k8sClusterId;
return this;
}
/**
* The ASM instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public UpdateASMNamespaceFromGuestClusterRequest build() {
return new UpdateASMNamespaceFromGuestClusterRequest(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/UpdateASMNamespaceFromGuestClusterResponse.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 UpdateASMNamespaceFromGuestClusterResponse} extends {@link TeaModel}
*
* <p>UpdateASMNamespaceFromGuestClusterResponse</p>
*/
public class UpdateASMNamespaceFromGuestClusterResponse 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 UpdateASMNamespaceFromGuestClusterResponseBody body;
private UpdateASMNamespaceFromGuestClusterResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateASMNamespaceFromGuestClusterResponse 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 UpdateASMNamespaceFromGuestClusterResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateASMNamespaceFromGuestClusterResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateASMNamespaceFromGuestClusterResponseBody body);
@Override
UpdateASMNamespaceFromGuestClusterResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateASMNamespaceFromGuestClusterResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private UpdateASMNamespaceFromGuestClusterResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateASMNamespaceFromGuestClusterResponse 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(UpdateASMNamespaceFromGuestClusterResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateASMNamespaceFromGuestClusterResponse build() {
return new UpdateASMNamespaceFromGuestClusterResponse(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/UpdateASMNamespaceFromGuestClusterResponseBody.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 UpdateASMNamespaceFromGuestClusterResponseBody} extends {@link TeaModel}
*
* <p>UpdateASMNamespaceFromGuestClusterResponseBody</p>
*/
public class UpdateASMNamespaceFromGuestClusterResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private UpdateASMNamespaceFromGuestClusterResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateASMNamespaceFromGuestClusterResponseBody 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 UpdateASMNamespaceFromGuestClusterResponseBody build() {
return new UpdateASMNamespaceFromGuestClusterResponseBody(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/UpdateControlPlaneLogConfigRequest.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 UpdateControlPlaneLogConfigRequest} extends {@link RequestModel}
*
* <p>UpdateControlPlaneLogConfigRequest</p>
*/
public class UpdateControlPlaneLogConfigRequest extends Request {
@Body
@NameInMap("Enabled")
@Validation(required = true)
private Boolean enabled;
@Body
@NameInMap("LogTTLInDay")
@Validation(maximum = 3000, minimum = 1)
private Integer logTTLInDay;
@Body
@NameInMap("Project")
private String project;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private UpdateControlPlaneLogConfigRequest(Builder builder) {
super(builder);
this.enabled = builder.enabled;
this.logTTLInDay = builder.logTTLInDay;
this.project = builder.project;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateControlPlaneLogConfigRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return enabled
*/
public Boolean getEnabled() {
return this.enabled;
}
/**
* @return logTTLInDay
*/
public Integer getLogTTLInDay() {
return this.logTTLInDay;
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<UpdateControlPlaneLogConfigRequest, Builder> {
private Boolean enabled;
private Integer logTTLInDay;
private String project;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(UpdateControlPlaneLogConfigRequest request) {
super(request);
this.enabled = request.enabled;
this.logTTLInDay = request.logTTLInDay;
this.project = request.project;
this.serviceMeshId = request.serviceMeshId;
}
/**
* Specifies whether to collect control plane logs to Simple Log Service.
*/
public Builder enabled(Boolean enabled) {
this.putBodyParameter("Enabled", enabled);
this.enabled = enabled;
return this;
}
/**
* The time to live (TTL) period of the collected logs. Unit: day.
*/
public Builder logTTLInDay(Integer logTTLInDay) {
this.putBodyParameter("LogTTLInDay", logTTLInDay);
this.logTTLInDay = logTTLInDay;
return this;
}
/**
* The name of the Simple Log Service project to which control plane logs are collected.
*/
public Builder project(String project) {
this.putBodyParameter("Project", project);
this.project = project;
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 UpdateControlPlaneLogConfigRequest build() {
return new UpdateControlPlaneLogConfigRequest(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/UpdateControlPlaneLogConfigResponse.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 UpdateControlPlaneLogConfigResponse} extends {@link TeaModel}
*
* <p>UpdateControlPlaneLogConfigResponse</p>
*/
public class UpdateControlPlaneLogConfigResponse 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 UpdateControlPlaneLogConfigResponseBody body;
private UpdateControlPlaneLogConfigResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateControlPlaneLogConfigResponse 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 UpdateControlPlaneLogConfigResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateControlPlaneLogConfigResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateControlPlaneLogConfigResponseBody body);
@Override
UpdateControlPlaneLogConfigResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateControlPlaneLogConfigResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private UpdateControlPlaneLogConfigResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateControlPlaneLogConfigResponse 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(UpdateControlPlaneLogConfigResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateControlPlaneLogConfigResponse build() {
return new UpdateControlPlaneLogConfigResponse(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/UpdateControlPlaneLogConfigResponseBody.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 UpdateControlPlaneLogConfigResponseBody} extends {@link TeaModel}
*
* <p>UpdateControlPlaneLogConfigResponseBody</p>
*/
public class UpdateControlPlaneLogConfigResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private UpdateControlPlaneLogConfigResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateControlPlaneLogConfigResponseBody 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 UpdateControlPlaneLogConfigResponseBody build() {
return new UpdateControlPlaneLogConfigResponseBody(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/UpdateIstioGatewayRoutesRequest.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 UpdateIstioGatewayRoutesRequest} extends {@link RequestModel}
*
* <p>UpdateIstioGatewayRoutesRequest</p>
*/
public class UpdateIstioGatewayRoutesRequest 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 UpdateIstioGatewayRoutesRequest(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 UpdateIstioGatewayRoutesRequest 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<UpdateIstioGatewayRoutesRequest, Builder> {
private String description;
private GatewayRoute gatewayRoute;
private String istioGatewayName;
private Integer priority;
private String serviceMeshId;
private Integer status;
private Builder() {
super();
}
private Builder(UpdateIstioGatewayRoutesRequest 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 updated 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 UpdateIstioGatewayRoutesRequest build() {
return new UpdateIstioGatewayRoutesRequest(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.
*/
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.
*/
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 of the destination service.
* <p>
*
* > If the destination service of the route has only one port, this field can be left empty. If the destination service has multiple ports, you must specify the port number.
*/
public Builder port(Port port) {
this.port = port;
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 list of 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;
}
/**
* The original YAML file of the virtual service that is serialized in a JSON string.
*/
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/UpdateIstioGatewayRoutesResponse.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 UpdateIstioGatewayRoutesResponse} extends {@link TeaModel}
*
* <p>UpdateIstioGatewayRoutesResponse</p>
*/
public class UpdateIstioGatewayRoutesResponse 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 UpdateIstioGatewayRoutesResponseBody body;
private UpdateIstioGatewayRoutesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateIstioGatewayRoutesResponse 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 UpdateIstioGatewayRoutesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateIstioGatewayRoutesResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateIstioGatewayRoutesResponseBody body);
@Override
UpdateIstioGatewayRoutesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateIstioGatewayRoutesResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private UpdateIstioGatewayRoutesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateIstioGatewayRoutesResponse 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(UpdateIstioGatewayRoutesResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateIstioGatewayRoutesResponse build() {
return new UpdateIstioGatewayRoutesResponse(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/UpdateIstioGatewayRoutesResponseBody.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 UpdateIstioGatewayRoutesResponseBody} extends {@link TeaModel}
*
* <p>UpdateIstioGatewayRoutesResponseBody</p>
*/
public class UpdateIstioGatewayRoutesResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private UpdateIstioGatewayRoutesResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateIstioGatewayRoutesResponseBody 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 UpdateIstioGatewayRoutesResponseBody build() {
return new UpdateIstioGatewayRoutesResponseBody(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/UpdateIstioInjectionConfigRequest.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 UpdateIstioInjectionConfigRequest} extends {@link RequestModel}
*
* <p>UpdateIstioInjectionConfigRequest</p>
*/
public class UpdateIstioInjectionConfigRequest extends Request {
@Body
@NameInMap("DataPlaneMode")
private String dataPlaneMode;
@Body
@NameInMap("EnableIstioInjection")
private Boolean enableIstioInjection;
@Body
@NameInMap("EnableSidecarSetInjection")
private Boolean enableSidecarSetInjection;
@Body
@NameInMap("IstioRev")
private String istioRev;
@Body
@NameInMap("Namespace")
@Validation(required = true)
private String namespace;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private UpdateIstioInjectionConfigRequest(Builder builder) {
super(builder);
this.dataPlaneMode = builder.dataPlaneMode;
this.enableIstioInjection = builder.enableIstioInjection;
this.enableSidecarSetInjection = builder.enableSidecarSetInjection;
this.istioRev = builder.istioRev;
this.namespace = builder.namespace;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateIstioInjectionConfigRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return dataPlaneMode
*/
public String getDataPlaneMode() {
return this.dataPlaneMode;
}
/**
* @return enableIstioInjection
*/
public Boolean getEnableIstioInjection() {
return this.enableIstioInjection;
}
/**
* @return enableSidecarSetInjection
*/
public Boolean getEnableSidecarSetInjection() {
return this.enableSidecarSetInjection;
}
/**
* @return istioRev
*/
public String getIstioRev() {
return this.istioRev;
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<UpdateIstioInjectionConfigRequest, Builder> {
private String dataPlaneMode;
private Boolean enableIstioInjection;
private Boolean enableSidecarSetInjection;
private String istioRev;
private String namespace;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(UpdateIstioInjectionConfigRequest request) {
super(request);
this.dataPlaneMode = request.dataPlaneMode;
this.enableIstioInjection = request.enableIstioInjection;
this.enableSidecarSetInjection = request.enableSidecarSetInjection;
this.istioRev = request.istioRev;
this.namespace = request.namespace;
this.serviceMeshId = request.serviceMeshId;
}
/**
* The data plane mode of the namespace. This parameter is valid only when the Ambient Mesh mode is enabled for the current Service Mesh (ASM) instance. Valid values:
* <p>
*
* * ambient: sets the data plane mode of the namespace to the Ambient Mesh mode.
* * sidecar: sets the data plane mode of the namespace to the Sidecar mode.
*/
public Builder dataPlaneMode(String dataPlaneMode) {
this.putBodyParameter("DataPlaneMode", dataPlaneMode);
this.dataPlaneMode = dataPlaneMode;
return this;
}
/**
* Specifies whether to enable Istio automatic sidecar injection.
*/
public Builder enableIstioInjection(Boolean enableIstioInjection) {
this.putBodyParameter("EnableIstioInjection", enableIstioInjection);
this.enableIstioInjection = enableIstioInjection;
return this;
}
/**
* Specifies whether to enable automatic sidecar injection by using SidecarSet.
*/
public Builder enableSidecarSetInjection(Boolean enableSidecarSetInjection) {
this.putBodyParameter("EnableSidecarSetInjection", enableSidecarSetInjection);
this.enableSidecarSetInjection = enableSidecarSetInjection;
return this;
}
/**
* Specifies the version to be injected into the namespace. This parameter is valid only when the ASM instance performs a canary release. When IstioRev is not empty, you must not specify EnableIstioInjection and EnableSidecarSetInjection.
*/
public Builder istioRev(String istioRev) {
this.putBodyParameter("IstioRev", istioRev);
this.istioRev = istioRev;
return this;
}
/**
* The namespace for which you want to modify the sidecar injection setting.
*/
public Builder namespace(String namespace) {
this.putBodyParameter("Namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* The ID of the ASM instance.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public UpdateIstioInjectionConfigRequest build() {
return new UpdateIstioInjectionConfigRequest(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/UpdateIstioInjectionConfigResponse.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 UpdateIstioInjectionConfigResponse} extends {@link TeaModel}
*
* <p>UpdateIstioInjectionConfigResponse</p>
*/
public class UpdateIstioInjectionConfigResponse 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 UpdateIstioInjectionConfigResponseBody body;
private UpdateIstioInjectionConfigResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateIstioInjectionConfigResponse 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 UpdateIstioInjectionConfigResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateIstioInjectionConfigResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateIstioInjectionConfigResponseBody body);
@Override
UpdateIstioInjectionConfigResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateIstioInjectionConfigResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private UpdateIstioInjectionConfigResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateIstioInjectionConfigResponse 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(UpdateIstioInjectionConfigResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateIstioInjectionConfigResponse build() {
return new UpdateIstioInjectionConfigResponse(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/UpdateIstioInjectionConfigResponseBody.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 UpdateIstioInjectionConfigResponseBody} extends {@link TeaModel}
*
* <p>UpdateIstioInjectionConfigResponseBody</p>
*/
public class UpdateIstioInjectionConfigResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private UpdateIstioInjectionConfigResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateIstioInjectionConfigResponseBody 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 UpdateIstioInjectionConfigResponseBody build() {
return new UpdateIstioInjectionConfigResponseBody(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/UpdateIstioRouteAdditionalStatusRequest.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 UpdateIstioRouteAdditionalStatusRequest} extends {@link RequestModel}
*
* <p>UpdateIstioRouteAdditionalStatusRequest</p>
*/
public class UpdateIstioRouteAdditionalStatusRequest extends Request {
@Query
@NameInMap("Description")
private String description;
@Body
@NameInMap("IstioGatewayName")
private String istioGatewayName;
@Query
@NameInMap("Priority")
private Integer priority;
@Query
@NameInMap("RouteName")
private String routeName;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
@Query
@NameInMap("Status")
private Integer status;
private UpdateIstioRouteAdditionalStatusRequest(Builder builder) {
super(builder);
this.description = builder.description;
this.istioGatewayName = builder.istioGatewayName;
this.priority = builder.priority;
this.routeName = builder.routeName;
this.serviceMeshId = builder.serviceMeshId;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static UpdateIstioRouteAdditionalStatusRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return istioGatewayName
*/
public String getIstioGatewayName() {
return this.istioGatewayName;
}
/**
* @return priority
*/
public Integer getPriority() {
return this.priority;
}
/**
* @return routeName
*/
public String getRouteName() {
return this.routeName;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
public static final class Builder extends Request.Builder<UpdateIstioRouteAdditionalStatusRequest, Builder> {
private String description;
private String istioGatewayName;
private Integer priority;
private String routeName;
private String serviceMeshId;
private Integer status;
private Builder() {
super();
}
private Builder(UpdateIstioRouteAdditionalStatusRequest request) {
super(request);
this.description = request.description;
this.istioGatewayName = request.istioGatewayName;
this.priority = request.priority;
this.routeName = request.routeName;
this.serviceMeshId = request.serviceMeshId;
this.status = request.status;
}
/**
* The description of the routing rule.
*/
public Builder description(String description) {
this.putQueryParameter("Description", description);
this.description = description;
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.putQueryParameter("Priority", priority);
this.priority = priority;
return this;
}
/**
* The name of the routing rule.
*/
public Builder routeName(String routeName) {
this.putQueryParameter("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;
}
/**
* The status of the routing rule. Valid values: 0: The routing rule is valid. 1: The routing rule is invalid. 2: An error occurs during the creation or update of the routing rule.
*/
public Builder status(Integer status) {
this.putQueryParameter("Status", status);
this.status = status;
return this;
}
@Override
public UpdateIstioRouteAdditionalStatusRequest build() {
return new UpdateIstioRouteAdditionalStatusRequest(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/UpdateIstioRouteAdditionalStatusResponse.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 UpdateIstioRouteAdditionalStatusResponse} extends {@link TeaModel}
*
* <p>UpdateIstioRouteAdditionalStatusResponse</p>
*/
public class UpdateIstioRouteAdditionalStatusResponse 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 UpdateIstioRouteAdditionalStatusResponseBody body;
private UpdateIstioRouteAdditionalStatusResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateIstioRouteAdditionalStatusResponse 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 UpdateIstioRouteAdditionalStatusResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateIstioRouteAdditionalStatusResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateIstioRouteAdditionalStatusResponseBody body);
@Override
UpdateIstioRouteAdditionalStatusResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateIstioRouteAdditionalStatusResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private UpdateIstioRouteAdditionalStatusResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateIstioRouteAdditionalStatusResponse 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(UpdateIstioRouteAdditionalStatusResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateIstioRouteAdditionalStatusResponse build() {
return new UpdateIstioRouteAdditionalStatusResponse(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/UpdateIstioRouteAdditionalStatusResponseBody.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 UpdateIstioRouteAdditionalStatusResponseBody} extends {@link TeaModel}
*
* <p>UpdateIstioRouteAdditionalStatusResponseBody</p>
*/
public class UpdateIstioRouteAdditionalStatusResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private UpdateIstioRouteAdditionalStatusResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateIstioRouteAdditionalStatusResponseBody 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 UpdateIstioRouteAdditionalStatusResponseBody build() {
return new UpdateIstioRouteAdditionalStatusResponseBody(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/UpdateMeshCRAggregationRequest.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 UpdateMeshCRAggregationRequest} extends {@link RequestModel}
*
* <p>UpdateMeshCRAggregationRequest</p>
*/
public class UpdateMeshCRAggregationRequest extends Request {
@Body
@NameInMap("CPULimit")
private String CPULimit;
@Body
@NameInMap("CPURequirement")
private String CPURequirement;
@Body
@NameInMap("Enabled")
private Boolean enabled;
@Body
@NameInMap("MemoryLimit")
private String memoryLimit;
@Body
@NameInMap("MemoryRequirement")
private String memoryRequirement;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
@Body
@NameInMap("UsePublicApiServer")
private Boolean usePublicApiServer;
private UpdateMeshCRAggregationRequest(Builder builder) {
super(builder);
this.CPULimit = builder.CPULimit;
this.CPURequirement = builder.CPURequirement;
this.enabled = builder.enabled;
this.memoryLimit = builder.memoryLimit;
this.memoryRequirement = builder.memoryRequirement;
this.serviceMeshId = builder.serviceMeshId;
this.usePublicApiServer = builder.usePublicApiServer;
}
public static Builder builder() {
return new Builder();
}
public static UpdateMeshCRAggregationRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return CPULimit
*/
public String getCPULimit() {
return this.CPULimit;
}
/**
* @return CPURequirement
*/
public String getCPURequirement() {
return this.CPURequirement;
}
/**
* @return enabled
*/
public Boolean getEnabled() {
return this.enabled;
}
/**
* @return memoryLimit
*/
public String getMemoryLimit() {
return this.memoryLimit;
}
/**
* @return memoryRequirement
*/
public String getMemoryRequirement() {
return this.memoryRequirement;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
/**
* @return usePublicApiServer
*/
public Boolean getUsePublicApiServer() {
return this.usePublicApiServer;
}
public static final class Builder extends Request.Builder<UpdateMeshCRAggregationRequest, Builder> {
private String CPULimit;
private String CPURequirement;
private Boolean enabled;
private String memoryLimit;
private String memoryRequirement;
private String serviceMeshId;
private Boolean usePublicApiServer;
private Builder() {
super();
}
private Builder(UpdateMeshCRAggregationRequest request) {
super(request);
this.CPULimit = request.CPULimit;
this.CPURequirement = request.CPURequirement;
this.enabled = request.enabled;
this.memoryLimit = request.memoryLimit;
this.memoryRequirement = request.memoryRequirement;
this.serviceMeshId = request.serviceMeshId;
this.usePublicApiServer = request.usePublicApiServer;
}
/**
* The maximum number of CPU cores that are available for the components installed in the ACK cluster on the data plane if you enable the Kubernetes API to access Istio resources in the ASM instance. You can specify the parameter value in the standard quantity representation used by Kubernetes.
*/
public Builder CPULimit(String CPULimit) {
this.putBodyParameter("CPULimit", CPULimit);
this.CPULimit = CPULimit;
return this;
}
/**
* The number of CPU cores that are requested by the components installed in the Container Service for Kubernetes (ACK) cluster on the data plane if you enable the Kubernetes API to access Istio resources in the ASM instance. You can specify the parameter value in the standard quantity representation used by Kubernetes.
*/
public Builder CPURequirement(String CPURequirement) {
this.putBodyParameter("CPURequirement", CPURequirement);
this.CPURequirement = CPURequirement;
return this;
}
/**
* Specifies whether to enable the Kubernetes API on the data plane to access Istio resources in the ASM instance. Valid values:
* <p>
*
* * `true`: enables the Kubernetes API to access Istio resources in the ASM instance.
* * `false`: disables the Kubernetes API to access Istio resources in the ASM instance.
*/
public Builder enabled(Boolean enabled) {
this.putBodyParameter("Enabled", enabled);
this.enabled = enabled;
return this;
}
/**
* The maximum size of the memory that is available for the components installed in the ACK cluster on the data plane if you enable the Kubernetes API to access Istio resources in the ASM instance. You can specify the parameter value in the standard quantity representation used by Kubernetes. 1 Mi equals 1,024 KB.
*/
public Builder memoryLimit(String memoryLimit) {
this.putBodyParameter("MemoryLimit", memoryLimit);
this.memoryLimit = memoryLimit;
return this;
}
/**
* The size of the memory that is requested by the components installed in the ACK cluster on the data plane if you enable the Kubernetes API to access Istio resources in the ASM instance. You can specify the parameter value in the standard quantity representation used by Kubernetes. 1 Mi equals 1,024 KB.
*/
public Builder memoryRequirement(String memoryRequirement) {
this.putBodyParameter("MemoryRequirement", memoryRequirement);
this.memoryRequirement = memoryRequirement;
return this;
}
/**
* The Service Mesh (ASM) instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
/**
* Specifies whether the Kubernetes API on the data plane uses the public endpoint of the API server to access Istio resources in the ASM instance. Valid values:
* <p>
*
* * `true`: The Kubernetes API on the data plane uses the public endpoint of the API server to access Istio resources in the ASM instance.
* * `false`: The Kubernetes API on the data plane uses the private endpoint of the API server to access Istio resources in the ASM instance.
*
* Default value: `false`.
*/
public Builder usePublicApiServer(Boolean usePublicApiServer) {
this.putBodyParameter("UsePublicApiServer", usePublicApiServer);
this.usePublicApiServer = usePublicApiServer;
return this;
}
@Override
public UpdateMeshCRAggregationRequest build() {
return new UpdateMeshCRAggregationRequest(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/UpdateMeshCRAggregationResponse.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 UpdateMeshCRAggregationResponse} extends {@link TeaModel}
*
* <p>UpdateMeshCRAggregationResponse</p>
*/
public class UpdateMeshCRAggregationResponse 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 UpdateMeshCRAggregationResponseBody body;
private UpdateMeshCRAggregationResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateMeshCRAggregationResponse 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 UpdateMeshCRAggregationResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateMeshCRAggregationResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateMeshCRAggregationResponseBody body);
@Override
UpdateMeshCRAggregationResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateMeshCRAggregationResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private UpdateMeshCRAggregationResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateMeshCRAggregationResponse 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(UpdateMeshCRAggregationResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateMeshCRAggregationResponse build() {
return new UpdateMeshCRAggregationResponse(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/UpdateMeshCRAggregationResponseBody.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 UpdateMeshCRAggregationResponseBody} extends {@link TeaModel}
*
* <p>UpdateMeshCRAggregationResponseBody</p>
*/
public class UpdateMeshCRAggregationResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private UpdateMeshCRAggregationResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateMeshCRAggregationResponseBody 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 UpdateMeshCRAggregationResponseBody build() {
return new UpdateMeshCRAggregationResponseBody(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/UpdateMeshFeatureRequest.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 UpdateMeshFeatureRequest} extends {@link RequestModel}
*
* <p>UpdateMeshFeatureRequest</p>
*/
public class UpdateMeshFeatureRequest extends Request {
@Body
@NameInMap("AccessLogEnabled")
private Boolean accessLogEnabled;
@Body
@NameInMap("AccessLogFile")
private String accessLogFile;
@Body
@NameInMap("AccessLogFormat")
private String accessLogFormat;
@Query
@NameInMap("AccessLogGatewayEnabled")
private Boolean accessLogGatewayEnabled;
@Body
@NameInMap("AccessLogGatewayLifecycle")
private Integer accessLogGatewayLifecycle;
@Body
@NameInMap("AccessLogProject")
private String accessLogProject;
@Body
@NameInMap("AccessLogServiceEnabled")
private Boolean accessLogServiceEnabled;
@Body
@NameInMap("AccessLogServiceHost")
private String accessLogServiceHost;
@Body
@NameInMap("AccessLogServicePort")
private Integer accessLogServicePort;
@Query
@NameInMap("AccessLogSidecarEnabled")
private Boolean accessLogSidecarEnabled;
@Body
@NameInMap("AccessLogSidecarLifecycle")
private Integer accessLogSidecarLifecycle;
@Body
@NameInMap("AuditProject")
private String auditProject;
@Body
@NameInMap("AutoInjectionPolicyEnabled")
private Boolean autoInjectionPolicyEnabled;
@Body
@NameInMap("CRAggregationEnabled")
private Boolean CRAggregationEnabled;
@Body
@NameInMap("ClusterSpec")
private String clusterSpec;
@Body
@NameInMap("CniEnabled")
private Boolean cniEnabled;
@Body
@NameInMap("CniExcludeNamespaces")
private String cniExcludeNamespaces;
@Body
@NameInMap("Concurrency")
private Integer concurrency;
@Body
@NameInMap("ConfigSourceEnabled")
private Boolean configSourceEnabled;
@Body
@NameInMap("ConfigSourceNacosID")
private String configSourceNacosID;
@Body
@NameInMap("CustomizedPrometheus")
private Boolean customizedPrometheus;
@Body
@NameInMap("CustomizedZipkin")
private Boolean customizedZipkin;
@Body
@NameInMap("DNSProxyingEnabled")
private Boolean DNSProxyingEnabled;
@Body
@NameInMap("DefaultComponentsScheduleConfig")
private String defaultComponentsScheduleConfig;
@Body
@NameInMap("DiscoverySelectors")
private String discoverySelectors;
@Body
@NameInMap("DubboFilterEnabled")
private Boolean dubboFilterEnabled;
@Body
@NameInMap("EnableAudit")
private Boolean enableAudit;
@Body
@NameInMap("EnableAutoDiagnosis")
private Boolean enableAutoDiagnosis;
@Body
@NameInMap("EnableBootstrapXdsAgent")
private Boolean enableBootstrapXdsAgent;
@Body
@NameInMap("EnableCRHistory")
private Boolean enableCRHistory;
@Body
@NameInMap("EnableNamespacesByDefault")
private Boolean enableNamespacesByDefault;
@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("FilterGatewayClusterConfig")
private Boolean filterGatewayClusterConfig;
@Body
@NameInMap("GatewayAPIEnabled")
private Boolean gatewayAPIEnabled;
@Body
@NameInMap("HoldApplicationUntilProxyStarts")
private Boolean holdApplicationUntilProxyStarts;
@Body
@NameInMap("Http10Enabled")
private Boolean http10Enabled;
@Body
@NameInMap("IncludeIPRanges")
private String includeIPRanges;
@Body
@NameInMap("IncludeInboundPorts")
private String includeInboundPorts;
@Body
@NameInMap("IncludeOutboundPorts")
private String includeOutboundPorts;
@Body
@NameInMap("IntegrateKiali")
private Boolean integrateKiali;
@Body
@NameInMap("InterceptionMode")
private String interceptionMode;
@Body
@NameInMap("KialiArmsAuthTokens")
private String kialiArmsAuthTokens;
@Body
@NameInMap("KialiEnabled")
private Boolean kialiEnabled;
@Body
@NameInMap("KialiServiceAnnotations")
private String kialiServiceAnnotations;
@Body
@NameInMap("Lifecycle")
private String lifecycle;
@Body
@NameInMap("LocalityLBConf")
private String localityLBConf;
@Body
@NameInMap("LocalityLoadBalancing")
private Boolean localityLoadBalancing;
@Body
@NameInMap("LogLevel")
private String logLevel;
@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("NFDEnabled")
private Boolean NFDEnabled;
@Body
@NameInMap("NFDLabelPruned")
private Boolean NFDLabelPruned;
@Body
@NameInMap("OPAInjectorCPULimit")
private String OPAInjectorCPULimit;
@Body
@NameInMap("OPAInjectorCPURequirement")
private String OPAInjectorCPURequirement;
@Body
@NameInMap("OPAInjectorMemoryLimit")
private String OPAInjectorMemoryLimit;
@Body
@NameInMap("OPAInjectorMemoryRequirement")
private String OPAInjectorMemoryRequirement;
@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("OPAScopeInjected")
private Boolean OPAScopeInjected;
@Body
@NameInMap("OpaEnabled")
private Boolean opaEnabled;
@Body
@NameInMap("OpenAgentPolicy")
private Boolean openAgentPolicy;
@Body
@NameInMap("OutboundTrafficPolicy")
private String outboundTrafficPolicy;
@Body
@NameInMap("PrometheusUrl")
private String prometheusUrl;
@Body
@NameInMap("ProxyInitCPUResourceLimit")
private String proxyInitCPUResourceLimit;
@Body
@NameInMap("ProxyInitCPUResourceRequest")
private String proxyInitCPUResourceRequest;
@Body
@NameInMap("ProxyInitMemoryResourceLimit")
private String proxyInitMemoryResourceLimit;
@Body
@NameInMap("ProxyInitMemoryResourceRequest")
private String proxyInitMemoryResourceRequest;
@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("ProxyStatsMatcher")
private String proxyStatsMatcher;
@Body
@NameInMap("RedisFilterEnabled")
private Boolean redisFilterEnabled;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
@Body
@NameInMap("SidecarInjectorLimitCPU")
private String sidecarInjectorLimitCPU;
@Body
@NameInMap("SidecarInjectorLimitMemory")
private String sidecarInjectorLimitMemory;
@Body
@NameInMap("SidecarInjectorRequestCPU")
private String sidecarInjectorRequestCPU;
@Body
@NameInMap("SidecarInjectorRequestMemory")
private String sidecarInjectorRequestMemory;
@Body
@NameInMap("SidecarInjectorWebhookAsYaml")
private String sidecarInjectorWebhookAsYaml;
@Body
@NameInMap("Telemetry")
private Boolean telemetry;
@Body
@NameInMap("TerminationDrainDuration")
private String terminationDrainDuration;
@Body
@NameInMap("ThriftFilterEnabled")
private Boolean thriftFilterEnabled;
@Body
@NameInMap("TraceCustomTags")
private String traceCustomTags;
@Body
@NameInMap("TraceMaxPathTagLength")
private String traceMaxPathTagLength;
@Body
@NameInMap("TraceSampling")
private Float traceSampling;
@Body
@NameInMap("Tracing")
private Boolean tracing;
@Body
@NameInMap("TracingOnExtZipkinLimitCPU")
private String tracingOnExtZipkinLimitCPU;
@Body
@NameInMap("TracingOnExtZipkinLimitMemory")
private String tracingOnExtZipkinLimitMemory;
@Body
@NameInMap("TracingOnExtZipkinRequestCPU")
private String tracingOnExtZipkinRequestCPU;
@Body
@NameInMap("TracingOnExtZipkinRequestMemory")
private String tracingOnExtZipkinRequestMemory;
@Body
@NameInMap("WebAssemblyFilterEnabled")
private Boolean webAssemblyFilterEnabled;
private UpdateMeshFeatureRequest(Builder builder) {
super(builder);
this.accessLogEnabled = builder.accessLogEnabled;
this.accessLogFile = builder.accessLogFile;
this.accessLogFormat = builder.accessLogFormat;
this.accessLogGatewayEnabled = builder.accessLogGatewayEnabled;
this.accessLogGatewayLifecycle = builder.accessLogGatewayLifecycle;
this.accessLogProject = builder.accessLogProject;
this.accessLogServiceEnabled = builder.accessLogServiceEnabled;
this.accessLogServiceHost = builder.accessLogServiceHost;
this.accessLogServicePort = builder.accessLogServicePort;
this.accessLogSidecarEnabled = builder.accessLogSidecarEnabled;
this.accessLogSidecarLifecycle = builder.accessLogSidecarLifecycle;
this.auditProject = builder.auditProject;
this.autoInjectionPolicyEnabled = builder.autoInjectionPolicyEnabled;
this.CRAggregationEnabled = builder.CRAggregationEnabled;
this.clusterSpec = builder.clusterSpec;
this.cniEnabled = builder.cniEnabled;
this.cniExcludeNamespaces = builder.cniExcludeNamespaces;
this.concurrency = builder.concurrency;
this.configSourceEnabled = builder.configSourceEnabled;
this.configSourceNacosID = builder.configSourceNacosID;
this.customizedPrometheus = builder.customizedPrometheus;
this.customizedZipkin = builder.customizedZipkin;
this.DNSProxyingEnabled = builder.DNSProxyingEnabled;
this.defaultComponentsScheduleConfig = builder.defaultComponentsScheduleConfig;
this.discoverySelectors = builder.discoverySelectors;
this.dubboFilterEnabled = builder.dubboFilterEnabled;
this.enableAudit = builder.enableAudit;
this.enableAutoDiagnosis = builder.enableAutoDiagnosis;
this.enableBootstrapXdsAgent = builder.enableBootstrapXdsAgent;
this.enableCRHistory = builder.enableCRHistory;
this.enableNamespacesByDefault = builder.enableNamespacesByDefault;
this.enableSDSServer = builder.enableSDSServer;
this.excludeIPRanges = builder.excludeIPRanges;
this.excludeInboundPorts = builder.excludeInboundPorts;
this.excludeOutboundPorts = builder.excludeOutboundPorts;
this.filterGatewayClusterConfig = builder.filterGatewayClusterConfig;
this.gatewayAPIEnabled = builder.gatewayAPIEnabled;
this.holdApplicationUntilProxyStarts = builder.holdApplicationUntilProxyStarts;
this.http10Enabled = builder.http10Enabled;
this.includeIPRanges = builder.includeIPRanges;
this.includeInboundPorts = builder.includeInboundPorts;
this.includeOutboundPorts = builder.includeOutboundPorts;
this.integrateKiali = builder.integrateKiali;
this.interceptionMode = builder.interceptionMode;
this.kialiArmsAuthTokens = builder.kialiArmsAuthTokens;
this.kialiEnabled = builder.kialiEnabled;
this.kialiServiceAnnotations = builder.kialiServiceAnnotations;
this.lifecycle = builder.lifecycle;
this.localityLBConf = builder.localityLBConf;
this.localityLoadBalancing = builder.localityLoadBalancing;
this.logLevel = builder.logLevel;
this.MSEEnabled = builder.MSEEnabled;
this.multiBufferEnabled = builder.multiBufferEnabled;
this.multiBufferPollDelay = builder.multiBufferPollDelay;
this.mysqlFilterEnabled = builder.mysqlFilterEnabled;
this.NFDEnabled = builder.NFDEnabled;
this.NFDLabelPruned = builder.NFDLabelPruned;
this.OPAInjectorCPULimit = builder.OPAInjectorCPULimit;
this.OPAInjectorCPURequirement = builder.OPAInjectorCPURequirement;
this.OPAInjectorMemoryLimit = builder.OPAInjectorMemoryLimit;
this.OPAInjectorMemoryRequirement = builder.OPAInjectorMemoryRequirement;
this.OPALimitCPU = builder.OPALimitCPU;
this.OPALimitMemory = builder.OPALimitMemory;
this.OPALogLevel = builder.OPALogLevel;
this.OPARequestCPU = builder.OPARequestCPU;
this.OPARequestMemory = builder.OPARequestMemory;
this.OPAScopeInjected = builder.OPAScopeInjected;
this.opaEnabled = builder.opaEnabled;
this.openAgentPolicy = builder.openAgentPolicy;
this.outboundTrafficPolicy = builder.outboundTrafficPolicy;
this.prometheusUrl = builder.prometheusUrl;
this.proxyInitCPUResourceLimit = builder.proxyInitCPUResourceLimit;
this.proxyInitCPUResourceRequest = builder.proxyInitCPUResourceRequest;
this.proxyInitMemoryResourceLimit = builder.proxyInitMemoryResourceLimit;
this.proxyInitMemoryResourceRequest = builder.proxyInitMemoryResourceRequest;
this.proxyLimitCPU = builder.proxyLimitCPU;
this.proxyLimitMemory = builder.proxyLimitMemory;
this.proxyRequestCPU = builder.proxyRequestCPU;
this.proxyRequestMemory = builder.proxyRequestMemory;
this.proxyStatsMatcher = builder.proxyStatsMatcher;
this.redisFilterEnabled = builder.redisFilterEnabled;
this.serviceMeshId = builder.serviceMeshId;
this.sidecarInjectorLimitCPU = builder.sidecarInjectorLimitCPU;
this.sidecarInjectorLimitMemory = builder.sidecarInjectorLimitMemory;
this.sidecarInjectorRequestCPU = builder.sidecarInjectorRequestCPU;
this.sidecarInjectorRequestMemory = builder.sidecarInjectorRequestMemory;
this.sidecarInjectorWebhookAsYaml = builder.sidecarInjectorWebhookAsYaml;
this.telemetry = builder.telemetry;
this.terminationDrainDuration = builder.terminationDrainDuration;
this.thriftFilterEnabled = builder.thriftFilterEnabled;
this.traceCustomTags = builder.traceCustomTags;
this.traceMaxPathTagLength = builder.traceMaxPathTagLength;
this.traceSampling = builder.traceSampling;
this.tracing = builder.tracing;
this.tracingOnExtZipkinLimitCPU = builder.tracingOnExtZipkinLimitCPU;
this.tracingOnExtZipkinLimitMemory = builder.tracingOnExtZipkinLimitMemory;
this.tracingOnExtZipkinRequestCPU = builder.tracingOnExtZipkinRequestCPU;
this.tracingOnExtZipkinRequestMemory = builder.tracingOnExtZipkinRequestMemory;
this.webAssemblyFilterEnabled = builder.webAssemblyFilterEnabled;
}
public static Builder builder() {
return new Builder();
}
public static UpdateMeshFeatureRequest 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 accessLogGatewayEnabled
*/
public Boolean getAccessLogGatewayEnabled() {
return this.accessLogGatewayEnabled;
}
/**
* @return accessLogGatewayLifecycle
*/
public Integer getAccessLogGatewayLifecycle() {
return this.accessLogGatewayLifecycle;
}
/**
* @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 accessLogSidecarEnabled
*/
public Boolean getAccessLogSidecarEnabled() {
return this.accessLogSidecarEnabled;
}
/**
* @return accessLogSidecarLifecycle
*/
public Integer getAccessLogSidecarLifecycle() {
return this.accessLogSidecarLifecycle;
}
/**
* @return auditProject
*/
public String getAuditProject() {
return this.auditProject;
}
/**
* @return autoInjectionPolicyEnabled
*/
public Boolean getAutoInjectionPolicyEnabled() {
return this.autoInjectionPolicyEnabled;
}
/**
* @return CRAggregationEnabled
*/
public Boolean getCRAggregationEnabled() {
return this.CRAggregationEnabled;
}
/**
* @return clusterSpec
*/
public String getClusterSpec() {
return this.clusterSpec;
}
/**
* @return cniEnabled
*/
public Boolean getCniEnabled() {
return this.cniEnabled;
}
/**
* @return cniExcludeNamespaces
*/
public String getCniExcludeNamespaces() {
return this.cniExcludeNamespaces;
}
/**
* @return concurrency
*/
public Integer getConcurrency() {
return this.concurrency;
}
/**
* @return configSourceEnabled
*/
public Boolean getConfigSourceEnabled() {
return this.configSourceEnabled;
}
/**
* @return configSourceNacosID
*/
public String getConfigSourceNacosID() {
return this.configSourceNacosID;
}
/**
* @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 defaultComponentsScheduleConfig
*/
public String getDefaultComponentsScheduleConfig() {
return this.defaultComponentsScheduleConfig;
}
/**
* @return discoverySelectors
*/
public String getDiscoverySelectors() {
return this.discoverySelectors;
}
/**
* @return dubboFilterEnabled
*/
public Boolean getDubboFilterEnabled() {
return this.dubboFilterEnabled;
}
/**
* @return enableAudit
*/
public Boolean getEnableAudit() {
return this.enableAudit;
}
/**
* @return enableAutoDiagnosis
*/
public Boolean getEnableAutoDiagnosis() {
return this.enableAutoDiagnosis;
}
/**
* @return enableBootstrapXdsAgent
*/
public Boolean getEnableBootstrapXdsAgent() {
return this.enableBootstrapXdsAgent;
}
/**
* @return enableCRHistory
*/
public Boolean getEnableCRHistory() {
return this.enableCRHistory;
}
/**
* @return enableNamespacesByDefault
*/
public Boolean getEnableNamespacesByDefault() {
return this.enableNamespacesByDefault;
}
/**
* @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 filterGatewayClusterConfig
*/
public Boolean getFilterGatewayClusterConfig() {
return this.filterGatewayClusterConfig;
}
/**
* @return gatewayAPIEnabled
*/
public Boolean getGatewayAPIEnabled() {
return this.gatewayAPIEnabled;
}
/**
* @return holdApplicationUntilProxyStarts
*/
public Boolean getHoldApplicationUntilProxyStarts() {
return this.holdApplicationUntilProxyStarts;
}
/**
* @return http10Enabled
*/
public Boolean getHttp10Enabled() {
return this.http10Enabled;
}
/**
* @return includeIPRanges
*/
public String getIncludeIPRanges() {
return this.includeIPRanges;
}
/**
* @return includeInboundPorts
*/
public String getIncludeInboundPorts() {
return this.includeInboundPorts;
}
/**
* @return includeOutboundPorts
*/
public String getIncludeOutboundPorts() {
return this.includeOutboundPorts;
}
/**
* @return integrateKiali
*/
public Boolean getIntegrateKiali() {
return this.integrateKiali;
}
/**
* @return interceptionMode
*/
public String getInterceptionMode() {
return this.interceptionMode;
}
/**
* @return kialiArmsAuthTokens
*/
public String getKialiArmsAuthTokens() {
return this.kialiArmsAuthTokens;
}
/**
* @return kialiEnabled
*/
public Boolean getKialiEnabled() {
return this.kialiEnabled;
}
/**
* @return kialiServiceAnnotations
*/
public String getKialiServiceAnnotations() {
return this.kialiServiceAnnotations;
}
/**
* @return lifecycle
*/
public String getLifecycle() {
return this.lifecycle;
}
/**
* @return localityLBConf
*/
public String getLocalityLBConf() {
return this.localityLBConf;
}
/**
* @return localityLoadBalancing
*/
public Boolean getLocalityLoadBalancing() {
return this.localityLoadBalancing;
}
/**
* @return logLevel
*/
public String getLogLevel() {
return this.logLevel;
}
/**
* @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 NFDEnabled
*/
public Boolean getNFDEnabled() {
return this.NFDEnabled;
}
/**
* @return NFDLabelPruned
*/
public Boolean getNFDLabelPruned() {
return this.NFDLabelPruned;
}
/**
* @return OPAInjectorCPULimit
*/
public String getOPAInjectorCPULimit() {
return this.OPAInjectorCPULimit;
}
/**
* @return OPAInjectorCPURequirement
*/
public String getOPAInjectorCPURequirement() {
return this.OPAInjectorCPURequirement;
}
/**
* @return OPAInjectorMemoryLimit
*/
public String getOPAInjectorMemoryLimit() {
return this.OPAInjectorMemoryLimit;
}
/**
* @return OPAInjectorMemoryRequirement
*/
public String getOPAInjectorMemoryRequirement() {
return this.OPAInjectorMemoryRequirement;
}
/**
* @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 OPAScopeInjected
*/
public Boolean getOPAScopeInjected() {
return this.OPAScopeInjected;
}
/**
* @return opaEnabled
*/
public Boolean getOpaEnabled() {
return this.opaEnabled;
}
/**
* @return openAgentPolicy
*/
public Boolean getOpenAgentPolicy() {
return this.openAgentPolicy;
}
/**
* @return outboundTrafficPolicy
*/
public String getOutboundTrafficPolicy() {
return this.outboundTrafficPolicy;
}
/**
* @return prometheusUrl
*/
public String getPrometheusUrl() {
return this.prometheusUrl;
}
/**
* @return proxyInitCPUResourceLimit
*/
public String getProxyInitCPUResourceLimit() {
return this.proxyInitCPUResourceLimit;
}
/**
* @return proxyInitCPUResourceRequest
*/
public String getProxyInitCPUResourceRequest() {
return this.proxyInitCPUResourceRequest;
}
/**
* @return proxyInitMemoryResourceLimit
*/
public String getProxyInitMemoryResourceLimit() {
return this.proxyInitMemoryResourceLimit;
}
/**
* @return proxyInitMemoryResourceRequest
*/
public String getProxyInitMemoryResourceRequest() {
return this.proxyInitMemoryResourceRequest;
}
/**
* @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 proxyStatsMatcher
*/
public String getProxyStatsMatcher() {
return this.proxyStatsMatcher;
}
/**
* @return redisFilterEnabled
*/
public Boolean getRedisFilterEnabled() {
return this.redisFilterEnabled;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
/**
* @return sidecarInjectorLimitCPU
*/
public String getSidecarInjectorLimitCPU() {
return this.sidecarInjectorLimitCPU;
}
/**
* @return sidecarInjectorLimitMemory
*/
public String getSidecarInjectorLimitMemory() {
return this.sidecarInjectorLimitMemory;
}
/**
* @return sidecarInjectorRequestCPU
*/
public String getSidecarInjectorRequestCPU() {
return this.sidecarInjectorRequestCPU;
}
/**
* @return sidecarInjectorRequestMemory
*/
public String getSidecarInjectorRequestMemory() {
return this.sidecarInjectorRequestMemory;
}
/**
* @return sidecarInjectorWebhookAsYaml
*/
public String getSidecarInjectorWebhookAsYaml() {
return this.sidecarInjectorWebhookAsYaml;
}
/**
* @return telemetry
*/
public Boolean getTelemetry() {
return this.telemetry;
}
/**
* @return terminationDrainDuration
*/
public String getTerminationDrainDuration() {
return this.terminationDrainDuration;
}
/**
* @return thriftFilterEnabled
*/
public Boolean getThriftFilterEnabled() {
return this.thriftFilterEnabled;
}
/**
* @return traceCustomTags
*/
public String getTraceCustomTags() {
return this.traceCustomTags;
}
/**
* @return traceMaxPathTagLength
*/
public String getTraceMaxPathTagLength() {
return this.traceMaxPathTagLength;
}
/**
* @return traceSampling
*/
public Float getTraceSampling() {
return this.traceSampling;
}
/**
* @return tracing
*/
public Boolean getTracing() {
return this.tracing;
}
/**
* @return tracingOnExtZipkinLimitCPU
*/
public String getTracingOnExtZipkinLimitCPU() {
return this.tracingOnExtZipkinLimitCPU;
}
/**
* @return tracingOnExtZipkinLimitMemory
*/
public String getTracingOnExtZipkinLimitMemory() {
return this.tracingOnExtZipkinLimitMemory;
}
/**
* @return tracingOnExtZipkinRequestCPU
*/
public String getTracingOnExtZipkinRequestCPU() {
return this.tracingOnExtZipkinRequestCPU;
}
/**
* @return tracingOnExtZipkinRequestMemory
*/
public String getTracingOnExtZipkinRequestMemory() {
return this.tracingOnExtZipkinRequestMemory;
}
/**
* @return webAssemblyFilterEnabled
*/
public Boolean getWebAssemblyFilterEnabled() {
return this.webAssemblyFilterEnabled;
}
public static final class Builder extends Request.Builder<UpdateMeshFeatureRequest, Builder> {
private Boolean accessLogEnabled;
private String accessLogFile;
private String accessLogFormat;
private Boolean accessLogGatewayEnabled;
private Integer accessLogGatewayLifecycle;
private String accessLogProject;
private Boolean accessLogServiceEnabled;
private String accessLogServiceHost;
private Integer accessLogServicePort;
private Boolean accessLogSidecarEnabled;
private Integer accessLogSidecarLifecycle;
private String auditProject;
private Boolean autoInjectionPolicyEnabled;
private Boolean CRAggregationEnabled;
private String clusterSpec;
private Boolean cniEnabled;
private String cniExcludeNamespaces;
private Integer concurrency;
private Boolean configSourceEnabled;
private String configSourceNacosID;
private Boolean customizedPrometheus;
private Boolean customizedZipkin;
private Boolean DNSProxyingEnabled;
private String defaultComponentsScheduleConfig;
private String discoverySelectors;
private Boolean dubboFilterEnabled;
private Boolean enableAudit;
private Boolean enableAutoDiagnosis;
private Boolean enableBootstrapXdsAgent;
private Boolean enableCRHistory;
private Boolean enableNamespacesByDefault;
private Boolean enableSDSServer;
private String excludeIPRanges;
private String excludeInboundPorts;
private String excludeOutboundPorts;
private Boolean filterGatewayClusterConfig;
private Boolean gatewayAPIEnabled;
private Boolean holdApplicationUntilProxyStarts;
private Boolean http10Enabled;
private String includeIPRanges;
private String includeInboundPorts;
private String includeOutboundPorts;
private Boolean integrateKiali;
private String interceptionMode;
private String kialiArmsAuthTokens;
private Boolean kialiEnabled;
private String kialiServiceAnnotations;
private String lifecycle;
private String localityLBConf;
private Boolean localityLoadBalancing;
private String logLevel;
private Boolean MSEEnabled;
private Boolean multiBufferEnabled;
private String multiBufferPollDelay;
private Boolean mysqlFilterEnabled;
private Boolean NFDEnabled;
private Boolean NFDLabelPruned;
private String OPAInjectorCPULimit;
private String OPAInjectorCPURequirement;
private String OPAInjectorMemoryLimit;
private String OPAInjectorMemoryRequirement;
private String OPALimitCPU;
private String OPALimitMemory;
private String OPALogLevel;
private String OPARequestCPU;
private String OPARequestMemory;
private Boolean OPAScopeInjected;
private Boolean opaEnabled;
private Boolean openAgentPolicy;
private String outboundTrafficPolicy;
private String prometheusUrl;
private String proxyInitCPUResourceLimit;
private String proxyInitCPUResourceRequest;
private String proxyInitMemoryResourceLimit;
private String proxyInitMemoryResourceRequest;
private String proxyLimitCPU;
private String proxyLimitMemory;
private String proxyRequestCPU;
private String proxyRequestMemory;
private String proxyStatsMatcher;
private Boolean redisFilterEnabled;
private String serviceMeshId;
private String sidecarInjectorLimitCPU;
private String sidecarInjectorLimitMemory;
private String sidecarInjectorRequestCPU;
private String sidecarInjectorRequestMemory;
private String sidecarInjectorWebhookAsYaml;
private Boolean telemetry;
private String terminationDrainDuration;
private Boolean thriftFilterEnabled;
private String traceCustomTags;
private String traceMaxPathTagLength;
private Float traceSampling;
private Boolean tracing;
private String tracingOnExtZipkinLimitCPU;
private String tracingOnExtZipkinLimitMemory;
private String tracingOnExtZipkinRequestCPU;
private String tracingOnExtZipkinRequestMemory;
private Boolean webAssemblyFilterEnabled;
private Builder() {
super();
}
private Builder(UpdateMeshFeatureRequest request) {
super(request);
this.accessLogEnabled = request.accessLogEnabled;
this.accessLogFile = request.accessLogFile;
this.accessLogFormat = request.accessLogFormat;
this.accessLogGatewayEnabled = request.accessLogGatewayEnabled;
this.accessLogGatewayLifecycle = request.accessLogGatewayLifecycle;
this.accessLogProject = request.accessLogProject;
this.accessLogServiceEnabled = request.accessLogServiceEnabled;
this.accessLogServiceHost = request.accessLogServiceHost;
this.accessLogServicePort = request.accessLogServicePort;
this.accessLogSidecarEnabled = request.accessLogSidecarEnabled;
this.accessLogSidecarLifecycle = request.accessLogSidecarLifecycle;
this.auditProject = request.auditProject;
this.autoInjectionPolicyEnabled = request.autoInjectionPolicyEnabled;
this.CRAggregationEnabled = request.CRAggregationEnabled;
this.clusterSpec = request.clusterSpec;
this.cniEnabled = request.cniEnabled;
this.cniExcludeNamespaces = request.cniExcludeNamespaces;
this.concurrency = request.concurrency;
this.configSourceEnabled = request.configSourceEnabled;
this.configSourceNacosID = request.configSourceNacosID;
this.customizedPrometheus = request.customizedPrometheus;
this.customizedZipkin = request.customizedZipkin;
this.DNSProxyingEnabled = request.DNSProxyingEnabled;
this.defaultComponentsScheduleConfig = request.defaultComponentsScheduleConfig;
this.discoverySelectors = request.discoverySelectors;
this.dubboFilterEnabled = request.dubboFilterEnabled;
this.enableAudit = request.enableAudit;
this.enableAutoDiagnosis = request.enableAutoDiagnosis;
this.enableBootstrapXdsAgent = request.enableBootstrapXdsAgent;
this.enableCRHistory = request.enableCRHistory;
this.enableNamespacesByDefault = request.enableNamespacesByDefault;
this.enableSDSServer = request.enableSDSServer;
this.excludeIPRanges = request.excludeIPRanges;
this.excludeInboundPorts = request.excludeInboundPorts;
this.excludeOutboundPorts = request.excludeOutboundPorts;
this.filterGatewayClusterConfig = request.filterGatewayClusterConfig;
this.gatewayAPIEnabled = request.gatewayAPIEnabled;
this.holdApplicationUntilProxyStarts = request.holdApplicationUntilProxyStarts;
this.http10Enabled = request.http10Enabled;
this.includeIPRanges = request.includeIPRanges;
this.includeInboundPorts = request.includeInboundPorts;
this.includeOutboundPorts = request.includeOutboundPorts;
this.integrateKiali = request.integrateKiali;
this.interceptionMode = request.interceptionMode;
this.kialiArmsAuthTokens = request.kialiArmsAuthTokens;
this.kialiEnabled = request.kialiEnabled;
this.kialiServiceAnnotations = request.kialiServiceAnnotations;
this.lifecycle = request.lifecycle;
this.localityLBConf = request.localityLBConf;
this.localityLoadBalancing = request.localityLoadBalancing;
this.logLevel = request.logLevel;
this.MSEEnabled = request.MSEEnabled;
this.multiBufferEnabled = request.multiBufferEnabled;
this.multiBufferPollDelay = request.multiBufferPollDelay;
this.mysqlFilterEnabled = request.mysqlFilterEnabled;
this.NFDEnabled = request.NFDEnabled;
this.NFDLabelPruned = request.NFDLabelPruned;
this.OPAInjectorCPULimit = request.OPAInjectorCPULimit;
this.OPAInjectorCPURequirement = request.OPAInjectorCPURequirement;
this.OPAInjectorMemoryLimit = request.OPAInjectorMemoryLimit;
this.OPAInjectorMemoryRequirement = request.OPAInjectorMemoryRequirement;
this.OPALimitCPU = request.OPALimitCPU;
this.OPALimitMemory = request.OPALimitMemory;
this.OPALogLevel = request.OPALogLevel;
this.OPARequestCPU = request.OPARequestCPU;
this.OPARequestMemory = request.OPARequestMemory;
this.OPAScopeInjected = request.OPAScopeInjected;
this.opaEnabled = request.opaEnabled;
this.openAgentPolicy = request.openAgentPolicy;
this.outboundTrafficPolicy = request.outboundTrafficPolicy;
this.prometheusUrl = request.prometheusUrl;
this.proxyInitCPUResourceLimit = request.proxyInitCPUResourceLimit;
this.proxyInitCPUResourceRequest = request.proxyInitCPUResourceRequest;
this.proxyInitMemoryResourceLimit = request.proxyInitMemoryResourceLimit;
this.proxyInitMemoryResourceRequest = request.proxyInitMemoryResourceRequest;
this.proxyLimitCPU = request.proxyLimitCPU;
this.proxyLimitMemory = request.proxyLimitMemory;
this.proxyRequestCPU = request.proxyRequestCPU;
this.proxyRequestMemory = request.proxyRequestMemory;
this.proxyStatsMatcher = request.proxyStatsMatcher;
this.redisFilterEnabled = request.redisFilterEnabled;
this.serviceMeshId = request.serviceMeshId;
this.sidecarInjectorLimitCPU = request.sidecarInjectorLimitCPU;
this.sidecarInjectorLimitMemory = request.sidecarInjectorLimitMemory;
this.sidecarInjectorRequestCPU = request.sidecarInjectorRequestCPU;
this.sidecarInjectorRequestMemory = request.sidecarInjectorRequestMemory;
this.sidecarInjectorWebhookAsYaml = request.sidecarInjectorWebhookAsYaml;
this.telemetry = request.telemetry;
this.terminationDrainDuration = request.terminationDrainDuration;
this.thriftFilterEnabled = request.thriftFilterEnabled;
this.traceCustomTags = request.traceCustomTags;
this.traceMaxPathTagLength = request.traceMaxPathTagLength;
this.traceSampling = request.traceSampling;
this.tracing = request.tracing;
this.tracingOnExtZipkinLimitCPU = request.tracingOnExtZipkinLimitCPU;
this.tracingOnExtZipkinLimitMemory = request.tracingOnExtZipkinLimitMemory;
this.tracingOnExtZipkinRequestCPU = request.tracingOnExtZipkinRequestCPU;
this.tracingOnExtZipkinRequestMemory = request.tracingOnExtZipkinRequestMemory;
this.webAssemblyFilterEnabled = request.webAssemblyFilterEnabled;
}
/**
* Specifies whether to enable access log collection. Valid values:
* <p>
*
* * `true`: enables access log collection.
* * `false`: disables access log collection.
*
* Default value: `false`.
*/
public Builder accessLogEnabled(Boolean accessLogEnabled) {
this.putBodyParameter("AccessLogEnabled", accessLogEnabled);
this.accessLogEnabled = accessLogEnabled;
return this;
}
/**
* Specifies whether to enable access logging. Valid values:
* <p>
*
* * `""`: disables access logging.
* * `/dev/stdout`: enables access logging. Access logs are written to /dev/stdout.
*/
public Builder accessLogFile(String accessLogFile) {
this.putBodyParameter("AccessLogFile", accessLogFile);
this.accessLogFile = accessLogFile;
return this;
}
/**
* The custom format of access logs. To set this parameter, make sure that you have enabled access log collection. The value must be a JSON string. The following key names must be contained: authority_for, bytes_received, bytes_sent, downstream_local_address, downstream_remote_address, duration, istio_policy_status, method, path, protocol, requested_server_name, response_code, response_flags, route_name, start_time, trace_id, upstream_cluster, upstream_host, upstream_local_address, upstream_service_time, upstream_transport_failure_reason, user_agent, and x_forwarded_for.
*/
public Builder accessLogFormat(String accessLogFormat) {
this.putBodyParameter("AccessLogFormat", accessLogFormat);
this.accessLogFormat = accessLogFormat;
return this;
}
/**
* AccessLogGatewayEnabled.
*/
public Builder accessLogGatewayEnabled(Boolean accessLogGatewayEnabled) {
this.putQueryParameter("AccessLogGatewayEnabled", accessLogGatewayEnabled);
this.accessLogGatewayEnabled = accessLogGatewayEnabled;
return this;
}
/**
* The retention period for the access logs of the sidecar proxy. Unit: day. The logs are collected by using Log Service. For example, `30` indicates 30 days.
*/
public Builder accessLogGatewayLifecycle(Integer accessLogGatewayLifecycle) {
this.putBodyParameter("AccessLogGatewayLifecycle", accessLogGatewayLifecycle);
this.accessLogGatewayLifecycle = accessLogGatewayLifecycle;
return this;
}
/**
* The custom project on which the Log Service collects logs.
*/
public Builder accessLogProject(String accessLogProject) {
this.putBodyParameter("AccessLogProject", accessLogProject);
this.accessLogProject = accessLogProject;
return this;
}
/**
* Specifies whether to enable gRPC Access Log Service (ALS) for Envoy. Valid values:
* <p>
*
* * `true`: enables gRPC ALS for Envoy.
* * `false`: disables gRPC ALS for Envoy.
*
* Default value: `false`.
*/
public Builder accessLogServiceEnabled(Boolean accessLogServiceEnabled) {
this.putBodyParameter("AccessLogServiceEnabled", accessLogServiceEnabled);
this.accessLogServiceEnabled = accessLogServiceEnabled;
return this;
}
/**
* The endpoint of gRPC ALS for Envoy.
*/
public Builder accessLogServiceHost(String accessLogServiceHost) {
this.putBodyParameter("AccessLogServiceHost", accessLogServiceHost);
this.accessLogServiceHost = accessLogServiceHost;
return this;
}
/**
* The port of gRPC ALS for Envoy.
*/
public Builder accessLogServicePort(Integer accessLogServicePort) {
this.putBodyParameter("AccessLogServicePort", accessLogServicePort);
this.accessLogServicePort = accessLogServicePort;
return this;
}
/**
* AccessLogSidecarEnabled.
*/
public Builder accessLogSidecarEnabled(Boolean accessLogSidecarEnabled) {
this.putQueryParameter("AccessLogSidecarEnabled", accessLogSidecarEnabled);
this.accessLogSidecarEnabled = accessLogSidecarEnabled;
return this;
}
/**
* Specifies whether to enable automatic diagnostics for the ASM instance. If you enable this feature, the ASM instance is automatically diagnosed when you modify Istio resources in the ASM instance.
*/
public Builder accessLogSidecarLifecycle(Integer accessLogSidecarLifecycle) {
this.putBodyParameter("AccessLogSidecarLifecycle", accessLogSidecarLifecycle);
this.accessLogSidecarLifecycle = accessLogSidecarLifecycle;
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 automatic sidecar proxy injection by using pod annotations. Valid values:
* <p>
*
* * `true`: enables automatic sidecar proxy injection by using pod annotations.
* * `false`: disables automatic sidecar proxy injection by using pod annotations.
*
* Default value: `false`.
*/
public Builder autoInjectionPolicyEnabled(Boolean autoInjectionPolicyEnabled) {
this.putBodyParameter("AutoInjectionPolicyEnabled", autoInjectionPolicyEnabled);
this.autoInjectionPolicyEnabled = autoInjectionPolicyEnabled;
return this;
}
/**
* Specifies whether to use the Kubernetes API of clusters on the data plane to access Istio resources. To use this feature, the version of the ASM instance must be V1.9.7.93 or later.
*/
public Builder CRAggregationEnabled(Boolean CRAggregationEnabled) {
this.putBodyParameter("CRAggregationEnabled", CRAggregationEnabled);
this.CRAggregationEnabled = CRAggregationEnabled;
return this;
}
/**
* Specifies whether to enable the feature of controlling the OPA injection scope. Valid values:
* <p>
*
* * `true`: enables the feature.
* * `false`: disables the feature.
*/
public Builder clusterSpec(String clusterSpec) {
this.putBodyParameter("ClusterSpec", clusterSpec);
this.clusterSpec = clusterSpec;
return this;
}
/**
* Specifies whether to enable the Container Network Interface (CNI) plug-in. Valid values:
* <p>
*
* * `true`: enables the CNI plug-in.
* * `false`: disables the CNI plug-in.
*
* Default value: `false`.
*/
public Builder cniEnabled(Boolean cniEnabled) {
this.putBodyParameter("CniEnabled", cniEnabled);
this.cniEnabled = cniEnabled;
return this;
}
/**
* The namespaces to be excluded for the CNI plug-in.
*/
public Builder cniExcludeNamespaces(String cniExcludeNamespaces) {
this.putBodyParameter("CniExcludeNamespaces", cniExcludeNamespaces);
this.cniExcludeNamespaces = cniExcludeNamespaces;
return this;
}
/**
* Specifies whether to delay application container startup until the sidecar proxy container is started in a pod.
*/
public Builder concurrency(Integer concurrency) {
this.putBodyParameter("Concurrency", concurrency);
this.concurrency = concurrency;
return this;
}
/**
* Specifies whether to enable the external service registry. Valid values:
* <p>
*
* * `true`: enables the external service registry.
* * `false`: disables the external service registry.
*
* 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 use a custom Prometheus instance. Valid values:
* <p>
*
* * `true`: uses a custom Prometheus instance.
* * `false`: does not use a custom Prometheus instance.
*
* 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.
* * `false`: does not use a self-managed Zipkin system.
*
* Default value: `false`.
*/
public Builder customizedZipkin(Boolean customizedZipkin) {
this.putBodyParameter("CustomizedZipkin", customizedZipkin);
this.customizedZipkin = customizedZipkin;
return this;
}
/**
* Specifies whether to enable DNS proxy. Valid values:
* <p>
*
* * `true`: enables the DNS proxy feature.
* * `false`: disables the DNS proxy feature.
*
* Default value: `false`.
*/
public Builder DNSProxyingEnabled(Boolean DNSProxyingEnabled) {
this.putBodyParameter("DNSProxyingEnabled", DNSProxyingEnabled);
this.DNSProxyingEnabled = DNSProxyingEnabled;
return this;
}
/**
* Specifies the default scheduling configurations that ASM delivers to components on the data plane. You can configure `nodeSelector` and `tolerations` in the JSON format.
* <p>
*
* >
*
* * Modifying the value of this parameter is a high-risk operation. The modification will cause all components on the data plane of ASM to restart. Exercise caution before modifying the value of this parameter.
*
* * The configurations specified by this parameter do not apply to the ASM gateway. You can configure gateway-specific scheduling on the ASM gateway.
*/
public Builder defaultComponentsScheduleConfig(String defaultComponentsScheduleConfig) {
this.putBodyParameter("DefaultComponentsScheduleConfig", defaultComponentsScheduleConfig);
this.defaultComponentsScheduleConfig = defaultComponentsScheduleConfig;
return this;
}
/**
* The label selectors used to specify the namespaces of the clusters on the data plane for selective service discovery.
*/
public Builder discoverySelectors(String discoverySelectors) {
this.putBodyParameter("DiscoverySelectors", discoverySelectors);
this.discoverySelectors = discoverySelectors;
return this;
}
/**
* Specifies whether to enable Dubbo Filter. Valid values:
* <p>
*
* * `true`: enables Dubbo Filter.
* * `false`: disables Dubbo Filter.
*
* Default value: `false`.
*/
public Builder dubboFilterEnabled(Boolean dubboFilterEnabled) {
this.putBodyParameter("DubboFilterEnabled", dubboFilterEnabled);
this.dubboFilterEnabled = dubboFilterEnabled;
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`: enables the mesh audit feature.
* * `false`: disables the mesh audit feature.
*
* Default value: `false`.
*/
public Builder enableAudit(Boolean enableAudit) {
this.putBodyParameter("EnableAudit", enableAudit);
this.enableAudit = enableAudit;
return this;
}
/**
* The ports for which outbound traffic is redirected to the sidecar proxy.
*/
public Builder enableAutoDiagnosis(Boolean enableAutoDiagnosis) {
this.putBodyParameter("EnableAutoDiagnosis", enableAutoDiagnosis);
this.enableAutoDiagnosis = enableAutoDiagnosis;
return this;
}
/**
* Specifies the authentication token of an ARMS Prometheus instance when the Mesh Topology feature is enabled and ARMS Prometheus is used to collect monitoring metrics. The token is used to allow Mesh Topology to access the ARMS Prometheus instance. The token is in the JSON format. The key in the JSON object is the ID of the cluster on the data plane, and the value is the authentication token of the ARMS Prometheus instance deployed in the cluster.
*/
public Builder enableBootstrapXdsAgent(Boolean enableBootstrapXdsAgent) {
this.putBodyParameter("EnableBootstrapXdsAgent", enableBootstrapXdsAgent);
this.enableBootstrapXdsAgent = enableBootstrapXdsAgent;
return this;
}
/**
* Specifies whether to enable the rollback feature for Istio resources.
*/
public Builder enableCRHistory(Boolean enableCRHistory) {
this.putBodyParameter("EnableCRHistory", enableCRHistory);
this.enableCRHistory = enableCRHistory;
return this;
}
/**
* Specifies whether to enable automatic sidecar proxy injection for all namespaces. Valid values:
* <p>
*
* * `true`: enables automatic sidecar proxy injection for all namespaces.
* * `false`: disables automatic sidecar proxy injection for all namespaces.
*
* Default value: `false`.
*/
public Builder enableNamespacesByDefault(Boolean enableNamespacesByDefault) {
this.putBodyParameter("EnableNamespacesByDefault", enableNamespacesByDefault);
this.enableNamespacesByDefault = enableNamespacesByDefault;
return this;
}
/**
* Specifies whether to enable Secret Discovery Service (SDS). Valid values:
* <p>
*
* * `true`: enables SDS.
* * `false`: disables SDS.
*
* Default value: `false`.
*/
public Builder enableSDSServer(Boolean enableSDSServer) {
this.putBodyParameter("EnableSDSServer", enableSDSServer);
this.enableSDSServer = enableSDSServer;
return this;
}
/**
* The IP addresses of external services to which traffic is not intercepted.
*/
public Builder excludeIPRanges(String excludeIPRanges) {
this.putBodyParameter("ExcludeIPRanges", excludeIPRanges);
this.excludeIPRanges = excludeIPRanges;
return this;
}
/**
* The ports for which inbound traffic is not redirected to the sidecar proxy. Separate multiple ports with commas (,).
*/
public Builder excludeInboundPorts(String excludeInboundPorts) {
this.putBodyParameter("ExcludeInboundPorts", excludeInboundPorts);
this.excludeInboundPorts = excludeInboundPorts;
return this;
}
/**
* The ports for which outbound traffic is not redirected to the sidecar proxy. Separate multiple ports with commas (,).
*/
public Builder excludeOutboundPorts(String excludeOutboundPorts) {
this.putBodyParameter("ExcludeOutboundPorts", excludeOutboundPorts);
this.excludeOutboundPorts = excludeOutboundPorts;
return this;
}
/**
* Specifies whether to enable gateway configuration filtering. Valid values:
* <p>
*
* * `true`: enables gateway configuration filtering.
* * `false`: disables gateway configuration filtering.
*
* 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`: enables Gateway API.
* * `false`: disables Gateway API.
*
* Default value: `false`.
*/
public Builder gatewayAPIEnabled(Boolean gatewayAPIEnabled) {
this.putBodyParameter("GatewayAPIEnabled", gatewayAPIEnabled);
this.gatewayAPIEnabled = gatewayAPIEnabled;
return this;
}
/**
* Other metrics of the sidecar proxy on the data plane.
*/
public Builder holdApplicationUntilProxyStarts(Boolean holdApplicationUntilProxyStarts) {
this.putBodyParameter("HoldApplicationUntilProxyStarts", holdApplicationUntilProxyStarts);
this.holdApplicationUntilProxyStarts = holdApplicationUntilProxyStarts;
return this;
}
/**
* Specifies whether to support HTTP 1.0. Valid values:
* <p>
*
* * `true`: supports HTTP 1.0.
* * `false`: does not support HTTP 1.0.
*
* Default value: `false`.
*/
public Builder http10Enabled(Boolean http10Enabled) {
this.putBodyParameter("Http10Enabled", http10Enabled);
this.http10Enabled = http10Enabled;
return this;
}
/**
* The IP addresses of external services to which traffic is intercepted.
*/
public Builder includeIPRanges(String includeIPRanges) {
this.putBodyParameter("IncludeIPRanges", includeIPRanges);
this.includeIPRanges = includeIPRanges;
return this;
}
/**
* The ports for which inbound traffic is redirected to the sidecar proxy.
*/
public Builder includeInboundPorts(String includeInboundPorts) {
this.putBodyParameter("IncludeInboundPorts", includeInboundPorts);
this.includeInboundPorts = includeInboundPorts;
return this;
}
/**
* The log level of the sidecar proxy on the data plane. Log levels include `none`, `error`, `warn`, `info`, and `debug`. The levels correspond to different amounts of information reported by the logs. For example, none-level logs report the least information, while debug-level logs report the most information.
*/
public Builder includeOutboundPorts(String includeOutboundPorts) {
this.putBodyParameter("IncludeOutboundPorts", includeOutboundPorts);
this.includeOutboundPorts = includeOutboundPorts;
return this;
}
/**
* Specifies whether to enable Node Feature Discovery (NFD).
*/
public Builder integrateKiali(Boolean integrateKiali) {
this.putBodyParameter("IntegrateKiali", integrateKiali);
this.integrateKiali = integrateKiali;
return this;
}
/**
* Specifies whether to load the bootstrap configuration before the sidecar proxy is started.
*/
public Builder interceptionMode(String interceptionMode) {
this.putBodyParameter("InterceptionMode", interceptionMode);
this.interceptionMode = interceptionMode;
return this;
}
/**
* Specifies the default scheduling configurations that ASM delivers to components on the data plane. You can configure `nodeSelector` and tolerations in the JSON format.
* <p>
*
* > * Modifying the value of this parameter is a high-risk operation. The modification will cause all components on the data plane of ASM to restart. Exercise caution before modifying the value of this parameter.
* >* The configurations specified by this parameter do not apply to the ASM gateway. You can configure gateway-specific scheduling on the ASM gateway.
*/
public Builder kialiArmsAuthTokens(String kialiArmsAuthTokens) {
this.putBodyParameter("KialiArmsAuthTokens", kialiArmsAuthTokens);
this.kialiArmsAuthTokens = kialiArmsAuthTokens;
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, the Mesh Topology feature must be disabled. Valid values:````
* <p>
*
* * `true`: enables the Mesh Topology feature.
* * `false`: disables the Mesh Topology feature.
*
* Default value: `false`.
*/
public Builder kialiEnabled(Boolean kialiEnabled) {
this.putBodyParameter("KialiEnabled", kialiEnabled);
this.kialiEnabled = kialiEnabled;
return this;
}
/**
* Specifies Classic Load Balancer (CLB) instances by using annotations when the Mesh Topology feature is enabled. These CLB instances are used to access the Mesh Topology feature in different clusters.
* <p>
*
* This parameter is a JSON-encoded string. The key in the JSON object is the ID of a cluster on the data plane, and the value is the annotation content of the Mesh Topology service in the cluster.
*
* For more information about how to configure CLB instances by using annotations, see [Add annotations to the YAML file of a Service to configure CLB instances](https://www.alibabacloud.com/help/container-service-for-kubernetes/latest/use-annotations-to-configure-load-balancing-1).
*/
public Builder kialiServiceAnnotations(String kialiServiceAnnotations) {
this.putBodyParameter("KialiServiceAnnotations", kialiServiceAnnotations);
this.kialiServiceAnnotations = kialiServiceAnnotations;
return this;
}
/**
* The lifecycle of the sidecar proxy.
*/
public Builder lifecycle(String lifecycle) {
this.putBodyParameter("Lifecycle", lifecycle);
this.lifecycle = lifecycle;
return this;
}
/**
* The configurations of cross-region load balancing. Valid values:
* <p>
*
* * `failover`: the configurations of cross-region failover. Example:
*
* <!---->
*
* failover: [// Cross-region failover configurations of the struct type.
* {
* // If a service fails in the China (Beijing) region, the traffic is redirected to the same service in the China (Hangzhou) region.
* from: "cn-beijing",
* to: "cn-hangzhou",
* }
* ]
*
* * `distribute`: the configurations of cross-region traffic distribution. Example:
*
* <!---->
*
* distribute: [// Cross-region traffic distribution configurations of the struct type.
* {
* // For traffic that is routed to the China (Beijing) region, 70% of the traffic is allocated to the China (Beijing) region and the rest of the traffic is redirected to the China (Hangzhou) region.
* "from": "cn-beijing",
* "to": {
* "cn-beijing": 70,
* "cn-hangzhou": 30,
* }
* }
* ]
*/
public Builder localityLBConf(String localityLBConf) {
this.putBodyParameter("LocalityLBConf", localityLBConf);
this.localityLBConf = localityLBConf;
return this;
}
/**
* Specifies whether to enable cross-region load balancing. Valid values:
* <p>
*
* * `true`: enables cross-region load balancing.
* * `false`: disables cross-region load balancing.
*
* Default value: `false`.
*/
public Builder localityLoadBalancing(Boolean localityLoadBalancing) {
this.putBodyParameter("LocalityLoadBalancing", localityLoadBalancing);
this.localityLoadBalancing = localityLoadBalancing;
return this;
}
/**
* The number of worker threads used by the sidecar proxy on the data plane.
*/
public Builder logLevel(String logLevel) {
this.putBodyParameter("LogLevel", logLevel);
this.logLevel = logLevel;
return this;
}
/**
* Specifies whether to enable Microservice Engine (MSE). Valid values:
* <p>
*
* * `true`: enables MSE.
* * `false`: disables MSE.
*
* Default value: `false`.
*/
public Builder MSEEnabled(Boolean MSEEnabled) {
this.putBodyParameter("MSEEnabled", MSEEnabled);
this.MSEEnabled = MSEEnabled;
return this;
}
/**
* Specifies whether to enable Transport Layer Security (TLS) acceleration based on MultiBuffer.
*/
public Builder multiBufferEnabled(Boolean multiBufferEnabled) {
this.putBodyParameter("MultiBufferEnabled", multiBufferEnabled);
this.multiBufferEnabled = multiBufferEnabled;
return this;
}
/**
* The pull-request latency. By default, this parameter is left empty.
*/
public Builder multiBufferPollDelay(String multiBufferPollDelay) {
this.putBodyParameter("MultiBufferPollDelay", multiBufferPollDelay);
this.multiBufferPollDelay = multiBufferPollDelay;
return this;
}
/**
* Specifies whether to enable MySQL Filter. Valid values:
* <p>
*
* * `true`: enables MySQL Filter.
* * `false`: disables MySQL Filter.
*
* Default value: `false`.
*/
public Builder mysqlFilterEnabled(Boolean mysqlFilterEnabled) {
this.putBodyParameter("MysqlFilterEnabled", mysqlFilterEnabled);
this.mysqlFilterEnabled = mysqlFilterEnabled;
return this;
}
/**
* Specifies whether to clear feature labels on nodes when NFD is disabled.
* <p>
*
* This parameter is valid only when the `NFDEnabled` parameter is set to `false`.
*/
public Builder NFDEnabled(Boolean NFDEnabled) {
this.putBodyParameter("NFDEnabled", NFDEnabled);
this.NFDEnabled = NFDEnabled;
return this;
}
/**
* The minimum number of CPU cores requested by the proxy service that exports Tracing Analysis data. For example, `1000m` indicates one CPU core.
*/
public Builder NFDLabelPruned(Boolean NFDLabelPruned) {
this.putBodyParameter("NFDLabelPruned", NFDLabelPruned);
this.NFDLabelPruned = NFDLabelPruned;
return this;
}
/**
* The maximum size of the memory that is available to the pod that injects OPA proxies into application pods. For example, `1024Mi` indicates 1024 MB.
*/
public Builder OPAInjectorCPULimit(String OPAInjectorCPULimit) {
this.putBodyParameter("OPAInjectorCPULimit", OPAInjectorCPULimit);
this.OPAInjectorCPULimit = OPAInjectorCPULimit;
return this;
}
/**
* The minimum size of the memory requested by the pod that injects OPA proxies into application pods. For example, `50 Mi` indicates 50 MB.
*/
public Builder OPAInjectorCPURequirement(String OPAInjectorCPURequirement) {
this.putBodyParameter("OPAInjectorCPURequirement", OPAInjectorCPURequirement);
this.OPAInjectorCPURequirement = OPAInjectorCPURequirement;
return this;
}
/**
* Specifies whether to create a CLB instance for accessing the ASM mesh topology.
*/
public Builder OPAInjectorMemoryLimit(String OPAInjectorMemoryLimit) {
this.putBodyParameter("OPAInjectorMemoryLimit", OPAInjectorMemoryLimit);
this.OPAInjectorMemoryLimit = OPAInjectorMemoryLimit;
return this;
}
/**
* The maximum number of CPU cores that are available to the pod that injects OPA proxies into application pods. For example, `1000m` indicates one CPU core.
*/
public Builder OPAInjectorMemoryRequirement(String OPAInjectorMemoryRequirement) {
this.putBodyParameter("OPAInjectorMemoryRequirement", OPAInjectorMemoryRequirement);
this.OPAInjectorMemoryRequirement = OPAInjectorMemoryRequirement;
return this;
}
/**
* The maximum number of CPU cores that are available to the OPA proxy 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 proxy container.
*/
public Builder OPALimitMemory(String OPALimitMemory) {
this.putBodyParameter("OPALimitMemory", OPALimitMemory);
this.OPALimitMemory = OPALimitMemory;
return this;
}
/**
* The log level of the OPA proxy container.
* <p>
*
* * `info`: outputs all information.
* * `debug`: outputs debugging and error information.
* * `error`: outputs only error information.
*/
public Builder OPALogLevel(String OPALogLevel) {
this.putBodyParameter("OPALogLevel", OPALogLevel);
this.OPALogLevel = OPALogLevel;
return this;
}
/**
* The number of CPU cores that are requested by the OPA proxy container.
*/
public Builder OPARequestCPU(String OPARequestCPU) {
this.putBodyParameter("OPARequestCPU", OPARequestCPU);
this.OPARequestCPU = OPARequestCPU;
return this;
}
/**
* The size of the memory that is requested by the OPA proxy container.
*/
public Builder OPARequestMemory(String OPARequestMemory) {
this.putBodyParameter("OPARequestMemory", OPARequestMemory);
this.OPARequestMemory = OPARequestMemory;
return this;
}
/**
* The minimum number of CPU cores requested by the pod that injects OPA proxies into application pods. For example, `1000m` indicates one CPU core.
*/
public Builder OPAScopeInjected(Boolean OPAScopeInjected) {
this.putBodyParameter("OPAScopeInjected", OPAScopeInjected);
this.OPAScopeInjected = OPAScopeInjected;
return this;
}
/**
* Specifies whether to enable the OPA plug-in. Valid values:
* <p>
*
* * `true`: enables the OPA plug-in.
* * `false`: disables the OPA plug-in.
*
* 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`: installs the OPA plug-in.
* * `false`: does not install the OPA plug-in.
*
* Default value: `false`.
*/
public Builder openAgentPolicy(Boolean openAgentPolicy) {
this.putBodyParameter("OpenAgentPolicy", openAgentPolicy);
this.openAgentPolicy = openAgentPolicy;
return this;
}
/**
* The policy for accessing external services. Valid values:
* <p>
*
* * `ALLOW_ANY`: allows access to all external services.
* * `REGISTRY_ONLY`: allows access to only the external services that are defined in the ServiceEntry of the ASM instance.
*/
public Builder outboundTrafficPolicy(String outboundTrafficPolicy) {
this.putBodyParameter("OutboundTrafficPolicy", outboundTrafficPolicy);
this.outboundTrafficPolicy = outboundTrafficPolicy;
return this;
}
/**
* The endpoint of Prometheus monitoring. If you use ARMS Prometheus, set this parameter to the endpoint of Prometheus provided by ARMS.
*/
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 istio-init container.
*/
public Builder proxyInitCPUResourceLimit(String proxyInitCPUResourceLimit) {
this.putBodyParameter("ProxyInitCPUResourceLimit", proxyInitCPUResourceLimit);
this.proxyInitCPUResourceLimit = proxyInitCPUResourceLimit;
return this;
}
/**
* The number of CPU cores that are requested by the istio-init container.
*/
public Builder proxyInitCPUResourceRequest(String proxyInitCPUResourceRequest) {
this.putBodyParameter("ProxyInitCPUResourceRequest", proxyInitCPUResourceRequest);
this.proxyInitCPUResourceRequest = proxyInitCPUResourceRequest;
return this;
}
/**
* The maximum size of the memory that is available to the istio-init container.
*/
public Builder proxyInitMemoryResourceLimit(String proxyInitMemoryResourceLimit) {
this.putBodyParameter("ProxyInitMemoryResourceLimit", proxyInitMemoryResourceLimit);
this.proxyInitMemoryResourceLimit = proxyInitMemoryResourceLimit;
return this;
}
/**
* The size of the memory that is requested by the istio-init container.
*/
public Builder proxyInitMemoryResourceRequest(String proxyInitMemoryResourceRequest) {
this.putBodyParameter("ProxyInitMemoryResourceRequest", proxyInitMemoryResourceRequest);
this.proxyInitMemoryResourceRequest = proxyInitMemoryResourceRequest;
return this;
}
/**
* The maximum number of CPU cores that are available to the sidecar 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 sidecar proxy container.
*/
public Builder proxyLimitMemory(String proxyLimitMemory) {
this.putBodyParameter("ProxyLimitMemory", proxyLimitMemory);
this.proxyLimitMemory = proxyLimitMemory;
return this;
}
/**
* The number of CPU cores that are requested by the sidecar proxy container.
*/
public Builder proxyRequestCPU(String proxyRequestCPU) {
this.putBodyParameter("ProxyRequestCPU", proxyRequestCPU);
this.proxyRequestCPU = proxyRequestCPU;
return this;
}
/**
* The size of the memory that is requested by the sidecar proxy container.
*/
public Builder proxyRequestMemory(String proxyRequestMemory) {
this.putBodyParameter("ProxyRequestMemory", proxyRequestMemory);
this.proxyRequestMemory = proxyRequestMemory;
return this;
}
/**
* The mode in which the sidecar proxy intercepts inbound traffic. Valid values:
* <p>
*
* * `REDIRECT`: The sidecar proxy intercepts inbound traffic in the REDIRECT mode.
* * `TPROXY`: The sidecar proxy intercepts inbound traffic in the TPROXY mode.
*/
public Builder proxyStatsMatcher(String proxyStatsMatcher) {
this.putBodyParameter("ProxyStatsMatcher", proxyStatsMatcher);
this.proxyStatsMatcher = proxyStatsMatcher;
return this;
}
/**
* Specifies whether to enable Redis Filter. Valid values:
* <p>
*
* * `true`: enables Redis Filter.
* * `false`: disables Redis Filter.
*
* Default value: `false`.
*/
public Builder redisFilterEnabled(Boolean redisFilterEnabled) {
this.putBodyParameter("RedisFilterEnabled", redisFilterEnabled);
this.redisFilterEnabled = redisFilterEnabled;
return this;
}
/**
* The ID of the ASM instance.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
/**
* The maximum number of CPU cores that are available to the pod where a sidecar proxy injector resides.
*/
public Builder sidecarInjectorLimitCPU(String sidecarInjectorLimitCPU) {
this.putBodyParameter("SidecarInjectorLimitCPU", sidecarInjectorLimitCPU);
this.sidecarInjectorLimitCPU = sidecarInjectorLimitCPU;
return this;
}
/**
* The maximum size of the memory that is available to the pod where a sidecar proxy injector resides.
*/
public Builder sidecarInjectorLimitMemory(String sidecarInjectorLimitMemory) {
this.putBodyParameter("SidecarInjectorLimitMemory", sidecarInjectorLimitMemory);
this.sidecarInjectorLimitMemory = sidecarInjectorLimitMemory;
return this;
}
/**
* The number of CPU cores that are requested by the pod where a sidecar proxy injector resides.
*/
public Builder sidecarInjectorRequestCPU(String sidecarInjectorRequestCPU) {
this.putBodyParameter("SidecarInjectorRequestCPU", sidecarInjectorRequestCPU);
this.sidecarInjectorRequestCPU = sidecarInjectorRequestCPU;
return this;
}
/**
* The size of the memory that is requested by the pod where a sidecar proxy injector resides.
*/
public Builder sidecarInjectorRequestMemory(String sidecarInjectorRequestMemory) {
this.putBodyParameter("SidecarInjectorRequestMemory", sidecarInjectorRequestMemory);
this.sidecarInjectorRequestMemory = sidecarInjectorRequestMemory;
return this;
}
/**
* Other configurations of automatic sidecar proxy injection, in the YAML format.
*/
public Builder sidecarInjectorWebhookAsYaml(String sidecarInjectorWebhookAsYaml) {
this.putBodyParameter("SidecarInjectorWebhookAsYaml", sidecarInjectorWebhookAsYaml);
this.sidecarInjectorWebhookAsYaml = sidecarInjectorWebhookAsYaml;
return this;
}
/**
* Specifies whether to enable Prometheus monitoring. We recommend that you enable [ARMS Prometheus](https://arms.console.aliyun.com/). Valid values:
* <p>
*
* * `true`: enables Prometheus monitoring.
* * `false`: disables Prometheus monitoring.
*
* Default value: `false`.
*/
public Builder telemetry(Boolean telemetry) {
this.putBodyParameter("Telemetry", telemetry);
this.telemetry = telemetry;
return this;
}
/**
* The maximum period of time that the sidecar proxy waits for requests to be processed before the proxy is stopped. For example, if you want to specify a period of 5 seconds, set this parameter to 5s.
*/
public Builder terminationDrainDuration(String terminationDrainDuration) {
this.putBodyParameter("TerminationDrainDuration", terminationDrainDuration);
this.terminationDrainDuration = terminationDrainDuration;
return this;
}
/**
* Specifies whether to enable Thrift Filter. Valid values:
* <p>
*
* * `true`: enables Thrift Filter.
* * `false`: disables Thrift Filter.
*
* Default value: `false`.
*/
public Builder thriftFilterEnabled(Boolean thriftFilterEnabled) {
this.putBodyParameter("ThriftFilterEnabled", thriftFilterEnabled);
this.thriftFilterEnabled = thriftFilterEnabled;
return this;
}
/**
* The custom tag of Tracing Analysis. Specify this parameter in the JSON format.
* <p>
*
* {
* "name1": CustomTag,
* "name2": CustomTag
* }
*
* Tag key: literal, header, or environment.
*
* {
* "literal": {
* "value": "Fixed value"
* }
* "header": {
* "name": "Header name"
* "defaultValue": "Default value that is used if the specified header does not exist"
* }
* "environment": {
* "name": "Environment variable name"
* "defaultValue": "Default value that is used if the specified environment variable does not exist"
* }
* }
*/
public Builder traceCustomTags(String traceCustomTags) {
this.putBodyParameter("TraceCustomTags", traceCustomTags);
this.traceCustomTags = traceCustomTags;
return this;
}
/**
* The maximum length of the request path contained in the HttpUrl span tag. Default value: `256`.
*/
public Builder traceMaxPathTagLength(String traceMaxPathTagLength) {
this.putBodyParameter("TraceMaxPathTagLength", traceMaxPathTagLength);
this.traceMaxPathTagLength = traceMaxPathTagLength;
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. To enable this feature, make sure that you have activated [Tracing Analysis](https://tracing-analysis.console.aliyun.com/). Valid values:
* <p>
*
* * `true`: enables the Tracing Analysis feature.
* * `false`: disables the Tracing Analysis feature.
*
* Default value: `false`.
*/
public Builder tracing(Boolean tracing) {
this.putBodyParameter("Tracing", tracing);
this.tracing = tracing;
return this;
}
/**
* The maximum size of the memory that is available to the proxy service that exports Tracing Analysis data. For example, `1Mi` indicates 1 MB.
*/
public Builder tracingOnExtZipkinLimitCPU(String tracingOnExtZipkinLimitCPU) {
this.putBodyParameter("TracingOnExtZipkinLimitCPU", tracingOnExtZipkinLimitCPU);
this.tracingOnExtZipkinLimitCPU = tracingOnExtZipkinLimitCPU;
return this;
}
/**
* The retention period for the access logs of the ingress gateway. Unit: day. The logs are collected by using Log Service. For example, `30` indicates 30 days.
*/
public Builder tracingOnExtZipkinLimitMemory(String tracingOnExtZipkinLimitMemory) {
this.putBodyParameter("TracingOnExtZipkinLimitMemory", tracingOnExtZipkinLimitMemory);
this.tracingOnExtZipkinLimitMemory = tracingOnExtZipkinLimitMemory;
return this;
}
/**
* The minimum size of the memory requested by the proxy service that exports Tracing Analysis data. For example, `1Mi` indicates 1 MB.
*/
public Builder tracingOnExtZipkinRequestCPU(String tracingOnExtZipkinRequestCPU) {
this.putBodyParameter("TracingOnExtZipkinRequestCPU", tracingOnExtZipkinRequestCPU);
this.tracingOnExtZipkinRequestCPU = tracingOnExtZipkinRequestCPU;
return this;
}
/**
* The maximum number of CPU cores that are available to the proxy service that exports Tracing Analysis data. For example, `1000m` indicates one CPU core.
*/
public Builder tracingOnExtZipkinRequestMemory(String tracingOnExtZipkinRequestMemory) {
this.putBodyParameter("TracingOnExtZipkinRequestMemory", tracingOnExtZipkinRequestMemory);
this.tracingOnExtZipkinRequestMemory = tracingOnExtZipkinRequestMemory;
return this;
}
/**
* Specifies whether to enable WebAssembly Filter. Valid values:
* <p>
*
* * `true`: enables WebAssembly Filter.
* * `false`: disables WebAssembly Filter.
*
* Default value: `false`.
*/
public Builder webAssemblyFilterEnabled(Boolean webAssemblyFilterEnabled) {
this.putBodyParameter("WebAssemblyFilterEnabled", webAssemblyFilterEnabled);
this.webAssemblyFilterEnabled = webAssemblyFilterEnabled;
return this;
}
@Override
public UpdateMeshFeatureRequest build() {
return new UpdateMeshFeatureRequest(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/UpdateMeshFeatureResponse.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 UpdateMeshFeatureResponse} extends {@link TeaModel}
*
* <p>UpdateMeshFeatureResponse</p>
*/
public class UpdateMeshFeatureResponse 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 UpdateMeshFeatureResponseBody body;
private UpdateMeshFeatureResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateMeshFeatureResponse 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 UpdateMeshFeatureResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateMeshFeatureResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateMeshFeatureResponseBody body);
@Override
UpdateMeshFeatureResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateMeshFeatureResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private UpdateMeshFeatureResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateMeshFeatureResponse 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(UpdateMeshFeatureResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateMeshFeatureResponse build() {
return new UpdateMeshFeatureResponse(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/UpdateMeshFeatureResponseBody.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 UpdateMeshFeatureResponseBody} extends {@link TeaModel}
*
* <p>UpdateMeshFeatureResponseBody</p>
*/
public class UpdateMeshFeatureResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private UpdateMeshFeatureResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateMeshFeatureResponseBody 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 UpdateMeshFeatureResponseBody build() {
return new UpdateMeshFeatureResponseBody(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/UpdateNamespaceScopeSidecarConfigRequest.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 UpdateNamespaceScopeSidecarConfigRequest} extends {@link RequestModel}
*
* <p>UpdateNamespaceScopeSidecarConfigRequest</p>
*/
public class UpdateNamespaceScopeSidecarConfigRequest extends Request {
@Body
@NameInMap("Concurrency")
private Integer concurrency;
@Body
@NameInMap("EnableCoreDump")
private Boolean enableCoreDump;
@Body
@NameInMap("ExcludeIPRanges")
private String excludeIPRanges;
@Body
@NameInMap("ExcludeInboundPorts")
private String excludeInboundPorts;
@Body
@NameInMap("ExcludeOutboundPorts")
private String excludeOutboundPorts;
@Body
@NameInMap("HoldApplicationUntilProxyStarts")
private Boolean holdApplicationUntilProxyStarts;
@Body
@NameInMap("IncludeIPRanges")
private String includeIPRanges;
@Body
@NameInMap("IncludeInboundPorts")
private String includeInboundPorts;
@Body
@NameInMap("IncludeOutboundPorts")
private String includeOutboundPorts;
@Body
@NameInMap("InterceptionMode")
private String interceptionMode;
@Body
@NameInMap("IstioDNSProxyEnabled")
private Boolean istioDNSProxyEnabled;
@Body
@NameInMap("Lifecycle")
private String lifecycle;
@Body
@NameInMap("LogLevel")
private String logLevel;
@Body
@NameInMap("Namespace")
private String namespace;
@Body
@NameInMap("PostStart")
private String postStart;
@Body
@NameInMap("PreStop")
private String preStop;
@Body
@NameInMap("Privileged")
private Boolean privileged;
@Body
@NameInMap("ProxyInitAckSloCPUResourceLimit")
private String proxyInitAckSloCPUResourceLimit;
@Body
@NameInMap("ProxyInitAckSloCPUResourceRequest")
private String proxyInitAckSloCPUResourceRequest;
@Body
@NameInMap("ProxyInitAckSloMemoryResourceLimit")
private String proxyInitAckSloMemoryResourceLimit;
@Body
@NameInMap("ProxyInitAckSloMemoryResourceRequest")
private String proxyInitAckSloMemoryResourceRequest;
@Body
@NameInMap("ProxyInitCPUResourceLimit")
private String proxyInitCPUResourceLimit;
@Body
@NameInMap("ProxyInitCPUResourceRequest")
private String proxyInitCPUResourceRequest;
@Body
@NameInMap("ProxyInitMemoryResourceLimit")
private String proxyInitMemoryResourceLimit;
@Body
@NameInMap("ProxyInitMemoryResourceRequest")
private String proxyInitMemoryResourceRequest;
@Body
@NameInMap("ProxyMetadata")
private String proxyMetadata;
@Body
@NameInMap("ProxyStatsMatcher")
private String proxyStatsMatcher;
@Body
@NameInMap("ReadinessFailureThreshold")
private Integer readinessFailureThreshold;
@Body
@NameInMap("ReadinessInitialDelaySeconds")
private Integer readinessInitialDelaySeconds;
@Body
@NameInMap("ReadinessPeriodSeconds")
private Integer readinessPeriodSeconds;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
@Body
@NameInMap("SidecarProxyAckSloCPUResourceLimit")
private String sidecarProxyAckSloCPUResourceLimit;
@Body
@NameInMap("SidecarProxyAckSloCPUResourceRequest")
private String sidecarProxyAckSloCPUResourceRequest;
@Body
@NameInMap("SidecarProxyAckSloMemoryResourceLimit")
private String sidecarProxyAckSloMemoryResourceLimit;
@Body
@NameInMap("SidecarProxyAckSloMemoryResourceRequest")
private String sidecarProxyAckSloMemoryResourceRequest;
@Body
@NameInMap("SidecarProxyCPUResourceLimit")
private String sidecarProxyCPUResourceLimit;
@Body
@NameInMap("SidecarProxyCPUResourceRequest")
private String sidecarProxyCPUResourceRequest;
@Body
@NameInMap("SidecarProxyMemoryResourceLimit")
private String sidecarProxyMemoryResourceLimit;
@Body
@NameInMap("SidecarProxyMemoryResourceRequest")
private String sidecarProxyMemoryResourceRequest;
@Body
@NameInMap("TerminationDrainDuration")
private String terminationDrainDuration;
@Body
@NameInMap("Tracing")
private String tracing;
private UpdateNamespaceScopeSidecarConfigRequest(Builder builder) {
super(builder);
this.concurrency = builder.concurrency;
this.enableCoreDump = builder.enableCoreDump;
this.excludeIPRanges = builder.excludeIPRanges;
this.excludeInboundPorts = builder.excludeInboundPorts;
this.excludeOutboundPorts = builder.excludeOutboundPorts;
this.holdApplicationUntilProxyStarts = builder.holdApplicationUntilProxyStarts;
this.includeIPRanges = builder.includeIPRanges;
this.includeInboundPorts = builder.includeInboundPorts;
this.includeOutboundPorts = builder.includeOutboundPorts;
this.interceptionMode = builder.interceptionMode;
this.istioDNSProxyEnabled = builder.istioDNSProxyEnabled;
this.lifecycle = builder.lifecycle;
this.logLevel = builder.logLevel;
this.namespace = builder.namespace;
this.postStart = builder.postStart;
this.preStop = builder.preStop;
this.privileged = builder.privileged;
this.proxyInitAckSloCPUResourceLimit = builder.proxyInitAckSloCPUResourceLimit;
this.proxyInitAckSloCPUResourceRequest = builder.proxyInitAckSloCPUResourceRequest;
this.proxyInitAckSloMemoryResourceLimit = builder.proxyInitAckSloMemoryResourceLimit;
this.proxyInitAckSloMemoryResourceRequest = builder.proxyInitAckSloMemoryResourceRequest;
this.proxyInitCPUResourceLimit = builder.proxyInitCPUResourceLimit;
this.proxyInitCPUResourceRequest = builder.proxyInitCPUResourceRequest;
this.proxyInitMemoryResourceLimit = builder.proxyInitMemoryResourceLimit;
this.proxyInitMemoryResourceRequest = builder.proxyInitMemoryResourceRequest;
this.proxyMetadata = builder.proxyMetadata;
this.proxyStatsMatcher = builder.proxyStatsMatcher;
this.readinessFailureThreshold = builder.readinessFailureThreshold;
this.readinessInitialDelaySeconds = builder.readinessInitialDelaySeconds;
this.readinessPeriodSeconds = builder.readinessPeriodSeconds;
this.serviceMeshId = builder.serviceMeshId;
this.sidecarProxyAckSloCPUResourceLimit = builder.sidecarProxyAckSloCPUResourceLimit;
this.sidecarProxyAckSloCPUResourceRequest = builder.sidecarProxyAckSloCPUResourceRequest;
this.sidecarProxyAckSloMemoryResourceLimit = builder.sidecarProxyAckSloMemoryResourceLimit;
this.sidecarProxyAckSloMemoryResourceRequest = builder.sidecarProxyAckSloMemoryResourceRequest;
this.sidecarProxyCPUResourceLimit = builder.sidecarProxyCPUResourceLimit;
this.sidecarProxyCPUResourceRequest = builder.sidecarProxyCPUResourceRequest;
this.sidecarProxyMemoryResourceLimit = builder.sidecarProxyMemoryResourceLimit;
this.sidecarProxyMemoryResourceRequest = builder.sidecarProxyMemoryResourceRequest;
this.terminationDrainDuration = builder.terminationDrainDuration;
this.tracing = builder.tracing;
}
public static Builder builder() {
return new Builder();
}
public static UpdateNamespaceScopeSidecarConfigRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return concurrency
*/
public Integer getConcurrency() {
return this.concurrency;
}
/**
* @return enableCoreDump
*/
public Boolean getEnableCoreDump() {
return this.enableCoreDump;
}
/**
* @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 holdApplicationUntilProxyStarts
*/
public Boolean getHoldApplicationUntilProxyStarts() {
return this.holdApplicationUntilProxyStarts;
}
/**
* @return includeIPRanges
*/
public String getIncludeIPRanges() {
return this.includeIPRanges;
}
/**
* @return includeInboundPorts
*/
public String getIncludeInboundPorts() {
return this.includeInboundPorts;
}
/**
* @return includeOutboundPorts
*/
public String getIncludeOutboundPorts() {
return this.includeOutboundPorts;
}
/**
* @return interceptionMode
*/
public String getInterceptionMode() {
return this.interceptionMode;
}
/**
* @return istioDNSProxyEnabled
*/
public Boolean getIstioDNSProxyEnabled() {
return this.istioDNSProxyEnabled;
}
/**
* @return lifecycle
*/
public String getLifecycle() {
return this.lifecycle;
}
/**
* @return logLevel
*/
public String getLogLevel() {
return this.logLevel;
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return postStart
*/
public String getPostStart() {
return this.postStart;
}
/**
* @return preStop
*/
public String getPreStop() {
return this.preStop;
}
/**
* @return privileged
*/
public Boolean getPrivileged() {
return this.privileged;
}
/**
* @return proxyInitAckSloCPUResourceLimit
*/
public String getProxyInitAckSloCPUResourceLimit() {
return this.proxyInitAckSloCPUResourceLimit;
}
/**
* @return proxyInitAckSloCPUResourceRequest
*/
public String getProxyInitAckSloCPUResourceRequest() {
return this.proxyInitAckSloCPUResourceRequest;
}
/**
* @return proxyInitAckSloMemoryResourceLimit
*/
public String getProxyInitAckSloMemoryResourceLimit() {
return this.proxyInitAckSloMemoryResourceLimit;
}
/**
* @return proxyInitAckSloMemoryResourceRequest
*/
public String getProxyInitAckSloMemoryResourceRequest() {
return this.proxyInitAckSloMemoryResourceRequest;
}
/**
* @return proxyInitCPUResourceLimit
*/
public String getProxyInitCPUResourceLimit() {
return this.proxyInitCPUResourceLimit;
}
/**
* @return proxyInitCPUResourceRequest
*/
public String getProxyInitCPUResourceRequest() {
return this.proxyInitCPUResourceRequest;
}
/**
* @return proxyInitMemoryResourceLimit
*/
public String getProxyInitMemoryResourceLimit() {
return this.proxyInitMemoryResourceLimit;
}
/**
* @return proxyInitMemoryResourceRequest
*/
public String getProxyInitMemoryResourceRequest() {
return this.proxyInitMemoryResourceRequest;
}
/**
* @return proxyMetadata
*/
public String getProxyMetadata() {
return this.proxyMetadata;
}
/**
* @return proxyStatsMatcher
*/
public String getProxyStatsMatcher() {
return this.proxyStatsMatcher;
}
/**
* @return readinessFailureThreshold
*/
public Integer getReadinessFailureThreshold() {
return this.readinessFailureThreshold;
}
/**
* @return readinessInitialDelaySeconds
*/
public Integer getReadinessInitialDelaySeconds() {
return this.readinessInitialDelaySeconds;
}
/**
* @return readinessPeriodSeconds
*/
public Integer getReadinessPeriodSeconds() {
return this.readinessPeriodSeconds;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
/**
* @return sidecarProxyAckSloCPUResourceLimit
*/
public String getSidecarProxyAckSloCPUResourceLimit() {
return this.sidecarProxyAckSloCPUResourceLimit;
}
/**
* @return sidecarProxyAckSloCPUResourceRequest
*/
public String getSidecarProxyAckSloCPUResourceRequest() {
return this.sidecarProxyAckSloCPUResourceRequest;
}
/**
* @return sidecarProxyAckSloMemoryResourceLimit
*/
public String getSidecarProxyAckSloMemoryResourceLimit() {
return this.sidecarProxyAckSloMemoryResourceLimit;
}
/**
* @return sidecarProxyAckSloMemoryResourceRequest
*/
public String getSidecarProxyAckSloMemoryResourceRequest() {
return this.sidecarProxyAckSloMemoryResourceRequest;
}
/**
* @return sidecarProxyCPUResourceLimit
*/
public String getSidecarProxyCPUResourceLimit() {
return this.sidecarProxyCPUResourceLimit;
}
/**
* @return sidecarProxyCPUResourceRequest
*/
public String getSidecarProxyCPUResourceRequest() {
return this.sidecarProxyCPUResourceRequest;
}
/**
* @return sidecarProxyMemoryResourceLimit
*/
public String getSidecarProxyMemoryResourceLimit() {
return this.sidecarProxyMemoryResourceLimit;
}
/**
* @return sidecarProxyMemoryResourceRequest
*/
public String getSidecarProxyMemoryResourceRequest() {
return this.sidecarProxyMemoryResourceRequest;
}
/**
* @return terminationDrainDuration
*/
public String getTerminationDrainDuration() {
return this.terminationDrainDuration;
}
/**
* @return tracing
*/
public String getTracing() {
return this.tracing;
}
public static final class Builder extends Request.Builder<UpdateNamespaceScopeSidecarConfigRequest, Builder> {
private Integer concurrency;
private Boolean enableCoreDump;
private String excludeIPRanges;
private String excludeInboundPorts;
private String excludeOutboundPorts;
private Boolean holdApplicationUntilProxyStarts;
private String includeIPRanges;
private String includeInboundPorts;
private String includeOutboundPorts;
private String interceptionMode;
private Boolean istioDNSProxyEnabled;
private String lifecycle;
private String logLevel;
private String namespace;
private String postStart;
private String preStop;
private Boolean privileged;
private String proxyInitAckSloCPUResourceLimit;
private String proxyInitAckSloCPUResourceRequest;
private String proxyInitAckSloMemoryResourceLimit;
private String proxyInitAckSloMemoryResourceRequest;
private String proxyInitCPUResourceLimit;
private String proxyInitCPUResourceRequest;
private String proxyInitMemoryResourceLimit;
private String proxyInitMemoryResourceRequest;
private String proxyMetadata;
private String proxyStatsMatcher;
private Integer readinessFailureThreshold;
private Integer readinessInitialDelaySeconds;
private Integer readinessPeriodSeconds;
private String serviceMeshId;
private String sidecarProxyAckSloCPUResourceLimit;
private String sidecarProxyAckSloCPUResourceRequest;
private String sidecarProxyAckSloMemoryResourceLimit;
private String sidecarProxyAckSloMemoryResourceRequest;
private String sidecarProxyCPUResourceLimit;
private String sidecarProxyCPUResourceRequest;
private String sidecarProxyMemoryResourceLimit;
private String sidecarProxyMemoryResourceRequest;
private String terminationDrainDuration;
private String tracing;
private Builder() {
super();
}
private Builder(UpdateNamespaceScopeSidecarConfigRequest request) {
super(request);
this.concurrency = request.concurrency;
this.enableCoreDump = request.enableCoreDump;
this.excludeIPRanges = request.excludeIPRanges;
this.excludeInboundPorts = request.excludeInboundPorts;
this.excludeOutboundPorts = request.excludeOutboundPorts;
this.holdApplicationUntilProxyStarts = request.holdApplicationUntilProxyStarts;
this.includeIPRanges = request.includeIPRanges;
this.includeInboundPorts = request.includeInboundPorts;
this.includeOutboundPorts = request.includeOutboundPorts;
this.interceptionMode = request.interceptionMode;
this.istioDNSProxyEnabled = request.istioDNSProxyEnabled;
this.lifecycle = request.lifecycle;
this.logLevel = request.logLevel;
this.namespace = request.namespace;
this.postStart = request.postStart;
this.preStop = request.preStop;
this.privileged = request.privileged;
this.proxyInitAckSloCPUResourceLimit = request.proxyInitAckSloCPUResourceLimit;
this.proxyInitAckSloCPUResourceRequest = request.proxyInitAckSloCPUResourceRequest;
this.proxyInitAckSloMemoryResourceLimit = request.proxyInitAckSloMemoryResourceLimit;
this.proxyInitAckSloMemoryResourceRequest = request.proxyInitAckSloMemoryResourceRequest;
this.proxyInitCPUResourceLimit = request.proxyInitCPUResourceLimit;
this.proxyInitCPUResourceRequest = request.proxyInitCPUResourceRequest;
this.proxyInitMemoryResourceLimit = request.proxyInitMemoryResourceLimit;
this.proxyInitMemoryResourceRequest = request.proxyInitMemoryResourceRequest;
this.proxyMetadata = request.proxyMetadata;
this.proxyStatsMatcher = request.proxyStatsMatcher;
this.readinessFailureThreshold = request.readinessFailureThreshold;
this.readinessInitialDelaySeconds = request.readinessInitialDelaySeconds;
this.readinessPeriodSeconds = request.readinessPeriodSeconds;
this.serviceMeshId = request.serviceMeshId;
this.sidecarProxyAckSloCPUResourceLimit = request.sidecarProxyAckSloCPUResourceLimit;
this.sidecarProxyAckSloCPUResourceRequest = request.sidecarProxyAckSloCPUResourceRequest;
this.sidecarProxyAckSloMemoryResourceLimit = request.sidecarProxyAckSloMemoryResourceLimit;
this.sidecarProxyAckSloMemoryResourceRequest = request.sidecarProxyAckSloMemoryResourceRequest;
this.sidecarProxyCPUResourceLimit = request.sidecarProxyCPUResourceLimit;
this.sidecarProxyCPUResourceRequest = request.sidecarProxyCPUResourceRequest;
this.sidecarProxyMemoryResourceLimit = request.sidecarProxyMemoryResourceLimit;
this.sidecarProxyMemoryResourceRequest = request.sidecarProxyMemoryResourceRequest;
this.terminationDrainDuration = request.terminationDrainDuration;
this.tracing = request.tracing;
}
/**
* The number of worker threads to run in Istio Proxy.
*/
public Builder concurrency(Integer concurrency) {
this.putBodyParameter("Concurrency", concurrency);
this.concurrency = concurrency;
return this;
}
/**
* EnableCoreDump.
*/
public Builder enableCoreDump(Boolean enableCoreDump) {
this.putBodyParameter("EnableCoreDump", enableCoreDump);
this.enableCoreDump = enableCoreDump;
return this;
}
/**
* The range of IP addresses that are allowed to access external services. (`global.proxy.excludelPRanges`)
*/
public Builder excludeIPRanges(String excludeIPRanges) {
this.putBodyParameter("ExcludeIPRanges", excludeIPRanges);
this.excludeIPRanges = excludeIPRanges;
return this;
}
/**
* The port that the inbound traffic of the sidecar proxy does not pass through.
*/
public Builder excludeInboundPorts(String excludeInboundPorts) {
this.putBodyParameter("ExcludeInboundPorts", excludeInboundPorts);
this.excludeInboundPorts = excludeInboundPorts;
return this;
}
/**
* The port that the outbound traffic of the sidecar proxy does not pass through.
*/
public Builder excludeOutboundPorts(String excludeOutboundPorts) {
this.putBodyParameter("ExcludeOutboundPorts", excludeOutboundPorts);
this.excludeOutboundPorts = excludeOutboundPorts;
return this;
}
/**
* Specifies whether applications can be started only after Istio Proxy starts. Valid values:
* <p>
*
* * `true`: Applications can be started only after Istio Proxy starts.
* * `false`: Applications can be started before Istio Proxy starts.
*/
public Builder holdApplicationUntilProxyStarts(Boolean holdApplicationUntilProxyStarts) {
this.putBodyParameter("HoldApplicationUntilProxyStarts", holdApplicationUntilProxyStarts);
this.holdApplicationUntilProxyStarts = holdApplicationUntilProxyStarts;
return this;
}
/**
* The range of IP addresses that are denied to access external services. (`global.proxy.includelPRanges`)
*/
public Builder includeIPRanges(String includeIPRanges) {
this.putBodyParameter("IncludeIPRanges", includeIPRanges);
this.includeIPRanges = includeIPRanges;
return this;
}
/**
* The port that the inbound traffic of the sidecar proxy passes through.
*/
public Builder includeInboundPorts(String includeInboundPorts) {
this.putBodyParameter("IncludeInboundPorts", includeInboundPorts);
this.includeInboundPorts = includeInboundPorts;
return this;
}
/**
* The port that the outbound traffic of the sidecar proxy passes through.
*/
public Builder includeOutboundPorts(String includeOutboundPorts) {
this.putBodyParameter("IncludeOutboundPorts", includeOutboundPorts);
this.includeOutboundPorts = includeOutboundPorts;
return this;
}
/**
* The mode in which the sidecar proxy intercepts inbound traffic. Valid values:
* <p>
*
* * `REDIRECT`: The sidecar proxy intercepts inbound traffic in the REDIRECT mode.
* * `TPROXY`: The sidecar proxy intercepts inbound traffic in the TPROXY mode.
*/
public Builder interceptionMode(String interceptionMode) {
this.putBodyParameter("InterceptionMode", interceptionMode);
this.interceptionMode = interceptionMode;
return this;
}
/**
* Specifies whether to enable the Domain Name System (DNS) proxy feature. Valid values:
* <p>
*
* * `true`: The DNS proxy feature is enabled.
* * `false`: The DNS proxy feature is disabled.
*/
public Builder istioDNSProxyEnabled(Boolean istioDNSProxyEnabled) {
this.putBodyParameter("IstioDNSProxyEnabled", istioDNSProxyEnabled);
this.istioDNSProxyEnabled = istioDNSProxyEnabled;
return this;
}
/**
* The lifecycle of the sidecar proxy.
*/
public Builder lifecycle(String lifecycle) {
this.putBodyParameter("Lifecycle", lifecycle);
this.lifecycle = lifecycle;
return this;
}
/**
* The log level. Valid values: `info`, `debug`, `tracing`, and `error`.
*/
public Builder logLevel(String logLevel) {
this.putBodyParameter("LogLevel", logLevel);
this.logLevel = logLevel;
return this;
}
/**
* The namespace for which you want to update the sidecar proxy configurations.
*/
public Builder namespace(String namespace) {
this.putBodyParameter("Namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* The post-start parameters of Istio Proxy.
*/
public Builder postStart(String postStart) {
this.putBodyParameter("PostStart", postStart);
this.postStart = postStart;
return this;
}
/**
* The pre-close parameters of Istio Proxy.
*/
public Builder preStop(String preStop) {
this.putBodyParameter("PreStop", preStop);
this.preStop = preStop;
return this;
}
/**
* Privileged.
*/
public Builder privileged(Boolean privileged) {
this.putBodyParameter("Privileged", privileged);
this.privileged = privileged;
return this;
}
/**
* ProxyInitAckSloCPUResourceLimit.
*/
public Builder proxyInitAckSloCPUResourceLimit(String proxyInitAckSloCPUResourceLimit) {
this.putBodyParameter("ProxyInitAckSloCPUResourceLimit", proxyInitAckSloCPUResourceLimit);
this.proxyInitAckSloCPUResourceLimit = proxyInitAckSloCPUResourceLimit;
return this;
}
/**
* ProxyInitAckSloCPUResourceRequest.
*/
public Builder proxyInitAckSloCPUResourceRequest(String proxyInitAckSloCPUResourceRequest) {
this.putBodyParameter("ProxyInitAckSloCPUResourceRequest", proxyInitAckSloCPUResourceRequest);
this.proxyInitAckSloCPUResourceRequest = proxyInitAckSloCPUResourceRequest;
return this;
}
/**
* ProxyInitAckSloMemoryResourceLimit.
*/
public Builder proxyInitAckSloMemoryResourceLimit(String proxyInitAckSloMemoryResourceLimit) {
this.putBodyParameter("ProxyInitAckSloMemoryResourceLimit", proxyInitAckSloMemoryResourceLimit);
this.proxyInitAckSloMemoryResourceLimit = proxyInitAckSloMemoryResourceLimit;
return this;
}
/**
* ProxyInitAckSloMemoryResourceRequest.
*/
public Builder proxyInitAckSloMemoryResourceRequest(String proxyInitAckSloMemoryResourceRequest) {
this.putBodyParameter("ProxyInitAckSloMemoryResourceRequest", proxyInitAckSloMemoryResourceRequest);
this.proxyInitAckSloMemoryResourceRequest = proxyInitAckSloMemoryResourceRequest;
return this;
}
/**
* The maximum number of CPU cores that are available to the sidecar proxy init container.
*/
public Builder proxyInitCPUResourceLimit(String proxyInitCPUResourceLimit) {
this.putBodyParameter("ProxyInitCPUResourceLimit", proxyInitCPUResourceLimit);
this.proxyInitCPUResourceLimit = proxyInitCPUResourceLimit;
return this;
}
/**
* The minimum number of CPU cores that are requested by the sidecar proxy init container.
*/
public Builder proxyInitCPUResourceRequest(String proxyInitCPUResourceRequest) {
this.putBodyParameter("ProxyInitCPUResourceRequest", proxyInitCPUResourceRequest);
this.proxyInitCPUResourceRequest = proxyInitCPUResourceRequest;
return this;
}
/**
* The maximum size of memory that is available to the sidecar proxy init container.
*/
public Builder proxyInitMemoryResourceLimit(String proxyInitMemoryResourceLimit) {
this.putBodyParameter("ProxyInitMemoryResourceLimit", proxyInitMemoryResourceLimit);
this.proxyInitMemoryResourceLimit = proxyInitMemoryResourceLimit;
return this;
}
/**
* The minimum size of memory that is requested by the sidecar proxy init container.
*/
public Builder proxyInitMemoryResourceRequest(String proxyInitMemoryResourceRequest) {
this.putBodyParameter("ProxyInitMemoryResourceRequest", proxyInitMemoryResourceRequest);
this.proxyInitMemoryResourceRequest = proxyInitMemoryResourceRequest;
return this;
}
/**
* The environment variables that are added to a sidecar proxy. The environment variables are represented as JSON objects. The keys and values in the JSON objects represent the keys and values added to the environment variables of the sidecar proxy.
*/
public Builder proxyMetadata(String proxyMetadata) {
this.putBodyParameter("ProxyMetadata", proxyMetadata);
this.proxyMetadata = proxyMetadata;
return this;
}
/**
* The monitoring metrics for data collected by Envoy proxies. The value is in the JSON format.
*/
public Builder proxyStatsMatcher(String proxyStatsMatcher) {
this.putBodyParameter("ProxyStatsMatcher", proxyStatsMatcher);
this.proxyStatsMatcher = proxyStatsMatcher;
return this;
}
/**
* ReadinessFailureThreshold.
*/
public Builder readinessFailureThreshold(Integer readinessFailureThreshold) {
this.putBodyParameter("ReadinessFailureThreshold", readinessFailureThreshold);
this.readinessFailureThreshold = readinessFailureThreshold;
return this;
}
/**
* ReadinessInitialDelaySeconds.
*/
public Builder readinessInitialDelaySeconds(Integer readinessInitialDelaySeconds) {
this.putBodyParameter("ReadinessInitialDelaySeconds", readinessInitialDelaySeconds);
this.readinessInitialDelaySeconds = readinessInitialDelaySeconds;
return this;
}
/**
* ReadinessPeriodSeconds.
*/
public Builder readinessPeriodSeconds(Integer readinessPeriodSeconds) {
this.putBodyParameter("ReadinessPeriodSeconds", readinessPeriodSeconds);
this.readinessPeriodSeconds = readinessPeriodSeconds;
return this;
}
/**
* The ID of the ASM instance.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
/**
* SidecarProxyAckSloCPUResourceLimit.
*/
public Builder sidecarProxyAckSloCPUResourceLimit(String sidecarProxyAckSloCPUResourceLimit) {
this.putBodyParameter("SidecarProxyAckSloCPUResourceLimit", sidecarProxyAckSloCPUResourceLimit);
this.sidecarProxyAckSloCPUResourceLimit = sidecarProxyAckSloCPUResourceLimit;
return this;
}
/**
* SidecarProxyAckSloCPUResourceRequest.
*/
public Builder sidecarProxyAckSloCPUResourceRequest(String sidecarProxyAckSloCPUResourceRequest) {
this.putBodyParameter("SidecarProxyAckSloCPUResourceRequest", sidecarProxyAckSloCPUResourceRequest);
this.sidecarProxyAckSloCPUResourceRequest = sidecarProxyAckSloCPUResourceRequest;
return this;
}
/**
* SidecarProxyAckSloMemoryResourceLimit.
*/
public Builder sidecarProxyAckSloMemoryResourceLimit(String sidecarProxyAckSloMemoryResourceLimit) {
this.putBodyParameter("SidecarProxyAckSloMemoryResourceLimit", sidecarProxyAckSloMemoryResourceLimit);
this.sidecarProxyAckSloMemoryResourceLimit = sidecarProxyAckSloMemoryResourceLimit;
return this;
}
/**
* SidecarProxyAckSloMemoryResourceRequest.
*/
public Builder sidecarProxyAckSloMemoryResourceRequest(String sidecarProxyAckSloMemoryResourceRequest) {
this.putBodyParameter("SidecarProxyAckSloMemoryResourceRequest", sidecarProxyAckSloMemoryResourceRequest);
this.sidecarProxyAckSloMemoryResourceRequest = sidecarProxyAckSloMemoryResourceRequest;
return this;
}
/**
* The maximum number of CPU cores that are available to the sidecar proxy container.
*/
public Builder sidecarProxyCPUResourceLimit(String sidecarProxyCPUResourceLimit) {
this.putBodyParameter("SidecarProxyCPUResourceLimit", sidecarProxyCPUResourceLimit);
this.sidecarProxyCPUResourceLimit = sidecarProxyCPUResourceLimit;
return this;
}
/**
* The minimum number of CPU cores that are requested by the sidecar proxy container.
*/
public Builder sidecarProxyCPUResourceRequest(String sidecarProxyCPUResourceRequest) {
this.putBodyParameter("SidecarProxyCPUResourceRequest", sidecarProxyCPUResourceRequest);
this.sidecarProxyCPUResourceRequest = sidecarProxyCPUResourceRequest;
return this;
}
/**
* The maximum size of memory that is available to the sidecar proxy container.
*/
public Builder sidecarProxyMemoryResourceLimit(String sidecarProxyMemoryResourceLimit) {
this.putBodyParameter("SidecarProxyMemoryResourceLimit", sidecarProxyMemoryResourceLimit);
this.sidecarProxyMemoryResourceLimit = sidecarProxyMemoryResourceLimit;
return this;
}
/**
* The minimum size of memory that is requested by the sidecar proxy container.
*/
public Builder sidecarProxyMemoryResourceRequest(String sidecarProxyMemoryResourceRequest) {
this.putBodyParameter("SidecarProxyMemoryResourceRequest", sidecarProxyMemoryResourceRequest);
this.sidecarProxyMemoryResourceRequest = sidecarProxyMemoryResourceRequest;
return this;
}
/**
* The maximum period of time that the sidecar proxy waits for a request to end.
*/
public Builder terminationDrainDuration(String terminationDrainDuration) {
this.putBodyParameter("TerminationDrainDuration", terminationDrainDuration);
this.terminationDrainDuration = terminationDrainDuration;
return this;
}
/**
* The custom configurations of Tracing Analysis. The configurations must be serialized into JSON strings. The configurations contain the following parameters:
* <p>
*
* * `sampling`: The sampling rate, which is of the DOUBLE type.
*
* * `custom_tags`: The custom tags added to reported spans, which are of the MAP type. The key of a tag is of the string type. The value of a tag is in the JSON format. A custom tag can belong to one of the following types:
*
* * `literal`: The tag value is a fixed value in the JSON format. This tag must contain the `value` field that specifies a literal. Example: `{"value":"test"}`.
* * `header`: The tag value is a request header in the JSON format. This tag must contain the `name` field and `defaultValue` field.The name field indicates the name of the request header. The defaultValue field indicates the default value that is used when no request header is available. Example: `{"name":"test","defaultValue":"test"}`.
* * `environment`: The tag value is an environment variable in the JSON format. This tag must contain the `name` field and `defaultValue` field. The name field indicates the name of the environment variable. The defaultValue field indicates the environment variable that is used when no environment variable is available. Example: `{"name":"test","defaultValue":"test"}`.
*/
public Builder tracing(String tracing) {
this.putBodyParameter("Tracing", tracing);
this.tracing = tracing;
return this;
}
@Override
public UpdateNamespaceScopeSidecarConfigRequest build() {
return new UpdateNamespaceScopeSidecarConfigRequest(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/UpdateNamespaceScopeSidecarConfigResponse.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 UpdateNamespaceScopeSidecarConfigResponse} extends {@link TeaModel}
*
* <p>UpdateNamespaceScopeSidecarConfigResponse</p>
*/
public class UpdateNamespaceScopeSidecarConfigResponse 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 UpdateNamespaceScopeSidecarConfigResponseBody body;
private UpdateNamespaceScopeSidecarConfigResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateNamespaceScopeSidecarConfigResponse 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 UpdateNamespaceScopeSidecarConfigResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateNamespaceScopeSidecarConfigResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateNamespaceScopeSidecarConfigResponseBody body);
@Override
UpdateNamespaceScopeSidecarConfigResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateNamespaceScopeSidecarConfigResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private UpdateNamespaceScopeSidecarConfigResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateNamespaceScopeSidecarConfigResponse 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(UpdateNamespaceScopeSidecarConfigResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateNamespaceScopeSidecarConfigResponse build() {
return new UpdateNamespaceScopeSidecarConfigResponse(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/UpdateNamespaceScopeSidecarConfigResponseBody.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 UpdateNamespaceScopeSidecarConfigResponseBody} extends {@link TeaModel}
*
* <p>UpdateNamespaceScopeSidecarConfigResponseBody</p>
*/
public class UpdateNamespaceScopeSidecarConfigResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private UpdateNamespaceScopeSidecarConfigResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateNamespaceScopeSidecarConfigResponseBody 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 UpdateNamespaceScopeSidecarConfigResponseBody build() {
return new UpdateNamespaceScopeSidecarConfigResponseBody(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/UpdateSwimLaneGroupRequest.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 UpdateSwimLaneGroupRequest} extends {@link RequestModel}
*
* <p>UpdateSwimLaneGroupRequest</p>
*/
public class UpdateSwimLaneGroupRequest extends Request {
@Body
@NameInMap("FallbackTarget")
private String fallbackTarget;
@Body
@NameInMap("GroupName")
private String groupName;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
@Body
@NameInMap("ServicesList")
private String servicesList;
private UpdateSwimLaneGroupRequest(Builder builder) {
super(builder);
this.fallbackTarget = builder.fallbackTarget;
this.groupName = builder.groupName;
this.serviceMeshId = builder.serviceMeshId;
this.servicesList = builder.servicesList;
}
public static Builder builder() {
return new Builder();
}
public static UpdateSwimLaneGroupRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return fallbackTarget
*/
public String getFallbackTarget() {
return this.fallbackTarget;
}
/**
* @return groupName
*/
public String getGroupName() {
return this.groupName;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
/**
* @return servicesList
*/
public String getServicesList() {
return this.servicesList;
}
public static final class Builder extends Request.Builder<UpdateSwimLaneGroupRequest, Builder> {
private String fallbackTarget;
private String groupName;
private String serviceMeshId;
private String servicesList;
private Builder() {
super();
}
private Builder(UpdateSwimLaneGroupRequest request) {
super(request);
this.fallbackTarget = request.fallbackTarget;
this.groupName = request.groupName;
this.serviceMeshId = request.serviceMeshId;
this.servicesList = request.servicesList;
}
/**
* FallbackTarget.
*/
public Builder fallbackTarget(String fallbackTarget) {
this.putBodyParameter("FallbackTarget", fallbackTarget);
this.fallbackTarget = fallbackTarget;
return this;
}
/**
* The name of the lane group.
*/
public Builder groupName(String groupName) {
this.putBodyParameter("GroupName", groupName);
this.groupName = groupName;
return this;
}
/**
* The Service Mesh (ASM) instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
/**
* A list of services associated with the lane group.
*/
public Builder servicesList(String servicesList) {
this.putBodyParameter("ServicesList", servicesList);
this.servicesList = servicesList;
return this;
}
@Override
public UpdateSwimLaneGroupRequest build() {
return new UpdateSwimLaneGroupRequest(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/UpdateSwimLaneGroupResponse.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 UpdateSwimLaneGroupResponse} extends {@link TeaModel}
*
* <p>UpdateSwimLaneGroupResponse</p>
*/
public class UpdateSwimLaneGroupResponse 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 UpdateSwimLaneGroupResponseBody body;
private UpdateSwimLaneGroupResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateSwimLaneGroupResponse 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 UpdateSwimLaneGroupResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateSwimLaneGroupResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateSwimLaneGroupResponseBody body);
@Override
UpdateSwimLaneGroupResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateSwimLaneGroupResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private UpdateSwimLaneGroupResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateSwimLaneGroupResponse 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(UpdateSwimLaneGroupResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateSwimLaneGroupResponse build() {
return new UpdateSwimLaneGroupResponse(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/UpdateSwimLaneGroupResponseBody.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 UpdateSwimLaneGroupResponseBody} extends {@link TeaModel}
*
* <p>UpdateSwimLaneGroupResponseBody</p>
*/
public class UpdateSwimLaneGroupResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private UpdateSwimLaneGroupResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateSwimLaneGroupResponseBody 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 UpdateSwimLaneGroupResponseBody build() {
return new UpdateSwimLaneGroupResponseBody(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/UpdateSwimLaneRequest.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 UpdateSwimLaneRequest} extends {@link RequestModel}
*
* <p>UpdateSwimLaneRequest</p>
*/
public class UpdateSwimLaneRequest 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 UpdateSwimLaneRequest(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 UpdateSwimLaneRequest 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<UpdateSwimLaneRequest, Builder> {
private String groupName;
private String labelSelectorKey;
private String labelSelectorValue;
private String serviceMeshId;
private String servicesList;
private String swimLaneName;
private Builder() {
super();
}
private Builder(UpdateSwimLaneRequest 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;
}
/**
* A list of services associated with the lane.
*/
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 UpdateSwimLaneRequest build() {
return new UpdateSwimLaneRequest(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/UpdateSwimLaneResponse.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 UpdateSwimLaneResponse} extends {@link TeaModel}
*
* <p>UpdateSwimLaneResponse</p>
*/
public class UpdateSwimLaneResponse 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 UpdateSwimLaneResponseBody body;
private UpdateSwimLaneResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateSwimLaneResponse 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 UpdateSwimLaneResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateSwimLaneResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateSwimLaneResponseBody body);
@Override
UpdateSwimLaneResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateSwimLaneResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private UpdateSwimLaneResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateSwimLaneResponse 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(UpdateSwimLaneResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateSwimLaneResponse build() {
return new UpdateSwimLaneResponse(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/UpdateSwimLaneResponseBody.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 UpdateSwimLaneResponseBody} extends {@link TeaModel}
*
* <p>UpdateSwimLaneResponseBody</p>
*/
public class UpdateSwimLaneResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private UpdateSwimLaneResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateSwimLaneResponseBody 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 UpdateSwimLaneResponseBody build() {
return new UpdateSwimLaneResponseBody(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/UpdateWaypointRequest.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 UpdateWaypointRequest} extends {@link RequestModel}
*
* <p>UpdateWaypointRequest</p>
*/
public class UpdateWaypointRequest 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("Name")
@Validation(required = true)
private String name;
@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("ServiceMeshId")
@Validation(required = true, minLength = 1)
private String serviceMeshId;
private UpdateWaypointRequest(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.name = builder.name;
this.namespace = builder.namespace;
this.preferECI = builder.preferECI;
this.replicas = builder.replicas;
this.requestCPU = builder.requestCPU;
this.requestMemory = builder.requestMemory;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateWaypointRequest 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 name
*/
public String getName() {
return this.name;
}
/**
* @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 serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<UpdateWaypointRequest, 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 name;
private String namespace;
private Boolean preferECI;
private Integer replicas;
private String requestCPU;
private String requestMemory;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(UpdateWaypointRequest 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.name = request.name;
this.namespace = request.namespace;
this.preferECI = request.preferECI;
this.replicas = request.replicas;
this.requestCPU = request.requestCPU;
this.requestMemory = request.requestMemory;
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;
}
/**
* 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;
}
/**
* 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 Mesh (ASM) instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public UpdateWaypointRequest build() {
return new UpdateWaypointRequest(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/UpdateWaypointResponse.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 UpdateWaypointResponse} extends {@link TeaModel}
*
* <p>UpdateWaypointResponse</p>
*/
public class UpdateWaypointResponse 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 UpdateWaypointResponseBody body;
private UpdateWaypointResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpdateWaypointResponse 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 UpdateWaypointResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpdateWaypointResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(UpdateWaypointResponseBody body);
@Override
UpdateWaypointResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpdateWaypointResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private UpdateWaypointResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpdateWaypointResponse 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(UpdateWaypointResponseBody body) {
this.body = body;
return this;
}
@Override
public UpdateWaypointResponse build() {
return new UpdateWaypointResponse(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/UpdateWaypointResponseBody.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 UpdateWaypointResponseBody} extends {@link TeaModel}
*
* <p>UpdateWaypointResponseBody</p>
*/
public class UpdateWaypointResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private UpdateWaypointResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpdateWaypointResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* Id of the request
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public UpdateWaypointResponseBody build() {
return new UpdateWaypointResponseBody(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/UpgradeDetailGatewayStatusRecordValue.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 UpgradeDetailGatewayStatusRecordValue} extends {@link TeaModel}
*
* <p>UpgradeDetailGatewayStatusRecordValue</p>
*/
public class UpgradeDetailGatewayStatusRecordValue extends TeaModel {
@NameInMap("Status")
private String status;
@NameInMap("Message")
private String message;
@NameInMap("Version")
private String version;
private UpgradeDetailGatewayStatusRecordValue(Builder builder) {
this.status = builder.status;
this.message = builder.message;
this.version = builder.version;
}
public static Builder builder() {
return new Builder();
}
public static UpgradeDetailGatewayStatusRecordValue create() {
return builder().build();
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return version
*/
public String getVersion() {
return this.version;
}
public static final class Builder {
private String status;
private String message;
private String version;
/**
* The upgrade status of the ingress gateway. Valid values:
* <p>
*
* * `upgrading`: The ingress gateway is being upgraded.
* * `pending`: The ingress gateway waits to be upgraded.
* * `finished`: The ingress gateway upgrade is complete.
* * `notStart`: The ingress gateway upgrade does not start.
* * `failed`: The ingress gateway upgrade fails.
* * `unknown`: The upgrade status of the ingress gateway is unknown.
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* Additional status information of the ingress gateway.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* The version of the ingress gateway.
*/
public Builder version(String version) {
this.version = version;
return this;
}
public UpgradeDetailGatewayStatusRecordValue build() {
return new UpgradeDetailGatewayStatusRecordValue(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/UpgradeMeshEditionPartiallyRequest.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 UpgradeMeshEditionPartiallyRequest} extends {@link RequestModel}
*
* <p>UpgradeMeshEditionPartiallyRequest</p>
*/
public class UpgradeMeshEditionPartiallyRequest extends Request {
@Body
@NameInMap("ASMGatewayContinue")
private Boolean ASMGatewayContinue;
@Body
@NameInMap("ExpectedVersion")
private String expectedVersion;
@Body
@NameInMap("PreCheck")
private Boolean preCheck;
@Body
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
@Body
@NameInMap("SwitchToPro")
@Deprecated
private Boolean switchToPro;
@Body
@NameInMap("UpgradeGatewayRecords")
private String upgradeGatewayRecords;
private UpgradeMeshEditionPartiallyRequest(Builder builder) {
super(builder);
this.ASMGatewayContinue = builder.ASMGatewayContinue;
this.expectedVersion = builder.expectedVersion;
this.preCheck = builder.preCheck;
this.serviceMeshId = builder.serviceMeshId;
this.switchToPro = builder.switchToPro;
this.upgradeGatewayRecords = builder.upgradeGatewayRecords;
}
public static Builder builder() {
return new Builder();
}
public static UpgradeMeshEditionPartiallyRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return ASMGatewayContinue
*/
public Boolean getASMGatewayContinue() {
return this.ASMGatewayContinue;
}
/**
* @return expectedVersion
*/
public String getExpectedVersion() {
return this.expectedVersion;
}
/**
* @return preCheck
*/
public Boolean getPreCheck() {
return this.preCheck;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
/**
* @return switchToPro
*/
public Boolean getSwitchToPro() {
return this.switchToPro;
}
/**
* @return upgradeGatewayRecords
*/
public String getUpgradeGatewayRecords() {
return this.upgradeGatewayRecords;
}
public static final class Builder extends Request.Builder<UpgradeMeshEditionPartiallyRequest, Builder> {
private Boolean ASMGatewayContinue;
private String expectedVersion;
private Boolean preCheck;
private String serviceMeshId;
private Boolean switchToPro;
private String upgradeGatewayRecords;
private Builder() {
super();
}
private Builder(UpgradeMeshEditionPartiallyRequest request) {
super(request);
this.ASMGatewayContinue = request.ASMGatewayContinue;
this.expectedVersion = request.expectedVersion;
this.preCheck = request.preCheck;
this.serviceMeshId = request.serviceMeshId;
this.switchToPro = request.switchToPro;
this.upgradeGatewayRecords = request.upgradeGatewayRecords;
}
/**
* Specifies whether to upgrade the ASM gateways for the ASM instance. Valid values:
* <p>
*
* * `true`
* * `false`
*/
public Builder ASMGatewayContinue(Boolean ASMGatewayContinue) {
this.putBodyParameter("ASMGatewayContinue", ASMGatewayContinue);
this.ASMGatewayContinue = ASMGatewayContinue;
return this;
}
/**
* ExpectedVersion.
*/
public Builder expectedVersion(String expectedVersion) {
this.putBodyParameter("ExpectedVersion", expectedVersion);
this.expectedVersion = expectedVersion;
return this;
}
/**
* Specifies whether to perform an upgrade check. If the value of this parameter is set to true, only the upgrade check is performed and the ASM instance is not upgraded.
*/
public Builder preCheck(Boolean preCheck) {
this.putBodyParameter("PreCheck", preCheck);
this.preCheck = preCheck;
return this;
}
/**
* The ASM instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putBodyParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
/**
* Specifies whether to upgrade the ASM instance to Professional Edition. Valid values:
* <p>
*
* * `true`
* * `false`
*/
public Builder switchToPro(Boolean switchToPro) {
this.putBodyParameter("SwitchToPro", switchToPro);
this.switchToPro = switchToPro;
return this;
}
/**
* Specifies the ASM gateways to be upgraded. Separate multiple ASM gateways with commas (,).
*/
public Builder upgradeGatewayRecords(String upgradeGatewayRecords) {
this.putBodyParameter("UpgradeGatewayRecords", upgradeGatewayRecords);
this.upgradeGatewayRecords = upgradeGatewayRecords;
return this;
}
@Override
public UpgradeMeshEditionPartiallyRequest build() {
return new UpgradeMeshEditionPartiallyRequest(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/UpgradeMeshEditionPartiallyResponse.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 UpgradeMeshEditionPartiallyResponse} extends {@link TeaModel}
*
* <p>UpgradeMeshEditionPartiallyResponse</p>
*/
public class UpgradeMeshEditionPartiallyResponse 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 UpgradeMeshEditionPartiallyResponseBody body;
private UpgradeMeshEditionPartiallyResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpgradeMeshEditionPartiallyResponse 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 UpgradeMeshEditionPartiallyResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpgradeMeshEditionPartiallyResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(UpgradeMeshEditionPartiallyResponseBody body);
@Override
UpgradeMeshEditionPartiallyResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpgradeMeshEditionPartiallyResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private UpgradeMeshEditionPartiallyResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpgradeMeshEditionPartiallyResponse 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(UpgradeMeshEditionPartiallyResponseBody body) {
this.body = body;
return this;
}
@Override
public UpgradeMeshEditionPartiallyResponse build() {
return new UpgradeMeshEditionPartiallyResponse(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/UpgradeMeshEditionPartiallyResponseBody.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 UpgradeMeshEditionPartiallyResponseBody} extends {@link TeaModel}
*
* <p>UpgradeMeshEditionPartiallyResponseBody</p>
*/
public class UpgradeMeshEditionPartiallyResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private UpgradeMeshEditionPartiallyResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpgradeMeshEditionPartiallyResponseBody 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 UpgradeMeshEditionPartiallyResponseBody build() {
return new UpgradeMeshEditionPartiallyResponseBody(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/UpgradeMeshVersionRequest.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 UpgradeMeshVersionRequest} extends {@link RequestModel}
*
* <p>UpgradeMeshVersionRequest</p>
*/
public class UpgradeMeshVersionRequest extends Request {
@Query
@NameInMap("PreCheck")
private Boolean preCheck;
@Query
@NameInMap("ServiceMeshId")
@Validation(required = true)
private String serviceMeshId;
private UpgradeMeshVersionRequest(Builder builder) {
super(builder);
this.preCheck = builder.preCheck;
this.serviceMeshId = builder.serviceMeshId;
}
public static Builder builder() {
return new Builder();
}
public static UpgradeMeshVersionRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return preCheck
*/
public Boolean getPreCheck() {
return this.preCheck;
}
/**
* @return serviceMeshId
*/
public String getServiceMeshId() {
return this.serviceMeshId;
}
public static final class Builder extends Request.Builder<UpgradeMeshVersionRequest, Builder> {
private Boolean preCheck;
private String serviceMeshId;
private Builder() {
super();
}
private Builder(UpgradeMeshVersionRequest request) {
super(request);
this.preCheck = request.preCheck;
this.serviceMeshId = request.serviceMeshId;
}
/**
* Specifies whether to perform a precheck. Default value: false. If this parameter is set to true, this call only checks whether the current ASM instance meets the upgrade conditions and does not actually perform an upgrade.
*/
public Builder preCheck(Boolean preCheck) {
this.putQueryParameter("PreCheck", preCheck);
this.preCheck = preCheck;
return this;
}
/**
* The ASM instance ID.
*/
public Builder serviceMeshId(String serviceMeshId) {
this.putQueryParameter("ServiceMeshId", serviceMeshId);
this.serviceMeshId = serviceMeshId;
return this;
}
@Override
public UpgradeMeshVersionRequest build() {
return new UpgradeMeshVersionRequest(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/UpgradeMeshVersionResponse.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 UpgradeMeshVersionResponse} extends {@link TeaModel}
*
* <p>UpgradeMeshVersionResponse</p>
*/
public class UpgradeMeshVersionResponse 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 UpgradeMeshVersionResponseBody body;
private UpgradeMeshVersionResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static UpgradeMeshVersionResponse 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 UpgradeMeshVersionResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<UpgradeMeshVersionResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(UpgradeMeshVersionResponseBody body);
@Override
UpgradeMeshVersionResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<UpgradeMeshVersionResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private UpgradeMeshVersionResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(UpgradeMeshVersionResponse 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(UpgradeMeshVersionResponseBody body) {
this.body = body;
return this;
}
@Override
public UpgradeMeshVersionResponse build() {
return new UpgradeMeshVersionResponse(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/UpgradeMeshVersionResponseBody.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 UpgradeMeshVersionResponseBody} extends {@link TeaModel}
*
* <p>UpgradeMeshVersionResponseBody</p>
*/
public class UpgradeMeshVersionResponseBody extends TeaModel {
@NameInMap("RequestId")
private String requestId;
private UpgradeMeshVersionResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static UpgradeMeshVersionResponseBody 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 UpgradeMeshVersionResponseBody build() {
return new UpgradeMeshVersionResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sgw20180511/1.0.0/com/aliyun/sdk/service | java-sources/com/aliyun/alibabacloud-sgw20180511/1.0.0/com/aliyun/sdk/service/sgw20180511/AsyncClient.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sgw20180511;
import com.aliyun.core.utils.SdkAutoCloseable;
import com.aliyun.sdk.service.sgw20180511.models.*;
import darabonba.core.*;
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<ActivateAllInOneGatewayResponse> activateAllInOneGateway(ActivateAllInOneGatewayRequest request);
CompletableFuture<ActivateGatewayResponse> activateGateway(ActivateGatewayRequest request);
CompletableFuture<AddSharesToExpressSyncResponse> addSharesToExpressSync(AddSharesToExpressSyncRequest request);
CompletableFuture<AddTagsToGatewayResponse> addTagsToGateway(AddTagsToGatewayRequest request);
CompletableFuture<CheckActivationKeyResponse> checkActivationKey(CheckActivationKeyRequest request);
CompletableFuture<CheckBlockVolumeNameResponse> checkBlockVolumeName(CheckBlockVolumeNameRequest request);
CompletableFuture<CheckGatewayEssdSupportResponse> checkGatewayEssdSupport(CheckGatewayEssdSupportRequest request);
CompletableFuture<CheckMnsServiceResponse> checkMnsService(CheckMnsServiceRequest request);
CompletableFuture<CheckRoleResponse> checkRole(CheckRoleRequest request);
CompletableFuture<CheckSlrRoleResponse> checkSlrRole(CheckSlrRoleRequest request);
CompletableFuture<CheckUpgradeVersionResponse> checkUpgradeVersion(CheckUpgradeVersionRequest request);
CompletableFuture<CreateCacheResponse> createCache(CreateCacheRequest request);
CompletableFuture<CreateElasticGatewayPrivateZoneResponse> createElasticGatewayPrivateZone(CreateElasticGatewayPrivateZoneRequest request);
CompletableFuture<CreateExpressSyncResponse> createExpressSync(CreateExpressSyncRequest request);
CompletableFuture<CreateGatewayResponse> createGateway(CreateGatewayRequest request);
CompletableFuture<CreateGatewayBlockVolumeResponse> createGatewayBlockVolume(CreateGatewayBlockVolumeRequest request);
CompletableFuture<CreateGatewayCacheDiskResponse> createGatewayCacheDisk(CreateGatewayCacheDiskRequest request);
CompletableFuture<CreateGatewayFileShareResponse> createGatewayFileShare(CreateGatewayFileShareRequest request);
CompletableFuture<CreateGatewayLoggingResponse> createGatewayLogging(CreateGatewayLoggingRequest request);
CompletableFuture<CreateGatewaySMBUserResponse> createGatewaySMBUser(CreateGatewaySMBUserRequest request);
CompletableFuture<CreateStorageBundleResponse> createStorageBundle(CreateStorageBundleRequest request);
CompletableFuture<DeleteCSGClientsResponse> deleteCSGClients(DeleteCSGClientsRequest request);
CompletableFuture<DeleteElasticGatewayPrivateZoneResponse> deleteElasticGatewayPrivateZone(DeleteElasticGatewayPrivateZoneRequest request);
CompletableFuture<DeleteExpressSyncResponse> deleteExpressSync(DeleteExpressSyncRequest request);
CompletableFuture<DeleteGatewayResponse> deleteGateway(DeleteGatewayRequest request);
CompletableFuture<DeleteGatewayBlockVolumesResponse> deleteGatewayBlockVolumes(DeleteGatewayBlockVolumesRequest request);
CompletableFuture<DeleteGatewayCacheDiskResponse> deleteGatewayCacheDisk(DeleteGatewayCacheDiskRequest request);
CompletableFuture<DeleteGatewayFileSharesResponse> deleteGatewayFileShares(DeleteGatewayFileSharesRequest request);
CompletableFuture<DeleteGatewayLoggingResponse> deleteGatewayLogging(DeleteGatewayLoggingRequest request);
CompletableFuture<DeleteGatewaySMBUserResponse> deleteGatewaySMBUser(DeleteGatewaySMBUserRequest request);
CompletableFuture<DeleteStorageBundleResponse> deleteStorageBundle(DeleteStorageBundleRequest request);
CompletableFuture<DeployCSGClientsResponse> deployCSGClients(DeployCSGClientsRequest request);
CompletableFuture<DeployCacheDiskResponse> deployCacheDisk(DeployCacheDiskRequest request);
CompletableFuture<DeployGatewayResponse> deployGateway(DeployGatewayRequest request);
CompletableFuture<DescribeAccountConfigResponse> describeAccountConfig(DescribeAccountConfigRequest request);
CompletableFuture<DescribeBlockVolumeSnapshotsResponse> describeBlockVolumeSnapshots(DescribeBlockVolumeSnapshotsRequest request);
CompletableFuture<DescribeCSGClientTasksResponse> describeCSGClientTasks(DescribeCSGClientTasksRequest request);
CompletableFuture<DescribeCSGClientsResponse> describeCSGClients(DescribeCSGClientsRequest request);
CompletableFuture<DescribeDashboardResponse> describeDashboard(DescribeDashboardRequest request);
CompletableFuture<DescribeExpireCachesResponse> describeExpireCaches(DescribeExpireCachesRequest request);
CompletableFuture<DescribeExpressSyncSharesResponse> describeExpressSyncShares(DescribeExpressSyncSharesRequest request);
CompletableFuture<DescribeExpressSyncsResponse> describeExpressSyncs(DescribeExpressSyncsRequest request);
CompletableFuture<DescribeGatewayResponse> describeGateway(DescribeGatewayRequest request);
CompletableFuture<DescribeGatewayADInfoResponse> describeGatewayADInfo(DescribeGatewayADInfoRequest request);
CompletableFuture<DescribeGatewayActionsResponse> describeGatewayActions(DescribeGatewayActionsRequest request);
CompletableFuture<DescribeGatewayAuthInfoResponse> describeGatewayAuthInfo(DescribeGatewayAuthInfoRequest request);
CompletableFuture<DescribeGatewayAutoPlansResponse> describeGatewayAutoPlans(DescribeGatewayAutoPlansRequest request);
CompletableFuture<DescribeGatewayAutoUpgradeConfigurationResponse> describeGatewayAutoUpgradeConfiguration(DescribeGatewayAutoUpgradeConfigurationRequest request);
/**
* ****
*
*/
CompletableFuture<DescribeGatewayBlockVolumesResponse> describeGatewayBlockVolumes(DescribeGatewayBlockVolumesRequest request);
CompletableFuture<DescribeGatewayBucketCachesResponse> describeGatewayBucketCaches(DescribeGatewayBucketCachesRequest request);
CompletableFuture<DescribeGatewayCachesResponse> describeGatewayCaches(DescribeGatewayCachesRequest request);
CompletableFuture<DescribeGatewayCapacityLimitResponse> describeGatewayCapacityLimit(DescribeGatewayCapacityLimitRequest request);
CompletableFuture<DescribeGatewayCategoriesResponse> describeGatewayCategories(DescribeGatewayCategoriesRequest request);
CompletableFuture<DescribeGatewayClassesResponse> describeGatewayClasses(DescribeGatewayClassesRequest request);
CompletableFuture<DescribeGatewayCredentialResponse> describeGatewayCredential(DescribeGatewayCredentialRequest request);
CompletableFuture<DescribeGatewayDNSResponse> describeGatewayDNS(DescribeGatewayDNSRequest request);
CompletableFuture<DescribeGatewayFileSharesResponse> describeGatewayFileShares(DescribeGatewayFileSharesRequest request);
CompletableFuture<DescribeGatewayFileStatusResponse> describeGatewayFileStatus(DescribeGatewayFileStatusRequest request);
CompletableFuture<DescribeGatewayImagesResponse> describeGatewayImages(DescribeGatewayImagesRequest request);
CompletableFuture<DescribeGatewayInfoResponse> describeGatewayInfo(DescribeGatewayInfoRequest request);
CompletableFuture<DescribeGatewayLDAPInfoResponse> describeGatewayLDAPInfo(DescribeGatewayLDAPInfoRequest request);
CompletableFuture<DescribeGatewayLocationsResponse> describeGatewayLocations(DescribeGatewayLocationsRequest request);
CompletableFuture<DescribeGatewayLoggingResponse> describeGatewayLogging(DescribeGatewayLoggingRequest request);
CompletableFuture<DescribeGatewayLogsResponse> describeGatewayLogs(DescribeGatewayLogsRequest request);
CompletableFuture<DescribeGatewayModificationClassesResponse> describeGatewayModificationClasses(DescribeGatewayModificationClassesRequest request);
CompletableFuture<DescribeGatewayNFSClientsResponse> describeGatewayNFSClients(DescribeGatewayNFSClientsRequest request);
CompletableFuture<DescribeGatewaySMBUsersResponse> describeGatewaySMBUsers(DescribeGatewaySMBUsersRequest request);
CompletableFuture<DescribeGatewayStatisticsResponse> describeGatewayStatistics(DescribeGatewayStatisticsRequest request);
CompletableFuture<DescribeGatewayStockResponse> describeGatewayStock(DescribeGatewayStockRequest request);
CompletableFuture<DescribeGatewayTypesResponse> describeGatewayTypes(DescribeGatewayTypesRequest request);
CompletableFuture<DescribeGatewaysResponse> describeGateways(DescribeGatewaysRequest request);
CompletableFuture<DescribeGatewaysForCmsResponse> describeGatewaysForCms(DescribeGatewaysForCmsRequest request);
CompletableFuture<DescribeGatewaysTagsResponse> describeGatewaysTags(DescribeGatewaysTagsRequest request);
CompletableFuture<DescribeKmsKeyResponse> describeKmsKey(DescribeKmsKeyRequest request);
CompletableFuture<DescribeMqttConfigResponse> describeMqttConfig(DescribeMqttConfigRequest request);
CompletableFuture<DescribeOssBucketInfoResponse> describeOssBucketInfo(DescribeOssBucketInfoRequest request);
CompletableFuture<DescribeOssBucketsResponse> describeOssBuckets(DescribeOssBucketsRequest request);
CompletableFuture<DescribePayAsYouGoPriceResponse> describePayAsYouGoPrice(DescribePayAsYouGoPriceRequest request);
CompletableFuture<DescribeRegionsResponse> describeRegions(DescribeRegionsRequest request);
CompletableFuture<DescribeSharesBucketInfoForExpressSyncResponse> describeSharesBucketInfoForExpressSync(DescribeSharesBucketInfoForExpressSyncRequest request);
CompletableFuture<DescribeStorageBundleResponse> describeStorageBundle(DescribeStorageBundleRequest request);
CompletableFuture<DescribeStorageBundlesResponse> describeStorageBundles(DescribeStorageBundlesRequest request);
CompletableFuture<DescribeSubscriptionPriceResponse> describeSubscriptionPrice(DescribeSubscriptionPriceRequest request);
CompletableFuture<DescribeTasksResponse> describeTasks(DescribeTasksRequest request);
CompletableFuture<DescribeUserBusinessStatusResponse> describeUserBusinessStatus(DescribeUserBusinessStatusRequest request);
CompletableFuture<DescribeVSwitchesResponse> describeVSwitches(DescribeVSwitchesRequest request);
CompletableFuture<DescribeVpcsResponse> describeVpcs(DescribeVpcsRequest request);
CompletableFuture<DescribeZonesResponse> describeZones(DescribeZonesRequest request);
CompletableFuture<DisableGatewayLoggingResponse> disableGatewayLogging(DisableGatewayLoggingRequest request);
CompletableFuture<DisableGatewayNFSVersionResponse> disableGatewayNFSVersion(DisableGatewayNFSVersionRequest request);
CompletableFuture<EnableGatewayIpv6Response> enableGatewayIpv6(EnableGatewayIpv6Request request);
CompletableFuture<EnableGatewayLoggingResponse> enableGatewayLogging(EnableGatewayLoggingRequest request);
CompletableFuture<ExpandCacheDiskResponse> expandCacheDisk(ExpandCacheDiskRequest request);
CompletableFuture<ExpandGatewayFileShareResponse> expandGatewayFileShare(ExpandGatewayFileShareRequest request);
CompletableFuture<ExpandGatewayNetworkBandwidthResponse> expandGatewayNetworkBandwidth(ExpandGatewayNetworkBandwidthRequest request);
CompletableFuture<GenerateGatewayTokenResponse> generateGatewayToken(GenerateGatewayTokenRequest request);
CompletableFuture<GenerateMqttTokenResponse> generateMqttToken(GenerateMqttTokenRequest request);
CompletableFuture<GenerateStsTokenResponse> generateStsToken(GenerateStsTokenRequest request);
CompletableFuture<HandleGatewayAutoPlanResponse> handleGatewayAutoPlan(HandleGatewayAutoPlanRequest request);
CompletableFuture<ListTagResourcesResponse> listTagResources(ListTagResourcesRequest request);
CompletableFuture<ModifyGatewayResponse> modifyGateway(ModifyGatewayRequest request);
CompletableFuture<ModifyGatewayBlockVolumeResponse> modifyGatewayBlockVolume(ModifyGatewayBlockVolumeRequest request);
CompletableFuture<ModifyGatewayClassResponse> modifyGatewayClass(ModifyGatewayClassRequest request);
CompletableFuture<ModifyGatewayFileShareResponse> modifyGatewayFileShare(ModifyGatewayFileShareRequest request);
CompletableFuture<ModifyGatewayFileShareWatermarkResponse> modifyGatewayFileShareWatermark(ModifyGatewayFileShareWatermarkRequest request);
CompletableFuture<ModifyStorageBundleResponse> modifyStorageBundle(ModifyStorageBundleRequest request);
CompletableFuture<OpenSgwServiceResponse> openSgwService(OpenSgwServiceRequest request);
CompletableFuture<OperateGatewayResponse> operateGateway(OperateGatewayRequest request);
CompletableFuture<ReleaseServiceResponse> releaseService(ReleaseServiceRequest request);
CompletableFuture<RemoveSharesFromExpressSyncResponse> removeSharesFromExpressSync(RemoveSharesFromExpressSyncRequest request);
CompletableFuture<RemoveTagsFromGatewayResponse> removeTagsFromGateway(RemoveTagsFromGatewayRequest request);
CompletableFuture<ReportBlockVolumesResponse> reportBlockVolumes(ReportBlockVolumesRequest request);
CompletableFuture<ReportFileSharesResponse> reportFileShares(ReportFileSharesRequest request);
CompletableFuture<ReportGatewayInfoResponse> reportGatewayInfo(ReportGatewayInfoRequest request);
CompletableFuture<ReportGatewayUsageResponse> reportGatewayUsage(ReportGatewayUsageRequest request);
CompletableFuture<ResetGatewayPasswordResponse> resetGatewayPassword(ResetGatewayPasswordRequest request);
CompletableFuture<RestartFileSharesResponse> restartFileShares(RestartFileSharesRequest request);
CompletableFuture<SetGatewayADInfoResponse> setGatewayADInfo(SetGatewayADInfoRequest request);
CompletableFuture<SetGatewayAutoUpgradeConfigurationResponse> setGatewayAutoUpgradeConfiguration(SetGatewayAutoUpgradeConfigurationRequest request);
CompletableFuture<SetGatewayDNSResponse> setGatewayDNS(SetGatewayDNSRequest request);
CompletableFuture<SetGatewayLDAPInfoResponse> setGatewayLDAPInfo(SetGatewayLDAPInfoRequest request);
CompletableFuture<SwitchCSGClientsReverseSyncConfigurationResponse> switchCSGClientsReverseSyncConfiguration(SwitchCSGClientsReverseSyncConfigurationRequest request);
CompletableFuture<SwitchGatewayExpirationPolicyResponse> switchGatewayExpirationPolicy(SwitchGatewayExpirationPolicyRequest request);
CompletableFuture<SwitchToSubscriptionResponse> switchToSubscription(SwitchToSubscriptionRequest request);
CompletableFuture<TagResourcesResponse> tagResources(TagResourcesRequest request);
CompletableFuture<TriggerGatewayRemoteSyncResponse> triggerGatewayRemoteSync(TriggerGatewayRemoteSyncRequest request);
CompletableFuture<UntagResourcesResponse> untagResources(UntagResourcesRequest request);
CompletableFuture<UpdateGatewayBlockVolumeResponse> updateGatewayBlockVolume(UpdateGatewayBlockVolumeRequest request);
CompletableFuture<UpdateGatewayFileShareResponse> updateGatewayFileShare(UpdateGatewayFileShareRequest request);
CompletableFuture<UpgradeGatewayResponse> upgradeGateway(UpgradeGatewayRequest request);
CompletableFuture<UploadCSGClientLogResponse> uploadCSGClientLog(UploadCSGClientLogRequest request);
CompletableFuture<UploadGatewayLogResponse> uploadGatewayLog(UploadGatewayLogRequest request);
CompletableFuture<ValidateExpressSyncConfigResponse> validateExpressSyncConfig(ValidateExpressSyncConfigRequest request);
CompletableFuture<ValidateGatewayNameResponse> validateGatewayName(ValidateGatewayNameRequest request);
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.