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/DescribeEipResourcesResponseBody.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 DescribeEipResourcesResponseBody} extends {@link TeaModel} * * <p>DescribeEipResourcesResponseBody</p> */ public class DescribeEipResourcesResponseBody extends TeaModel { @NameInMap("EipList") private java.util.List < EipList> eipList; @NameInMap("PageResult") private PageResult pageResult; @NameInMap("RequestId") private String requestId; private DescribeEipResourcesResponseBody(Builder builder) { this.eipList = builder.eipList; this.pageResult = builder.pageResult; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeEipResourcesResponseBody create() { return builder().build(); } /** * @return eipList */ public java.util.List < EipList> getEipList() { return this.eipList; } /** * @return pageResult */ public PageResult getPageResult() { return this.pageResult; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List < EipList> eipList; private PageResult pageResult; private String requestId; /** * The EIPs. */ public Builder eipList(java.util.List < EipList> eipList) { this.eipList = eipList; return this; } /** * The pagination information. */ public Builder pageResult(PageResult pageResult) { this.pageResult = pageResult; return this; } /** * The ID of the request. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeEipResourcesResponseBody build() { return new DescribeEipResourcesResponseBody(this); } } public static class EipList extends TeaModel { @NameInMap("AllocationId") private String allocationId; @NameInMap("InstanceType") private String instanceType; @NameInMap("IpAddress") private String ipAddress; @NameInMap("Status") private String status; private EipList(Builder builder) { this.allocationId = builder.allocationId; this.instanceType = builder.instanceType; this.ipAddress = builder.ipAddress; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static EipList create() { return builder().build(); } /** * @return allocationId */ public String getAllocationId() { return this.allocationId; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return ipAddress */ public String getIpAddress() { return this.ipAddress; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private String allocationId; private String instanceType; private String ipAddress; private String status; /** * The ID of the EIP. */ public Builder allocationId(String allocationId) { this.allocationId = allocationId; return this; } /** * The type of the resource that is associated with the EIP. Valid values: * <p> * * * `EcsInstance`: an ECS instance in a VPC * * `SlbInstance`: a Server Load Balancer (SLB) instance in a VPC * * `Nat`: a NAT gateway * * `HaVip`: a high-availability virtual IP address (HAVIP) * * `NetworkInterface`: a secondary elastic network interface (ENI) * * Default value: `EcsInstance`. */ public Builder instanceType(String instanceType) { this.instanceType = instanceType; return this; } /** * The IP address of the EIP. */ public Builder ipAddress(String ipAddress) { this.ipAddress = ipAddress; return this; } /** * The status of the EIP. Valid values: * <p> * * * `Associating`: The EIP is being associated with a resource. * * `Unassociating`: The EIP is being disassociated from a resource. * * `InUse`: The EIP is associated with a resource. * * `Available`: The EIP is available. */ public Builder status(String status) { this.status = status; return this; } public EipList build() { return new EipList(this); } } } public static class PageResult extends TeaModel { @NameInMap("PageNumber") private Integer pageNumber; @NameInMap("PageSize") private Integer pageSize; @NameInMap("TotalCount") private Integer totalCount; private PageResult(Builder builder) { this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageResult create() { return builder().build(); } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer pageNumber; private Integer pageSize; private Integer totalCount; /** * The page number of the returned page. */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * The number of entries returned per page. */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * The number of entries returned. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageResult build() { return new PageResult(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/DescribeGatewaySecretDetailsRequest.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 DescribeGatewaySecretDetailsRequest} extends {@link RequestModel} * * <p>DescribeGatewaySecretDetailsRequest</p> */ public class DescribeGatewaySecretDetailsRequest extends Request { @Body @NameInMap("IstioGatewayName") private String istioGatewayName; @Body @NameInMap("ServiceMeshId") @Validation(required = true) private String serviceMeshId; private DescribeGatewaySecretDetailsRequest(Builder builder) { super(builder); this.istioGatewayName = builder.istioGatewayName; this.serviceMeshId = builder.serviceMeshId; } public static Builder builder() { return new Builder(); } public static DescribeGatewaySecretDetailsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return istioGatewayName */ public String getIstioGatewayName() { return this.istioGatewayName; } /** * @return serviceMeshId */ public String getServiceMeshId() { return this.serviceMeshId; } public static final class Builder extends Request.Builder<DescribeGatewaySecretDetailsRequest, Builder> { private String istioGatewayName; private String serviceMeshId; private Builder() { super(); } private Builder(DescribeGatewaySecretDetailsRequest request) { super(request); this.istioGatewayName = request.istioGatewayName; this.serviceMeshId = request.serviceMeshId; } /** * The name of the ASM gateway. */ public Builder istioGatewayName(String istioGatewayName) { this.putBodyParameter("IstioGatewayName", istioGatewayName); this.istioGatewayName = istioGatewayName; return this; } /** * The ASM instance ID. */ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); this.serviceMeshId = serviceMeshId; return this; } @Override public DescribeGatewaySecretDetailsRequest build() { return new DescribeGatewaySecretDetailsRequest(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/DescribeGatewaySecretDetailsResponse.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 DescribeGatewaySecretDetailsResponse} extends {@link TeaModel} * * <p>DescribeGatewaySecretDetailsResponse</p> */ public class DescribeGatewaySecretDetailsResponse 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 DescribeGatewaySecretDetailsResponseBody body; private DescribeGatewaySecretDetailsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeGatewaySecretDetailsResponse 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 DescribeGatewaySecretDetailsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeGatewaySecretDetailsResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeGatewaySecretDetailsResponseBody body); @Override DescribeGatewaySecretDetailsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeGatewaySecretDetailsResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeGatewaySecretDetailsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeGatewaySecretDetailsResponse 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(DescribeGatewaySecretDetailsResponseBody body) { this.body = body; return this; } @Override public DescribeGatewaySecretDetailsResponse build() { return new DescribeGatewaySecretDetailsResponse(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/DescribeGatewaySecretDetailsResponseBody.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 DescribeGatewaySecretDetailsResponseBody} extends {@link TeaModel} * * <p>DescribeGatewaySecretDetailsResponseBody</p> */ public class DescribeGatewaySecretDetailsResponseBody extends TeaModel { @NameInMap("GatewaySecretDetails") private java.util.List < GatewaySecretDetails> gatewaySecretDetails; @NameInMap("RequestId") private String requestId; private DescribeGatewaySecretDetailsResponseBody(Builder builder) { this.gatewaySecretDetails = builder.gatewaySecretDetails; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeGatewaySecretDetailsResponseBody create() { return builder().build(); } /** * @return gatewaySecretDetails */ public java.util.List < GatewaySecretDetails> getGatewaySecretDetails() { return this.gatewaySecretDetails; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List < GatewaySecretDetails> gatewaySecretDetails; private String requestId; /** * The detailed information about the secret of the ASM gateway. */ public Builder gatewaySecretDetails(java.util.List < GatewaySecretDetails> gatewaySecretDetails) { this.gatewaySecretDetails = gatewaySecretDetails; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeGatewaySecretDetailsResponseBody build() { return new DescribeGatewaySecretDetailsResponseBody(this); } } public static class GatewaySecretDetails extends TeaModel { @NameInMap("ExpiredTime") private String expiredTime; @NameInMap("GatewayName") private String gatewayName; @NameInMap("IssueTime") private String issueTime; @NameInMap("Message") private String message; @NameInMap("SNI") private String SNI; @NameInMap("SecretName") private String secretName; @NameInMap("State") private String state; private GatewaySecretDetails(Builder builder) { this.expiredTime = builder.expiredTime; this.gatewayName = builder.gatewayName; this.issueTime = builder.issueTime; this.message = builder.message; this.SNI = builder.SNI; this.secretName = builder.secretName; this.state = builder.state; } public static Builder builder() { return new Builder(); } public static GatewaySecretDetails create() { return builder().build(); } /** * @return expiredTime */ public String getExpiredTime() { return this.expiredTime; } /** * @return gatewayName */ public String getGatewayName() { return this.gatewayName; } /** * @return issueTime */ public String getIssueTime() { return this.issueTime; } /** * @return message */ public String getMessage() { return this.message; } /** * @return SNI */ public String getSNI() { return this.SNI; } /** * @return secretName */ public String getSecretName() { return this.secretName; } /** * @return state */ public String getState() { return this.state; } public static final class Builder { private String expiredTime; private String gatewayName; private String issueTime; private String message; private String SNI; private String secretName; private String state; /** * The time when the certificate expires. */ public Builder expiredTime(String expiredTime) { this.expiredTime = expiredTime; return this; } /** * The name of the gateway. */ public Builder gatewayName(String gatewayName) { this.gatewayName = gatewayName; return this; } /** * The time when the certificate was issued. */ public Builder issueTime(String issueTime) { this.issueTime = issueTime; return this; } /** * * An error message is returned if the status of the gateway is abnormal. Examples: `tls.crt not exist`, `tls.key not exist`, and `secret type must be kubernetes.io/tls`. * <p> * * An empty value is returned if the status of the gateway is normal. */ public Builder message(String message) { this.message = message; return this; } /** * The Server Name Indication (SNI) value. */ public Builder SNI(String SNI) { this.SNI = SNI; return this; } /** * The name of the secret. */ public Builder secretName(String secretName) { this.secretName = secretName; return this; } /** * The status of the certificate. Valid values: * <p> * * * `normal` * * `abnormal` */ public Builder state(String state) { this.state = state; return this; } public GatewaySecretDetails build() { return new GatewaySecretDetails(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/DescribeGuestClusterAccessLogDashboardsRequest.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 DescribeGuestClusterAccessLogDashboardsRequest} extends {@link RequestModel} * * <p>DescribeGuestClusterAccessLogDashboardsRequest</p> */ public class DescribeGuestClusterAccessLogDashboardsRequest extends Request { @Body @NameInMap("K8sClusterId") @Validation(required = true) private String k8sClusterId; private DescribeGuestClusterAccessLogDashboardsRequest(Builder builder) { super(builder); this.k8sClusterId = builder.k8sClusterId; } public static Builder builder() { return new Builder(); } public static DescribeGuestClusterAccessLogDashboardsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return k8sClusterId */ public String getK8sClusterId() { return this.k8sClusterId; } public static final class Builder extends Request.Builder<DescribeGuestClusterAccessLogDashboardsRequest, Builder> { private String k8sClusterId; private Builder() { super(); } private Builder(DescribeGuestClusterAccessLogDashboardsRequest request) { super(request); this.k8sClusterId = request.k8sClusterId; } /** * The ID of the cluster on the data plane. */ public Builder k8sClusterId(String k8sClusterId) { this.putBodyParameter("K8sClusterId", k8sClusterId); this.k8sClusterId = k8sClusterId; return this; } @Override public DescribeGuestClusterAccessLogDashboardsRequest build() { return new DescribeGuestClusterAccessLogDashboardsRequest(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/DescribeGuestClusterAccessLogDashboardsResponse.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 DescribeGuestClusterAccessLogDashboardsResponse} extends {@link TeaModel} * * <p>DescribeGuestClusterAccessLogDashboardsResponse</p> */ public class DescribeGuestClusterAccessLogDashboardsResponse 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 DescribeGuestClusterAccessLogDashboardsResponseBody body; private DescribeGuestClusterAccessLogDashboardsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeGuestClusterAccessLogDashboardsResponse 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 DescribeGuestClusterAccessLogDashboardsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeGuestClusterAccessLogDashboardsResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeGuestClusterAccessLogDashboardsResponseBody body); @Override DescribeGuestClusterAccessLogDashboardsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeGuestClusterAccessLogDashboardsResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeGuestClusterAccessLogDashboardsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeGuestClusterAccessLogDashboardsResponse 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(DescribeGuestClusterAccessLogDashboardsResponseBody body) { this.body = body; return this; } @Override public DescribeGuestClusterAccessLogDashboardsResponse build() { return new DescribeGuestClusterAccessLogDashboardsResponse(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/DescribeGuestClusterAccessLogDashboardsResponseBody.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 DescribeGuestClusterAccessLogDashboardsResponseBody} extends {@link TeaModel} * * <p>DescribeGuestClusterAccessLogDashboardsResponseBody</p> */ public class DescribeGuestClusterAccessLogDashboardsResponseBody extends TeaModel { @NameInMap("Dashboards") private java.util.List < Dashboards> dashboards; @NameInMap("K8sClusterId") private String k8sClusterId; @NameInMap("RequestId") private String requestId; private DescribeGuestClusterAccessLogDashboardsResponseBody(Builder builder) { this.dashboards = builder.dashboards; this.k8sClusterId = builder.k8sClusterId; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeGuestClusterAccessLogDashboardsResponseBody create() { return builder().build(); } /** * @return dashboards */ public java.util.List < Dashboards> getDashboards() { return this.dashboards; } /** * @return k8sClusterId */ public String getK8sClusterId() { return this.k8sClusterId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List < Dashboards> dashboards; private String k8sClusterId; private String requestId; /** * The access log dashboards of the cluster on the data plane. */ public Builder dashboards(java.util.List < Dashboards> dashboards) { this.dashboards = dashboards; return this; } /** * The ID of the cluster on the data plane. */ public Builder k8sClusterId(String k8sClusterId) { this.k8sClusterId = k8sClusterId; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeGuestClusterAccessLogDashboardsResponseBody build() { return new DescribeGuestClusterAccessLogDashboardsResponseBody(this); } } public static class Dashboards extends TeaModel { @NameInMap("Title") private String title; @NameInMap("Url") private String url; private Dashboards(Builder builder) { this.title = builder.title; this.url = builder.url; } public static Builder builder() { return new Builder(); } public static Dashboards create() { return builder().build(); } /** * @return title */ public String getTitle() { return this.title; } /** * @return url */ public String getUrl() { return this.url; } public static final class Builder { private String title; private String url; /** * The title of the dashboard. */ public Builder title(String title) { this.title = title; return this; } /** * The URL of a dashboard. */ public Builder url(String url) { this.url = url; return this; } public Dashboards build() { return new Dashboards(this); } } } }
0
java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111
java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeGuestClusterNamespacesRequest.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 DescribeGuestClusterNamespacesRequest} extends {@link RequestModel} * * <p>DescribeGuestClusterNamespacesRequest</p> */ public class DescribeGuestClusterNamespacesRequest extends Request { @Body @NameInMap("GuestClusterID") @Validation(required = true) private String guestClusterID; @Body @NameInMap("ServiceMeshId") @Validation(required = true) private String serviceMeshId; @Body @NameInMap("ShowNsLabels") private Boolean showNsLabels; private DescribeGuestClusterNamespacesRequest(Builder builder) { super(builder); this.guestClusterID = builder.guestClusterID; this.serviceMeshId = builder.serviceMeshId; this.showNsLabels = builder.showNsLabels; } public static Builder builder() { return new Builder(); } public static DescribeGuestClusterNamespacesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return guestClusterID */ public String getGuestClusterID() { return this.guestClusterID; } /** * @return serviceMeshId */ public String getServiceMeshId() { return this.serviceMeshId; } /** * @return showNsLabels */ public Boolean getShowNsLabels() { return this.showNsLabels; } public static final class Builder extends Request.Builder<DescribeGuestClusterNamespacesRequest, Builder> { private String guestClusterID; private String serviceMeshId; private Boolean showNsLabels; private Builder() { super(); } private Builder(DescribeGuestClusterNamespacesRequest request) { super(request); this.guestClusterID = request.guestClusterID; this.serviceMeshId = request.serviceMeshId; this.showNsLabels = request.showNsLabels; } /** * The ID of the Kubernetes cluster that is added to the ASM instance. */ public Builder guestClusterID(String guestClusterID) { this.putBodyParameter("GuestClusterID", guestClusterID); this.guestClusterID = guestClusterID; return this; } /** * The ASM instance ID. */ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); this.serviceMeshId = serviceMeshId; return this; } /** * Specifies whether to return the labels of the namespaces. */ public Builder showNsLabels(Boolean showNsLabels) { this.putBodyParameter("ShowNsLabels", showNsLabels); this.showNsLabels = showNsLabels; return this; } @Override public DescribeGuestClusterNamespacesRequest build() { return new DescribeGuestClusterNamespacesRequest(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/DescribeGuestClusterNamespacesResponse.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 DescribeGuestClusterNamespacesResponse} extends {@link TeaModel} * * <p>DescribeGuestClusterNamespacesResponse</p> */ public class DescribeGuestClusterNamespacesResponse 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 DescribeGuestClusterNamespacesResponseBody body; private DescribeGuestClusterNamespacesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeGuestClusterNamespacesResponse 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 DescribeGuestClusterNamespacesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeGuestClusterNamespacesResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeGuestClusterNamespacesResponseBody body); @Override DescribeGuestClusterNamespacesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeGuestClusterNamespacesResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeGuestClusterNamespacesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeGuestClusterNamespacesResponse 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(DescribeGuestClusterNamespacesResponseBody body) { this.body = body; return this; } @Override public DescribeGuestClusterNamespacesResponse build() { return new DescribeGuestClusterNamespacesResponse(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/DescribeGuestClusterNamespacesResponseBody.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 DescribeGuestClusterNamespacesResponseBody} extends {@link TeaModel} * * <p>DescribeGuestClusterNamespacesResponseBody</p> */ public class DescribeGuestClusterNamespacesResponseBody extends TeaModel { @NameInMap("NsLabels") private java.util.Map < String, ? > nsLabels; @NameInMap("NsList") private java.util.List < String > nsList; @NameInMap("RequestId") private String requestId; private DescribeGuestClusterNamespacesResponseBody(Builder builder) { this.nsLabels = builder.nsLabels; this.nsList = builder.nsList; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeGuestClusterNamespacesResponseBody create() { return builder().build(); } /** * @return nsLabels */ public java.util.Map < String, ? > getNsLabels() { return this.nsLabels; } /** * @return nsList */ public java.util.List < String > getNsList() { return this.nsList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.Map < String, ? > nsLabels; private java.util.List < String > nsList; private String requestId; /** * The labels of the namespaces. Labels are returned only when `ShowNsLabels` is set to `true`. */ public Builder nsLabels(java.util.Map < String, ? > nsLabels) { this.nsLabels = nsLabels; return this; } /** * The names of the namespaces. */ public Builder nsList(java.util.List < String > nsList) { this.nsList = nsList; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeGuestClusterNamespacesResponseBody build() { return new DescribeGuestClusterNamespacesResponseBody(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/DescribeGuestClusterPodsRequest.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 DescribeGuestClusterPodsRequest} extends {@link RequestModel} * * <p>DescribeGuestClusterPodsRequest</p> */ public class DescribeGuestClusterPodsRequest extends Request { @Body @NameInMap("GuestClusterID") @Validation(required = true) private String guestClusterID; @Body @NameInMap("Namespace") @Validation(required = true) private String namespace; @Body @NameInMap("ServiceMeshId") @Validation(required = true) private String serviceMeshId; private DescribeGuestClusterPodsRequest(Builder builder) { super(builder); this.guestClusterID = builder.guestClusterID; this.namespace = builder.namespace; this.serviceMeshId = builder.serviceMeshId; } public static Builder builder() { return new Builder(); } public static DescribeGuestClusterPodsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return guestClusterID */ public String getGuestClusterID() { return this.guestClusterID; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return serviceMeshId */ public String getServiceMeshId() { return this.serviceMeshId; } public static final class Builder extends Request.Builder<DescribeGuestClusterPodsRequest, Builder> { private String guestClusterID; private String namespace; private String serviceMeshId; private Builder() { super(); } private Builder(DescribeGuestClusterPodsRequest request) { super(request); this.guestClusterID = request.guestClusterID; this.namespace = request.namespace; this.serviceMeshId = request.serviceMeshId; } /** * The ID of the Kubernetes cluster that is added to the ASM instance. */ public Builder guestClusterID(String guestClusterID) { this.putBodyParameter("GuestClusterID", guestClusterID); this.guestClusterID = guestClusterID; return this; } /** * The namespace. */ public Builder namespace(String namespace) { this.putBodyParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * The ASM instance ID. */ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); this.serviceMeshId = serviceMeshId; return this; } @Override public DescribeGuestClusterPodsRequest build() { return new DescribeGuestClusterPodsRequest(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/DescribeGuestClusterPodsResponse.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 DescribeGuestClusterPodsResponse} extends {@link TeaModel} * * <p>DescribeGuestClusterPodsResponse</p> */ public class DescribeGuestClusterPodsResponse 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 DescribeGuestClusterPodsResponseBody body; private DescribeGuestClusterPodsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeGuestClusterPodsResponse 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 DescribeGuestClusterPodsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeGuestClusterPodsResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeGuestClusterPodsResponseBody body); @Override DescribeGuestClusterPodsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeGuestClusterPodsResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeGuestClusterPodsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeGuestClusterPodsResponse 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(DescribeGuestClusterPodsResponseBody body) { this.body = body; return this; } @Override public DescribeGuestClusterPodsResponse build() { return new DescribeGuestClusterPodsResponse(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/DescribeGuestClusterPodsResponseBody.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 DescribeGuestClusterPodsResponseBody} extends {@link TeaModel} * * <p>DescribeGuestClusterPodsResponseBody</p> */ public class DescribeGuestClusterPodsResponseBody extends TeaModel { @NameInMap("PodList") private java.util.List < String > podList; @NameInMap("RequestId") private String requestId; private DescribeGuestClusterPodsResponseBody(Builder builder) { this.podList = builder.podList; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeGuestClusterPodsResponseBody create() { return builder().build(); } /** * @return podList */ public java.util.List < String > getPodList() { return this.podList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List < String > podList; private String requestId; /** * The list of the names of the queried pods. */ public Builder podList(java.util.List < String > podList) { this.podList = podList; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeGuestClusterPodsResponseBody build() { return new DescribeGuestClusterPodsResponseBody(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/DescribeImportedServicesDetailRequest.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 DescribeImportedServicesDetailRequest} extends {@link RequestModel} * * <p>DescribeImportedServicesDetailRequest</p> */ public class DescribeImportedServicesDetailRequest extends Request { @Body @NameInMap("ASMGatewayName") private String ASMGatewayName; @Body @NameInMap("ServiceMeshId") @Validation(required = true) private String serviceMeshId; @Body @NameInMap("ServiceNamespace") private String serviceNamespace; private DescribeImportedServicesDetailRequest(Builder builder) { super(builder); this.ASMGatewayName = builder.ASMGatewayName; this.serviceMeshId = builder.serviceMeshId; this.serviceNamespace = builder.serviceNamespace; } public static Builder builder() { return new Builder(); } public static DescribeImportedServicesDetailRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return ASMGatewayName */ public String getASMGatewayName() { return this.ASMGatewayName; } /** * @return serviceMeshId */ public String getServiceMeshId() { return this.serviceMeshId; } /** * @return serviceNamespace */ public String getServiceNamespace() { return this.serviceNamespace; } public static final class Builder extends Request.Builder<DescribeImportedServicesDetailRequest, Builder> { private String ASMGatewayName; private String serviceMeshId; private String serviceNamespace; private Builder() { super(); } private Builder(DescribeImportedServicesDetailRequest request) { super(request); this.ASMGatewayName = request.ASMGatewayName; this.serviceMeshId = request.serviceMeshId; this.serviceNamespace = request.serviceNamespace; } /** * The name of the ASM gateway. */ public Builder ASMGatewayName(String ASMGatewayName) { this.putBodyParameter("ASMGatewayName", ASMGatewayName); this.ASMGatewayName = ASMGatewayName; return this; } /** * The ASM instance ID. */ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); this.serviceMeshId = serviceMeshId; return this; } /** * The namespace in which the services reside. */ public Builder serviceNamespace(String serviceNamespace) { this.putBodyParameter("ServiceNamespace", serviceNamespace); this.serviceNamespace = serviceNamespace; return this; } @Override public DescribeImportedServicesDetailRequest build() { return new DescribeImportedServicesDetailRequest(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/DescribeImportedServicesDetailResponse.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 DescribeImportedServicesDetailResponse} extends {@link TeaModel} * * <p>DescribeImportedServicesDetailResponse</p> */ public class DescribeImportedServicesDetailResponse 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 DescribeImportedServicesDetailResponseBody body; private DescribeImportedServicesDetailResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeImportedServicesDetailResponse 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 DescribeImportedServicesDetailResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeImportedServicesDetailResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeImportedServicesDetailResponseBody body); @Override DescribeImportedServicesDetailResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeImportedServicesDetailResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeImportedServicesDetailResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeImportedServicesDetailResponse 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(DescribeImportedServicesDetailResponseBody body) { this.body = body; return this; } @Override public DescribeImportedServicesDetailResponse build() { return new DescribeImportedServicesDetailResponse(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/DescribeImportedServicesDetailResponseBody.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 DescribeImportedServicesDetailResponseBody} extends {@link TeaModel} * * <p>DescribeImportedServicesDetailResponseBody</p> */ public class DescribeImportedServicesDetailResponseBody extends TeaModel { @NameInMap("Details") private java.util.List < Details> details; @NameInMap("RequestId") private String requestId; private DescribeImportedServicesDetailResponseBody(Builder builder) { this.details = builder.details; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeImportedServicesDetailResponseBody create() { return builder().build(); } /** * @return details */ public java.util.List < Details> getDetails() { return this.details; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List < Details> details; private String requestId; /** * The details of the services. */ public Builder details(java.util.List < Details> details) { this.details = details; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeImportedServicesDetailResponseBody build() { return new DescribeImportedServicesDetailResponseBody(this); } } public static class Ports extends TeaModel { @NameInMap("Name") private String name; @NameInMap("NodePort") private Integer nodePort; @NameInMap("Port") private Integer port; @NameInMap("Protocol") private String protocol; @NameInMap("TargetPort") private Integer targetPort; private Ports(Builder builder) { this.name = builder.name; this.nodePort = builder.nodePort; this.port = builder.port; this.protocol = builder.protocol; this.targetPort = builder.targetPort; } public static Builder builder() { return new Builder(); } public static Ports create() { return builder().build(); } /** * @return name */ public String getName() { return this.name; } /** * @return nodePort */ public Integer getNodePort() { return this.nodePort; } /** * @return port */ public Integer getPort() { return this.port; } /** * @return protocol */ public String getProtocol() { return this.protocol; } /** * @return targetPort */ public Integer getTargetPort() { return this.targetPort; } public static final class Builder { private String name; private Integer nodePort; private Integer port; private String protocol; private Integer targetPort; /** * The name of a port. */ public Builder name(String name) { this.name = name; return this; } /** * The node port. */ public Builder nodePort(Integer nodePort) { this.nodePort = nodePort; return this; } /** * The port number. */ public Builder port(Integer port) { this.port = port; return this; } /** * The protocol of the port. */ public Builder protocol(String protocol) { this.protocol = protocol; return this; } /** * The container port. */ public Builder targetPort(Integer targetPort) { this.targetPort = targetPort; return this; } public Ports build() { return new Ports(this); } } } public static class Details extends TeaModel { @NameInMap("ClusterIds") private java.util.List < String > clusterIds; @NameInMap("Labels") private java.util.Map < String, String > labels; @NameInMap("Namespace") private String namespace; @NameInMap("Ports") private java.util.List < Ports> ports; @NameInMap("ServiceName") private String serviceName; @NameInMap("ServiceType") private String serviceType; private Details(Builder builder) { this.clusterIds = builder.clusterIds; this.labels = builder.labels; this.namespace = builder.namespace; this.ports = builder.ports; this.serviceName = builder.serviceName; this.serviceType = builder.serviceType; } public static Builder builder() { return new Builder(); } public static Details create() { return builder().build(); } /** * @return clusterIds */ public java.util.List < String > getClusterIds() { return this.clusterIds; } /** * @return labels */ public java.util.Map < String, String > getLabels() { return this.labels; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return ports */ public java.util.List < Ports> getPorts() { return this.ports; } /** * @return serviceName */ public String getServiceName() { return this.serviceName; } /** * @return serviceType */ public String getServiceType() { return this.serviceType; } public static final class Builder { private java.util.List < String > clusterIds; private java.util.Map < String, String > labels; private String namespace; private java.util.List < Ports> ports; private String serviceName; private String serviceType; /** * The clusters on the data plane. */ public Builder clusterIds(java.util.List < String > clusterIds) { this.clusterIds = clusterIds; return this; } /** * The labels of the service. */ public Builder labels(java.util.Map < String, String > labels) { this.labels = labels; return this; } /** * The namespace in which the service resides. */ public Builder namespace(String namespace) { this.namespace = namespace; return this; } /** * The ports declared for the service. */ public Builder ports(java.util.List < Ports> ports) { this.ports = ports; return this; } /** * The name of a service. */ public Builder serviceName(String serviceName) { this.serviceName = serviceName; return this; } /** * The type of the service. */ public Builder serviceType(String serviceType) { this.serviceType = serviceType; return this; } public Details build() { return new Details(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/DescribeIstioGatewayDomainsRequest.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 DescribeIstioGatewayDomainsRequest} extends {@link RequestModel} * * <p>DescribeIstioGatewayDomainsRequest</p> */ public class DescribeIstioGatewayDomainsRequest extends Request { @Body @NameInMap("IstioGatewayName") private String istioGatewayName; @Body @NameInMap("Limit") private String limit; @Body @NameInMap("Namespace") private String namespace; @Body @NameInMap("ServiceMeshId") @Validation(required = true) private String serviceMeshId; private DescribeIstioGatewayDomainsRequest(Builder builder) { super(builder); this.istioGatewayName = builder.istioGatewayName; this.limit = builder.limit; this.namespace = builder.namespace; this.serviceMeshId = builder.serviceMeshId; } public static Builder builder() { return new Builder(); } public static DescribeIstioGatewayDomainsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return istioGatewayName */ public String getIstioGatewayName() { return this.istioGatewayName; } /** * @return limit */ public String getLimit() { return this.limit; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return serviceMeshId */ public String getServiceMeshId() { return this.serviceMeshId; } public static final class Builder extends Request.Builder<DescribeIstioGatewayDomainsRequest, Builder> { private String istioGatewayName; private String limit; private String namespace; private String serviceMeshId; private Builder() { super(); } private Builder(DescribeIstioGatewayDomainsRequest request) { super(request); this.istioGatewayName = request.istioGatewayName; this.limit = request.limit; this.namespace = request.namespace; this.serviceMeshId = request.serviceMeshId; } /** * The name of the ASM gateway. */ public Builder istioGatewayName(String istioGatewayName) { this.putBodyParameter("IstioGatewayName", istioGatewayName); this.istioGatewayName = istioGatewayName; return this; } /** * The maximum number of Istio gateways to query. */ public Builder limit(String limit) { this.putBodyParameter("Limit", limit); this.limit = limit; return this; } /** * The namespace in which the ASM gateway resides. */ public Builder namespace(String namespace) { this.putBodyParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * The ASM instance ID. */ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); this.serviceMeshId = serviceMeshId; return this; } @Override public DescribeIstioGatewayDomainsRequest build() { return new DescribeIstioGatewayDomainsRequest(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/DescribeIstioGatewayDomainsResponse.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 DescribeIstioGatewayDomainsResponse} extends {@link TeaModel} * * <p>DescribeIstioGatewayDomainsResponse</p> */ public class DescribeIstioGatewayDomainsResponse 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 DescribeIstioGatewayDomainsResponseBody body; private DescribeIstioGatewayDomainsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeIstioGatewayDomainsResponse 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 DescribeIstioGatewayDomainsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeIstioGatewayDomainsResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeIstioGatewayDomainsResponseBody body); @Override DescribeIstioGatewayDomainsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeIstioGatewayDomainsResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeIstioGatewayDomainsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeIstioGatewayDomainsResponse 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(DescribeIstioGatewayDomainsResponseBody body) { this.body = body; return this; } @Override public DescribeIstioGatewayDomainsResponse build() { return new DescribeIstioGatewayDomainsResponse(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/DescribeIstioGatewayDomainsResponseBody.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 DescribeIstioGatewayDomainsResponseBody} extends {@link TeaModel} * * <p>DescribeIstioGatewayDomainsResponseBody</p> */ public class DescribeIstioGatewayDomainsResponseBody extends TeaModel { @NameInMap("GatewaySecretDetails") private java.util.List < GatewaySecretDetails> gatewaySecretDetails; @NameInMap("RequestId") private String requestId; private DescribeIstioGatewayDomainsResponseBody(Builder builder) { this.gatewaySecretDetails = builder.gatewaySecretDetails; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeIstioGatewayDomainsResponseBody create() { return builder().build(); } /** * @return gatewaySecretDetails */ public java.util.List < GatewaySecretDetails> getGatewaySecretDetails() { return this.gatewaySecretDetails; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List < GatewaySecretDetails> gatewaySecretDetails; private String requestId; /** * The domain names that are exposed by the ASM gateway. */ public Builder gatewaySecretDetails(java.util.List < GatewaySecretDetails> gatewaySecretDetails) { this.gatewaySecretDetails = gatewaySecretDetails; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeIstioGatewayDomainsResponseBody build() { return new DescribeIstioGatewayDomainsResponseBody(this); } } public static class GatewaySecretDetails extends TeaModel { @NameInMap("CredentialName") private String credentialName; @NameInMap("Detail") private String detail; @NameInMap("Domains") private java.util.List < String > domains; @NameInMap("GatewayCRName") private String gatewayCRName; @NameInMap("Namespace") private String namespace; @NameInMap("PortName") private String portName; @NameInMap("Protocol") private String protocol; private GatewaySecretDetails(Builder builder) { this.credentialName = builder.credentialName; this.detail = builder.detail; this.domains = builder.domains; this.gatewayCRName = builder.gatewayCRName; this.namespace = builder.namespace; this.portName = builder.portName; this.protocol = builder.protocol; } public static Builder builder() { return new Builder(); } public static GatewaySecretDetails create() { return builder().build(); } /** * @return credentialName */ public String getCredentialName() { return this.credentialName; } /** * @return detail */ public String getDetail() { return this.detail; } /** * @return domains */ public java.util.List < String > getDomains() { return this.domains; } /** * @return gatewayCRName */ public String getGatewayCRName() { return this.gatewayCRName; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return portName */ public String getPortName() { return this.portName; } /** * @return protocol */ public String getProtocol() { return this.protocol; } public static final class Builder { private String credentialName; private String detail; private java.util.List < String > domains; private String gatewayCRName; private String namespace; private String portName; private String protocol; /** * The name of the secret that contains the Transport Layer Security (TLS) certificate and certificate authority (CA) certificate. */ public Builder credentialName(String credentialName) { this.credentialName = credentialName; return this; } /** * The details of the domain name in the JSON format. */ public Builder detail(String detail) { this.detail = detail; return this; } /** * The list of domain names. */ public Builder domains(java.util.List < String > domains) { this.domains = domains; return this; } /** * The name of the Istio gateway. */ public Builder gatewayCRName(String gatewayCRName) { this.gatewayCRName = gatewayCRName; return this; } /** * The namespace in which the ASM gateway resides. */ public Builder namespace(String namespace) { this.namespace = namespace; return this; } /** * The port name. */ public Builder portName(String portName) { this.portName = portName; return this; } /** * The type of the protocol. Valid values: `HTTP`, `HTTPS`, `GRPC`, `HTTP2`, `MONGO`, `TCP`, and `TLS`. */ public Builder protocol(String protocol) { this.protocol = protocol; return this; } public GatewaySecretDetails build() { return new GatewaySecretDetails(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/DescribeIstioGatewayRouteDetailRequest.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 DescribeIstioGatewayRouteDetailRequest} extends {@link RequestModel} * * <p>DescribeIstioGatewayRouteDetailRequest</p> */ public class DescribeIstioGatewayRouteDetailRequest extends Request { @Body @NameInMap("IstioGatewayName") private String istioGatewayName; @Body @NameInMap("RouteName") private String routeName; @Body @NameInMap("ServiceMeshId") @Validation(required = true) private String serviceMeshId; private DescribeIstioGatewayRouteDetailRequest(Builder builder) { super(builder); this.istioGatewayName = builder.istioGatewayName; this.routeName = builder.routeName; this.serviceMeshId = builder.serviceMeshId; } public static Builder builder() { return new Builder(); } public static DescribeIstioGatewayRouteDetailRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return istioGatewayName */ public String getIstioGatewayName() { return this.istioGatewayName; } /** * @return routeName */ public String getRouteName() { return this.routeName; } /** * @return serviceMeshId */ public String getServiceMeshId() { return this.serviceMeshId; } public static final class Builder extends Request.Builder<DescribeIstioGatewayRouteDetailRequest, Builder> { private String istioGatewayName; private String routeName; private String serviceMeshId; private Builder() { super(); } private Builder(DescribeIstioGatewayRouteDetailRequest request) { super(request); this.istioGatewayName = request.istioGatewayName; this.routeName = request.routeName; this.serviceMeshId = request.serviceMeshId; } /** * The name of the ASM gateway. */ public Builder istioGatewayName(String istioGatewayName) { this.putBodyParameter("IstioGatewayName", istioGatewayName); this.istioGatewayName = istioGatewayName; return this; } /** * The name of the routing rule. */ public Builder routeName(String routeName) { this.putBodyParameter("RouteName", routeName); this.routeName = routeName; return this; } /** * The ASM instance ID. */ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); this.serviceMeshId = serviceMeshId; return this; } @Override public DescribeIstioGatewayRouteDetailRequest build() { return new DescribeIstioGatewayRouteDetailRequest(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/DescribeIstioGatewayRouteDetailResponse.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 DescribeIstioGatewayRouteDetailResponse} extends {@link TeaModel} * * <p>DescribeIstioGatewayRouteDetailResponse</p> */ public class DescribeIstioGatewayRouteDetailResponse 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 DescribeIstioGatewayRouteDetailResponseBody body; private DescribeIstioGatewayRouteDetailResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeIstioGatewayRouteDetailResponse 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 DescribeIstioGatewayRouteDetailResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeIstioGatewayRouteDetailResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeIstioGatewayRouteDetailResponseBody body); @Override DescribeIstioGatewayRouteDetailResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeIstioGatewayRouteDetailResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeIstioGatewayRouteDetailResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeIstioGatewayRouteDetailResponse 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(DescribeIstioGatewayRouteDetailResponseBody body) { this.body = body; return this; } @Override public DescribeIstioGatewayRouteDetailResponse build() { return new DescribeIstioGatewayRouteDetailResponse(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/DescribeIstioGatewayRouteDetailResponseBody.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 DescribeIstioGatewayRouteDetailResponseBody} extends {@link TeaModel} * * <p>DescribeIstioGatewayRouteDetailResponseBody</p> */ public class DescribeIstioGatewayRouteDetailResponseBody extends TeaModel { @NameInMap("Description") private String description; @NameInMap("Namespace") private String namespace; @NameInMap("Priority") private Integer priority; @NameInMap("RequestId") private String requestId; @NameInMap("RouteDetail") private RouteDetail routeDetail; @NameInMap("Status") private Integer status; private DescribeIstioGatewayRouteDetailResponseBody(Builder builder) { this.description = builder.description; this.namespace = builder.namespace; this.priority = builder.priority; this.requestId = builder.requestId; this.routeDetail = builder.routeDetail; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static DescribeIstioGatewayRouteDetailResponseBody create() { return builder().build(); } /** * @return description */ public String getDescription() { return this.description; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return priority */ public Integer getPriority() { return this.priority; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return routeDetail */ public RouteDetail getRouteDetail() { return this.routeDetail; } /** * @return status */ public Integer getStatus() { return this.status; } public static final class Builder { private String description; private String namespace; private Integer priority; private String requestId; private RouteDetail routeDetail; private Integer status; /** * The description of the routing rule. */ public Builder description(String description) { this.description = description; return this; } /** * The namespace. */ public Builder namespace(String namespace) { this.namespace = namespace; 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.priority = priority; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The detailed information about the routing rule. */ public Builder routeDetail(RouteDetail routeDetail) { this.routeDetail = routeDetail; 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.status = status; return this; } public DescribeIstioGatewayRouteDetailResponseBody build() { return new DescribeIstioGatewayRouteDetailResponseBody(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 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 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 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 DelayPercentage build() { return new DelayPercentage(this); } } } public static class Delay extends TeaModel { @NameInMap("ExponentialDelay") private String exponentialDelay; @NameInMap("FixedDelay") private String fixedDelay; @NameInMap("Percentage") private DelayPercentage percentage; private Delay(Builder builder) { this.exponentialDelay = builder.exponentialDelay; this.fixedDelay = builder.fixedDelay; this.percentage = builder.percentage; } public static Builder builder() { return new Builder(); } public static Delay create() { return builder().build(); } /** * @return exponentialDelay */ public String getExponentialDelay() { return this.exponentialDelay; } /** * @return fixedDelay */ public String getFixedDelay() { return this.fixedDelay; } /** * @return percentage */ public DelayPercentage getPercentage() { return this.percentage; } public static final class Builder { private String exponentialDelay; private String fixedDelay; private DelayPercentage percentage; /** * The duration for request delay is expressed as 2 raised to the power of x. You must specify the value of x. */ public Builder exponentialDelay(String exponentialDelay) { this.exponentialDelay = exponentialDelay; return this; } /** * 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 aborted with the specified error code, 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 aborted with the specified error code. */ 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. 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 rules 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 ports of the specified hosts to which the traffic is routed. */ 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 ports of the specified hosts from which the traffic is routed. */ 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 Request extends TeaModel { @NameInMap("Add") private java.util.Map < String, ? > add; @NameInMap("Remove") private java.util.List < String > remove; @NameInMap("Set") private java.util.Map < String, String > set; private Request(Builder builder) { this.add = builder.add; this.remove = builder.remove; this.set = builder.set; } public static Builder builder() { return new Builder(); } public static Request create() { return builder().build(); } /** * @return add */ public java.util.Map < String, ? > getAdd() { return this.add; } /** * @return remove */ public java.util.List < String > getRemove() { return this.remove; } /** * @return set */ public java.util.Map < String, String > getSet() { return this.set; } public static final class Builder { private java.util.Map < String, ? > add; private java.util.List < String > remove; private java.util.Map < String, String > set; /** * The values to be added to the header key. */ public Builder add(java.util.Map < String, ? > add) { this.add = add; return this; } /** * The header value to be deleted. */ public Builder remove(java.util.List < String > remove) { this.remove = remove; return this; } /** * The header key to be used to overwrite the original header key. */ public Builder set(java.util.Map < String, String > set) { this.set = set; return this; } public Request build() { return new Request(this); } } } public static class Response extends TeaModel { @NameInMap("Add") private java.util.Map < String, ? > add; @NameInMap("Remove") private java.util.List < String > remove; @NameInMap("Set") private java.util.Map < String, ? > set; private Response(Builder builder) { this.add = builder.add; this.remove = builder.remove; this.set = builder.set; } public static Builder builder() { return new Builder(); } public static Response create() { return builder().build(); } /** * @return add */ public java.util.Map < String, ? > getAdd() { return this.add; } /** * @return remove */ public java.util.List < String > getRemove() { return this.remove; } /** * @return set */ public java.util.Map < String, ? > getSet() { return this.set; } public static final class Builder { private java.util.Map < String, ? > add; private java.util.List < String > remove; private java.util.Map < String, ? > set; /** * The values to be added to the header key. */ public Builder add(java.util.Map < String, ? > add) { this.add = add; return this; } /** * The header value to be deleted. */ public Builder remove(java.util.List < String > remove) { this.remove = remove; return this; } /** * The header key to be used to overwrite the original header key. */ public Builder set(java.util.Map < String, ? > set) { this.set = set; return this; } public Response build() { return new Response(this); } } } public static class RouteDestinationsHeaders extends TeaModel { @NameInMap("Request") private Request request; @NameInMap("Response") private Response response; private RouteDestinationsHeaders(Builder builder) { this.request = builder.request; this.response = builder.response; } public static Builder builder() { return new Builder(); } public static RouteDestinationsHeaders create() { return builder().build(); } /** * @return request */ public Request getRequest() { return this.request; } /** * @return response */ public Response getResponse() { return this.response; } public static final class Builder { private Request request; private Response response; /** * The request header to be matched. */ public Builder request(Request request) { this.request = request; return this; } /** * The processing of the headers of the response that is to be returned. */ public Builder response(Response response) { this.response = response; return this; } public RouteDestinationsHeaders build() { return new RouteDestinationsHeaders(this); } } } public static class RouteDestinations extends TeaModel { @NameInMap("Destination") private Destination destination; @NameInMap("Headers") private RouteDestinationsHeaders headers; @NameInMap("Weight") private Integer weight; private RouteDestinations(Builder builder) { this.destination = builder.destination; this.headers = builder.headers; 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 headers */ public RouteDestinationsHeaders getHeaders() { return this.headers; } /** * @return weight */ public Integer getWeight() { return this.weight; } public static final class Builder { private Destination destination; private RouteDestinationsHeaders headers; 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 list of the request headers to be matched. */ public Builder headers(RouteDestinationsHeaders headers) { this.headers = headers; return this; } /** * The traffic weight. Valid values: 1 to 100. */ public Builder weight(Integer weight) { this.weight = weight; return this; } public RouteDestinations build() { return new RouteDestinations(this); } } } public static class RouteDetail extends TeaModel { @NameInMap("Domains") private java.util.List < String > domains; @NameInMap("HTTPAdvancedOptions") private HTTPAdvancedOptions HTTPAdvancedOptions; @NameInMap("HasUnsafeFeatures") private Boolean hasUnsafeFeatures; @NameInMap("MatchRequest") private MatchRequest matchRequest; @NameInMap("RawVSRoute") private String rawVSRoute; @NameInMap("RouteDestinations") private java.util.List < RouteDestinations> routeDestinations; @NameInMap("RouteName") private String routeName; @NameInMap("RouteType") private String routeType; private RouteDetail(Builder builder) { this.domains = builder.domains; this.HTTPAdvancedOptions = builder.HTTPAdvancedOptions; this.hasUnsafeFeatures = builder.hasUnsafeFeatures; this.matchRequest = builder.matchRequest; 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 RouteDetail create() { return builder().build(); } /** * @return domains */ public java.util.List < String > getDomains() { return this.domains; } /** * @return HTTPAdvancedOptions */ public HTTPAdvancedOptions getHTTPAdvancedOptions() { return this.HTTPAdvancedOptions; } /** * @return hasUnsafeFeatures */ public Boolean getHasUnsafeFeatures() { return this.hasUnsafeFeatures; } /** * @return matchRequest */ public MatchRequest getMatchRequest() { return this.matchRequest; } /** * @return rawVSRoute */ public String 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 Boolean hasUnsafeFeatures; private MatchRequest matchRequest; private String rawVSRoute; private java.util.List < RouteDestinations> routeDestinations; private String routeName; private String routeType; /** * Domains. */ 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; } /** * If the value is true, the original YAML file contains features that are not supported on the current interface. */ public Builder hasUnsafeFeatures(Boolean hasUnsafeFeatures) { this.hasUnsafeFeatures = hasUnsafeFeatures; return this; } /** * The matching rules for traffic routing. */ public Builder matchRequest(MatchRequest matchRequest) { this.matchRequest = matchRequest; return this; } /** * The original YAML file of the virtual service that is serialized into a JSON string. */ public Builder rawVSRoute(String 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 RouteDetail build() { return new RouteDetail(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/DescribeIstioGatewayRoutesRequest.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 DescribeIstioGatewayRoutesRequest} extends {@link RequestModel} * * <p>DescribeIstioGatewayRoutesRequest</p> */ public class DescribeIstioGatewayRoutesRequest extends Request { @Body @NameInMap("IstioGatewayName") private String istioGatewayName; @Body @NameInMap("ServiceMeshId") @Validation(required = true) private String serviceMeshId; private DescribeIstioGatewayRoutesRequest(Builder builder) { super(builder); this.istioGatewayName = builder.istioGatewayName; this.serviceMeshId = builder.serviceMeshId; } public static Builder builder() { return new Builder(); } public static DescribeIstioGatewayRoutesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return istioGatewayName */ public String getIstioGatewayName() { return this.istioGatewayName; } /** * @return serviceMeshId */ public String getServiceMeshId() { return this.serviceMeshId; } public static final class Builder extends Request.Builder<DescribeIstioGatewayRoutesRequest, Builder> { private String istioGatewayName; private String serviceMeshId; private Builder() { super(); } private Builder(DescribeIstioGatewayRoutesRequest request) { super(request); this.istioGatewayName = request.istioGatewayName; this.serviceMeshId = request.serviceMeshId; } /** * The name of the ASM gateway. */ public Builder istioGatewayName(String istioGatewayName) { this.putBodyParameter("IstioGatewayName", istioGatewayName); this.istioGatewayName = istioGatewayName; return this; } /** * The ASM instance ID. */ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); this.serviceMeshId = serviceMeshId; return this; } @Override public DescribeIstioGatewayRoutesRequest build() { return new DescribeIstioGatewayRoutesRequest(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/DescribeIstioGatewayRoutesResponse.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 DescribeIstioGatewayRoutesResponse} extends {@link TeaModel} * * <p>DescribeIstioGatewayRoutesResponse</p> */ public class DescribeIstioGatewayRoutesResponse 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 DescribeIstioGatewayRoutesResponseBody body; private DescribeIstioGatewayRoutesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeIstioGatewayRoutesResponse 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 DescribeIstioGatewayRoutesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeIstioGatewayRoutesResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeIstioGatewayRoutesResponseBody body); @Override DescribeIstioGatewayRoutesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeIstioGatewayRoutesResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeIstioGatewayRoutesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeIstioGatewayRoutesResponse 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(DescribeIstioGatewayRoutesResponseBody body) { this.body = body; return this; } @Override public DescribeIstioGatewayRoutesResponse build() { return new DescribeIstioGatewayRoutesResponse(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/DescribeIstioGatewayRoutesResponseBody.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 DescribeIstioGatewayRoutesResponseBody} extends {@link TeaModel} * * <p>DescribeIstioGatewayRoutesResponseBody</p> */ public class DescribeIstioGatewayRoutesResponseBody extends TeaModel { @NameInMap("ManagementRoutes") private java.util.List < ManagementRoutes> managementRoutes; @NameInMap("RequestId") private String requestId; private DescribeIstioGatewayRoutesResponseBody(Builder builder) { this.managementRoutes = builder.managementRoutes; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeIstioGatewayRoutesResponseBody create() { return builder().build(); } /** * @return managementRoutes */ public java.util.List < ManagementRoutes> getManagementRoutes() { return this.managementRoutes; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List < ManagementRoutes> managementRoutes; private String requestId; /** * The routing rules. */ public Builder managementRoutes(java.util.List < ManagementRoutes> managementRoutes) { this.managementRoutes = managementRoutes; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeIstioGatewayRoutesResponseBody build() { return new DescribeIstioGatewayRoutesResponseBody(this); } } public static class ManagementRoutes extends TeaModel { @NameInMap("ASMGatewayName") private String ASMGatewayName; @NameInMap("Description") private String description; @NameInMap("DestinationHost") private java.util.List < String > destinationHost; @NameInMap("DestinationSubSet") private java.util.List < String > destinationSubSet; @NameInMap("Namespace") private String namespace; @NameInMap("Priority") private Integer priority; @NameInMap("RouteName") private String routeName; @NameInMap("RoutePath") private String routePath; @NameInMap("Status") private Integer status; private ManagementRoutes(Builder builder) { this.ASMGatewayName = builder.ASMGatewayName; this.description = builder.description; this.destinationHost = builder.destinationHost; this.destinationSubSet = builder.destinationSubSet; this.namespace = builder.namespace; this.priority = builder.priority; this.routeName = builder.routeName; this.routePath = builder.routePath; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static ManagementRoutes create() { return builder().build(); } /** * @return ASMGatewayName */ public String getASMGatewayName() { return this.ASMGatewayName; } /** * @return description */ public String getDescription() { return this.description; } /** * @return destinationHost */ public java.util.List < String > getDestinationHost() { return this.destinationHost; } /** * @return destinationSubSet */ public java.util.List < String > getDestinationSubSet() { return this.destinationSubSet; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return priority */ public Integer getPriority() { return this.priority; } /** * @return routeName */ public String getRouteName() { return this.routeName; } /** * @return routePath */ public String getRoutePath() { return this.routePath; } /** * @return status */ public Integer getStatus() { return this.status; } public static final class Builder { private String ASMGatewayName; private String description; private java.util.List < String > destinationHost; private java.util.List < String > destinationSubSet; private String namespace; private Integer priority; private String routeName; private String routePath; private Integer status; /** * The name of the ASM gateway. */ public Builder ASMGatewayName(String ASMGatewayName) { this.ASMGatewayName = ASMGatewayName; return this; } /** * The description of the routing rule. */ public Builder description(String description) { this.description = description; return this; } /** * Destination hosts list. */ public Builder destinationHost(java.util.List < String > destinationHost) { this.destinationHost = destinationHost; return this; } /** * Destination subset list. */ public Builder destinationSubSet(java.util.List < String > destinationSubSet) { this.destinationSubSet = destinationSubSet; return this; } /** * The namespace. */ public Builder namespace(String namespace) { this.namespace = namespace; 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.priority = priority; return this; } /** * The name of the routing rule. */ public Builder routeName(String routeName) { this.routeName = routeName; return this; } /** * The path that is used to match request URLs. */ public Builder routePath(String routePath) { this.routePath = routePath; 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.status = status; return this; } public ManagementRoutes build() { return new ManagementRoutes(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/DescribeMetadataRequest.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 DescribeMetadataRequest} extends {@link RequestModel} * * <p>DescribeMetadataRequest</p> */ public class DescribeMetadataRequest extends Request { private DescribeMetadataRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static DescribeMetadataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<DescribeMetadataRequest, Builder> { private Builder() { super(); } private Builder(DescribeMetadataRequest request) { super(request); } @Override public DescribeMetadataRequest build() { return new DescribeMetadataRequest(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/DescribeMetadataResponse.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 DescribeMetadataResponse} extends {@link TeaModel} * * <p>DescribeMetadataResponse</p> */ public class DescribeMetadataResponse 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 DescribeMetadataResponseBody body; private DescribeMetadataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeMetadataResponse 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 DescribeMetadataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeMetadataResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeMetadataResponseBody body); @Override DescribeMetadataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeMetadataResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeMetadataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeMetadataResponse 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(DescribeMetadataResponseBody body) { this.body = body; return this; } @Override public DescribeMetadataResponse build() { return new DescribeMetadataResponse(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/DescribeMetadataResponseBody.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 DescribeMetadataResponseBody} extends {@link TeaModel} * * <p>DescribeMetadataResponseBody</p> */ public class DescribeMetadataResponseBody extends TeaModel { @NameInMap("MetaData") private MetaData metaData; @NameInMap("RequestId") private String requestId; private DescribeMetadataResponseBody(Builder builder) { this.metaData = builder.metaData; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeMetadataResponseBody create() { return builder().build(); } /** * @return metaData */ public MetaData getMetaData() { return this.metaData; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private MetaData metaData; private String requestId; /** * The metadata of ASM, which contains basic information about ASM. */ public Builder metaData(MetaData metaData) { this.metaData = metaData; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeMetadataResponseBody build() { return new DescribeMetadataResponseBody(this); } } public static class ProEdition extends TeaModel { @NameInMap("CurrentVersion") private String currentVersion; @NameInMap("VersionCrds") private java.util.List < java.util.Map<String, ?>> versionCrds; @NameInMap("VersionRegistry") private java.util.List < java.util.Map<String, ?>> versionRegistry; @NameInMap("Versions") private java.util.List < String > versions; private ProEdition(Builder builder) { this.currentVersion = builder.currentVersion; this.versionCrds = builder.versionCrds; this.versionRegistry = builder.versionRegistry; this.versions = builder.versions; } public static Builder builder() { return new Builder(); } public static ProEdition create() { return builder().build(); } /** * @return currentVersion */ public String getCurrentVersion() { return this.currentVersion; } /** * @return versionCrds */ public java.util.List < java.util.Map<String, ?>> getVersionCrds() { return this.versionCrds; } /** * @return versionRegistry */ public java.util.List < java.util.Map<String, ?>> getVersionRegistry() { return this.versionRegistry; } /** * @return versions */ public java.util.List < String > getVersions() { return this.versions; } public static final class Builder { private String currentVersion; private java.util.List < java.util.Map<String, ?>> versionCrds; private java.util.List < java.util.Map<String, ?>> versionRegistry; private java.util.List < String > versions; /** * The current version. */ public Builder currentVersion(String currentVersion) { this.currentVersion = currentVersion; return this; } /** * The CRDs of all ASM versions. */ public Builder versionCrds(java.util.List < java.util.Map<String, ?>> versionCrds) { this.versionCrds = versionCrds; return this; } /** * The Istio versions corresponding to the ASM versions. */ public Builder versionRegistry(java.util.List < java.util.Map<String, ?>> versionRegistry) { this.versionRegistry = versionRegistry; return this; } /** * The list of ASM versions. */ public Builder versions(java.util.List < String > versions) { this.versions = versions; return this; } public ProEdition build() { return new ProEdition(this); } } } public static class MetaData extends TeaModel { @NameInMap("CurrentVersion") private String currentVersion; @NameInMap("ProEdition") private ProEdition proEdition; @NameInMap("Regions") private java.util.List < String > regions; @NameInMap("VersionCrds") private java.util.List < java.util.Map<String, ?>> versionCrds; @NameInMap("VersionRegistry") private java.util.List < java.util.Map<String, ?>> versionRegistry; @NameInMap("Versions") private java.util.List < String > versions; private MetaData(Builder builder) { this.currentVersion = builder.currentVersion; this.proEdition = builder.proEdition; this.regions = builder.regions; this.versionCrds = builder.versionCrds; this.versionRegistry = builder.versionRegistry; this.versions = builder.versions; } public static Builder builder() { return new Builder(); } public static MetaData create() { return builder().build(); } /** * @return currentVersion */ public String getCurrentVersion() { return this.currentVersion; } /** * @return proEdition */ public ProEdition getProEdition() { return this.proEdition; } /** * @return regions */ public java.util.List < String > getRegions() { return this.regions; } /** * @return versionCrds */ public java.util.List < java.util.Map<String, ?>> getVersionCrds() { return this.versionCrds; } /** * @return versionRegistry */ public java.util.List < java.util.Map<String, ?>> getVersionRegistry() { return this.versionRegistry; } /** * @return versions */ public java.util.List < String > getVersions() { return this.versions; } public static final class Builder { private String currentVersion; private ProEdition proEdition; private java.util.List < String > regions; private java.util.List < java.util.Map<String, ?>> versionCrds; private java.util.List < java.util.Map<String, ?>> versionRegistry; private java.util.List < String > versions; /** * The current version. */ public Builder currentVersion(String currentVersion) { this.currentVersion = currentVersion; return this; } /** * The version information about ASM of a commercial edition. */ public Builder proEdition(ProEdition proEdition) { this.proEdition = proEdition; return this; } /** * The regions where ASM instances can be created. */ public Builder regions(java.util.List < String > regions) { this.regions = regions; return this; } /** * The custom resource definitions (CRDs) of all ASM versions. */ public Builder versionCrds(java.util.List < java.util.Map<String, ?>> versionCrds) { this.versionCrds = versionCrds; return this; } /** * The Istio versions corresponding to the ASM versions. */ public Builder versionRegistry(java.util.List < java.util.Map<String, ?>> versionRegistry) { this.versionRegistry = versionRegistry; return this; } /** * The list of ASM versions. */ public Builder versions(java.util.List < String > versions) { this.versions = versions; return this; } public MetaData build() { return new MetaData(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/DescribeNamespaceScopeSidecarConfigRequest.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 DescribeNamespaceScopeSidecarConfigRequest} extends {@link RequestModel} * * <p>DescribeNamespaceScopeSidecarConfigRequest</p> */ public class DescribeNamespaceScopeSidecarConfigRequest extends Request { @Body @NameInMap("Namespace") private String namespace; @Body @NameInMap("ServiceMeshId") @Validation(required = true) private String serviceMeshId; private DescribeNamespaceScopeSidecarConfigRequest(Builder builder) { super(builder); this.namespace = builder.namespace; this.serviceMeshId = builder.serviceMeshId; } public static Builder builder() { return new Builder(); } public static DescribeNamespaceScopeSidecarConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return serviceMeshId */ public String getServiceMeshId() { return this.serviceMeshId; } public static final class Builder extends Request.Builder<DescribeNamespaceScopeSidecarConfigRequest, Builder> { private String namespace; private String serviceMeshId; private Builder() { super(); } private Builder(DescribeNamespaceScopeSidecarConfigRequest request) { super(request); this.namespace = request.namespace; this.serviceMeshId = request.serviceMeshId; } /** * The namespace. */ 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 DescribeNamespaceScopeSidecarConfigRequest build() { return new DescribeNamespaceScopeSidecarConfigRequest(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/DescribeNamespaceScopeSidecarConfigResponse.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 DescribeNamespaceScopeSidecarConfigResponse} extends {@link TeaModel} * * <p>DescribeNamespaceScopeSidecarConfigResponse</p> */ public class DescribeNamespaceScopeSidecarConfigResponse 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 DescribeNamespaceScopeSidecarConfigResponseBody body; private DescribeNamespaceScopeSidecarConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeNamespaceScopeSidecarConfigResponse 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 DescribeNamespaceScopeSidecarConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeNamespaceScopeSidecarConfigResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeNamespaceScopeSidecarConfigResponseBody body); @Override DescribeNamespaceScopeSidecarConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeNamespaceScopeSidecarConfigResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeNamespaceScopeSidecarConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeNamespaceScopeSidecarConfigResponse 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(DescribeNamespaceScopeSidecarConfigResponseBody body) { this.body = body; return this; } @Override public DescribeNamespaceScopeSidecarConfigResponse build() { return new DescribeNamespaceScopeSidecarConfigResponse(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/DescribeNamespaceScopeSidecarConfigResponseBody.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 DescribeNamespaceScopeSidecarConfigResponseBody} extends {@link TeaModel} * * <p>DescribeNamespaceScopeSidecarConfigResponseBody</p> */ public class DescribeNamespaceScopeSidecarConfigResponseBody extends TeaModel { @NameInMap("ConfigPatches") private ConfigPatches configPatches; @NameInMap("RequestId") private String requestId; private DescribeNamespaceScopeSidecarConfigResponseBody(Builder builder) { this.configPatches = builder.configPatches; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeNamespaceScopeSidecarConfigResponseBody create() { return builder().build(); } /** * @return configPatches */ public ConfigPatches getConfigPatches() { return this.configPatches; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private ConfigPatches configPatches; private String requestId; /** * The namespace-level sidecar proxy configurations. */ public Builder configPatches(ConfigPatches configPatches) { this.configPatches = configPatches; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeNamespaceScopeSidecarConfigResponseBody build() { return new DescribeNamespaceScopeSidecarConfigResponseBody(this); } } public static class ProxyStatsMatcher extends TeaModel { @NameInMap("InclusionPrefixes") private java.util.List < String > inclusionPrefixes; @NameInMap("InclusionRegexps") private java.util.List < String > inclusionRegexps; @NameInMap("InclusionSuffixes") private java.util.List < String > inclusionSuffixes; private ProxyStatsMatcher(Builder builder) { this.inclusionPrefixes = builder.inclusionPrefixes; this.inclusionRegexps = builder.inclusionRegexps; this.inclusionSuffixes = builder.inclusionSuffixes; } public static Builder builder() { return new Builder(); } public static ProxyStatsMatcher create() { return builder().build(); } /** * @return inclusionPrefixes */ public java.util.List < String > getInclusionPrefixes() { return this.inclusionPrefixes; } /** * @return inclusionRegexps */ public java.util.List < String > getInclusionRegexps() { return this.inclusionRegexps; } /** * @return inclusionSuffixes */ public java.util.List < String > getInclusionSuffixes() { return this.inclusionSuffixes; } public static final class Builder { private java.util.List < String > inclusionPrefixes; private java.util.List < String > inclusionRegexps; private java.util.List < String > inclusionSuffixes; /** * The prefixes of the custom Envoy statistics that are reported by the sidecar proxy. */ public Builder inclusionPrefixes(java.util.List < String > inclusionPrefixes) { this.inclusionPrefixes = inclusionPrefixes; return this; } /** * The regular expressions for specifying the custom Envoy statistics that are reported by the sidecar proxy. */ public Builder inclusionRegexps(java.util.List < String > inclusionRegexps) { this.inclusionRegexps = inclusionRegexps; return this; } /** * The suffixes of the custom Envoy statistics that are reported by the sidecar proxy. */ public Builder inclusionSuffixes(java.util.List < String > inclusionSuffixes) { this.inclusionSuffixes = inclusionSuffixes; return this; } public ProxyStatsMatcher build() { return new ProxyStatsMatcher(this); } } } public static class SidecarProxyAckSloResource extends TeaModel { @NameInMap("Limits") private java.util.Map < String, String > limits; @NameInMap("Requests") private java.util.Map < String, String > requests; private SidecarProxyAckSloResource(Builder builder) { this.limits = builder.limits; this.requests = builder.requests; } public static Builder builder() { return new Builder(); } public static SidecarProxyAckSloResource create() { return builder().build(); } /** * @return limits */ public java.util.Map < String, String > getLimits() { return this.limits; } /** * @return requests */ public java.util.Map < String, String > getRequests() { return this.requests; } public static final class Builder { private java.util.Map < String, String > limits; private java.util.Map < String, String > requests; /** * Limits. */ public Builder limits(java.util.Map < String, String > limits) { this.limits = limits; return this; } /** * Requests. */ public Builder requests(java.util.Map < String, String > requests) { this.requests = requests; return this; } public SidecarProxyAckSloResource build() { return new SidecarProxyAckSloResource(this); } } } public static class SidecarProxyInitAckSloResource extends TeaModel { @NameInMap("Limits") private java.util.Map < String, String > limits; @NameInMap("Requests") private java.util.Map < String, String > requests; private SidecarProxyInitAckSloResource(Builder builder) { this.limits = builder.limits; this.requests = builder.requests; } public static Builder builder() { return new Builder(); } public static SidecarProxyInitAckSloResource create() { return builder().build(); } /** * @return limits */ public java.util.Map < String, String > getLimits() { return this.limits; } /** * @return requests */ public java.util.Map < String, String > getRequests() { return this.requests; } public static final class Builder { private java.util.Map < String, String > limits; private java.util.Map < String, String > requests; /** * Limits. */ public Builder limits(java.util.Map < String, String > limits) { this.limits = limits; return this; } /** * Requests. */ public Builder requests(java.util.Map < String, String > requests) { this.requests = requests; return this; } public SidecarProxyInitAckSloResource build() { return new SidecarProxyInitAckSloResource(this); } } } public static class SidecarProxyInitResourceLimit extends TeaModel { @NameInMap("ResourceCPULimit") private String resourceCPULimit; @NameInMap("ResourceMemoryLimit") private String resourceMemoryLimit; private SidecarProxyInitResourceLimit(Builder builder) { this.resourceCPULimit = builder.resourceCPULimit; this.resourceMemoryLimit = builder.resourceMemoryLimit; } public static Builder builder() { return new Builder(); } public static SidecarProxyInitResourceLimit create() { return builder().build(); } /** * @return resourceCPULimit */ public String getResourceCPULimit() { return this.resourceCPULimit; } /** * @return resourceMemoryLimit */ public String getResourceMemoryLimit() { return this.resourceMemoryLimit; } public static final class Builder { private String resourceCPULimit; private String resourceMemoryLimit; /** * The maximum number of CPU cores. */ public Builder resourceCPULimit(String resourceCPULimit) { this.resourceCPULimit = resourceCPULimit; return this; } /** * The maximum size of the memory. */ public Builder resourceMemoryLimit(String resourceMemoryLimit) { this.resourceMemoryLimit = resourceMemoryLimit; return this; } public SidecarProxyInitResourceLimit build() { return new SidecarProxyInitResourceLimit(this); } } } public static class SidecarProxyInitResourceRequest extends TeaModel { @NameInMap("ResourceCPURequest") private String resourceCPURequest; @NameInMap("ResourceMemoryRequest") private String resourceMemoryRequest; private SidecarProxyInitResourceRequest(Builder builder) { this.resourceCPURequest = builder.resourceCPURequest; this.resourceMemoryRequest = builder.resourceMemoryRequest; } public static Builder builder() { return new Builder(); } public static SidecarProxyInitResourceRequest create() { return builder().build(); } /** * @return resourceCPURequest */ public String getResourceCPURequest() { return this.resourceCPURequest; } /** * @return resourceMemoryRequest */ public String getResourceMemoryRequest() { return this.resourceMemoryRequest; } public static final class Builder { private String resourceCPURequest; private String resourceMemoryRequest; /** * The minimum number of CPU cores. */ public Builder resourceCPURequest(String resourceCPURequest) { this.resourceCPURequest = resourceCPURequest; return this; } /** * The minimum size of the memory. */ public Builder resourceMemoryRequest(String resourceMemoryRequest) { this.resourceMemoryRequest = resourceMemoryRequest; return this; } public SidecarProxyInitResourceRequest build() { return new SidecarProxyInitResourceRequest(this); } } } public static class SidecarProxyResourceLimit extends TeaModel { @NameInMap("ResourceCPULimit") private String resourceCPULimit; @NameInMap("ResourceMemoryLimit") private String resourceMemoryLimit; private SidecarProxyResourceLimit(Builder builder) { this.resourceCPULimit = builder.resourceCPULimit; this.resourceMemoryLimit = builder.resourceMemoryLimit; } public static Builder builder() { return new Builder(); } public static SidecarProxyResourceLimit create() { return builder().build(); } /** * @return resourceCPULimit */ public String getResourceCPULimit() { return this.resourceCPULimit; } /** * @return resourceMemoryLimit */ public String getResourceMemoryLimit() { return this.resourceMemoryLimit; } public static final class Builder { private String resourceCPULimit; private String resourceMemoryLimit; /** * The maximum number of CPU cores. */ public Builder resourceCPULimit(String resourceCPULimit) { this.resourceCPULimit = resourceCPULimit; return this; } /** * The maximum size of the memory. */ public Builder resourceMemoryLimit(String resourceMemoryLimit) { this.resourceMemoryLimit = resourceMemoryLimit; return this; } public SidecarProxyResourceLimit build() { return new SidecarProxyResourceLimit(this); } } } public static class SidecarProxyResourceRequest extends TeaModel { @NameInMap("ResourceCPURequest") private String resourceCPURequest; @NameInMap("ResourceMemoryRequest") private String resourceMemoryRequest; private SidecarProxyResourceRequest(Builder builder) { this.resourceCPURequest = builder.resourceCPURequest; this.resourceMemoryRequest = builder.resourceMemoryRequest; } public static Builder builder() { return new Builder(); } public static SidecarProxyResourceRequest create() { return builder().build(); } /** * @return resourceCPURequest */ public String getResourceCPURequest() { return this.resourceCPURequest; } /** * @return resourceMemoryRequest */ public String getResourceMemoryRequest() { return this.resourceMemoryRequest; } public static final class Builder { private String resourceCPURequest; private String resourceMemoryRequest; /** * The minimum number of CPU cores. */ public Builder resourceCPURequest(String resourceCPURequest) { this.resourceCPURequest = resourceCPURequest; return this; } /** * The minimum size of the memory. */ public Builder resourceMemoryRequest(String resourceMemoryRequest) { this.resourceMemoryRequest = resourceMemoryRequest; return this; } public SidecarProxyResourceRequest build() { return new SidecarProxyResourceRequest(this); } } } public static class Tracing extends TeaModel { @NameInMap("CustomTags") private java.util.Map < String, ? > customTags; @NameInMap("MaxPathTagLength") private Integer maxPathTagLength; @NameInMap("Sampling") private Double sampling; private Tracing(Builder builder) { this.customTags = builder.customTags; this.maxPathTagLength = builder.maxPathTagLength; this.sampling = builder.sampling; } public static Builder builder() { return new Builder(); } public static Tracing create() { return builder().build(); } /** * @return customTags */ public java.util.Map < String, ? > getCustomTags() { return this.customTags; } /** * @return maxPathTagLength */ public Integer getMaxPathTagLength() { return this.maxPathTagLength; } /** * @return sampling */ public Double getSampling() { return this.sampling; } public static final class Builder { private java.util.Map < String, ? > customTags; private Integer maxPathTagLength; private Double sampling; /** * The custom tags added to reported spans. The key of a tag is of the string type. The value of a tag is in the JSON format. A custom tag can belong to one of the following types: * <p> * * * `literal`: The tag value is a fixed value in the JSON format. This tag must contain the `value` field that specifies a literal. Example: `{"value":"test"}`. * * `header`: The tag value is a request header in the JSON format. This tag must contain the `name` field and the `defaultValue` field. The name field indicates the name of the request header. The defaultValue field indicates the default value that is used when no request header is available. Example: `{"name":"test","defaultValue":"test"}`. * * `environment`: The tag value is an environment variable in the JSON format. This tag must contain the `name` field and the `defaultValue` field. The name field indicates the name of the environment variable. The defaultValue field indicates the environment variable that is used when no environment variable is available. Example: `{"name":"test","defaultValue":"test"}`. */ public Builder customTags(java.util.Map < String, ? > customTags) { this.customTags = customTags; return this; } /** * The maximum tag length. */ public Builder maxPathTagLength(Integer maxPathTagLength) { this.maxPathTagLength = maxPathTagLength; return this; } /** * The sampling rate. */ public Builder sampling(Double sampling) { this.sampling = sampling; return this; } public Tracing build() { return new Tracing(this); } } } public static class ConfigPatches extends TeaModel { @NameInMap("Concurrency") private Integer concurrency; @NameInMap("EnableCoreDump") private Boolean enableCoreDump; @NameInMap("ExcludeInboundPorts") private String excludeInboundPorts; @NameInMap("ExcludeOutboundIPRanges") private String excludeOutboundIPRanges; @NameInMap("ExcludeOutboundPorts") private String excludeOutboundPorts; @NameInMap("HoldApplicationUntilProxyStarts") private Boolean holdApplicationUntilProxyStarts; @NameInMap("IncludeInboundPorts") private String includeInboundPorts; @NameInMap("IncludeOutboundIPRanges") private String includeOutboundIPRanges; @NameInMap("IncludeOutboundPorts") private String includeOutboundPorts; @NameInMap("InterceptionMode") private String interceptionMode; @NameInMap("IstioDNSProxyEnabled") private Boolean istioDNSProxyEnabled; @NameInMap("LifecycleStr") private String lifecycleStr; @NameInMap("LogLevel") private String logLevel; @NameInMap("Privileged") private Boolean privileged; @NameInMap("ProxyMetadata") private java.util.Map < String, String > proxyMetadata; @NameInMap("ProxyStatsMatcher") private ProxyStatsMatcher proxyStatsMatcher; @NameInMap("ReadinessFailureThreshold") private Integer readinessFailureThreshold; @NameInMap("ReadinessInitialDelaySeconds") private Integer readinessInitialDelaySeconds; @NameInMap("ReadinessPeriodSeconds") private Integer readinessPeriodSeconds; @NameInMap("SidecarProxyAckSloResource") private SidecarProxyAckSloResource sidecarProxyAckSloResource; @NameInMap("SidecarProxyInitAckSloResource") private SidecarProxyInitAckSloResource sidecarProxyInitAckSloResource; @NameInMap("SidecarProxyInitResourceLimit") private SidecarProxyInitResourceLimit sidecarProxyInitResourceLimit; @NameInMap("SidecarProxyInitResourceRequest") private SidecarProxyInitResourceRequest sidecarProxyInitResourceRequest; @NameInMap("SidecarProxyResourceLimit") private SidecarProxyResourceLimit sidecarProxyResourceLimit; @NameInMap("SidecarProxyResourceRequest") private SidecarProxyResourceRequest sidecarProxyResourceRequest; @NameInMap("TerminationDrainDuration") private String terminationDrainDuration; @NameInMap("Tracing") private Tracing tracing; private ConfigPatches(Builder builder) { this.concurrency = builder.concurrency; this.enableCoreDump = builder.enableCoreDump; this.excludeInboundPorts = builder.excludeInboundPorts; this.excludeOutboundIPRanges = builder.excludeOutboundIPRanges; this.excludeOutboundPorts = builder.excludeOutboundPorts; this.holdApplicationUntilProxyStarts = builder.holdApplicationUntilProxyStarts; this.includeInboundPorts = builder.includeInboundPorts; this.includeOutboundIPRanges = builder.includeOutboundIPRanges; this.includeOutboundPorts = builder.includeOutboundPorts; this.interceptionMode = builder.interceptionMode; this.istioDNSProxyEnabled = builder.istioDNSProxyEnabled; this.lifecycleStr = builder.lifecycleStr; this.logLevel = builder.logLevel; this.privileged = builder.privileged; this.proxyMetadata = builder.proxyMetadata; this.proxyStatsMatcher = builder.proxyStatsMatcher; this.readinessFailureThreshold = builder.readinessFailureThreshold; this.readinessInitialDelaySeconds = builder.readinessInitialDelaySeconds; this.readinessPeriodSeconds = builder.readinessPeriodSeconds; this.sidecarProxyAckSloResource = builder.sidecarProxyAckSloResource; this.sidecarProxyInitAckSloResource = builder.sidecarProxyInitAckSloResource; this.sidecarProxyInitResourceLimit = builder.sidecarProxyInitResourceLimit; this.sidecarProxyInitResourceRequest = builder.sidecarProxyInitResourceRequest; this.sidecarProxyResourceLimit = builder.sidecarProxyResourceLimit; this.sidecarProxyResourceRequest = builder.sidecarProxyResourceRequest; this.terminationDrainDuration = builder.terminationDrainDuration; this.tracing = builder.tracing; } public static Builder builder() { return new Builder(); } public static ConfigPatches create() { return builder().build(); } /** * @return concurrency */ public Integer getConcurrency() { return this.concurrency; } /** * @return enableCoreDump */ public Boolean getEnableCoreDump() { return this.enableCoreDump; } /** * @return excludeInboundPorts */ public String getExcludeInboundPorts() { return this.excludeInboundPorts; } /** * @return excludeOutboundIPRanges */ public String getExcludeOutboundIPRanges() { return this.excludeOutboundIPRanges; } /** * @return excludeOutboundPorts */ public String getExcludeOutboundPorts() { return this.excludeOutboundPorts; } /** * @return holdApplicationUntilProxyStarts */ public Boolean getHoldApplicationUntilProxyStarts() { return this.holdApplicationUntilProxyStarts; } /** * @return includeInboundPorts */ public String getIncludeInboundPorts() { return this.includeInboundPorts; } /** * @return includeOutboundIPRanges */ public String getIncludeOutboundIPRanges() { return this.includeOutboundIPRanges; } /** * @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 lifecycleStr */ public String getLifecycleStr() { return this.lifecycleStr; } /** * @return logLevel */ public String getLogLevel() { return this.logLevel; } /** * @return privileged */ public Boolean getPrivileged() { return this.privileged; } /** * @return proxyMetadata */ public java.util.Map < String, String > getProxyMetadata() { return this.proxyMetadata; } /** * @return proxyStatsMatcher */ public ProxyStatsMatcher 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 sidecarProxyAckSloResource */ public SidecarProxyAckSloResource getSidecarProxyAckSloResource() { return this.sidecarProxyAckSloResource; } /** * @return sidecarProxyInitAckSloResource */ public SidecarProxyInitAckSloResource getSidecarProxyInitAckSloResource() { return this.sidecarProxyInitAckSloResource; } /** * @return sidecarProxyInitResourceLimit */ public SidecarProxyInitResourceLimit getSidecarProxyInitResourceLimit() { return this.sidecarProxyInitResourceLimit; } /** * @return sidecarProxyInitResourceRequest */ public SidecarProxyInitResourceRequest getSidecarProxyInitResourceRequest() { return this.sidecarProxyInitResourceRequest; } /** * @return sidecarProxyResourceLimit */ public SidecarProxyResourceLimit getSidecarProxyResourceLimit() { return this.sidecarProxyResourceLimit; } /** * @return sidecarProxyResourceRequest */ public SidecarProxyResourceRequest getSidecarProxyResourceRequest() { return this.sidecarProxyResourceRequest; } /** * @return terminationDrainDuration */ public String getTerminationDrainDuration() { return this.terminationDrainDuration; } /** * @return tracing */ public Tracing getTracing() { return this.tracing; } public static final class Builder { private Integer concurrency; private Boolean enableCoreDump; private String excludeInboundPorts; private String excludeOutboundIPRanges; private String excludeOutboundPorts; private Boolean holdApplicationUntilProxyStarts; private String includeInboundPorts; private String includeOutboundIPRanges; private String includeOutboundPorts; private String interceptionMode; private Boolean istioDNSProxyEnabled; private String lifecycleStr; private String logLevel; private Boolean privileged; private java.util.Map < String, String > proxyMetadata; private ProxyStatsMatcher proxyStatsMatcher; private Integer readinessFailureThreshold; private Integer readinessInitialDelaySeconds; private Integer readinessPeriodSeconds; private SidecarProxyAckSloResource sidecarProxyAckSloResource; private SidecarProxyInitAckSloResource sidecarProxyInitAckSloResource; private SidecarProxyInitResourceLimit sidecarProxyInitResourceLimit; private SidecarProxyInitResourceRequest sidecarProxyInitResourceRequest; private SidecarProxyResourceLimit sidecarProxyResourceLimit; private SidecarProxyResourceRequest sidecarProxyResourceRequest; private String terminationDrainDuration; private Tracing tracing; /** * The number of worker threads to run in the istio-proxy container. */ public Builder concurrency(Integer concurrency) { this.concurrency = concurrency; return this; } /** * EnableCoreDump. */ public Builder enableCoreDump(Boolean enableCoreDump) { this.enableCoreDump = enableCoreDump; return this; } /** * The inbound ports to be excluded from redirection to the sidecar proxy in the ASM instance. */ public Builder excludeInboundPorts(String excludeInboundPorts) { this.excludeInboundPorts = excludeInboundPorts; return this; } /** * The outbound IP ranges in CIDR form to be excluded from redirection to the sidecar proxy in the ASM instance. */ public Builder excludeOutboundIPRanges(String excludeOutboundIPRanges) { this.excludeOutboundIPRanges = excludeOutboundIPRanges; return this; } /** * The outbound ports to be excluded from redirection to the sidecar proxy in the ASM instance. */ public Builder excludeOutboundPorts(String excludeOutboundPorts) { this.excludeOutboundPorts = excludeOutboundPorts; return this; } /** * Indicates whether applications can be started only after the istio-proxy container starts. Valid values: * <p> * * * `true` * * false */ public Builder holdApplicationUntilProxyStarts(Boolean holdApplicationUntilProxyStarts) { this.holdApplicationUntilProxyStarts = holdApplicationUntilProxyStarts; return this; } /** * The inbound ports for which traffic is to be redirected to the sidecar proxy in the ASM instance. */ public Builder includeInboundPorts(String includeInboundPorts) { this.includeInboundPorts = includeInboundPorts; return this; } /** * The outbound IP ranges in CIDR form for which traffic is to be redirected to the sidecar proxy in the ASM instance. */ public Builder includeOutboundIPRanges(String includeOutboundIPRanges) { this.includeOutboundIPRanges = includeOutboundIPRanges; return this; } /** * The outbound ports for which traffic is to be redirected to the sidecar proxy in the ASM instance. */ public Builder includeOutboundPorts(String includeOutboundPorts) { this.includeOutboundPorts = includeOutboundPorts; return this; } /** * The mode in which the sidecar proxy intercepts inbound traffic. Valid values: * <p> * * * `REDIRECT` (default): In this mode, source IP addresses are lost during traffic redirection to the sidecar proxy. * * `TPROXY`: In this mode, both the source and destination IP addresses and ports are preserved. */ public Builder interceptionMode(String interceptionMode) { this.interceptionMode = interceptionMode; return this; } /** * Indicates whether the Domain Name System (DNS) proxy feature is enabled. Valid values: * <p> * * * `true` * * `false` */ public Builder istioDNSProxyEnabled(Boolean istioDNSProxyEnabled) { this.istioDNSProxyEnabled = istioDNSProxyEnabled; return this; } /** * The JSON string that describes the lifecycle of the sidecar proxy. */ public Builder lifecycleStr(String lifecycleStr) { this.lifecycleStr = lifecycleStr; return this; } /** * The log level. Valid values: `info`, `debug`, `trace`, and `error`. */ public Builder logLevel(String logLevel) { this.logLevel = logLevel; return this; } /** * Privileged. */ public Builder privileged(Boolean privileged) { this.privileged = privileged; return this; } /** * ProxyMetadata. */ public Builder proxyMetadata(java.util.Map < String, String > proxyMetadata) { this.proxyMetadata = proxyMetadata; return this; } /** * The custom Envoy statistics that are reported by the sidecar proxy. */ public Builder proxyStatsMatcher(ProxyStatsMatcher proxyStatsMatcher) { this.proxyStatsMatcher = proxyStatsMatcher; return this; } /** * ReadinessFailureThreshold. */ public Builder readinessFailureThreshold(Integer readinessFailureThreshold) { this.readinessFailureThreshold = readinessFailureThreshold; return this; } /** * ReadinessInitialDelaySeconds. */ public Builder readinessInitialDelaySeconds(Integer readinessInitialDelaySeconds) { this.readinessInitialDelaySeconds = readinessInitialDelaySeconds; return this; } /** * ReadinessPeriodSeconds. */ public Builder readinessPeriodSeconds(Integer readinessPeriodSeconds) { this.readinessPeriodSeconds = readinessPeriodSeconds; return this; } /** * SidecarProxyAckSloResource. */ public Builder sidecarProxyAckSloResource(SidecarProxyAckSloResource sidecarProxyAckSloResource) { this.sidecarProxyAckSloResource = sidecarProxyAckSloResource; return this; } /** * SidecarProxyInitAckSloResource. */ public Builder sidecarProxyInitAckSloResource(SidecarProxyInitAckSloResource sidecarProxyInitAckSloResource) { this.sidecarProxyInitAckSloResource = sidecarProxyInitAckSloResource; return this; } /** * The maximum size of resources that are available to the istio-init container in the pod into which the sidecar proxy is injected. The istio-init container is used in this topic. */ public Builder sidecarProxyInitResourceLimit(SidecarProxyInitResourceLimit sidecarProxyInitResourceLimit) { this.sidecarProxyInitResourceLimit = sidecarProxyInitResourceLimit; return this; } /** * The minimum size of resources that are required by the istio-init container. */ public Builder sidecarProxyInitResourceRequest(SidecarProxyInitResourceRequest sidecarProxyInitResourceRequest) { this.sidecarProxyInitResourceRequest = sidecarProxyInitResourceRequest; return this; } /** * The maximum size of resources that are available to the sidecar proxy container. */ public Builder sidecarProxyResourceLimit(SidecarProxyResourceLimit sidecarProxyResourceLimit) { this.sidecarProxyResourceLimit = sidecarProxyResourceLimit; return this; } /** * The minimum size of resources that are required by the sidecar proxy container. */ public Builder sidecarProxyResourceRequest(SidecarProxyResourceRequest sidecarProxyResourceRequest) { this.sidecarProxyResourceRequest = sidecarProxyResourceRequest; return this; } /** * The maximum period of time allowed for connections to complete on sidecar proxy shutdown. */ public Builder terminationDrainDuration(String terminationDrainDuration) { this.terminationDrainDuration = terminationDrainDuration; return this; } /** * The custom configurations of Tracing Analysis. */ public Builder tracing(Tracing tracing) { this.tracing = tracing; return this; } public ConfigPatches build() { return new ConfigPatches(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/DescribeNodesInstanceTypeRequest.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 DescribeNodesInstanceTypeRequest} extends {@link RequestModel} * * <p>DescribeNodesInstanceTypeRequest</p> */ public class DescribeNodesInstanceTypeRequest extends Request { @Body @NameInMap("ServiceMeshId") @Validation(required = true) private String serviceMeshId; private DescribeNodesInstanceTypeRequest(Builder builder) { super(builder); this.serviceMeshId = builder.serviceMeshId; } public static Builder builder() { return new Builder(); } public static DescribeNodesInstanceTypeRequest 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<DescribeNodesInstanceTypeRequest, Builder> { private String serviceMeshId; private Builder() { super(); } private Builder(DescribeNodesInstanceTypeRequest request) { super(request); this.serviceMeshId = request.serviceMeshId; } /** * 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 DescribeNodesInstanceTypeRequest build() { return new DescribeNodesInstanceTypeRequest(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/DescribeNodesInstanceTypeResponse.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 DescribeNodesInstanceTypeResponse} extends {@link TeaModel} * * <p>DescribeNodesInstanceTypeResponse</p> */ public class DescribeNodesInstanceTypeResponse 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 DescribeNodesInstanceTypeResponseBody body; private DescribeNodesInstanceTypeResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeNodesInstanceTypeResponse 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 DescribeNodesInstanceTypeResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeNodesInstanceTypeResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeNodesInstanceTypeResponseBody body); @Override DescribeNodesInstanceTypeResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeNodesInstanceTypeResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeNodesInstanceTypeResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeNodesInstanceTypeResponse 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(DescribeNodesInstanceTypeResponseBody body) { this.body = body; return this; } @Override public DescribeNodesInstanceTypeResponse build() { return new DescribeNodesInstanceTypeResponse(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/DescribeNodesInstanceTypeResponseBody.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 DescribeNodesInstanceTypeResponseBody} extends {@link TeaModel} * * <p>DescribeNodesInstanceTypeResponseBody</p> */ public class DescribeNodesInstanceTypeResponseBody extends TeaModel { @NameInMap("InstanceTypes") private java.util.List < InstanceTypes> instanceTypes; @NameInMap("RequestId") private String requestId; private DescribeNodesInstanceTypeResponseBody(Builder builder) { this.instanceTypes = builder.instanceTypes; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeNodesInstanceTypeResponseBody create() { return builder().build(); } /** * @return instanceTypes */ public java.util.List < InstanceTypes> getInstanceTypes() { return this.instanceTypes; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List < InstanceTypes> instanceTypes; private String requestId; /** * The instance types of the nodes. */ public Builder instanceTypes(java.util.List < InstanceTypes> instanceTypes) { this.instanceTypes = instanceTypes; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeNodesInstanceTypeResponseBody build() { return new DescribeNodesInstanceTypeResponseBody(this); } } public static class InstanceTypes extends TeaModel { @NameInMap("Key") private String key; @NameInMap("MultiBufferEnabled") private Boolean multiBufferEnabled; @NameInMap("NodeType") private String nodeType; @NameInMap("Value") private String value; private InstanceTypes(Builder builder) { this.key = builder.key; this.multiBufferEnabled = builder.multiBufferEnabled; this.nodeType = builder.nodeType; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static InstanceTypes create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return multiBufferEnabled */ public Boolean getMultiBufferEnabled() { return this.multiBufferEnabled; } /** * @return nodeType */ public String getNodeType() { return this.nodeType; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private Boolean multiBufferEnabled; private String nodeType; private String value; /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Indicates whether the instance type supports Multi-Buffer acceleration. Valid values: * <p> * * * `true` * * `false` */ public Builder multiBufferEnabled(Boolean multiBufferEnabled) { this.multiBufferEnabled = multiBufferEnabled; return this; } /** * The instance type of the node. */ public Builder nodeType(String nodeType) { this.nodeType = nodeType; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public InstanceTypes build() { return new InstanceTypes(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/DescribeReusableSlbRequest.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 DescribeReusableSlbRequest} extends {@link RequestModel} * * <p>DescribeReusableSlbRequest</p> */ public class DescribeReusableSlbRequest extends Request { @Body @NameInMap("K8sClusterId") @Validation(required = true) private String k8sClusterId; @Body @NameInMap("NetworkType") @Validation(required = true) private String networkType; private DescribeReusableSlbRequest(Builder builder) { super(builder); this.k8sClusterId = builder.k8sClusterId; this.networkType = builder.networkType; } public static Builder builder() { return new Builder(); } public static DescribeReusableSlbRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return k8sClusterId */ public String getK8sClusterId() { return this.k8sClusterId; } /** * @return networkType */ public String getNetworkType() { return this.networkType; } public static final class Builder extends Request.Builder<DescribeReusableSlbRequest, Builder> { private String k8sClusterId; private String networkType; private Builder() { super(); } private Builder(DescribeReusableSlbRequest request) { super(request); this.k8sClusterId = request.k8sClusterId; this.networkType = request.networkType; } /** * The ID of the Kubernetes cluster on the data plane. */ public Builder k8sClusterId(String k8sClusterId) { this.putBodyParameter("K8sClusterId", k8sClusterId); this.k8sClusterId = k8sClusterId; return this; } /** * The network type of the SLB instance. Valid values: * <p> * * * `intranet` * * `internet` */ public Builder networkType(String networkType) { this.putBodyParameter("NetworkType", networkType); this.networkType = networkType; return this; } @Override public DescribeReusableSlbRequest build() { return new DescribeReusableSlbRequest(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/DescribeReusableSlbResponse.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 DescribeReusableSlbResponse} extends {@link TeaModel} * * <p>DescribeReusableSlbResponse</p> */ public class DescribeReusableSlbResponse 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 DescribeReusableSlbResponseBody body; private DescribeReusableSlbResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeReusableSlbResponse 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 DescribeReusableSlbResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeReusableSlbResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeReusableSlbResponseBody body); @Override DescribeReusableSlbResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeReusableSlbResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeReusableSlbResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeReusableSlbResponse 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(DescribeReusableSlbResponseBody body) { this.body = body; return this; } @Override public DescribeReusableSlbResponse build() { return new DescribeReusableSlbResponse(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/DescribeReusableSlbResponseBody.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 DescribeReusableSlbResponseBody} extends {@link TeaModel} * * <p>DescribeReusableSlbResponseBody</p> */ public class DescribeReusableSlbResponseBody extends TeaModel { @NameInMap("RequestId") private String requestId; @NameInMap("ReusableSlbList") private java.util.List < ReusableSlbList> reusableSlbList; private DescribeReusableSlbResponseBody(Builder builder) { this.requestId = builder.requestId; this.reusableSlbList = builder.reusableSlbList; } public static Builder builder() { return new Builder(); } public static DescribeReusableSlbResponseBody create() { return builder().build(); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return reusableSlbList */ public java.util.List < ReusableSlbList> getReusableSlbList() { return this.reusableSlbList; } public static final class Builder { private String requestId; private java.util.List < ReusableSlbList> reusableSlbList; /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The list of SLB instances that can be reused. */ public Builder reusableSlbList(java.util.List < ReusableSlbList> reusableSlbList) { this.reusableSlbList = reusableSlbList; return this; } public DescribeReusableSlbResponseBody build() { return new DescribeReusableSlbResponseBody(this); } } public static class ReusableSlbList extends TeaModel { @NameInMap("LoadBalancerId") private String loadBalancerId; @NameInMap("LoadBalancerName") private String loadBalancerName; private ReusableSlbList(Builder builder) { this.loadBalancerId = builder.loadBalancerId; this.loadBalancerName = builder.loadBalancerName; } public static Builder builder() { return new Builder(); } public static ReusableSlbList create() { return builder().build(); } /** * @return loadBalancerId */ public String getLoadBalancerId() { return this.loadBalancerId; } /** * @return loadBalancerName */ public String getLoadBalancerName() { return this.loadBalancerName; } public static final class Builder { private String loadBalancerId; private String loadBalancerName; /** * The ID of the SLB instance. */ public Builder loadBalancerId(String loadBalancerId) { this.loadBalancerId = loadBalancerId; return this; } /** * The name of the SLB instance. */ public Builder loadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; return this; } public ReusableSlbList build() { return new ReusableSlbList(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/DescribeServiceMeshAdditionalStatusRequest.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 DescribeServiceMeshAdditionalStatusRequest} extends {@link RequestModel} * * <p>DescribeServiceMeshAdditionalStatusRequest</p> */ public class DescribeServiceMeshAdditionalStatusRequest extends Request { @Body @NameInMap("CheckMode") private String checkMode; @Body @NameInMap("ServiceMeshId") @Validation(required = true) private String serviceMeshId; private DescribeServiceMeshAdditionalStatusRequest(Builder builder) { super(builder); this.checkMode = builder.checkMode; this.serviceMeshId = builder.serviceMeshId; } public static Builder builder() { return new Builder(); } public static DescribeServiceMeshAdditionalStatusRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return checkMode */ public String getCheckMode() { return this.checkMode; } /** * @return serviceMeshId */ public String getServiceMeshId() { return this.serviceMeshId; } public static final class Builder extends Request.Builder<DescribeServiceMeshAdditionalStatusRequest, Builder> { private String checkMode; private String serviceMeshId; private Builder() { super(); } private Builder(DescribeServiceMeshAdditionalStatusRequest request) { super(request); this.checkMode = request.checkMode; this.serviceMeshId = request.serviceMeshId; } /** * The check mode of the ASM instance. Valid values: * <p> * * * `normal`: checks the Server Load Balancer (SLB) instances created for exposing the API server and Istio Pilot, audit logs, and installation of Logtail for clusters on the data plane. * * `full`: checks control plane logs, access logs, security groups, and the elastic IP addresses (EIPs) of the API server in addition to the check items in normal mode. */ public Builder checkMode(String checkMode) { this.putBodyParameter("CheckMode", checkMode); this.checkMode = checkMode; return this; } /** * The ID of the ASM instance. */ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); this.serviceMeshId = serviceMeshId; return this; } @Override public DescribeServiceMeshAdditionalStatusRequest build() { return new DescribeServiceMeshAdditionalStatusRequest(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/DescribeServiceMeshAdditionalStatusResponse.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 DescribeServiceMeshAdditionalStatusResponse} extends {@link TeaModel} * * <p>DescribeServiceMeshAdditionalStatusResponse</p> */ public class DescribeServiceMeshAdditionalStatusResponse 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 DescribeServiceMeshAdditionalStatusResponseBody body; private DescribeServiceMeshAdditionalStatusResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeServiceMeshAdditionalStatusResponse 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 DescribeServiceMeshAdditionalStatusResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeServiceMeshAdditionalStatusResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeServiceMeshAdditionalStatusResponseBody body); @Override DescribeServiceMeshAdditionalStatusResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeServiceMeshAdditionalStatusResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeServiceMeshAdditionalStatusResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeServiceMeshAdditionalStatusResponse 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(DescribeServiceMeshAdditionalStatusResponseBody body) { this.body = body; return this; } @Override public DescribeServiceMeshAdditionalStatusResponse build() { return new DescribeServiceMeshAdditionalStatusResponse(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/DescribeServiceMeshAdditionalStatusResponseBody.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 DescribeServiceMeshAdditionalStatusResponseBody} extends {@link TeaModel} * * <p>DescribeServiceMeshAdditionalStatusResponseBody</p> */ public class DescribeServiceMeshAdditionalStatusResponseBody extends TeaModel { @NameInMap("ClusterStatus") private ClusterStatus clusterStatus; @NameInMap("RequestId") private String requestId; private DescribeServiceMeshAdditionalStatusResponseBody(Builder builder) { this.clusterStatus = builder.clusterStatus; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeServiceMeshAdditionalStatusResponseBody create() { return builder().build(); } /** * @return clusterStatus */ public ClusterStatus getClusterStatus() { return this.clusterStatus; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private ClusterStatus clusterStatus; private String requestId; /** * The status of the cluster. */ public Builder clusterStatus(ClusterStatus clusterStatus) { this.clusterStatus = clusterStatus; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeServiceMeshAdditionalStatusResponseBody build() { return new DescribeServiceMeshAdditionalStatusResponseBody(this); } } public static class ApiServerLoadBalancerStatus extends TeaModel { @NameInMap("Locked") private Boolean locked; @NameInMap("PayType") private String payType; @NameInMap("Reused") private Boolean reused; @NameInMap("SLBBackEndServerNumStatus") private String SLBBackEndServerNumStatus; @NameInMap("SLBExistStatus") private String SLBExistStatus; private ApiServerLoadBalancerStatus(Builder builder) { this.locked = builder.locked; this.payType = builder.payType; this.reused = builder.reused; this.SLBBackEndServerNumStatus = builder.SLBBackEndServerNumStatus; this.SLBExistStatus = builder.SLBExistStatus; } public static Builder builder() { return new Builder(); } public static ApiServerLoadBalancerStatus create() { return builder().build(); } /** * @return locked */ public Boolean getLocked() { return this.locked; } /** * @return payType */ public String getPayType() { return this.payType; } /** * @return reused */ public Boolean getReused() { return this.reused; } /** * @return SLBBackEndServerNumStatus */ public String getSLBBackEndServerNumStatus() { return this.SLBBackEndServerNumStatus; } /** * @return SLBExistStatus */ public String getSLBExistStatus() { return this.SLBExistStatus; } public static final class Builder { private Boolean locked; private String payType; private Boolean reused; private String SLBBackEndServerNumStatus; private String SLBExistStatus; /** * Indicates whether the SLB instance is locked. Valid values: * <p> * * * `true` * * `false` */ public Builder locked(Boolean locked) { this.locked = locked; return this; } /** * The billing method of the SLB instance. Valid values: * <p> * * * `PrePay`: subscription * * `PayOnDemand`: pay-as-you-go */ public Builder payType(String payType) { this.payType = payType; return this; } /** * Indicates whether the SLB instance is reused. Valid values: * <p> * * * `true` * * `false` */ public Builder reused(Boolean reused) { this.reused = reused; return this; } /** * The check result of the number of backend servers of the SLB instance created for exposing the API server. Valid values: * <p> * * * `too_much`: An excessive number of backend servers are created. * * `num_exact`: A proper number of backend servers are created. * * `too_little`: The number of backend servers falls short. */ public Builder SLBBackEndServerNumStatus(String SLBBackEndServerNumStatus) { this.SLBBackEndServerNumStatus = SLBBackEndServerNumStatus; return this; } /** * The check result of the SLB instance. Valid values: * <p> * * * `exist`: The SLB instance exists. * * `not_exist`: The SLB instance does not exist. * * `conflict`: Conflicts are detected. * * `failed`: The check fails. * * `time_out`: The check times out. */ public Builder SLBExistStatus(String SLBExistStatus) { this.SLBExistStatus = SLBExistStatus; return this; } public ApiServerLoadBalancerStatus build() { return new ApiServerLoadBalancerStatus(this); } } } public static class CanaryPilotLoadBalancerStatus extends TeaModel { @NameInMap("Locked") private Boolean locked; @NameInMap("PayType") private String payType; @NameInMap("Reused") private Boolean reused; @NameInMap("SLBBackEndServerNumStatus") private String SLBBackEndServerNumStatus; @NameInMap("SLBExistStatus") private String SLBExistStatus; private CanaryPilotLoadBalancerStatus(Builder builder) { this.locked = builder.locked; this.payType = builder.payType; this.reused = builder.reused; this.SLBBackEndServerNumStatus = builder.SLBBackEndServerNumStatus; this.SLBExistStatus = builder.SLBExistStatus; } public static Builder builder() { return new Builder(); } public static CanaryPilotLoadBalancerStatus create() { return builder().build(); } /** * @return locked */ public Boolean getLocked() { return this.locked; } /** * @return payType */ public String getPayType() { return this.payType; } /** * @return reused */ public Boolean getReused() { return this.reused; } /** * @return SLBBackEndServerNumStatus */ public String getSLBBackEndServerNumStatus() { return this.SLBBackEndServerNumStatus; } /** * @return SLBExistStatus */ public String getSLBExistStatus() { return this.SLBExistStatus; } public static final class Builder { private Boolean locked; private String payType; private Boolean reused; private String SLBBackEndServerNumStatus; private String SLBExistStatus; /** * Indicates whether the SLB instance is locked due to overdue payments. Valid values: `true` `false` */ public Builder locked(Boolean locked) { this.locked = locked; return this; } /** * The billing method of the SLB instance. Valid values: * <p> * * * `PrePay`: subscription * * `PayOnDemand`: pay-as-you-go */ public Builder payType(String payType) { this.payType = payType; return this; } /** * Indicates whether the SLB instance is reused. Valid values: * <p> * * * `true`: The SLB instance is reused. Non-ASM listener configuration is detected in the listener configurations of the SLB instance. * * `false`: The SLB instance is not reused. */ public Builder reused(Boolean reused) { this.reused = reused; return this; } /** * The check result of the number of backend servers of the SLB instance created for exposing Istio Pilot. Valid values: * <p> * * * `num_exact`: A proper number of backend servers are created. * * `too_much`: An excessive number of backend servers are created. * * `too_little`: The number of backend servers falls short. */ public Builder SLBBackEndServerNumStatus(String SLBBackEndServerNumStatus) { this.SLBBackEndServerNumStatus = SLBBackEndServerNumStatus; return this; } /** * The check result of the SLB instance. Valid values: * <p> * * * `exist`: The SLB instance exists. * * `not_exist`: The SLB instance does not exist. * * `time_out`: The check times out. * * `failed`: The SLB instance has expired. */ public Builder SLBExistStatus(String SLBExistStatus) { this.SLBExistStatus = SLBExistStatus; return this; } public CanaryPilotLoadBalancerStatus build() { return new CanaryPilotLoadBalancerStatus(this); } } } public static class PilotLoadBalancerStatus extends TeaModel { @NameInMap("Locked") private Boolean locked; @NameInMap("PayType") private String payType; @NameInMap("Reused") private Boolean reused; @NameInMap("SLBBackEndServerNumStatus") private String SLBBackEndServerNumStatus; @NameInMap("SLBExistStatus") private String SLBExistStatus; private PilotLoadBalancerStatus(Builder builder) { this.locked = builder.locked; this.payType = builder.payType; this.reused = builder.reused; this.SLBBackEndServerNumStatus = builder.SLBBackEndServerNumStatus; this.SLBExistStatus = builder.SLBExistStatus; } public static Builder builder() { return new Builder(); } public static PilotLoadBalancerStatus create() { return builder().build(); } /** * @return locked */ public Boolean getLocked() { return this.locked; } /** * @return payType */ public String getPayType() { return this.payType; } /** * @return reused */ public Boolean getReused() { return this.reused; } /** * @return SLBBackEndServerNumStatus */ public String getSLBBackEndServerNumStatus() { return this.SLBBackEndServerNumStatus; } /** * @return SLBExistStatus */ public String getSLBExistStatus() { return this.SLBExistStatus; } public static final class Builder { private Boolean locked; private String payType; private Boolean reused; private String SLBBackEndServerNumStatus; private String SLBExistStatus; /** * Indicates whether the SLB instance is locked. Valid values: * <p> * * * `true` * * `false` */ public Builder locked(Boolean locked) { this.locked = locked; return this; } /** * The billing method of the SLB instance. Valid values: * <p> * * * `PrePay`: subscription * * `PayOnDemand`: pay-as-you-go */ public Builder payType(String payType) { this.payType = payType; return this; } /** * Indicates whether the SLB instance is reused. Valid values: * <p> * * * `true` * * `false` */ public Builder reused(Boolean reused) { this.reused = reused; return this; } /** * The check result of the number of backend servers of the SLB instance created for exposing Istio Pilot. Valid values: * <p> * * * `too_much`: An excessive number of backend servers are created. * * `num_exact`: A proper number of backend servers are created. * * `too_little`: The number of backend servers falls short. */ public Builder SLBBackEndServerNumStatus(String SLBBackEndServerNumStatus) { this.SLBBackEndServerNumStatus = SLBBackEndServerNumStatus; return this; } /** * The check result of the SLB instance. Valid values: * <p> * * * `exist`: The SLB instance exists. * * `not_exist`: The SLB instance does not exist. * * `conflict`: Conflicts are detected. * * `failed`: The check fails. * * `time_out`: The check times out. */ public Builder SLBExistStatus(String SLBExistStatus) { this.SLBExistStatus = SLBExistStatus; return this; } public PilotLoadBalancerStatus build() { return new PilotLoadBalancerStatus(this); } } } public static class ClusterStatus extends TeaModel { @NameInMap("AccessLogProjectStatus") private String accessLogProjectStatus; @NameInMap("ApiServerEIPStatus") private String apiServerEIPStatus; @NameInMap("ApiServerLoadBalancerStatus") private ApiServerLoadBalancerStatus apiServerLoadBalancerStatus; @NameInMap("AuditProjectStatus") private String auditProjectStatus; @NameInMap("CanaryPilotLoadBalancerStatus") private CanaryPilotLoadBalancerStatus canaryPilotLoadBalancerStatus; @NameInMap("ControlPlaneProjectStatus") private String controlPlaneProjectStatus; @NameInMap("LogtailStatusRecord") private java.util.Map < String, ? > logtailStatusRecord; @NameInMap("PilotLoadBalancerStatus") private PilotLoadBalancerStatus pilotLoadBalancerStatus; @NameInMap("RAMApplicationStatus") private String RAMApplicationStatus; @NameInMap("SgStatus") private String sgStatus; private ClusterStatus(Builder builder) { this.accessLogProjectStatus = builder.accessLogProjectStatus; this.apiServerEIPStatus = builder.apiServerEIPStatus; this.apiServerLoadBalancerStatus = builder.apiServerLoadBalancerStatus; this.auditProjectStatus = builder.auditProjectStatus; this.canaryPilotLoadBalancerStatus = builder.canaryPilotLoadBalancerStatus; this.controlPlaneProjectStatus = builder.controlPlaneProjectStatus; this.logtailStatusRecord = builder.logtailStatusRecord; this.pilotLoadBalancerStatus = builder.pilotLoadBalancerStatus; this.RAMApplicationStatus = builder.RAMApplicationStatus; this.sgStatus = builder.sgStatus; } public static Builder builder() { return new Builder(); } public static ClusterStatus create() { return builder().build(); } /** * @return accessLogProjectStatus */ public String getAccessLogProjectStatus() { return this.accessLogProjectStatus; } /** * @return apiServerEIPStatus */ public String getApiServerEIPStatus() { return this.apiServerEIPStatus; } /** * @return apiServerLoadBalancerStatus */ public ApiServerLoadBalancerStatus getApiServerLoadBalancerStatus() { return this.apiServerLoadBalancerStatus; } /** * @return auditProjectStatus */ public String getAuditProjectStatus() { return this.auditProjectStatus; } /** * @return canaryPilotLoadBalancerStatus */ public CanaryPilotLoadBalancerStatus getCanaryPilotLoadBalancerStatus() { return this.canaryPilotLoadBalancerStatus; } /** * @return controlPlaneProjectStatus */ public String getControlPlaneProjectStatus() { return this.controlPlaneProjectStatus; } /** * @return logtailStatusRecord */ public java.util.Map < String, ? > getLogtailStatusRecord() { return this.logtailStatusRecord; } /** * @return pilotLoadBalancerStatus */ public PilotLoadBalancerStatus getPilotLoadBalancerStatus() { return this.pilotLoadBalancerStatus; } /** * @return RAMApplicationStatus */ public String getRAMApplicationStatus() { return this.RAMApplicationStatus; } /** * @return sgStatus */ public String getSgStatus() { return this.sgStatus; } public static final class Builder { private String accessLogProjectStatus; private String apiServerEIPStatus; private ApiServerLoadBalancerStatus apiServerLoadBalancerStatus; private String auditProjectStatus; private CanaryPilotLoadBalancerStatus canaryPilotLoadBalancerStatus; private String controlPlaneProjectStatus; private java.util.Map < String, ? > logtailStatusRecord; private PilotLoadBalancerStatus pilotLoadBalancerStatus; private String RAMApplicationStatus; private String sgStatus; /** * Indicates whether access logs exist. Valid values: * <p> * * * `exist`: Access logs exist. * * `not_exist`: Access logs do not exist. * * `failed`: The check fails. * * `time_out`: The check times out. */ public Builder accessLogProjectStatus(String accessLogProjectStatus) { this.accessLogProjectStatus = accessLogProjectStatus; return this; } /** * The check result of the EIP associated with the API server. Valid values: * <p> * * * `exist`: The EIP exists. * * `not_exist`: The EIP does not exist. * * `failed`: The check fails. * * `time_out`: The check times out. * * `not_in_use`: The EIP is not associated with the API Server. * * `locked`: The EIP is locked. */ public Builder apiServerEIPStatus(String apiServerEIPStatus) { this.apiServerEIPStatus = apiServerEIPStatus; return this; } /** * The check results of the SLB instance created for exposing the API server. */ public Builder apiServerLoadBalancerStatus(ApiServerLoadBalancerStatus apiServerLoadBalancerStatus) { this.apiServerLoadBalancerStatus = apiServerLoadBalancerStatus; return this; } /** * Indicates whether audit logs exist. Valid values: * <p> * * * `exist` * * `not exist` */ public Builder auditProjectStatus(String auditProjectStatus) { this.auditProjectStatus = auditProjectStatus; return this; } /** * The check results of the SLB instance that is created for exposing Istio Pilot and used during canary release. */ public Builder canaryPilotLoadBalancerStatus(CanaryPilotLoadBalancerStatus canaryPilotLoadBalancerStatus) { this.canaryPilotLoadBalancerStatus = canaryPilotLoadBalancerStatus; return this; } /** * Indicates whether control plane logs exist. Valid values: * <p> * * * `exist`: Control plane logs exist. * * `not_exist`: Control plane logs do not exist. * * `failed`: The check fails. * * `time_out`: The check times out. */ public Builder controlPlaneProjectStatus(String controlPlaneProjectStatus) { this.controlPlaneProjectStatus = controlPlaneProjectStatus; return this; } /** * Indicates whether Logtail is installed in clusters on the data plane. */ public Builder logtailStatusRecord(java.util.Map < String, ? > logtailStatusRecord) { this.logtailStatusRecord = logtailStatusRecord; return this; } /** * The check results of the SLB instance created for exposing Istio Pilot. */ public Builder pilotLoadBalancerStatus(PilotLoadBalancerStatus pilotLoadBalancerStatus) { this.pilotLoadBalancerStatus = pilotLoadBalancerStatus; return this; } /** * The status of the RAM OAuth application that is integrated with Mesh Topology. Valid values: * <p> * * * `exist`: The RAM OAuth application exists. * * `reused`: The RAM OAuth application is reused. * * `not_exist`: The RAM OAuth application does not exist. * * `failed`: The check fails. * * `time_out`: The check times out. */ public Builder RAMApplicationStatus(String RAMApplicationStatus) { this.RAMApplicationStatus = RAMApplicationStatus; return this; } /** * Indicates whether the security group is reused. Valid values: * <p> * * * `reused`: The security group is reused. * * `not_reused`: The security group is not reused. * * `failed`: The check fails. * * `time_out`: The check times out. */ public Builder sgStatus(String sgStatus) { this.sgStatus = sgStatus; return this; } public ClusterStatus build() { return new ClusterStatus(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/DescribeServiceMeshClustersRequest.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 DescribeServiceMeshClustersRequest} extends {@link RequestModel} * * <p>DescribeServiceMeshClustersRequest</p> */ public class DescribeServiceMeshClustersRequest extends Request { @Body @NameInMap("Limit") private Long limit; @Body @NameInMap("Offset") private Long offset; @Query @NameInMap("ServiceMeshId") private String serviceMeshId; private DescribeServiceMeshClustersRequest(Builder builder) { super(builder); this.limit = builder.limit; this.offset = builder.offset; this.serviceMeshId = builder.serviceMeshId; } public static Builder builder() { return new Builder(); } public static DescribeServiceMeshClustersRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return limit */ public Long getLimit() { return this.limit; } /** * @return offset */ public Long getOffset() { return this.offset; } /** * @return serviceMeshId */ public String getServiceMeshId() { return this.serviceMeshId; } public static final class Builder extends Request.Builder<DescribeServiceMeshClustersRequest, Builder> { private Long limit; private Long offset; private String serviceMeshId; private Builder() { super(); } private Builder(DescribeServiceMeshClustersRequest request) { super(request); this.limit = request.limit; this.offset = request.offset; this.serviceMeshId = request.serviceMeshId; } /** * The maximum number of entries per page. */ public Builder limit(Long limit) { this.putBodyParameter("Limit", limit); this.limit = limit; return this; } /** * The position where the query starts. */ public Builder offset(Long offset) { this.putBodyParameter("Offset", offset); this.offset = offset; return this; } /** * The ASM instance ID. */ public Builder serviceMeshId(String serviceMeshId) { this.putQueryParameter("ServiceMeshId", serviceMeshId); this.serviceMeshId = serviceMeshId; return this; } @Override public DescribeServiceMeshClustersRequest build() { return new DescribeServiceMeshClustersRequest(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/DescribeServiceMeshClustersResponse.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 DescribeServiceMeshClustersResponse} extends {@link TeaModel} * * <p>DescribeServiceMeshClustersResponse</p> */ public class DescribeServiceMeshClustersResponse 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 DescribeServiceMeshClustersResponseBody body; private DescribeServiceMeshClustersResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeServiceMeshClustersResponse 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 DescribeServiceMeshClustersResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeServiceMeshClustersResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeServiceMeshClustersResponseBody body); @Override DescribeServiceMeshClustersResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeServiceMeshClustersResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeServiceMeshClustersResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeServiceMeshClustersResponse 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(DescribeServiceMeshClustersResponseBody body) { this.body = body; return this; } @Override public DescribeServiceMeshClustersResponse build() { return new DescribeServiceMeshClustersResponse(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/DescribeServiceMeshClustersResponseBody.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 DescribeServiceMeshClustersResponseBody} extends {@link TeaModel} * * <p>DescribeServiceMeshClustersResponseBody</p> */ public class DescribeServiceMeshClustersResponseBody extends TeaModel { @NameInMap("Clusters") private java.util.List < Clusters> clusters; @NameInMap("NumberOfClusters") private Long numberOfClusters; @NameInMap("RequestId") private String requestId; private DescribeServiceMeshClustersResponseBody(Builder builder) { this.clusters = builder.clusters; this.numberOfClusters = builder.numberOfClusters; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeServiceMeshClustersResponseBody create() { return builder().build(); } /** * @return clusters */ public java.util.List < Clusters> getClusters() { return this.clusters; } /** * @return numberOfClusters */ public Long getNumberOfClusters() { return this.numberOfClusters; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List < Clusters> clusters; private Long numberOfClusters; private String requestId; /** * The queried clusters. */ public Builder clusters(java.util.List < Clusters> clusters) { this.clusters = clusters; return this; } /** * NumberOfClusters. */ public Builder numberOfClusters(Long numberOfClusters) { this.numberOfClusters = numberOfClusters; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeServiceMeshClustersResponseBody build() { return new DescribeServiceMeshClustersResponseBody(this); } } public static class Clusters extends TeaModel { @NameInMap("ClusterDomain") private String clusterDomain; @NameInMap("ClusterId") private String clusterId; @NameInMap("ClusterType") private String clusterType; @NameInMap("CreationTime") private String creationTime; @NameInMap("ErrorMessage") private String errorMessage; @NameInMap("ForbiddenFlag") private Long forbiddenFlag; @NameInMap("ForbiddenInfo") private String forbiddenInfo; @NameInMap("Name") private String name; @NameInMap("RegionId") private String regionId; @NameInMap("ServiceMeshId") private String serviceMeshId; @NameInMap("SgId") private String sgId; @NameInMap("State") private String state; @NameInMap("UpdateTime") private String updateTime; @NameInMap("Version") private String version; @NameInMap("VpcId") private String vpcId; private Clusters(Builder builder) { this.clusterDomain = builder.clusterDomain; this.clusterId = builder.clusterId; this.clusterType = builder.clusterType; this.creationTime = builder.creationTime; this.errorMessage = builder.errorMessage; this.forbiddenFlag = builder.forbiddenFlag; this.forbiddenInfo = builder.forbiddenInfo; this.name = builder.name; this.regionId = builder.regionId; this.serviceMeshId = builder.serviceMeshId; this.sgId = builder.sgId; this.state = builder.state; this.updateTime = builder.updateTime; this.version = builder.version; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static Clusters create() { return builder().build(); } /** * @return clusterDomain */ public String getClusterDomain() { return this.clusterDomain; } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return clusterType */ public String getClusterType() { return this.clusterType; } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return errorMessage */ public String getErrorMessage() { return this.errorMessage; } /** * @return forbiddenFlag */ public Long getForbiddenFlag() { return this.forbiddenFlag; } /** * @return forbiddenInfo */ public String getForbiddenInfo() { return this.forbiddenInfo; } /** * @return name */ public String getName() { return this.name; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return serviceMeshId */ public String getServiceMeshId() { return this.serviceMeshId; } /** * @return sgId */ public String getSgId() { return this.sgId; } /** * @return state */ public String getState() { return this.state; } /** * @return updateTime */ public String getUpdateTime() { return this.updateTime; } /** * @return version */ public String getVersion() { return this.version; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder { private String clusterDomain; private String clusterId; private String clusterType; private String creationTime; private String errorMessage; private Long forbiddenFlag; private String forbiddenInfo; private String name; private String regionId; private String serviceMeshId; private String sgId; private String state; private String updateTime; private String version; private String vpcId; /** * The domain name of the cluster. */ public Builder clusterDomain(String clusterDomain) { this.clusterDomain = clusterDomain; return this; } /** * The cluster ID. */ public Builder clusterId(String clusterId) { this.clusterId = clusterId; return this; } /** * The cluster type. */ public Builder clusterType(String clusterType) { this.clusterType = clusterType; return this; } /** * The time when the cluster was created. */ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** * The error message about the cluster. */ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } /** * Indicates that the cluster is available or the reason why the cluster cannot be added to the ASM instance. Valid values: * <p> * * * `0`: The cluster can be added to the ASM instance. * * `1`: The cluster cannot be added to the ASM instance because you do not have administrator permissions on the cluster. * * `2`: The cluster cannot be added to the ASM instance because the cluster and the ASM instance reside in different VPCs between which no private connections are built. * * `3`: The CIDR block of the cluster conflicts with that of the ASM instance. * * `4`: The cluster has a namespace that is named istio-system. */ public Builder forbiddenFlag(Long forbiddenFlag) { this.forbiddenFlag = forbiddenFlag; return this; } /** * The reason why the cluster on the data plane cannot be added to the ASM instance. The value is a JSON string in the following format: * <p> * * [ * { * "cluster": "cdd55bd6e054b4c6ca18ec02614******", * "object": "Pod", * "cidr": "172.16.0.0/24" * }, * { * "cluster": "cfa37fdf7cb1641e1976f8293ac******", * "object": "Pod", * "cidr": "172.16.0.0/24" * } * ] * * In the preceding example, the CIDR block `172.16.0.0/24` of the pod in the `cdd55bd6e054b4c6ca18ec02614******` cluster conflicts with the CIDR block `172.16.0.0/24` of the pod in the `cfa37fdf7cb1641e1976f8293ac******` cluster. * * Valid values of the `object` parameter: * * * `Pod` * * `Service` * * `VSwitch` * * `VPC` * * `VPC CIDR` */ public Builder forbiddenInfo(String forbiddenInfo) { this.forbiddenInfo = forbiddenInfo; return this; } /** * The name of the cluster. */ public Builder name(String name) { this.name = name; return this; } /** * The ID of the region in which the cluster resides. */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * The ASM instance ID. */ public Builder serviceMeshId(String serviceMeshId) { this.serviceMeshId = serviceMeshId; return this; } /** * The ID of the security group. */ public Builder sgId(String sgId) { this.sgId = sgId; return this; } /** * The state of the cluster. Valid values: * <p> * * * `running`: The cluster is running. * * `starting`: The cluster is starting. * * `stopping`: The cluster is being stopped. * * `stopped`: The cluster is stopped. * * `failed`: The cluster fails to be run. */ public Builder state(String state) { this.state = state; return this; } /** * The time when the cluster was last modified. */ public Builder updateTime(String updateTime) { this.updateTime = updateTime; return this; } /** * The version number of the cluster. */ public Builder version(String version) { this.version = version; return this; } /** * The ID of the virtual private cloud (VPC). */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } public Clusters build() { return new Clusters(this); } } } }
0
java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111
java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/DescribeServiceMeshDetailRequest.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 DescribeServiceMeshDetailRequest} extends {@link RequestModel} * * <p>DescribeServiceMeshDetailRequest</p> */ public class DescribeServiceMeshDetailRequest extends Request { @Body @NameInMap("ServiceMeshId") @Validation(required = true) private String serviceMeshId; private DescribeServiceMeshDetailRequest(Builder builder) { super(builder); this.serviceMeshId = builder.serviceMeshId; } public static Builder builder() { return new Builder(); } public static DescribeServiceMeshDetailRequest 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<DescribeServiceMeshDetailRequest, Builder> { private String serviceMeshId; private Builder() { super(); } private Builder(DescribeServiceMeshDetailRequest 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 DescribeServiceMeshDetailRequest build() { return new DescribeServiceMeshDetailRequest(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/DescribeServiceMeshDetailResponse.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 DescribeServiceMeshDetailResponse} extends {@link TeaModel} * * <p>DescribeServiceMeshDetailResponse</p> */ public class DescribeServiceMeshDetailResponse 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 DescribeServiceMeshDetailResponseBody body; private DescribeServiceMeshDetailResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeServiceMeshDetailResponse 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 DescribeServiceMeshDetailResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeServiceMeshDetailResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeServiceMeshDetailResponseBody body); @Override DescribeServiceMeshDetailResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeServiceMeshDetailResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeServiceMeshDetailResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeServiceMeshDetailResponse 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(DescribeServiceMeshDetailResponseBody body) { this.body = body; return this; } @Override public DescribeServiceMeshDetailResponse build() { return new DescribeServiceMeshDetailResponse(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/DescribeServiceMeshDetailResponseBody.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 DescribeServiceMeshDetailResponseBody} extends {@link TeaModel} * * <p>DescribeServiceMeshDetailResponseBody</p> */ public class DescribeServiceMeshDetailResponseBody extends TeaModel { @NameInMap("RequestId") private String requestId; @NameInMap("ServiceMesh") private ServiceMesh serviceMesh; private DescribeServiceMeshDetailResponseBody(Builder builder) { this.requestId = builder.requestId; this.serviceMesh = builder.serviceMesh; } public static Builder builder() { return new Builder(); } public static DescribeServiceMeshDetailResponseBody create() { return builder().build(); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return serviceMesh */ public ServiceMesh getServiceMesh() { return this.serviceMesh; } public static final class Builder { private String requestId; private ServiceMesh serviceMesh; /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The details of the ASM instance. */ public Builder serviceMesh(ServiceMesh serviceMesh) { this.serviceMesh = serviceMesh; return this; } public DescribeServiceMeshDetailResponseBody build() { return new DescribeServiceMeshDetailResponseBody(this); } } public static class Endpoints extends TeaModel { @NameInMap("IntranetApiServerEndpoint") private String intranetApiServerEndpoint; @NameInMap("IntranetPilotEndpoint") private String intranetPilotEndpoint; @NameInMap("PublicApiServerEndpoint") private String publicApiServerEndpoint; @NameInMap("PublicPilotEndpoint") private String publicPilotEndpoint; private Endpoints(Builder builder) { this.intranetApiServerEndpoint = builder.intranetApiServerEndpoint; this.intranetPilotEndpoint = builder.intranetPilotEndpoint; this.publicApiServerEndpoint = builder.publicApiServerEndpoint; this.publicPilotEndpoint = builder.publicPilotEndpoint; } public static Builder builder() { return new Builder(); } public static Endpoints create() { return builder().build(); } /** * @return intranetApiServerEndpoint */ public String getIntranetApiServerEndpoint() { return this.intranetApiServerEndpoint; } /** * @return intranetPilotEndpoint */ public String getIntranetPilotEndpoint() { return this.intranetPilotEndpoint; } /** * @return publicApiServerEndpoint */ public String getPublicApiServerEndpoint() { return this.publicApiServerEndpoint; } /** * @return publicPilotEndpoint */ public String getPublicPilotEndpoint() { return this.publicPilotEndpoint; } public static final class Builder { private String intranetApiServerEndpoint; private String intranetPilotEndpoint; private String publicApiServerEndpoint; private String publicPilotEndpoint; /** * The endpoint that is used to access the API server from the internal network. */ public Builder intranetApiServerEndpoint(String intranetApiServerEndpoint) { this.intranetApiServerEndpoint = intranetApiServerEndpoint; return this; } /** * The endpoint that is used to access Istio Pilot from the internal network. */ public Builder intranetPilotEndpoint(String intranetPilotEndpoint) { this.intranetPilotEndpoint = intranetPilotEndpoint; return this; } /** * The endpoint that is used to access the API server over the Internet. */ public Builder publicApiServerEndpoint(String publicApiServerEndpoint) { this.publicApiServerEndpoint = publicApiServerEndpoint; return this; } /** * The endpoint that is used to expose Istio Pilot to the Internet. */ public Builder publicPilotEndpoint(String publicPilotEndpoint) { this.publicPilotEndpoint = publicPilotEndpoint; return this; } public Endpoints build() { return new Endpoints(this); } } } public static class ServiceMeshInfo extends TeaModel { @NameInMap("CreationTime") private String creationTime; @NameInMap("ErrorMessage") private String errorMessage; @NameInMap("Name") private String name; @NameInMap("Profile") private String profile; @NameInMap("RegionId") private String regionId; @NameInMap("ServiceMeshId") private String serviceMeshId; @NameInMap("State") private String state; @NameInMap("UpdateTime") private String updateTime; @NameInMap("Version") private String version; private ServiceMeshInfo(Builder builder) { this.creationTime = builder.creationTime; this.errorMessage = builder.errorMessage; this.name = builder.name; this.profile = builder.profile; this.regionId = builder.regionId; this.serviceMeshId = builder.serviceMeshId; this.state = builder.state; this.updateTime = builder.updateTime; this.version = builder.version; } public static Builder builder() { return new Builder(); } public static ServiceMeshInfo create() { return builder().build(); } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return errorMessage */ public String getErrorMessage() { return this.errorMessage; } /** * @return name */ public String getName() { return this.name; } /** * @return profile */ public String getProfile() { return this.profile; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return serviceMeshId */ public String getServiceMeshId() { return this.serviceMeshId; } /** * @return state */ public String getState() { return this.state; } /** * @return updateTime */ public String getUpdateTime() { return this.updateTime; } /** * @return version */ public String getVersion() { return this.version; } public static final class Builder { private String creationTime; private String errorMessage; private String name; private String profile; private String regionId; private String serviceMeshId; private String state; private String updateTime; private String version; /** * The time when the ASM instance was created. */ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** * The returned error message. */ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } /** * The name of the ASM instance. */ public Builder name(String name) { this.name = name; return this; } /** * The edition of the ASM instance. Valid values: * <p> * * * `Default`: Standard Edition * * `Pro`: Enterprise Edition and Ultimate Edition */ public Builder profile(String profile) { this.profile = profile; return this; } /** * The ID of the region in which the ASM instance resides. */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * The ASM instance ID. */ public Builder serviceMeshId(String serviceMeshId) { this.serviceMeshId = serviceMeshId; return this; } /** * The state of the ASM instance. */ public Builder state(String state) { this.state = state; return this; } /** * The time when the ASM instance was last modified. */ public Builder updateTime(String updateTime) { this.updateTime = updateTime; return this; } /** * The version of the ASM instance. */ public Builder version(String version) { this.version = version; return this; } public ServiceMeshInfo build() { return new ServiceMeshInfo(this); } } } public static class LoadBalancer extends TeaModel { @NameInMap("ApiServerLoadbalancerId") private String apiServerLoadbalancerId; @NameInMap("ApiServerPublicEip") private Boolean apiServerPublicEip; @NameInMap("PilotPublicEip") private Boolean pilotPublicEip; @NameInMap("PilotPublicLoadbalancerId") private String pilotPublicLoadbalancerId; private LoadBalancer(Builder builder) { this.apiServerLoadbalancerId = builder.apiServerLoadbalancerId; this.apiServerPublicEip = builder.apiServerPublicEip; this.pilotPublicEip = builder.pilotPublicEip; this.pilotPublicLoadbalancerId = builder.pilotPublicLoadbalancerId; } public static Builder builder() { return new Builder(); } public static LoadBalancer create() { return builder().build(); } /** * @return apiServerLoadbalancerId */ public String getApiServerLoadbalancerId() { return this.apiServerLoadbalancerId; } /** * @return apiServerPublicEip */ public Boolean getApiServerPublicEip() { return this.apiServerPublicEip; } /** * @return pilotPublicEip */ public Boolean getPilotPublicEip() { return this.pilotPublicEip; } /** * @return pilotPublicLoadbalancerId */ public String getPilotPublicLoadbalancerId() { return this.pilotPublicLoadbalancerId; } public static final class Builder { private String apiServerLoadbalancerId; private Boolean apiServerPublicEip; private Boolean pilotPublicEip; private String pilotPublicLoadbalancerId; /** * The ID of the CLB instance that is used when the API server is exposed to the Internet. */ public Builder apiServerLoadbalancerId(String apiServerLoadbalancerId) { this.apiServerLoadbalancerId = apiServerLoadbalancerId; return this; } /** * Indicates whether the API server is exposed to the Internet. Valid values: * <p> * * * `true` * * `false` */ public Builder apiServerPublicEip(Boolean apiServerPublicEip) { this.apiServerPublicEip = apiServerPublicEip; return this; } /** * Indicates whether Istio Pilot is exposed to the Internet. Valid values: * <p> * * * `true` * * `false` */ public Builder pilotPublicEip(Boolean pilotPublicEip) { this.pilotPublicEip = pilotPublicEip; return this; } /** * The ID of the Classic Load Balancer (CLB) instance that is used when Istio Pilot is exposed to the Internet. */ public Builder pilotPublicLoadbalancerId(String pilotPublicLoadbalancerId) { this.pilotPublicLoadbalancerId = pilotPublicLoadbalancerId; return this; } public LoadBalancer build() { return new LoadBalancer(this); } } } public static class AccessLog extends TeaModel { @NameInMap("Enabled") private Boolean enabled; @NameInMap("Project") private String project; private AccessLog(Builder builder) { this.enabled = builder.enabled; this.project = builder.project; } public static Builder builder() { return new Builder(); } public static AccessLog create() { return builder().build(); } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } /** * @return project */ public String getProject() { return this.project; } public static final class Builder { private Boolean enabled; private String project; /** * Indicates whether access log collection is enabled. Valid values: * <p> * * * `true` * * `false` */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } /** * The name of the Simple Log Service project that stores access logs. */ public Builder project(String project) { this.project = project; return this; } public AccessLog build() { return new AccessLog(this); } } } public static class Audit extends TeaModel { @NameInMap("AuditProjectStatus") private String auditProjectStatus; @NameInMap("Enabled") private Boolean enabled; @NameInMap("Project") private String project; private Audit(Builder builder) { this.auditProjectStatus = builder.auditProjectStatus; this.enabled = builder.enabled; this.project = builder.project; } public static Builder builder() { return new Builder(); } public static Audit create() { return builder().build(); } /** * @return auditProjectStatus */ public String getAuditProjectStatus() { return this.auditProjectStatus; } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } /** * @return project */ public String getProject() { return this.project; } public static final class Builder { private String auditProjectStatus; private Boolean enabled; private String project; /** * Indicates whether an audit project exists in the ASM instance. Valid values: * <p> * * * `audit_project_exist`: An audit project exists. * * `audit_project_not_exist`: No audit project exists. */ public Builder auditProjectStatus(String auditProjectStatus) { this.auditProjectStatus = auditProjectStatus; return this; } /** * Indicates whether mesh audit is enabled. Valid values: * <p> * * * `true` * * `false` */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } /** * The name of the Simple Log Service project that is used for mesh audit. */ public Builder project(String project) { this.project = project; return this; } public Audit build() { return new Audit(this); } } } public static class ControlPlaneLogInfo extends TeaModel { @NameInMap("Enabled") private Boolean enabled; @NameInMap("LogTTL") private Integer logTTL; @NameInMap("Project") private String project; private ControlPlaneLogInfo(Builder builder) { this.enabled = builder.enabled; this.logTTL = builder.logTTL; this.project = builder.project; } public static Builder builder() { return new Builder(); } public static ControlPlaneLogInfo create() { return builder().build(); } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } /** * @return logTTL */ public Integer getLogTTL() { return this.logTTL; } /** * @return project */ public String getProject() { return this.project; } public static final class Builder { private Boolean enabled; private Integer logTTL; private String project; /** * Indicates whether the collection of control plane logs is enabled. Valid values: * <p> * * * `true` * * `false` */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } /** * LogTTL. */ public Builder logTTL(Integer logTTL) { this.logTTL = logTTL; return this; } /** * The name of the Simple Log Service project that stores control plane logs. */ public Builder project(String project) { this.project = project; return this; } public ControlPlaneLogInfo build() { return new ControlPlaneLogInfo(this); } } } public static class Edition extends TeaModel { @NameInMap("IstiodImageTag") private String istiodImageTag; @NameInMap("Name") private String name; @NameInMap("ProxyImageTag") private String proxyImageTag; private Edition(Builder builder) { this.istiodImageTag = builder.istiodImageTag; this.name = builder.name; this.proxyImageTag = builder.proxyImageTag; } public static Builder builder() { return new Builder(); } public static Edition create() { return builder().build(); } /** * @return istiodImageTag */ public String getIstiodImageTag() { return this.istiodImageTag; } /** * @return name */ public String getName() { return this.name; } /** * @return proxyImageTag */ public String getProxyImageTag() { return this.proxyImageTag; } public static final class Builder { private String istiodImageTag; private String name; private String proxyImageTag; /** * The version of the Istiod image. */ public Builder istiodImageTag(String istiodImageTag) { this.istiodImageTag = istiodImageTag; return this; } /** * The name of the edition. */ public Builder name(String name) { this.name = name; return this; } /** * The version of the Istio Proxy image. */ public Builder proxyImageTag(String proxyImageTag) { this.proxyImageTag = proxyImageTag; return this; } public Edition build() { return new Edition(this); } } } public static class AccessLogExtraConf extends TeaModel { @NameInMap("GatewayEnabled") private Boolean gatewayEnabled; @NameInMap("GatewayLifecycle") private Integer gatewayLifecycle; @NameInMap("SidecarEnabled") private Boolean sidecarEnabled; @NameInMap("SidecarLifecycle") private Integer sidecarLifecycle; private AccessLogExtraConf(Builder builder) { this.gatewayEnabled = builder.gatewayEnabled; this.gatewayLifecycle = builder.gatewayLifecycle; this.sidecarEnabled = builder.sidecarEnabled; this.sidecarLifecycle = builder.sidecarLifecycle; } public static Builder builder() { return new Builder(); } public static AccessLogExtraConf create() { return builder().build(); } /** * @return gatewayEnabled */ public Boolean getGatewayEnabled() { return this.gatewayEnabled; } /** * @return gatewayLifecycle */ public Integer getGatewayLifecycle() { return this.gatewayLifecycle; } /** * @return sidecarEnabled */ public Boolean getSidecarEnabled() { return this.sidecarEnabled; } /** * @return sidecarLifecycle */ public Integer getSidecarLifecycle() { return this.sidecarLifecycle; } public static final class Builder { private Boolean gatewayEnabled; private Integer gatewayLifecycle; private Boolean sidecarEnabled; private Integer sidecarLifecycle; /** * GatewayEnabled. */ public Builder gatewayEnabled(Boolean gatewayEnabled) { this.gatewayEnabled = gatewayEnabled; return this; } /** * The retention period for the access logs of the ingress gateway. Unit: day. The logs are collected by using Simple Log Service. For example, the value 30 indicates that the logs are retained for 30 days. */ public Builder gatewayLifecycle(Integer gatewayLifecycle) { this.gatewayLifecycle = gatewayLifecycle; return this; } /** * SidecarEnabled. */ public Builder sidecarEnabled(Boolean sidecarEnabled) { this.sidecarEnabled = sidecarEnabled; return this; } /** * The retention period for the access logs of sidecar proxies. Unit: day. The logs are collected by using Simple Log Service. For example, the value 30 indicates that the logs are retained for 30 days. */ public Builder sidecarLifecycle(Integer sidecarLifecycle) { this.sidecarLifecycle = sidecarLifecycle; return this; } public AccessLogExtraConf build() { return new AccessLogExtraConf(this); } } } public static class EgressHpaCpu extends TeaModel { @NameInMap("TargetAverageUtilization") private Integer targetAverageUtilization; private EgressHpaCpu(Builder builder) { this.targetAverageUtilization = builder.targetAverageUtilization; } public static Builder builder() { return new Builder(); } public static EgressHpaCpu create() { return builder().build(); } /** * @return targetAverageUtilization */ public Integer getTargetAverageUtilization() { return this.targetAverageUtilization; } public static final class Builder { private Integer targetAverageUtilization; /** * The expected CPU utilization when HPA is enabled. Valid values: 1 to 100. If the CPU utilization exceeds this value, the number of pod replicas increases. If the CPU utilization is less than this value, the number of pod replicas decreases. */ public Builder targetAverageUtilization(Integer targetAverageUtilization) { this.targetAverageUtilization = targetAverageUtilization; return this; } public EgressHpaCpu build() { return new EgressHpaCpu(this); } } } public static class EgressHpaMemory extends TeaModel { @NameInMap("TargetAverageUtilization") private Integer targetAverageUtilization; private EgressHpaMemory(Builder builder) { this.targetAverageUtilization = builder.targetAverageUtilization; } public static Builder builder() { return new Builder(); } public static EgressHpaMemory create() { return builder().build(); } /** * @return targetAverageUtilization */ public Integer getTargetAverageUtilization() { return this.targetAverageUtilization; } public static final class Builder { private Integer targetAverageUtilization; /** * The expected memory usage when HPA is enabled. Valid values: 1 to 100. If the memory usage exceeds this value, the number of pod replicas increases. If the memory usage is less than this value, the number of pod replicas decreases. */ public Builder targetAverageUtilization(Integer targetAverageUtilization) { this.targetAverageUtilization = targetAverageUtilization; return this; } public EgressHpaMemory build() { return new EgressHpaMemory(this); } } } public static class EgressResources extends TeaModel { @NameInMap("Limits") private java.util.Map < String, ? > limits; @NameInMap("Requests") private java.util.Map < String, ? > requests; private EgressResources(Builder builder) { this.limits = builder.limits; this.requests = builder.requests; } public static Builder builder() { return new Builder(); } public static EgressResources create() { return builder().build(); } /** * @return limits */ public java.util.Map < String, ? > getLimits() { return this.limits; } /** * @return requests */ public java.util.Map < String, ? > getRequests() { return this.requests; } public static final class Builder { private java.util.Map < String, ? > limits; private java.util.Map < String, ? > requests; /** * The resources that are available to the egress gateway. */ public Builder limits(java.util.Map < String, ? > limits) { this.limits = limits; return this; } /** * The resources that are requested by the egress gateway. */ public Builder requests(java.util.Map < String, ? > requests) { this.requests = requests; return this; } public EgressResources build() { return new EgressResources(this); } } } public static class AdaptiveXdsConfiguration extends TeaModel { @NameInMap("EgressAutoscaleEnabled") private Boolean egressAutoscaleEnabled; @NameInMap("EgressHpaCpu") private EgressHpaCpu egressHpaCpu; @NameInMap("EgressHpaMemory") private EgressHpaMemory egressHpaMemory; @NameInMap("EgressMaxReplica") private Integer egressMaxReplica; @NameInMap("EgressMinReplica") private Integer egressMinReplica; @NameInMap("EgressReplicaCount") private Integer egressReplicaCount; @NameInMap("EgressResources") private EgressResources egressResources; @NameInMap("Enabled") private Boolean enabled; private AdaptiveXdsConfiguration(Builder builder) { this.egressAutoscaleEnabled = builder.egressAutoscaleEnabled; this.egressHpaCpu = builder.egressHpaCpu; this.egressHpaMemory = builder.egressHpaMemory; this.egressMaxReplica = builder.egressMaxReplica; this.egressMinReplica = builder.egressMinReplica; this.egressReplicaCount = builder.egressReplicaCount; this.egressResources = builder.egressResources; this.enabled = builder.enabled; } public static Builder builder() { return new Builder(); } public static AdaptiveXdsConfiguration create() { return builder().build(); } /** * @return egressAutoscaleEnabled */ public Boolean getEgressAutoscaleEnabled() { return this.egressAutoscaleEnabled; } /** * @return egressHpaCpu */ public EgressHpaCpu getEgressHpaCpu() { return this.egressHpaCpu; } /** * @return egressHpaMemory */ public EgressHpaMemory getEgressHpaMemory() { return this.egressHpaMemory; } /** * @return egressMaxReplica */ public Integer getEgressMaxReplica() { return this.egressMaxReplica; } /** * @return egressMinReplica */ public Integer getEgressMinReplica() { return this.egressMinReplica; } /** * @return egressReplicaCount */ public Integer getEgressReplicaCount() { return this.egressReplicaCount; } /** * @return egressResources */ public EgressResources getEgressResources() { return this.egressResources; } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } public static final class Builder { private Boolean egressAutoscaleEnabled; private EgressHpaCpu egressHpaCpu; private EgressHpaMemory egressHpaMemory; private Integer egressMaxReplica; private Integer egressMinReplica; private Integer egressReplicaCount; private EgressResources egressResources; private Boolean enabled; /** * Indicates whether Horizontal Pod Autoscaling (HPA) is enabled for the egress gateway. */ public Builder egressAutoscaleEnabled(Boolean egressAutoscaleEnabled) { this.egressAutoscaleEnabled = egressAutoscaleEnabled; return this; } /** * The CPU resource configurations of the egress gateway when HPA is enabled. */ public Builder egressHpaCpu(EgressHpaCpu egressHpaCpu) { this.egressHpaCpu = egressHpaCpu; return this; } /** * The memory resource configurations of the egress gateway when HPA is enabled. */ public Builder egressHpaMemory(EgressHpaMemory egressHpaMemory) { this.egressHpaMemory = egressHpaMemory; return this; } /** * The maximum number of egress gateway pod replicas when HPA is enabled. */ public Builder egressMaxReplica(Integer egressMaxReplica) { this.egressMaxReplica = egressMaxReplica; return this; } /** * The minimum number of egress gateway pod replicas when HPA is enabled. */ public Builder egressMinReplica(Integer egressMinReplica) { this.egressMinReplica = egressMinReplica; return this; } /** * The number of the egress gateway pod replicas. */ public Builder egressReplicaCount(Integer egressReplicaCount) { this.egressReplicaCount = egressReplicaCount; return this; } /** * The resource configurations of the egress gateway that is used by adaptive xDS optimization. */ public Builder egressResources(EgressResources egressResources) { this.egressResources = egressResources; return this; } /** * Indicates whether adaptive xDS optimization is enabled. */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } public AdaptiveXdsConfiguration build() { return new AdaptiveXdsConfiguration(this); } } } public static class AutoDiagnosis extends TeaModel { @NameInMap("AutoDiagnosisEnabled") private Boolean autoDiagnosisEnabled; private AutoDiagnosis(Builder builder) { this.autoDiagnosisEnabled = builder.autoDiagnosisEnabled; } public static Builder builder() { return new Builder(); } public static AutoDiagnosis create() { return builder().build(); } /** * @return autoDiagnosisEnabled */ public Boolean getAutoDiagnosisEnabled() { return this.autoDiagnosisEnabled; } public static final class Builder { private Boolean autoDiagnosisEnabled; /** * Indicates whether automatic diagnostics is enabled for the ASM instance. If you enable this feature, the ASM instance is automatically diagnosed 5 minutes after you modify an Istio resource. */ public Builder autoDiagnosisEnabled(Boolean autoDiagnosisEnabled) { this.autoDiagnosisEnabled = autoDiagnosisEnabled; return this; } public AutoDiagnosis build() { return new AutoDiagnosis(this); } } } public static class CRAggregationConfiguration extends TeaModel { @NameInMap("Enabled") private Boolean enabled; private CRAggregationConfiguration(Builder builder) { this.enabled = builder.enabled; } public static Builder builder() { return new Builder(); } public static CRAggregationConfiguration create() { return builder().build(); } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } public static final class Builder { private Boolean enabled; /** * Indicates whether Istio resources can be accessed by using the Kubernetes API on the data plane. */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } public CRAggregationConfiguration build() { return new CRAggregationConfiguration(this); } } } public static class IstioCRHistory extends TeaModel { @NameInMap("EnableHistory") private Boolean enableHistory; private IstioCRHistory(Builder builder) { this.enableHistory = builder.enableHistory; } public static Builder builder() { return new Builder(); } public static IstioCRHistory create() { return builder().build(); } /** * @return enableHistory */ public Boolean getEnableHistory() { return this.enableHistory; } public static final class Builder { private Boolean enableHistory; /** * Indicates whether the rollback feature for Istio resources is enabled. Valid values: * <p> * * * `true` * * `false` */ public Builder enableHistory(Boolean enableHistory) { this.enableHistory = enableHistory; return this; } public IstioCRHistory build() { return new IstioCRHistory(this); } } } public static class Exec extends TeaModel { @NameInMap("command") private java.util.List < String > command; private Exec(Builder builder) { this.command = builder.command; } public static Builder builder() { return new Builder(); } public static Exec create() { return builder().build(); } /** * @return command */ public java.util.List < String > getCommand() { return this.command; } public static final class Builder { private java.util.List < String > command; /** * The executed commands. The value is a string that consists of JSON arrays. */ public Builder command(java.util.List < String > command) { this.command = command; return this; } public Exec build() { return new Exec(this); } } } public static class HttpHeaders extends TeaModel { @NameInMap("name") private String name; @NameInMap("value") private String value; private HttpHeaders(Builder builder) { this.name = builder.name; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static HttpHeaders create() { return builder().build(); } /** * @return name */ public String getName() { return this.name; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String name; private String value; /** * The name of the HTTP request header. */ public Builder name(String name) { this.name = name; return this; } /** * The value of the HTTP request header field. */ public Builder value(String value) { this.value = value; return this; } public HttpHeaders build() { return new HttpHeaders(this); } } } public static class HttpGet extends TeaModel { @NameInMap("host") private String host; @NameInMap("httpHeaders") private java.util.List < HttpHeaders> httpHeaders; @NameInMap("port") private String port; @NameInMap("scheme") private String scheme; private HttpGet(Builder builder) { this.host = builder.host; this.httpHeaders = builder.httpHeaders; this.port = builder.port; this.scheme = builder.scheme; } public static Builder builder() { return new Builder(); } public static HttpGet create() { return builder().build(); } /** * @return host */ public String getHost() { return this.host; } /** * @return httpHeaders */ public java.util.List < HttpHeaders> getHttpHeaders() { return this.httpHeaders; } /** * @return port */ public String getPort() { return this.port; } /** * @return scheme */ public String getScheme() { return this.scheme; } public static final class Builder { private String host; private java.util.List < HttpHeaders> httpHeaders; private String port; private String scheme; /** * The URL of the request. */ public Builder host(String host) { this.host = host; return this; } /** * The HTTP request headers. */ public Builder httpHeaders(java.util.List < HttpHeaders> httpHeaders) { this.httpHeaders = httpHeaders; return this; } /** * The port number of the request. */ public Builder port(String port) { this.port = port; return this; } /** * The request method. Valid values: `http` and `https`. */ public Builder scheme(String scheme) { this.scheme = scheme; return this; } public HttpGet build() { return new HttpGet(this); } } } public static class TcpSocket extends TeaModel { @NameInMap("host") private String host; @NameInMap("port") private String port; private TcpSocket(Builder builder) { this.host = builder.host; this.port = builder.port; } public static Builder builder() { return new Builder(); } public static TcpSocket create() { return builder().build(); } /** * @return host */ public String getHost() { return this.host; } /** * @return port */ public String getPort() { return this.port; } public static final class Builder { private String host; private String port; /** * The URL of the TCP socket request. */ public Builder host(String host) { this.host = host; return this; } /** * The port number of the TCP socket request. */ public Builder port(String port) { this.port = port; return this; } public TcpSocket build() { return new TcpSocket(this); } } } public static class PostStart extends TeaModel { @NameInMap("exec") private Exec exec; @NameInMap("httpGet") private HttpGet httpGet; @NameInMap("tcpSocket") private TcpSocket tcpSocket; private PostStart(Builder builder) { this.exec = builder.exec; this.httpGet = builder.httpGet; this.tcpSocket = builder.tcpSocket; } public static Builder builder() { return new Builder(); } public static PostStart create() { return builder().build(); } /** * @return exec */ public Exec getExec() { return this.exec; } /** * @return httpGet */ public HttpGet getHttpGet() { return this.httpGet; } /** * @return tcpSocket */ public TcpSocket getTcpSocket() { return this.tcpSocket; } public static final class Builder { private Exec exec; private HttpGet httpGet; private TcpSocket tcpSocket; /** * The post-start script. */ public Builder exec(Exec exec) { this.exec = exec; return this; } /** * The HTTP GET request that is sent before the instance stops. */ public Builder httpGet(HttpGet httpGet) { this.httpGet = httpGet; return this; } /** * The TCP socket request that is sent. */ public Builder tcpSocket(TcpSocket tcpSocket) { this.tcpSocket = tcpSocket; return this; } public PostStart build() { return new PostStart(this); } } } public static class PreStopExec extends TeaModel { @NameInMap("command") private java.util.List < String > command; private PreStopExec(Builder builder) { this.command = builder.command; } public static Builder builder() { return new Builder(); } public static PreStopExec create() { return builder().build(); } /** * @return command */ public java.util.List < String > getCommand() { return this.command; } public static final class Builder { private java.util.List < String > command; /** * The executed commands. The value is a string that consists of JSON arrays. */ public Builder command(java.util.List < String > command) { this.command = command; return this; } public PreStopExec build() { return new PreStopExec(this); } } } public static class HttpGetHttpHeaders extends TeaModel { @NameInMap("name") private String name; @NameInMap("value") private String value; private HttpGetHttpHeaders(Builder builder) { this.name = builder.name; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static HttpGetHttpHeaders create() { return builder().build(); } /** * @return name */ public String getName() { return this.name; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String name; private String value; /** * The name of the HTTP request header. */ public Builder name(String name) { this.name = name; return this; } /** * The value of the HTTP request header field. */ public Builder value(String value) { this.value = value; return this; } public HttpGetHttpHeaders build() { return new HttpGetHttpHeaders(this); } } } public static class PreStopHttpGet extends TeaModel { @NameInMap("host") private String host; @NameInMap("httpHeaders") private java.util.List < HttpGetHttpHeaders> httpHeaders; @NameInMap("port") private String port; @NameInMap("scheme") private String scheme; private PreStopHttpGet(Builder builder) { this.host = builder.host; this.httpHeaders = builder.httpHeaders; this.port = builder.port; this.scheme = builder.scheme; } public static Builder builder() { return new Builder(); } public static PreStopHttpGet create() { return builder().build(); } /** * @return host */ public String getHost() { return this.host; } /** * @return httpHeaders */ public java.util.List < HttpGetHttpHeaders> getHttpHeaders() { return this.httpHeaders; } /** * @return port */ public String getPort() { return this.port; } /** * @return scheme */ public String getScheme() { return this.scheme; } public static final class Builder { private String host; private java.util.List < HttpGetHttpHeaders> httpHeaders; private String port; private String scheme; /** * The URL of the request. */ public Builder host(String host) { this.host = host; return this; } /** * The HTTP request headers. */ public Builder httpHeaders(java.util.List < HttpGetHttpHeaders> httpHeaders) { this.httpHeaders = httpHeaders; return this; } /** * The port number of the request. */ public Builder port(String port) { this.port = port; return this; } /** * The request method. Valid values: `http` and `https`. */ public Builder scheme(String scheme) { this.scheme = scheme; return this; } public PreStopHttpGet build() { return new PreStopHttpGet(this); } } } public static class PreStopTcpSocket extends TeaModel { @NameInMap("host") private String host; @NameInMap("port") private String port; private PreStopTcpSocket(Builder builder) { this.host = builder.host; this.port = builder.port; } public static Builder builder() { return new Builder(); } public static PreStopTcpSocket create() { return builder().build(); } /** * @return host */ public String getHost() { return this.host; } /** * @return port */ public String getPort() { return this.port; } public static final class Builder { private String host; private String port; /** * The URL of the request. */ public Builder host(String host) { this.host = host; return this; } /** * The port number of the request. */ public Builder port(String port) { this.port = port; return this; } public PreStopTcpSocket build() { return new PreStopTcpSocket(this); } } } public static class PreStop extends TeaModel { @NameInMap("exec") private PreStopExec exec; @NameInMap("httpGet") private PreStopHttpGet httpGet; @NameInMap("tcpSocket") private PreStopTcpSocket tcpSocket; private PreStop(Builder builder) { this.exec = builder.exec; this.httpGet = builder.httpGet; this.tcpSocket = builder.tcpSocket; } public static Builder builder() { return new Builder(); } public static PreStop create() { return builder().build(); } /** * @return exec */ public PreStopExec getExec() { return this.exec; } /** * @return httpGet */ public PreStopHttpGet getHttpGet() { return this.httpGet; } /** * @return tcpSocket */ public PreStopTcpSocket getTcpSocket() { return this.tcpSocket; } public static final class Builder { private PreStopExec exec; private PreStopHttpGet httpGet; private PreStopTcpSocket tcpSocket; /** * The pre-close script. */ public Builder exec(PreStopExec exec) { this.exec = exec; return this; } /** * The HTTP GET request that is sent before the instance stops. */ public Builder httpGet(PreStopHttpGet httpGet) { this.httpGet = httpGet; return this; } /** * The TCP socket request that is sent. */ public Builder tcpSocket(PreStopTcpSocket tcpSocket) { this.tcpSocket = tcpSocket; return this; } public PreStop build() { return new PreStop(this); } } } public static class Lifecycle extends TeaModel { @NameInMap("postStart") private PostStart postStart; @NameInMap("preStop") private PreStop preStop; private Lifecycle(Builder builder) { this.postStart = builder.postStart; this.preStop = builder.preStop; } public static Builder builder() { return new Builder(); } public static Lifecycle create() { return builder().build(); } /** * @return postStart */ public PostStart getPostStart() { return this.postStart; } /** * @return preStop */ public PreStop getPreStop() { return this.preStop; } public static final class Builder { private PostStart postStart; private PreStop preStop; /** * The post-start parameters. */ public Builder postStart(PostStart postStart) { this.postStart = postStart; return this; } /** * The pre-close parameters. */ public Builder preStop(PreStop preStop) { this.preStop = preStop; return this; } public Lifecycle build() { return new Lifecycle(this); } } } public static class MultiBuffer extends TeaModel { @NameInMap("Enabled") private Boolean enabled; @NameInMap("PollDelay") private String pollDelay; private MultiBuffer(Builder builder) { this.enabled = builder.enabled; this.pollDelay = builder.pollDelay; } public static Builder builder() { return new Builder(); } public static MultiBuffer create() { return builder().build(); } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } /** * @return pollDelay */ public String getPollDelay() { return this.pollDelay; } public static final class Builder { private Boolean enabled; private String pollDelay; /** * Indicates whether MulitiBuffer-based TLS acceleration is enabled. Valid values: * <p> * * * `true` * * `false` */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } /** * The pull-request latency. */ public Builder pollDelay(String pollDelay) { this.pollDelay = pollDelay; return this; } public MultiBuffer build() { return new MultiBuffer(this); } } } public static class NFDConfiguration extends TeaModel { @NameInMap("Enabled") private Boolean enabled; @NameInMap("NFDLabelPruned") private Boolean NFDLabelPruned; private NFDConfiguration(Builder builder) { this.enabled = builder.enabled; this.NFDLabelPruned = builder.NFDLabelPruned; } public static Builder builder() { return new Builder(); } public static NFDConfiguration create() { return builder().build(); } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } /** * @return NFDLabelPruned */ public Boolean getNFDLabelPruned() { return this.NFDLabelPruned; } public static final class Builder { private Boolean enabled; private Boolean NFDLabelPruned; /** * Indicates whether NFD is enabled. */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } /** * Indicates whether feature labels on nodes are cleared when NFD is disabled. */ public Builder NFDLabelPruned(Boolean NFDLabelPruned) { this.NFDLabelPruned = NFDLabelPruned; return this; } public NFDConfiguration build() { return new NFDConfiguration(this); } } } public static class OPAScopeInjection extends TeaModel { @NameInMap("OPAScopeInjected") private Boolean OPAScopeInjected; private OPAScopeInjection(Builder builder) { this.OPAScopeInjected = builder.OPAScopeInjected; } public static Builder builder() { return new Builder(); } public static OPAScopeInjection create() { return builder().build(); } /** * @return OPAScopeInjected */ public Boolean getOPAScopeInjected() { return this.OPAScopeInjected; } public static final class Builder { private Boolean OPAScopeInjected; /** * Indicates whether the feature of controlling the OPA injection scope is enabled. Valid values: * <p> * * * `true` * * `false` */ public Builder OPAScopeInjected(Boolean OPAScopeInjected) { this.OPAScopeInjected = OPAScopeInjected; return this; } public OPAScopeInjection build() { return new OPAScopeInjection(this); } } } public static class SidecarProxyInitResourceLimit extends TeaModel { @NameInMap("ResourceCPULimit") private String resourceCPULimit; @NameInMap("ResourceMemoryLimit") private String resourceMemoryLimit; private SidecarProxyInitResourceLimit(Builder builder) { this.resourceCPULimit = builder.resourceCPULimit; this.resourceMemoryLimit = builder.resourceMemoryLimit; } public static Builder builder() { return new Builder(); } public static SidecarProxyInitResourceLimit create() { return builder().build(); } /** * @return resourceCPULimit */ public String getResourceCPULimit() { return this.resourceCPULimit; } /** * @return resourceMemoryLimit */ public String getResourceMemoryLimit() { return this.resourceMemoryLimit; } public static final class Builder { private String resourceCPULimit; private String resourceMemoryLimit; /** * The maximum number of CPU cores that are available to the istio-init container. */ public Builder resourceCPULimit(String resourceCPULimit) { this.resourceCPULimit = resourceCPULimit; return this; } /** * The maximum size of the memory that is available to the istio-init container. */ public Builder resourceMemoryLimit(String resourceMemoryLimit) { this.resourceMemoryLimit = resourceMemoryLimit; return this; } public SidecarProxyInitResourceLimit build() { return new SidecarProxyInitResourceLimit(this); } } } public static class SidecarProxyInitResourceRequest extends TeaModel { @NameInMap("ResourceCPURequest") private String resourceCPURequest; @NameInMap("ResourceMemoryRequest") private String resourceMemoryRequest; private SidecarProxyInitResourceRequest(Builder builder) { this.resourceCPURequest = builder.resourceCPURequest; this.resourceMemoryRequest = builder.resourceMemoryRequest; } public static Builder builder() { return new Builder(); } public static SidecarProxyInitResourceRequest create() { return builder().build(); } /** * @return resourceCPURequest */ public String getResourceCPURequest() { return this.resourceCPURequest; } /** * @return resourceMemoryRequest */ public String getResourceMemoryRequest() { return this.resourceMemoryRequest; } public static final class Builder { private String resourceCPURequest; private String resourceMemoryRequest; /** * The number of CPU cores that are requested by the istio-init container. */ public Builder resourceCPURequest(String resourceCPURequest) { this.resourceCPURequest = resourceCPURequest; return this; } /** * The size of the memory that is requested by the istio-init container. */ public Builder resourceMemoryRequest(String resourceMemoryRequest) { this.resourceMemoryRequest = resourceMemoryRequest; return this; } public SidecarProxyInitResourceRequest build() { return new SidecarProxyInitResourceRequest(this); } } } public static class ExtraConfiguration extends TeaModel { @NameInMap("AccessLogExtraConf") private AccessLogExtraConf accessLogExtraConf; @NameInMap("AdaptiveXdsConfiguration") private AdaptiveXdsConfiguration adaptiveXdsConfiguration; @NameInMap("AutoDiagnosis") private AutoDiagnosis autoDiagnosis; @NameInMap("CRAggregationConfiguration") private CRAggregationConfiguration CRAggregationConfiguration; @NameInMap("CRAggregationEnabled") private Boolean CRAggregationEnabled; @NameInMap("DiscoverySelectors") private java.util.List < java.util.Map<String, ?>> discoverySelectors; @NameInMap("IstioCRHistory") private IstioCRHistory istioCRHistory; @NameInMap("Lifecycle") private Lifecycle lifecycle; @NameInMap("MultiBuffer") private MultiBuffer multiBuffer; @NameInMap("NFDConfiguration") private NFDConfiguration NFDConfiguration; @NameInMap("OPAScopeInjection") private OPAScopeInjection OPAScopeInjection; @NameInMap("SidecarProxyInitResourceLimit") private SidecarProxyInitResourceLimit sidecarProxyInitResourceLimit; @NameInMap("SidecarProxyInitResourceRequest") private SidecarProxyInitResourceRequest sidecarProxyInitResourceRequest; @NameInMap("TerminationDrainDuration") private String terminationDrainDuration; private ExtraConfiguration(Builder builder) { this.accessLogExtraConf = builder.accessLogExtraConf; this.adaptiveXdsConfiguration = builder.adaptiveXdsConfiguration; this.autoDiagnosis = builder.autoDiagnosis; this.CRAggregationConfiguration = builder.CRAggregationConfiguration; this.CRAggregationEnabled = builder.CRAggregationEnabled; this.discoverySelectors = builder.discoverySelectors; this.istioCRHistory = builder.istioCRHistory; this.lifecycle = builder.lifecycle; this.multiBuffer = builder.multiBuffer; this.NFDConfiguration = builder.NFDConfiguration; this.OPAScopeInjection = builder.OPAScopeInjection; this.sidecarProxyInitResourceLimit = builder.sidecarProxyInitResourceLimit; this.sidecarProxyInitResourceRequest = builder.sidecarProxyInitResourceRequest; this.terminationDrainDuration = builder.terminationDrainDuration; } public static Builder builder() { return new Builder(); } public static ExtraConfiguration create() { return builder().build(); } /** * @return accessLogExtraConf */ public AccessLogExtraConf getAccessLogExtraConf() { return this.accessLogExtraConf; } /** * @return adaptiveXdsConfiguration */ public AdaptiveXdsConfiguration getAdaptiveXdsConfiguration() { return this.adaptiveXdsConfiguration; } /** * @return autoDiagnosis */ public AutoDiagnosis getAutoDiagnosis() { return this.autoDiagnosis; } /** * @return CRAggregationConfiguration */ public CRAggregationConfiguration getCRAggregationConfiguration() { return this.CRAggregationConfiguration; } /** * @return CRAggregationEnabled */ public Boolean getCRAggregationEnabled() { return this.CRAggregationEnabled; } /** * @return discoverySelectors */ public java.util.List < java.util.Map<String, ?>> getDiscoverySelectors() { return this.discoverySelectors; } /** * @return istioCRHistory */ public IstioCRHistory getIstioCRHistory() { return this.istioCRHistory; } /** * @return lifecycle */ public Lifecycle getLifecycle() { return this.lifecycle; } /** * @return multiBuffer */ public MultiBuffer getMultiBuffer() { return this.multiBuffer; } /** * @return NFDConfiguration */ public NFDConfiguration getNFDConfiguration() { return this.NFDConfiguration; } /** * @return OPAScopeInjection */ public OPAScopeInjection getOPAScopeInjection() { return this.OPAScopeInjection; } /** * @return sidecarProxyInitResourceLimit */ public SidecarProxyInitResourceLimit getSidecarProxyInitResourceLimit() { return this.sidecarProxyInitResourceLimit; } /** * @return sidecarProxyInitResourceRequest */ public SidecarProxyInitResourceRequest getSidecarProxyInitResourceRequest() { return this.sidecarProxyInitResourceRequest; } /** * @return terminationDrainDuration */ public String getTerminationDrainDuration() { return this.terminationDrainDuration; } public static final class Builder { private AccessLogExtraConf accessLogExtraConf; private AdaptiveXdsConfiguration adaptiveXdsConfiguration; private AutoDiagnosis autoDiagnosis; private CRAggregationConfiguration CRAggregationConfiguration; private Boolean CRAggregationEnabled; private java.util.List < java.util.Map<String, ?>> discoverySelectors; private IstioCRHistory istioCRHistory; private Lifecycle lifecycle; private MultiBuffer multiBuffer; private NFDConfiguration NFDConfiguration; private OPAScopeInjection OPAScopeInjection; private SidecarProxyInitResourceLimit sidecarProxyInitResourceLimit; private SidecarProxyInitResourceRequest sidecarProxyInitResourceRequest; private String terminationDrainDuration; /** * The configurations of additional features for access log collection. */ public Builder accessLogExtraConf(AccessLogExtraConf accessLogExtraConf) { this.accessLogExtraConf = accessLogExtraConf; return this; } /** * The configurations of adaptive xDS optimization. */ public Builder adaptiveXdsConfiguration(AdaptiveXdsConfiguration adaptiveXdsConfiguration) { this.adaptiveXdsConfiguration = adaptiveXdsConfiguration; return this; } /** * The configurations of automatic diagnostics for the ASM instance. */ public Builder autoDiagnosis(AutoDiagnosis autoDiagnosis) { this.autoDiagnosis = autoDiagnosis; return this; } /** * Access to Istio resources by using the Kubernetes API on the data plane. */ public Builder CRAggregationConfiguration(CRAggregationConfiguration CRAggregationConfiguration) { this.CRAggregationConfiguration = CRAggregationConfiguration; return this; } /** * Indicates whether the Kubernetes API of clusters on the data plane can be used to access Istio resources. Valid values: * <p> * * * `true` * * `false` */ public Builder CRAggregationEnabled(Boolean CRAggregationEnabled) { this.CRAggregationEnabled = CRAggregationEnabled; return this; } /** * The label selectors used to specify the namespaces of the clusters on the data plane. The control plane discovers and processes only application services in the specified namespaces. */ public Builder discoverySelectors(java.util.List < java.util.Map<String, ?>> discoverySelectors) { this.discoverySelectors = discoverySelectors; return this; } /** * The configurations of the rollback feature for Istio resources. */ public Builder istioCRHistory(IstioCRHistory istioCRHistory) { this.istioCRHistory = istioCRHistory; return this; } /** * The lifecycle of Istio Proxy. */ public Builder lifecycle(Lifecycle lifecycle) { this.lifecycle = lifecycle; return this; } /** * The information about Transport Layer Security (TLS) acceleration based on MulitiBuffer. */ public Builder multiBuffer(MultiBuffer multiBuffer) { this.multiBuffer = multiBuffer; return this; } /** * The configurations of Node Feature Discovery (NFD). */ public Builder NFDConfiguration(NFDConfiguration NFDConfiguration) { this.NFDConfiguration = NFDConfiguration; return this; } /** * The configurations of the feature of controlling the OPA injection scope. */ public Builder OPAScopeInjection(OPAScopeInjection OPAScopeInjection) { this.OPAScopeInjection = OPAScopeInjection; return this; } /** * The resource limits on the istio-init container. */ public Builder sidecarProxyInitResourceLimit(SidecarProxyInitResourceLimit sidecarProxyInitResourceLimit) { this.sidecarProxyInitResourceLimit = sidecarProxyInitResourceLimit; return this; } /** * The resources that are required by the istio-init container. */ public Builder sidecarProxyInitResourceRequest(SidecarProxyInitResourceRequest sidecarProxyInitResourceRequest) { this.sidecarProxyInitResourceRequest = sidecarProxyInitResourceRequest; return this; } /** * The maximum period of time that Istio Proxy waits for a request to end. */ public Builder terminationDrainDuration(String terminationDrainDuration) { this.terminationDrainDuration = terminationDrainDuration; return this; } public ExtraConfiguration build() { return new ExtraConfiguration(this); } } } public static class K8sNewAPIsSupport extends TeaModel { @NameInMap("GatewayAPIEnabled") private Boolean gatewayAPIEnabled; private K8sNewAPIsSupport(Builder builder) { this.gatewayAPIEnabled = builder.gatewayAPIEnabled; } public static Builder builder() { return new Builder(); } public static K8sNewAPIsSupport create() { return builder().build(); } /** * @return gatewayAPIEnabled */ public Boolean getGatewayAPIEnabled() { return this.gatewayAPIEnabled; } public static final class Builder { private Boolean gatewayAPIEnabled; /** * Indicates whether Gateway API is enabled. Valid values: * <p> * * * `true` * * `false` */ public Builder gatewayAPIEnabled(Boolean gatewayAPIEnabled) { this.gatewayAPIEnabled = gatewayAPIEnabled; return this; } public K8sNewAPIsSupport build() { return new K8sNewAPIsSupport(this); } } } public static class Kiali extends TeaModel { @NameInMap("Enabled") private Boolean enabled; @NameInMap("Url") private String url; private Kiali(Builder builder) { this.enabled = builder.enabled; this.url = builder.url; } public static Builder builder() { return new Builder(); } public static Kiali create() { return builder().build(); } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } /** * @return url */ public String getUrl() { return this.url; } public static final class Builder { private Boolean enabled; private String url; /** * Indicates whether mesh topology is enabled. Mesh topology can be enabled only when Prometheus monitoring is enabled. If Prometheus monitoring is disabled, you must set this parameter to `false`.`` Valid values: * <p> * * * `true` * * `false` */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } /** * The endpoint of the mesh topology service. */ public Builder url(String url) { this.url = url; return this; } public Kiali build() { return new Kiali(this); } } } public static class LocalityLB extends TeaModel { @NameInMap("Distribute") private java.util.Map < String, ? > distribute; @NameInMap("Enabled") private Boolean enabled; @NameInMap("Failover") private java.util.Map < String, ? > failover; private LocalityLB(Builder builder) { this.distribute = builder.distribute; this.enabled = builder.enabled; this.failover = builder.failover; } public static Builder builder() { return new Builder(); } public static LocalityLB create() { return builder().build(); } /** * @return distribute */ public java.util.Map < String, ? > getDistribute() { return this.distribute; } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } /** * @return failover */ public java.util.Map < String, ? > getFailover() { return this.failover; } public static final class Builder { private java.util.Map < String, ? > distribute; private Boolean enabled; private java.util.Map < String, ? > failover; /** * The configurations of cross-region traffic distribution. * <p> * * > Either `Failover` or Distribute can be set. If you set `Distribute`, you cannot set Failover. */ public Builder distribute(java.util.Map < String, ? > distribute) { this.distribute = distribute; return this; } /** * Indicates whether cross-region load balancing is enabled. Valid values: * <p> * * * `true` * * `false` */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } /** * The configurations of cross-region failover. * <p> * * > Either Failover or `Distribute` can be set. If you set `Failover`, you cannot set `Distribute`. */ public Builder failover(java.util.Map < String, ? > failover) { this.failover = failover; return this; } public LocalityLB build() { return new LocalityLB(this); } } } public static class MSE extends TeaModel { @NameInMap("Enabled") private Boolean enabled; private MSE(Builder builder) { this.enabled = builder.enabled; } public static Builder builder() { return new Builder(); } public static MSE create() { return builder().build(); } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } public static final class Builder { private Boolean enabled; /** * Indicates whether MSE is enabled. Valid values: * <p> * * * `true` * * `false` */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } public MSE build() { return new MSE(this); } } } public static class OPA extends TeaModel { @NameInMap("Enabled") private Boolean enabled; @NameInMap("LimitCPU") private String limitCPU; @NameInMap("LimitMemory") private String limitMemory; @NameInMap("LogLevel") private String logLevel; @NameInMap("RequestCPU") private String requestCPU; @NameInMap("RequestMemory") private String requestMemory; private OPA(Builder builder) { this.enabled = builder.enabled; this.limitCPU = builder.limitCPU; this.limitMemory = builder.limitMemory; this.logLevel = builder.logLevel; this.requestCPU = builder.requestCPU; this.requestMemory = builder.requestMemory; } public static Builder builder() { return new Builder(); } public static OPA create() { return builder().build(); } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } /** * @return limitCPU */ public String getLimitCPU() { return this.limitCPU; } /** * @return limitMemory */ public String getLimitMemory() { return this.limitMemory; } /** * @return logLevel */ public String getLogLevel() { return this.logLevel; } /** * @return requestCPU */ public String getRequestCPU() { return this.requestCPU; } /** * @return requestMemory */ public String getRequestMemory() { return this.requestMemory; } public static final class Builder { private Boolean enabled; private String limitCPU; private String limitMemory; private String logLevel; private String requestCPU; private String requestMemory; /** * Indicates whether the OPA plug-in is installed. Valid values: * <p> * * * `true` * * `false` */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } /** * The maximum number of CPU cores that are available to the OPA proxy container. */ public Builder limitCPU(String limitCPU) { this.limitCPU = limitCPU; return this; } /** * The maximum size of the memory that is available to the OPA proxy container. */ public Builder limitMemory(String limitMemory) { this.limitMemory = limitMemory; return this; } /** * The level of the logs to be generated for OPA. */ public Builder logLevel(String logLevel) { this.logLevel = logLevel; return this; } /** * The number of CPU cores that are requested by the OPA proxy container. */ public Builder requestCPU(String requestCPU) { this.requestCPU = requestCPU; return this; } /** * The size of the memory that is requested by OPA. */ public Builder requestMemory(String requestMemory) { this.requestMemory = requestMemory; return this; } public OPA build() { return new OPA(this); } } } public static class ConfigSource extends TeaModel { @NameInMap("Enabled") private Boolean enabled; @NameInMap("NacosID") private String nacosID; private ConfigSource(Builder builder) { this.enabled = builder.enabled; this.nacosID = builder.nacosID; } public static Builder builder() { return new Builder(); } public static ConfigSource create() { return builder().build(); } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } /** * @return nacosID */ public String getNacosID() { return this.nacosID; } public static final class Builder { private Boolean enabled; private String nacosID; /** * Indicates whether communication is allowed between external services and services in the mesh. Valid values: * <p> * * * `true` * * `false` */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } /** * The ID of the Nacos instance that provides external service information. */ public Builder nacosID(String nacosID) { this.nacosID = nacosID; return this; } public ConfigSource build() { return new ConfigSource(this); } } } public static class Feature extends TeaModel { @NameInMap("EnableSDSServer") private Boolean enableSDSServer; @NameInMap("FilterGatewayClusterConfig") private Boolean filterGatewayClusterConfig; private Feature(Builder builder) { this.enableSDSServer = builder.enableSDSServer; this.filterGatewayClusterConfig = builder.filterGatewayClusterConfig; } public static Builder builder() { return new Builder(); } public static Feature create() { return builder().build(); } /** * @return enableSDSServer */ public Boolean getEnableSDSServer() { return this.enableSDSServer; } /** * @return filterGatewayClusterConfig */ public Boolean getFilterGatewayClusterConfig() { return this.filterGatewayClusterConfig; } public static final class Builder { private Boolean enableSDSServer; private Boolean filterGatewayClusterConfig; /** * Indicates whether Secret Discovery Service (SDS) is enabled. Valid values: * <p> * * * `true` * * `false` */ public Builder enableSDSServer(Boolean enableSDSServer) { this.enableSDSServer = enableSDSServer; return this; } /** * Indicates whether gateway configuration filtering is enabled. Valid values: * <p> * * * `true` * * `false` */ public Builder filterGatewayClusterConfig(Boolean filterGatewayClusterConfig) { this.filterGatewayClusterConfig = filterGatewayClusterConfig; return this; } public Feature build() { return new Feature(this); } } } public static class Pilot extends TeaModel { @NameInMap("ConfigSource") private ConfigSource configSource; @NameInMap("Feature") private Feature feature; @NameInMap("Http10Enabled") private Boolean http10Enabled; @NameInMap("TraceSampling") private Float traceSampling; private Pilot(Builder builder) { this.configSource = builder.configSource; this.feature = builder.feature; this.http10Enabled = builder.http10Enabled; this.traceSampling = builder.traceSampling; } public static Builder builder() { return new Builder(); } public static Pilot create() { return builder().build(); } /** * @return configSource */ public ConfigSource getConfigSource() { return this.configSource; } /** * @return feature */ public Feature getFeature() { return this.feature; } /** * @return http10Enabled */ public Boolean getHttp10Enabled() { return this.http10Enabled; } /** * @return traceSampling */ public Float getTraceSampling() { return this.traceSampling; } public static final class Builder { private ConfigSource configSource; private Feature feature; private Boolean http10Enabled; private Float traceSampling; /** * The configurations of communication between external services and services in the mesh. */ public Builder configSource(ConfigSource configSource) { this.configSource = configSource; return this; } /** * The configurations of Pilot features. */ public Builder feature(Feature feature) { this.feature = feature; return this; } /** * Indicates whether HTTP/1.0 is supported. Valid values: * <p> * * * `true` * * `false` */ public Builder http10Enabled(Boolean http10Enabled) { this.http10Enabled = http10Enabled; return this; } /** * The sampling percentage of tracing analysis. */ public Builder traceSampling(Float traceSampling) { this.traceSampling = traceSampling; return this; } public Pilot build() { return new Pilot(this); } } } public static class Prometheus extends TeaModel { @NameInMap("ExternalUrl") private String externalUrl; @NameInMap("UseExternal") private Boolean useExternal; private Prometheus(Builder builder) { this.externalUrl = builder.externalUrl; this.useExternal = builder.useExternal; } public static Builder builder() { return new Builder(); } public static Prometheus create() { return builder().build(); } /** * @return externalUrl */ public String getExternalUrl() { return this.externalUrl; } /** * @return useExternal */ public Boolean getUseExternal() { return this.useExternal; } public static final class Builder { private String externalUrl; private Boolean useExternal; /** * The endpoint of Prometheus monitoring. If you use a custom Prometheus instance, this parameter is populated by the system. */ public Builder externalUrl(String externalUrl) { this.externalUrl = externalUrl; return this; } /** * Indicates whether a custom Prometheus instance is used. Valid values: * <p> * * * `true` * * `false` */ public Builder useExternal(Boolean useExternal) { this.useExternal = useExternal; return this; } public Prometheus build() { return new Prometheus(this); } } } public static class ProtocolSupport extends TeaModel { @NameInMap("DubboFilterEnabled") private Boolean dubboFilterEnabled; @NameInMap("MysqlFilterEnabled") private Boolean mysqlFilterEnabled; @NameInMap("RedisFilterEnabled") private Boolean redisFilterEnabled; @NameInMap("ThriftFilterEnabled") private Boolean thriftFilterEnabled; private ProtocolSupport(Builder builder) { this.dubboFilterEnabled = builder.dubboFilterEnabled; this.mysqlFilterEnabled = builder.mysqlFilterEnabled; this.redisFilterEnabled = builder.redisFilterEnabled; this.thriftFilterEnabled = builder.thriftFilterEnabled; } public static Builder builder() { return new Builder(); } public static ProtocolSupport create() { return builder().build(); } /** * @return dubboFilterEnabled */ public Boolean getDubboFilterEnabled() { return this.dubboFilterEnabled; } /** * @return mysqlFilterEnabled */ public Boolean getMysqlFilterEnabled() { return this.mysqlFilterEnabled; } /** * @return redisFilterEnabled */ public Boolean getRedisFilterEnabled() { return this.redisFilterEnabled; } /** * @return thriftFilterEnabled */ public Boolean getThriftFilterEnabled() { return this.thriftFilterEnabled; } public static final class Builder { private Boolean dubboFilterEnabled; private Boolean mysqlFilterEnabled; private Boolean redisFilterEnabled; private Boolean thriftFilterEnabled; /** * Indicates whether Dubbo Filter is enabled. Valid values: * <p> * * * `true` * * `false` */ public Builder dubboFilterEnabled(Boolean dubboFilterEnabled) { this.dubboFilterEnabled = dubboFilterEnabled; return this; } /** * Indicates whether MySQL Filter is enabled. Valid values: * <p> * * * `true` * * `false` */ public Builder mysqlFilterEnabled(Boolean mysqlFilterEnabled) { this.mysqlFilterEnabled = mysqlFilterEnabled; return this; } /** * Indicates whether Redis Filter is enabled. Valid values: * <p> * * * `true` * * `false` */ public Builder redisFilterEnabled(Boolean redisFilterEnabled) { this.redisFilterEnabled = redisFilterEnabled; return this; } /** * Indicates whether Thrift Filter is enabled. Valid values: * <p> * * * `true` * * `false` */ public Builder thriftFilterEnabled(Boolean thriftFilterEnabled) { this.thriftFilterEnabled = thriftFilterEnabled; return this; } public ProtocolSupport build() { return new ProtocolSupport(this); } } } public static class Proxy extends TeaModel { @NameInMap("AccessLogFile") private String accessLogFile; @NameInMap("AccessLogFormat") private String accessLogFormat; @NameInMap("AccessLogServiceEnabled") private Boolean accessLogServiceEnabled; @NameInMap("AccessLogServiceHost") private String accessLogServiceHost; @NameInMap("AccessLogServicePort") private Integer accessLogServicePort; @NameInMap("ClusterDomain") private String clusterDomain; @NameInMap("EnableDNSProxying") private Boolean enableDNSProxying; @NameInMap("LimitCPU") private String limitCPU; @NameInMap("LimitMemory") private String limitMemory; @NameInMap("RequestCPU") private String requestCPU; @NameInMap("RequestMemory") private String requestMemory; private Proxy(Builder builder) { this.accessLogFile = builder.accessLogFile; this.accessLogFormat = builder.accessLogFormat; this.accessLogServiceEnabled = builder.accessLogServiceEnabled; this.accessLogServiceHost = builder.accessLogServiceHost; this.accessLogServicePort = builder.accessLogServicePort; this.clusterDomain = builder.clusterDomain; this.enableDNSProxying = builder.enableDNSProxying; this.limitCPU = builder.limitCPU; this.limitMemory = builder.limitMemory; this.requestCPU = builder.requestCPU; this.requestMemory = builder.requestMemory; } public static Builder builder() { return new Builder(); } public static Proxy create() { return builder().build(); } /** * @return accessLogFile */ public String getAccessLogFile() { return this.accessLogFile; } /** * @return accessLogFormat */ public String getAccessLogFormat() { return this.accessLogFormat; } /** * @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 clusterDomain */ public String getClusterDomain() { return this.clusterDomain; } /** * @return enableDNSProxying */ public Boolean getEnableDNSProxying() { return this.enableDNSProxying; } /** * @return limitCPU */ public String getLimitCPU() { return this.limitCPU; } /** * @return limitMemory */ public String getLimitMemory() { return this.limitMemory; } /** * @return requestCPU */ public String getRequestCPU() { return this.requestCPU; } /** * @return requestMemory */ public String getRequestMemory() { return this.requestMemory; } public static final class Builder { private String accessLogFile; private String accessLogFormat; private Boolean accessLogServiceEnabled; private String accessLogServiceHost; private Integer accessLogServicePort; private String clusterDomain; private Boolean enableDNSProxying; private String limitCPU; private String limitMemory; private String requestCPU; private String requestMemory; /** * The path to the file that stores the access logs of sidecar proxies. */ public Builder accessLogFile(String accessLogFile) { this.accessLogFile = accessLogFile; return this; } /** * The format of the access logs of sidecar proxies. */ public Builder accessLogFormat(String accessLogFormat) { this.accessLogFormat = accessLogFormat; return this; } /** * Indicates whether gRPC Access Log Service (ALS) for Envoy is enabled. Valid values: * <p> * * * `true` * * `false` */ public Builder accessLogServiceEnabled(Boolean accessLogServiceEnabled) { this.accessLogServiceEnabled = accessLogServiceEnabled; return this; } /** * The endpoint of gRPC ALS for Envoy. */ public Builder accessLogServiceHost(String accessLogServiceHost) { this.accessLogServiceHost = accessLogServiceHost; return this; } /** * The port of gRPC ALS for Envoy. */ public Builder accessLogServicePort(Integer accessLogServicePort) { this.accessLogServicePort = accessLogServicePort; return this; } /** * The trusted domain. */ public Builder clusterDomain(String clusterDomain) { this.clusterDomain = clusterDomain; return this; } /** * Indicates whether the Domain Name System (DNS) proxy feature is enabled. Valid values: * <p> * * * `true` * * `false` */ public Builder enableDNSProxying(Boolean enableDNSProxying) { this.enableDNSProxying = enableDNSProxying; return this; } /** * The maximum number of CPU cores. */ public Builder limitCPU(String limitCPU) { this.limitCPU = limitCPU; return this; } /** * The maximum size of the memory. */ public Builder limitMemory(String limitMemory) { this.limitMemory = limitMemory; return this; } /** * The number of CPU cores that are requested. */ public Builder requestCPU(String requestCPU) { this.requestCPU = requestCPU; return this; } /** * The size of the memory that is requested. */ public Builder requestMemory(String requestMemory) { this.requestMemory = requestMemory; return this; } public Proxy build() { return new Proxy(this); } } } public static class InitCNIConfiguration extends TeaModel { @NameInMap("Enabled") private Boolean enabled; @NameInMap("ExcludeNamespaces") private String excludeNamespaces; private InitCNIConfiguration(Builder builder) { this.enabled = builder.enabled; this.excludeNamespaces = builder.excludeNamespaces; } public static Builder builder() { return new Builder(); } public static InitCNIConfiguration create() { return builder().build(); } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } /** * @return excludeNamespaces */ public String getExcludeNamespaces() { return this.excludeNamespaces; } public static final class Builder { private Boolean enabled; private String excludeNamespaces; /** * Indicates whether the CNI plug-in is enabled. Valid values: * <p> * * * `true` * * `false` */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } /** * The namespaces to exclude. The CNI plug-in ignores pods in the excluded namespaces. */ public Builder excludeNamespaces(String excludeNamespaces) { this.excludeNamespaces = excludeNamespaces; return this; } public InitCNIConfiguration build() { return new InitCNIConfiguration(this); } } } public static class SidecarInjector extends TeaModel { @NameInMap("AutoInjectionPolicyEnabled") private Boolean autoInjectionPolicyEnabled; @NameInMap("EnableNamespacesByDefault") private Boolean enableNamespacesByDefault; @NameInMap("InitCNIConfiguration") private InitCNIConfiguration initCNIConfiguration; @NameInMap("LimitCPU") private String limitCPU; @NameInMap("LimitMemory") private String limitMemory; @NameInMap("RequestCPU") private String requestCPU; @NameInMap("RequestMemory") private String requestMemory; @NameInMap("SidecarInjectorNum") private Integer sidecarInjectorNum; @NameInMap("SidecarInjectorWebhookAsYaml") private String sidecarInjectorWebhookAsYaml; private SidecarInjector(Builder builder) { this.autoInjectionPolicyEnabled = builder.autoInjectionPolicyEnabled; this.enableNamespacesByDefault = builder.enableNamespacesByDefault; this.initCNIConfiguration = builder.initCNIConfiguration; this.limitCPU = builder.limitCPU; this.limitMemory = builder.limitMemory; this.requestCPU = builder.requestCPU; this.requestMemory = builder.requestMemory; this.sidecarInjectorNum = builder.sidecarInjectorNum; this.sidecarInjectorWebhookAsYaml = builder.sidecarInjectorWebhookAsYaml; } public static Builder builder() { return new Builder(); } public static SidecarInjector create() { return builder().build(); } /** * @return autoInjectionPolicyEnabled */ public Boolean getAutoInjectionPolicyEnabled() { return this.autoInjectionPolicyEnabled; } /** * @return enableNamespacesByDefault */ public Boolean getEnableNamespacesByDefault() { return this.enableNamespacesByDefault; } /** * @return initCNIConfiguration */ public InitCNIConfiguration getInitCNIConfiguration() { return this.initCNIConfiguration; } /** * @return limitCPU */ public String getLimitCPU() { return this.limitCPU; } /** * @return limitMemory */ public String getLimitMemory() { return this.limitMemory; } /** * @return requestCPU */ public String getRequestCPU() { return this.requestCPU; } /** * @return requestMemory */ public String getRequestMemory() { return this.requestMemory; } /** * @return sidecarInjectorNum */ public Integer getSidecarInjectorNum() { return this.sidecarInjectorNum; } /** * @return sidecarInjectorWebhookAsYaml */ public String getSidecarInjectorWebhookAsYaml() { return this.sidecarInjectorWebhookAsYaml; } public static final class Builder { private Boolean autoInjectionPolicyEnabled; private Boolean enableNamespacesByDefault; private InitCNIConfiguration initCNIConfiguration; private String limitCPU; private String limitMemory; private String requestCPU; private String requestMemory; private Integer sidecarInjectorNum; private String sidecarInjectorWebhookAsYaml; /** * Indicates whether automatic sidecar proxy injection can be enabled by using pod annotations. Valid values: * <p> * * * `true` * * `false` */ public Builder autoInjectionPolicyEnabled(Boolean autoInjectionPolicyEnabled) { this.autoInjectionPolicyEnabled = autoInjectionPolicyEnabled; return this; } /** * Indicates whether automatic sidecar proxy injection is enabled for all namespaces. Valid values: * <p> * * * `true` * * `false` */ public Builder enableNamespacesByDefault(Boolean enableNamespacesByDefault) { this.enableNamespacesByDefault = enableNamespacesByDefault; return this; } /** * The configurations of Container Network Interface (CNI). */ public Builder initCNIConfiguration(InitCNIConfiguration initCNIConfiguration) { this.initCNIConfiguration = initCNIConfiguration; return this; } /** * The maximum number of CPU cores that are available to the pod where the sidecar injector resides. */ public Builder limitCPU(String limitCPU) { this.limitCPU = limitCPU; return this; } /** * The maximum size of the memory that is available to the pod where the sidecar injector resides. */ public Builder limitMemory(String limitMemory) { this.limitMemory = limitMemory; return this; } /** * The number of CPU cores that are requested by the pod where the sidecar injector resides. */ public Builder requestCPU(String requestCPU) { this.requestCPU = requestCPU; return this; } /** * The size of the memory that is requested by the pod where the sidecar injector resides. */ public Builder requestMemory(String requestMemory) { this.requestMemory = requestMemory; return this; } /** * The number of component replicas that are used for sidecar proxy injection. Default value: `1`. */ public Builder sidecarInjectorNum(Integer sidecarInjectorNum) { this.sidecarInjectorNum = sidecarInjectorNum; return this; } /** * Other configurations of automatic sidecar proxy injection, in the YAML format. For more information, see [Enable automatic sidecar proxy injection](~~186136~~). */ public Builder sidecarInjectorWebhookAsYaml(String sidecarInjectorWebhookAsYaml) { this.sidecarInjectorWebhookAsYaml = sidecarInjectorWebhookAsYaml; return this; } public SidecarInjector build() { return new SidecarInjector(this); } } } public static class WebAssemblyFilterDeployment extends TeaModel { @NameInMap("Enabled") private Boolean enabled; private WebAssemblyFilterDeployment(Builder builder) { this.enabled = builder.enabled; } public static Builder builder() { return new Builder(); } public static WebAssemblyFilterDeployment create() { return builder().build(); } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } public static final class Builder { private Boolean enabled; /** * Indicates whether WebAssembly Filter is enabled. Valid values: * <p> * * * `true` * * `false` */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } public WebAssemblyFilterDeployment build() { return new WebAssemblyFilterDeployment(this); } } } public static class MeshConfig extends TeaModel { @NameInMap("AccessLog") private AccessLog accessLog; @NameInMap("Audit") private Audit audit; @NameInMap("ControlPlaneLogInfo") private ControlPlaneLogInfo controlPlaneLogInfo; @NameInMap("CustomizedZipkin") private Boolean customizedZipkin; @NameInMap("Edition") private Edition edition; @NameInMap("EnableLocalityLB") private Boolean enableLocalityLB; @NameInMap("ExcludeIPRanges") private String excludeIPRanges; @NameInMap("ExcludeInboundPorts") private String excludeInboundPorts; @NameInMap("ExcludeOutboundPorts") private String excludeOutboundPorts; @NameInMap("ExtraConfiguration") private ExtraConfiguration extraConfiguration; @NameInMap("IncludeIPRanges") private String includeIPRanges; @NameInMap("K8sNewAPIsSupport") private K8sNewAPIsSupport k8sNewAPIsSupport; @NameInMap("Kiali") private Kiali kiali; @NameInMap("LocalityLB") private LocalityLB localityLB; @NameInMap("MSE") private MSE MSE; @NameInMap("OPA") private OPA OPA; @NameInMap("OutboundTrafficPolicy") private String outboundTrafficPolicy; @NameInMap("Pilot") private Pilot pilot; @NameInMap("Prometheus") private Prometheus prometheus; @NameInMap("ProtocolSupport") private ProtocolSupport protocolSupport; @NameInMap("Proxy") private Proxy proxy; @NameInMap("SidecarInjector") private SidecarInjector sidecarInjector; @NameInMap("Telemetry") private Boolean telemetry; @NameInMap("Tracing") private Boolean tracing; @NameInMap("WebAssemblyFilterDeployment") private WebAssemblyFilterDeployment webAssemblyFilterDeployment; private MeshConfig(Builder builder) { this.accessLog = builder.accessLog; this.audit = builder.audit; this.controlPlaneLogInfo = builder.controlPlaneLogInfo; this.customizedZipkin = builder.customizedZipkin; this.edition = builder.edition; this.enableLocalityLB = builder.enableLocalityLB; this.excludeIPRanges = builder.excludeIPRanges; this.excludeInboundPorts = builder.excludeInboundPorts; this.excludeOutboundPorts = builder.excludeOutboundPorts; this.extraConfiguration = builder.extraConfiguration; this.includeIPRanges = builder.includeIPRanges; this.k8sNewAPIsSupport = builder.k8sNewAPIsSupport; this.kiali = builder.kiali; this.localityLB = builder.localityLB; this.MSE = builder.MSE; this.OPA = builder.OPA; this.outboundTrafficPolicy = builder.outboundTrafficPolicy; this.pilot = builder.pilot; this.prometheus = builder.prometheus; this.protocolSupport = builder.protocolSupport; this.proxy = builder.proxy; this.sidecarInjector = builder.sidecarInjector; this.telemetry = builder.telemetry; this.tracing = builder.tracing; this.webAssemblyFilterDeployment = builder.webAssemblyFilterDeployment; } public static Builder builder() { return new Builder(); } public static MeshConfig create() { return builder().build(); } /** * @return accessLog */ public AccessLog getAccessLog() { return this.accessLog; } /** * @return audit */ public Audit getAudit() { return this.audit; } /** * @return controlPlaneLogInfo */ public ControlPlaneLogInfo getControlPlaneLogInfo() { return this.controlPlaneLogInfo; } /** * @return customizedZipkin */ public Boolean getCustomizedZipkin() { return this.customizedZipkin; } /** * @return edition */ public Edition getEdition() { return this.edition; } /** * @return enableLocalityLB */ public Boolean getEnableLocalityLB() { return this.enableLocalityLB; } /** * @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 extraConfiguration */ public ExtraConfiguration getExtraConfiguration() { return this.extraConfiguration; } /** * @return includeIPRanges */ public String getIncludeIPRanges() { return this.includeIPRanges; } /** * @return k8sNewAPIsSupport */ public K8sNewAPIsSupport getK8sNewAPIsSupport() { return this.k8sNewAPIsSupport; } /** * @return kiali */ public Kiali getKiali() { return this.kiali; } /** * @return localityLB */ public LocalityLB getLocalityLB() { return this.localityLB; } /** * @return MSE */ public MSE getMSE() { return this.MSE; } /** * @return OPA */ public OPA getOPA() { return this.OPA; } /** * @return outboundTrafficPolicy */ public String getOutboundTrafficPolicy() { return this.outboundTrafficPolicy; } /** * @return pilot */ public Pilot getPilot() { return this.pilot; } /** * @return prometheus */ public Prometheus getPrometheus() { return this.prometheus; } /** * @return protocolSupport */ public ProtocolSupport getProtocolSupport() { return this.protocolSupport; } /** * @return proxy */ public Proxy getProxy() { return this.proxy; } /** * @return sidecarInjector */ public SidecarInjector getSidecarInjector() { return this.sidecarInjector; } /** * @return telemetry */ public Boolean getTelemetry() { return this.telemetry; } /** * @return tracing */ public Boolean getTracing() { return this.tracing; } /** * @return webAssemblyFilterDeployment */ public WebAssemblyFilterDeployment getWebAssemblyFilterDeployment() { return this.webAssemblyFilterDeployment; } public static final class Builder { private AccessLog accessLog; private Audit audit; private ControlPlaneLogInfo controlPlaneLogInfo; private Boolean customizedZipkin; private Edition edition; private Boolean enableLocalityLB; private String excludeIPRanges; private String excludeInboundPorts; private String excludeOutboundPorts; private ExtraConfiguration extraConfiguration; private String includeIPRanges; private K8sNewAPIsSupport k8sNewAPIsSupport; private Kiali kiali; private LocalityLB localityLB; private MSE MSE; private OPA OPA; private String outboundTrafficPolicy; private Pilot pilot; private Prometheus prometheus; private ProtocolSupport protocolSupport; private Proxy proxy; private SidecarInjector sidecarInjector; private Boolean telemetry; private Boolean tracing; private WebAssemblyFilterDeployment webAssemblyFilterDeployment; /** * The configurations of access log collection. */ public Builder accessLog(AccessLog accessLog) { this.accessLog = accessLog; return this; } /** * The information about mesh audit. */ public Builder audit(Audit audit) { this.audit = audit; return this; } /** * The configurations of control plane log collection. */ public Builder controlPlaneLogInfo(ControlPlaneLogInfo controlPlaneLogInfo) { this.controlPlaneLogInfo = controlPlaneLogInfo; return this; } /** * Indicates whether a custom Zipkin system is used. Valid values: * <p> * * * `true` * * `false` */ public Builder customizedZipkin(Boolean customizedZipkin) { this.customizedZipkin = customizedZipkin; return this; } /** * The information about the edition. */ public Builder edition(Edition edition) { this.edition = edition; return this; } /** * Indicates whether the feature that routes traffic to the nearest instance is enabled. Valid values: * <p> * * * `true` * * `false` */ public Builder enableLocalityLB(Boolean enableLocalityLB) { this.enableLocalityLB = enableLocalityLB; return this; } /** * The IP ranges in CIDR form to be excluded from redirection to sidecar proxies in the ASM instance. */ public Builder excludeIPRanges(String excludeIPRanges) { this.excludeIPRanges = excludeIPRanges; return this; } /** * The inbound ports to be excluded from redirection to sidecar proxies in the ASM instance. */ public Builder excludeInboundPorts(String excludeInboundPorts) { this.excludeInboundPorts = excludeInboundPorts; return this; } /** * The outbound ports to be excluded from redirection to sidecar proxies in the ASM instance. */ public Builder excludeOutboundPorts(String excludeOutboundPorts) { this.excludeOutboundPorts = excludeOutboundPorts; return this; } /** * The configurations of additional features for the ASM instance. */ public Builder extraConfiguration(ExtraConfiguration extraConfiguration) { this.extraConfiguration = extraConfiguration; return this; } /** * The IP ranges in CIDR form to redirect to the sidecar proxies in the ASM instance. */ public Builder includeIPRanges(String includeIPRanges) { this.includeIPRanges = includeIPRanges; return this; } /** * The information about the Kubernetes API. */ public Builder k8sNewAPIsSupport(K8sNewAPIsSupport k8sNewAPIsSupport) { this.k8sNewAPIsSupport = k8sNewAPIsSupport; return this; } /** * The configurations of mesh topology. */ public Builder kiali(Kiali kiali) { this.kiali = kiali; return this; } /** * The configurations of cross-region load balancing. */ public Builder localityLB(LocalityLB localityLB) { this.localityLB = localityLB; return this; } /** * The configurations of Microservices Engine (MSE). */ public Builder MSE(MSE MSE) { this.MSE = MSE; return this; } /** * The information about the Open Policy Agent (OPA) plug-in. */ public Builder OPA(OPA OPA) { this.OPA = OPA; return this; } /** * The outbound traffic policy. Valid values: * <p> * * * `ALLOW_ANY`: Outbound traffic to all external services is allowed. * * `REGISTRY_ONLY`: Outbound traffic is allowed to only external services that are defined in the service registry of the ASM instance. */ public Builder outboundTrafficPolicy(String outboundTrafficPolicy) { this.outboundTrafficPolicy = outboundTrafficPolicy; return this; } /** * The Pilot configurations. */ public Builder pilot(Pilot pilot) { this.pilot = pilot; return this; } /** * The configurations of Prometheus monitoring. */ public Builder prometheus(Prometheus prometheus) { this.prometheus = prometheus; return this; } /** * The configurations of protocol support. */ public Builder protocolSupport(ProtocolSupport protocolSupport) { this.protocolSupport = protocolSupport; return this; } /** * The proxy configurations. */ public Builder proxy(Proxy proxy) { this.proxy = proxy; return this; } /** * The configurations of the sidecar injector. */ public Builder sidecarInjector(SidecarInjector sidecarInjector) { this.sidecarInjector = sidecarInjector; return this; } /** * Indicates whether Prometheus monitoring is enabled. We recommend that you use [Managed Service for Prometheus](https://arms.console.aliyun.com/). Valid values: * <p> * * * `true` * * `false` */ public Builder telemetry(Boolean telemetry) { this.telemetry = telemetry; return this; } /** * Indicates whether tracing analysis is enabled. This feature can be enabled only after [Managed Service for OpenTelemetry](https://tracing-analysis.console.aliyun.com/) is activated. Valid values: * <p> * * * `true` * * `false` */ public Builder tracing(Boolean tracing) { this.tracing = tracing; return this; } /** * The configurations of WebAssembly Filter. */ public Builder webAssemblyFilterDeployment(WebAssemblyFilterDeployment webAssemblyFilterDeployment) { this.webAssemblyFilterDeployment = webAssemblyFilterDeployment; return this; } public MeshConfig build() { return new MeshConfig(this); } } } public static class Network extends TeaModel { @NameInMap("SecurityGroupId") private String securityGroupId; @NameInMap("VSwitches") private java.util.List < String > vSwitches; @NameInMap("VpcId") private String vpcId; private Network(Builder builder) { this.securityGroupId = builder.securityGroupId; this.vSwitches = builder.vSwitches; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static Network create() { return builder().build(); } /** * @return securityGroupId */ public String getSecurityGroupId() { return this.securityGroupId; } /** * @return vSwitches */ public java.util.List < String > getVSwitches() { return this.vSwitches; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder { private String securityGroupId; private java.util.List < String > vSwitches; private String vpcId; /** * The security group ID. */ public Builder securityGroupId(String securityGroupId) { this.securityGroupId = securityGroupId; return this; } /** * The virtual switches (vSwitches). */ public Builder vSwitches(java.util.List < String > vSwitches) { this.vSwitches = vSwitches; return this; } /** * The ID of the virtual private cloud (VPC). */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } public Network build() { return new Network(this); } } } public static class Spec extends TeaModel { @NameInMap("LoadBalancer") private LoadBalancer loadBalancer; @NameInMap("MeshConfig") private MeshConfig meshConfig; @NameInMap("Network") private Network network; private Spec(Builder builder) { this.loadBalancer = builder.loadBalancer; this.meshConfig = builder.meshConfig; this.network = builder.network; } public static Builder builder() { return new Builder(); } public static Spec create() { return builder().build(); } /** * @return loadBalancer */ public LoadBalancer getLoadBalancer() { return this.loadBalancer; } /** * @return meshConfig */ public MeshConfig getMeshConfig() { return this.meshConfig; } /** * @return network */ public Network getNetwork() { return this.network; } public static final class Builder { private LoadBalancer loadBalancer; private MeshConfig meshConfig; private Network network; /** * The information about load balancing. */ public Builder loadBalancer(LoadBalancer loadBalancer) { this.loadBalancer = loadBalancer; return this; } /** * The configurations of the ASM instance. */ public Builder meshConfig(MeshConfig meshConfig) { this.meshConfig = meshConfig; return this; } /** * The network configurations of the ASM instance. */ public Builder network(Network network) { this.network = network; return this; } public Spec build() { return new Spec(this); } } } public static class ServiceMesh extends TeaModel { @NameInMap("ClusterSpec") private String clusterSpec; @NameInMap("Clusters") private java.util.List < String > clusters; @NameInMap("Endpoints") private Endpoints endpoints; @NameInMap("OwnerId") private String ownerId; @NameInMap("OwnerType") private String ownerType; @NameInMap("ServiceMeshInfo") private ServiceMeshInfo serviceMeshInfo; @NameInMap("Spec") private Spec spec; private ServiceMesh(Builder builder) { this.clusterSpec = builder.clusterSpec; this.clusters = builder.clusters; this.endpoints = builder.endpoints; this.ownerId = builder.ownerId; this.ownerType = builder.ownerType; this.serviceMeshInfo = builder.serviceMeshInfo; this.spec = builder.spec; } public static Builder builder() { return new Builder(); } public static ServiceMesh create() { return builder().build(); } /** * @return clusterSpec */ public String getClusterSpec() { return this.clusterSpec; } /** * @return clusters */ public java.util.List < String > getClusters() { return this.clusters; } /** * @return endpoints */ public Endpoints getEndpoints() { return this.endpoints; } /** * @return ownerId */ public String getOwnerId() { return this.ownerId; } /** * @return ownerType */ public String getOwnerType() { return this.ownerType; } /** * @return serviceMeshInfo */ public ServiceMeshInfo getServiceMeshInfo() { return this.serviceMeshInfo; } /** * @return spec */ public Spec getSpec() { return this.spec; } public static final class Builder { private String clusterSpec; private java.util.List < String > clusters; private Endpoints endpoints; private String ownerId; private String ownerType; private ServiceMeshInfo serviceMeshInfo; private Spec spec; /** * The specification of the ASM instance. Valid values: * <p> * * * `standard`: Standard Edition * * `enterprise`: Enterprise Edition * * `ultimate`: Ultimate Edition */ public Builder clusterSpec(String clusterSpec) { this.clusterSpec = clusterSpec; return this; } /** * The clusters. */ public Builder clusters(java.util.List < String > clusters) { this.clusters = clusters; return this; } /** * The endpoints of the ASM instance. */ public Builder endpoints(Endpoints endpoints) { this.endpoints = endpoints; return this; } /** * The ID of the Alibaba Cloud service instance for which the ASM instance is created. */ public Builder ownerId(String ownerId) { this.ownerId = ownerId; return this; } /** * The Alibaba Cloud service for which the ASM instance is created. Valid values: * <p> * * * `ackone`: The ASM instance is created for Alibaba Cloud Distributed Cloud Container Platform (ACK One). * * An empty value indicates that the ASM instance is created by the user. */ public Builder ownerType(String ownerType) { this.ownerType = ownerType; return this; } /** * The basic information about the ASM instance. */ public Builder serviceMeshInfo(ServiceMeshInfo serviceMeshInfo) { this.serviceMeshInfo = serviceMeshInfo; return this; } /** * The specifications of the ASM instance. */ public Builder spec(Spec spec) { this.spec = spec; return this; } public ServiceMesh build() { return new ServiceMesh(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/DescribeServiceMeshKubeconfigRequest.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 DescribeServiceMeshKubeconfigRequest} extends {@link RequestModel} * * <p>DescribeServiceMeshKubeconfigRequest</p> */ public class DescribeServiceMeshKubeconfigRequest extends Request { @Query @NameInMap("PrivateIpAddress") private Boolean privateIpAddress; @Query @NameInMap("ServiceMeshId") @Validation(required = true) private String serviceMeshId; private DescribeServiceMeshKubeconfigRequest(Builder builder) { super(builder); this.privateIpAddress = builder.privateIpAddress; this.serviceMeshId = builder.serviceMeshId; } public static Builder builder() { return new Builder(); } public static DescribeServiceMeshKubeconfigRequest 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<DescribeServiceMeshKubeconfigRequest, Builder> { private Boolean privateIpAddress; private String serviceMeshId; private Builder() { super(); } private Builder(DescribeServiceMeshKubeconfigRequest request) { super(request); this.privateIpAddress = request.privateIpAddress; this.serviceMeshId = request.serviceMeshId; } /** * Specifies whether to query the kubeconfig file that is used for Internet access or internal network access. */ public Builder privateIpAddress(Boolean privateIpAddress) { this.putQueryParameter("PrivateIpAddress", privateIpAddress); this.privateIpAddress = privateIpAddress; return this; } /** * The ID of the ASM instance. */ public Builder serviceMeshId(String serviceMeshId) { this.putQueryParameter("ServiceMeshId", serviceMeshId); this.serviceMeshId = serviceMeshId; return this; } @Override public DescribeServiceMeshKubeconfigRequest build() { return new DescribeServiceMeshKubeconfigRequest(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/DescribeServiceMeshKubeconfigResponse.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 DescribeServiceMeshKubeconfigResponse} extends {@link TeaModel} * * <p>DescribeServiceMeshKubeconfigResponse</p> */ public class DescribeServiceMeshKubeconfigResponse 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 DescribeServiceMeshKubeconfigResponseBody body; private DescribeServiceMeshKubeconfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeServiceMeshKubeconfigResponse 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 DescribeServiceMeshKubeconfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeServiceMeshKubeconfigResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeServiceMeshKubeconfigResponseBody body); @Override DescribeServiceMeshKubeconfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeServiceMeshKubeconfigResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeServiceMeshKubeconfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeServiceMeshKubeconfigResponse 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(DescribeServiceMeshKubeconfigResponseBody body) { this.body = body; return this; } @Override public DescribeServiceMeshKubeconfigResponse build() { return new DescribeServiceMeshKubeconfigResponse(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/DescribeServiceMeshKubeconfigResponseBody.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 DescribeServiceMeshKubeconfigResponseBody} extends {@link TeaModel} * * <p>DescribeServiceMeshKubeconfigResponseBody</p> */ public class DescribeServiceMeshKubeconfigResponseBody extends TeaModel { @NameInMap("ExpireTime") private String expireTime; @NameInMap("Kubeconfig") private String kubeconfig; @NameInMap("RequestId") private String requestId; private DescribeServiceMeshKubeconfigResponseBody(Builder builder) { this.expireTime = builder.expireTime; this.kubeconfig = builder.kubeconfig; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeServiceMeshKubeconfigResponseBody create() { return builder().build(); } /** * @return expireTime */ public String getExpireTime() { return this.expireTime; } /** * @return kubeconfig */ public String getKubeconfig() { return this.kubeconfig; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String expireTime; private String kubeconfig; private String requestId; /** * The expiration time of the kubeconfig certificate. The format is: YYYY-MM-DD hh: mm: ss. */ public Builder expireTime(String expireTime) { this.expireTime = expireTime; return this; } /** * The content of the kubeconfig file of the cluster. */ public Builder kubeconfig(String kubeconfig) { this.kubeconfig = kubeconfig; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeServiceMeshKubeconfigResponseBody build() { return new DescribeServiceMeshKubeconfigResponseBody(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/DescribeServiceMeshLogsRequest.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 DescribeServiceMeshLogsRequest} extends {@link RequestModel} * * <p>DescribeServiceMeshLogsRequest</p> */ public class DescribeServiceMeshLogsRequest extends Request { @Body @NameInMap("ServiceMeshId") @Validation(required = true) private String serviceMeshId; private DescribeServiceMeshLogsRequest(Builder builder) { super(builder); this.serviceMeshId = builder.serviceMeshId; } public static Builder builder() { return new Builder(); } public static DescribeServiceMeshLogsRequest 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<DescribeServiceMeshLogsRequest, Builder> { private String serviceMeshId; private Builder() { super(); } private Builder(DescribeServiceMeshLogsRequest 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 DescribeServiceMeshLogsRequest build() { return new DescribeServiceMeshLogsRequest(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/DescribeServiceMeshLogsResponse.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 DescribeServiceMeshLogsResponse} extends {@link TeaModel} * * <p>DescribeServiceMeshLogsResponse</p> */ public class DescribeServiceMeshLogsResponse 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 DescribeServiceMeshLogsResponseBody body; private DescribeServiceMeshLogsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeServiceMeshLogsResponse 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 DescribeServiceMeshLogsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeServiceMeshLogsResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeServiceMeshLogsResponseBody body); @Override DescribeServiceMeshLogsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeServiceMeshLogsResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeServiceMeshLogsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeServiceMeshLogsResponse 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(DescribeServiceMeshLogsResponseBody body) { this.body = body; return this; } @Override public DescribeServiceMeshLogsResponse build() { return new DescribeServiceMeshLogsResponse(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/DescribeServiceMeshLogsResponseBody.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 DescribeServiceMeshLogsResponseBody} extends {@link TeaModel} * * <p>DescribeServiceMeshLogsResponseBody</p> */ public class DescribeServiceMeshLogsResponseBody extends TeaModel { @NameInMap("Logs") private java.util.List < Logs> logs; @NameInMap("RequestId") private String requestId; private DescribeServiceMeshLogsResponseBody(Builder builder) { this.logs = builder.logs; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeServiceMeshLogsResponseBody create() { return builder().build(); } /** * @return logs */ public java.util.List < Logs> getLogs() { return this.logs; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List < Logs> logs; private String requestId; /** * The details of the logs. */ public Builder logs(java.util.List < Logs> logs) { this.logs = logs; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeServiceMeshLogsResponseBody build() { return new DescribeServiceMeshLogsResponseBody(this); } } public static class Logs extends TeaModel { @NameInMap("CreationTime") private String creationTime; @NameInMap("Log") private String log; @NameInMap("ServiceMeshId") private String serviceMeshId; private Logs(Builder builder) { this.creationTime = builder.creationTime; this.log = builder.log; this.serviceMeshId = builder.serviceMeshId; } public static Builder builder() { return new Builder(); } public static Logs create() { return builder().build(); } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return log */ public String getLog() { return this.log; } /** * @return serviceMeshId */ public String getServiceMeshId() { return this.serviceMeshId; } public static final class Builder { private String creationTime; private String log; private String serviceMeshId; /** * The point in time when the logs were generated. */ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** * The content of the logs. */ public Builder log(String log) { this.log = log; return this; } /** * The ASM instance ID. */ public Builder serviceMeshId(String serviceMeshId) { this.serviceMeshId = serviceMeshId; return this; } public Logs build() { return new Logs(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/DescribeServiceMeshProxyStatusRequest.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 DescribeServiceMeshProxyStatusRequest} extends {@link RequestModel} * * <p>DescribeServiceMeshProxyStatusRequest</p> */ public class DescribeServiceMeshProxyStatusRequest extends Request { @Body @NameInMap("ServiceMeshId") @Validation(required = true) private String serviceMeshId; private DescribeServiceMeshProxyStatusRequest(Builder builder) { super(builder); this.serviceMeshId = builder.serviceMeshId; } public static Builder builder() { return new Builder(); } public static DescribeServiceMeshProxyStatusRequest 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<DescribeServiceMeshProxyStatusRequest, Builder> { private String serviceMeshId; private Builder() { super(); } private Builder(DescribeServiceMeshProxyStatusRequest 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 DescribeServiceMeshProxyStatusRequest build() { return new DescribeServiceMeshProxyStatusRequest(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/DescribeServiceMeshProxyStatusResponse.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 DescribeServiceMeshProxyStatusResponse} extends {@link TeaModel} * * <p>DescribeServiceMeshProxyStatusResponse</p> */ public class DescribeServiceMeshProxyStatusResponse 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 DescribeServiceMeshProxyStatusResponseBody body; private DescribeServiceMeshProxyStatusResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeServiceMeshProxyStatusResponse 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 DescribeServiceMeshProxyStatusResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeServiceMeshProxyStatusResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeServiceMeshProxyStatusResponseBody body); @Override DescribeServiceMeshProxyStatusResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeServiceMeshProxyStatusResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeServiceMeshProxyStatusResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeServiceMeshProxyStatusResponse 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(DescribeServiceMeshProxyStatusResponseBody body) { this.body = body; return this; } @Override public DescribeServiceMeshProxyStatusResponse build() { return new DescribeServiceMeshProxyStatusResponse(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/DescribeServiceMeshProxyStatusResponseBody.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 DescribeServiceMeshProxyStatusResponseBody} extends {@link TeaModel} * * <p>DescribeServiceMeshProxyStatusResponseBody</p> */ public class DescribeServiceMeshProxyStatusResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("Message") private String message; @NameInMap("ProxyStatus") private java.util.List < ProxyStatus> proxyStatus; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private String success; private DescribeServiceMeshProxyStatusResponseBody(Builder builder) { this.code = builder.code; this.message = builder.message; this.proxyStatus = builder.proxyStatus; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static DescribeServiceMeshProxyStatusResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return message */ public String getMessage() { return this.message; } /** * @return proxyStatus */ public java.util.List < ProxyStatus> getProxyStatus() { return this.proxyStatus; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public String getSuccess() { return this.success; } public static final class Builder { private String code; private String message; private java.util.List < ProxyStatus> proxyStatus; private String requestId; private String success; /** * The status code. Valid values: * <p> * * `200`: The operation is successful. * * * `403`: You are not authorized to perform this operation. * * `503`: A backend server error occurs. */ public Builder code(String code) { this.code = code; return this; } /** * The returned message. */ public Builder message(String message) { this.message = message; return this; } /** * The information about the status of the proxies on the data plane. */ public Builder proxyStatus(java.util.List < ProxyStatus> proxyStatus) { this.proxyStatus = proxyStatus; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Indicates whether the request was successful. */ public Builder success(String success) { this.success = success; return this; } public DescribeServiceMeshProxyStatusResponseBody build() { return new DescribeServiceMeshProxyStatusResponseBody(this); } } public static class ProxyStatus extends TeaModel { @NameInMap("ClusterSynced") private String clusterSynced; @NameInMap("EndpointPercent") private String endpointPercent; @NameInMap("EndpointSynced") private String endpointSynced; @NameInMap("IstioVersion") private String istioVersion; @NameInMap("ListenerSynced") private String listenerSynced; @NameInMap("ProxyId") private String proxyId; @NameInMap("ProxyVersion") private String proxyVersion; @NameInMap("RouteSynced") private String routeSynced; private ProxyStatus(Builder builder) { this.clusterSynced = builder.clusterSynced; this.endpointPercent = builder.endpointPercent; this.endpointSynced = builder.endpointSynced; this.istioVersion = builder.istioVersion; this.listenerSynced = builder.listenerSynced; this.proxyId = builder.proxyId; this.proxyVersion = builder.proxyVersion; this.routeSynced = builder.routeSynced; } public static Builder builder() { return new Builder(); } public static ProxyStatus create() { return builder().build(); } /** * @return clusterSynced */ public String getClusterSynced() { return this.clusterSynced; } /** * @return endpointPercent */ public String getEndpointPercent() { return this.endpointPercent; } /** * @return endpointSynced */ public String getEndpointSynced() { return this.endpointSynced; } /** * @return istioVersion */ public String getIstioVersion() { return this.istioVersion; } /** * @return listenerSynced */ public String getListenerSynced() { return this.listenerSynced; } /** * @return proxyId */ public String getProxyId() { return this.proxyId; } /** * @return proxyVersion */ public String getProxyVersion() { return this.proxyVersion; } /** * @return routeSynced */ public String getRouteSynced() { return this.routeSynced; } public static final class Builder { private String clusterSynced; private String endpointPercent; private String endpointSynced; private String istioVersion; private String listenerSynced; private String proxyId; private String proxyVersion; private String routeSynced; /** * The update status of the proxy. Valid values: * <p> * * * `SYNCED`: The status of the proxy is updated. * * `NOT SENT`: The status of the proxy is not updated. * * `STALE (Never Acknowledged)`: Istiod has sent multiple requests to the Envoy proxy to update the status of the proxy but receives no response. * * `STALE`: Istiod has sent a request to the Envoy proxy to update the status of the proxy but receives no response. */ public Builder clusterSynced(String clusterSynced) { this.clusterSynced = clusterSynced; return this; } /** * The percentage of the updated endpoints. */ public Builder endpointPercent(String endpointPercent) { this.endpointPercent = endpointPercent; return this; } /** * The update status of the endpoint. Valid values: * <p> * * * `SYNCED`: The status of the endpoint is updated. * * `NOT SENT`: The status of the endpoint is not updated. * * `STALE (Never Acknowledged)`: Istiod has sent multiple requests to the Envoy proxy to update the status of the endpoint but receives no response. * * `STALE`: Istiod has sent a request to the Envoy proxy to update the status of the endpoint but receives no response. */ public Builder endpointSynced(String endpointSynced) { this.endpointSynced = endpointSynced; return this; } /** * The version of Istiod. */ public Builder istioVersion(String istioVersion) { this.istioVersion = istioVersion; return this; } /** * The update status of the listener. Valid values: * <p> * * * `SYNCED`: The status of the listener is updated. * * `NOT SENT`: The status of the listener is not updated. * * `STALE (Never Acknowledged)`: Istiod has sent multiple requests to the Envoy proxy to update the status of the listener but receives no response. * * `STALE`: Istiod has sent a request to the Envoy proxy to update the status of the listener but receives no response. */ public Builder listenerSynced(String listenerSynced) { this.listenerSynced = listenerSynced; return this; } /** * The ID of the proxy on the data plane. */ public Builder proxyId(String proxyId) { this.proxyId = proxyId; return this; } /** * The version number of a proxy on the data plane. */ public Builder proxyVersion(String proxyVersion) { this.proxyVersion = proxyVersion; return this; } /** * The update status of the route. Valid values: * <p> * * * `SYNCED`: The status of the route is updated. * * `NOT SENT`: The status of the route is not updated. * * `STALE (Never Acknowledged)`: Istiod has sent multiple requests to the Envoy proxy to update the status of the route but receives no response. * * `STALE`: Istiod has sent a request to the Envoy proxy to update the status of the route but receives no response. */ public Builder routeSynced(String routeSynced) { this.routeSynced = routeSynced; return this; } public ProxyStatus build() { return new ProxyStatus(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/DescribeServiceMeshUpgradeStatusRequest.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 DescribeServiceMeshUpgradeStatusRequest} extends {@link RequestModel} * * <p>DescribeServiceMeshUpgradeStatusRequest</p> */ public class DescribeServiceMeshUpgradeStatusRequest extends Request { @Body @NameInMap("AllIstioGatewayFullNames") private String allIstioGatewayFullNames; @Body @NameInMap("GuestClusterIds") private String guestClusterIds; @Query @NameInMap("ServiceMeshId") @Validation(required = true) private String serviceMeshId; private DescribeServiceMeshUpgradeStatusRequest(Builder builder) { super(builder); this.allIstioGatewayFullNames = builder.allIstioGatewayFullNames; this.guestClusterIds = builder.guestClusterIds; this.serviceMeshId = builder.serviceMeshId; } public static Builder builder() { return new Builder(); } public static DescribeServiceMeshUpgradeStatusRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return allIstioGatewayFullNames */ public String getAllIstioGatewayFullNames() { return this.allIstioGatewayFullNames; } /** * @return guestClusterIds */ public String getGuestClusterIds() { return this.guestClusterIds; } /** * @return serviceMeshId */ public String getServiceMeshId() { return this.serviceMeshId; } public static final class Builder extends Request.Builder<DescribeServiceMeshUpgradeStatusRequest, Builder> { private String allIstioGatewayFullNames; private String guestClusterIds; private String serviceMeshId; private Builder() { super(); } private Builder(DescribeServiceMeshUpgradeStatusRequest request) { super(request); this.allIstioGatewayFullNames = request.allIstioGatewayFullNames; this.guestClusterIds = request.guestClusterIds; this.serviceMeshId = request.serviceMeshId; } /** * The fully qualified names of ingress gateways in the ASM instance. Separate multiple names with commas (,). */ public Builder allIstioGatewayFullNames(String allIstioGatewayFullNames) { this.putBodyParameter("AllIstioGatewayFullNames", allIstioGatewayFullNames); this.allIstioGatewayFullNames = allIstioGatewayFullNames; return this; } /** * The IDs of the clusters on the data plane of the ASM instance. Separate multiple clusters with commas (,). */ public Builder guestClusterIds(String guestClusterIds) { this.putBodyParameter("GuestClusterIds", guestClusterIds); this.guestClusterIds = guestClusterIds; return this; } /** * The ASM instance ID. */ public Builder serviceMeshId(String serviceMeshId) { this.putQueryParameter("ServiceMeshId", serviceMeshId); this.serviceMeshId = serviceMeshId; return this; } @Override public DescribeServiceMeshUpgradeStatusRequest build() { return new DescribeServiceMeshUpgradeStatusRequest(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/DescribeServiceMeshUpgradeStatusResponse.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 DescribeServiceMeshUpgradeStatusResponse} extends {@link TeaModel} * * <p>DescribeServiceMeshUpgradeStatusResponse</p> */ public class DescribeServiceMeshUpgradeStatusResponse 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 DescribeServiceMeshUpgradeStatusResponseBody body; private DescribeServiceMeshUpgradeStatusResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeServiceMeshUpgradeStatusResponse 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 DescribeServiceMeshUpgradeStatusResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeServiceMeshUpgradeStatusResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeServiceMeshUpgradeStatusResponseBody body); @Override DescribeServiceMeshUpgradeStatusResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeServiceMeshUpgradeStatusResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeServiceMeshUpgradeStatusResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeServiceMeshUpgradeStatusResponse 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(DescribeServiceMeshUpgradeStatusResponseBody body) { this.body = body; return this; } @Override public DescribeServiceMeshUpgradeStatusResponse build() { return new DescribeServiceMeshUpgradeStatusResponse(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/DescribeServiceMeshUpgradeStatusResponseBody.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 DescribeServiceMeshUpgradeStatusResponseBody} extends {@link TeaModel} * * <p>DescribeServiceMeshUpgradeStatusResponseBody</p> */ public class DescribeServiceMeshUpgradeStatusResponseBody extends TeaModel { @NameInMap("RequestId") private String requestId; @NameInMap("UpgradeDetail") private UpgradeDetail upgradeDetail; private DescribeServiceMeshUpgradeStatusResponseBody(Builder builder) { this.requestId = builder.requestId; this.upgradeDetail = builder.upgradeDetail; } public static Builder builder() { return new Builder(); } public static DescribeServiceMeshUpgradeStatusResponseBody create() { return builder().build(); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return upgradeDetail */ public UpgradeDetail getUpgradeDetail() { return this.upgradeDetail; } public static final class Builder { private String requestId; private UpgradeDetail upgradeDetail; /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The upgrade results. */ public Builder upgradeDetail(UpgradeDetail upgradeDetail) { this.upgradeDetail = upgradeDetail; return this; } public DescribeServiceMeshUpgradeStatusResponseBody build() { return new DescribeServiceMeshUpgradeStatusResponseBody(this); } } public static class UpgradeDetail extends TeaModel { @NameInMap("FinishedGatewaysNum") private Long finishedGatewaysNum; @NameInMap("GatewayStatusRecord") private java.util.Map < String, UpgradeDetailGatewayStatusRecordValue > gatewayStatusRecord; @NameInMap("MeshStatus") private String meshStatus; @NameInMap("TotalGatewaysNum") private Long totalGatewaysNum; private UpgradeDetail(Builder builder) { this.finishedGatewaysNum = builder.finishedGatewaysNum; this.gatewayStatusRecord = builder.gatewayStatusRecord; this.meshStatus = builder.meshStatus; this.totalGatewaysNum = builder.totalGatewaysNum; } public static Builder builder() { return new Builder(); } public static UpgradeDetail create() { return builder().build(); } /** * @return finishedGatewaysNum */ public Long getFinishedGatewaysNum() { return this.finishedGatewaysNum; } /** * @return gatewayStatusRecord */ public java.util.Map < String, UpgradeDetailGatewayStatusRecordValue > getGatewayStatusRecord() { return this.gatewayStatusRecord; } /** * @return meshStatus */ public String getMeshStatus() { return this.meshStatus; } /** * @return totalGatewaysNum */ public Long getTotalGatewaysNum() { return this.totalGatewaysNum; } public static final class Builder { private Long finishedGatewaysNum; private java.util.Map < String, UpgradeDetailGatewayStatusRecordValue > gatewayStatusRecord; private String meshStatus; private Long totalGatewaysNum; /** * The number of ingress gateways that are upgraded. */ public Builder finishedGatewaysNum(Long finishedGatewaysNum) { this.finishedGatewaysNum = finishedGatewaysNum; return this; } /** * The information about the status of the ingress gateways. */ public Builder gatewayStatusRecord(java.util.Map < String, UpgradeDetailGatewayStatusRecordValue > gatewayStatusRecord) { this.gatewayStatusRecord = gatewayStatusRecord; return this; } /** * The status of the ASM instance. Valid values: * <p> * * * running: The instance is running. * * `upgrading`: The instance is being upgraded. * * `upgrading_failed`: The upgrade of the instance fails. */ public Builder meshStatus(String meshStatus) { this.meshStatus = meshStatus; return this; } /** * The total number of ingress gateways in the ASM instance. */ public Builder totalGatewaysNum(Long totalGatewaysNum) { this.totalGatewaysNum = totalGatewaysNum; return this; } public UpgradeDetail build() { return new UpgradeDetail(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/DescribeServiceMeshVMsRequest.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 DescribeServiceMeshVMsRequest} extends {@link RequestModel} * * <p>DescribeServiceMeshVMsRequest</p> */ public class DescribeServiceMeshVMsRequest extends Request { @Query @NameInMap("ServiceMeshId") @Validation(required = true) private String serviceMeshId; private DescribeServiceMeshVMsRequest(Builder builder) { super(builder); this.serviceMeshId = builder.serviceMeshId; } public static Builder builder() { return new Builder(); } public static DescribeServiceMeshVMsRequest 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<DescribeServiceMeshVMsRequest, Builder> { private String serviceMeshId; private Builder() { super(); } private Builder(DescribeServiceMeshVMsRequest 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 DescribeServiceMeshVMsRequest build() { return new DescribeServiceMeshVMsRequest(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/DescribeServiceMeshVMsResponse.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 DescribeServiceMeshVMsResponse} extends {@link TeaModel} * * <p>DescribeServiceMeshVMsResponse</p> */ public class DescribeServiceMeshVMsResponse 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 DescribeServiceMeshVMsResponseBody body; private DescribeServiceMeshVMsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeServiceMeshVMsResponse 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 DescribeServiceMeshVMsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeServiceMeshVMsResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeServiceMeshVMsResponseBody body); @Override DescribeServiceMeshVMsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeServiceMeshVMsResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeServiceMeshVMsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeServiceMeshVMsResponse 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(DescribeServiceMeshVMsResponseBody body) { this.body = body; return this; } @Override public DescribeServiceMeshVMsResponse build() { return new DescribeServiceMeshVMsResponse(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/DescribeServiceMeshVMsResponseBody.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 DescribeServiceMeshVMsResponseBody} extends {@link TeaModel} * * <p>DescribeServiceMeshVMsResponseBody</p> */ public class DescribeServiceMeshVMsResponseBody extends TeaModel { @NameInMap("RequestId") private String requestId; @NameInMap("VMs") private java.util.List < VMs> vMs; private DescribeServiceMeshVMsResponseBody(Builder builder) { this.requestId = builder.requestId; this.vMs = builder.vMs; } public static Builder builder() { return new Builder(); } public static DescribeServiceMeshVMsResponseBody create() { return builder().build(); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return vMs */ public java.util.List < VMs> getVMs() { return this.vMs; } public static final class Builder { private String requestId; private java.util.List < VMs> vMs; /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The ECS instances that reside in the same VPC as the ASM instance. */ public Builder vMs(java.util.List < VMs> vMs) { this.vMs = vMs; return this; } public DescribeServiceMeshVMsResponseBody build() { return new DescribeServiceMeshVMsResponseBody(this); } } public static class VMs extends TeaModel { @NameInMap("HasTag") private Boolean hasTag; @NameInMap("HostName") private String hostName; @NameInMap("InstanceId") private String instanceId; @NameInMap("IpAddress") private String ipAddress; @NameInMap("Region") private String region; @NameInMap("SecurityGroupIds") private String securityGroupIds; @NameInMap("ServiceMeshId") private String serviceMeshId; @NameInMap("Status") private String status; private VMs(Builder builder) { this.hasTag = builder.hasTag; this.hostName = builder.hostName; this.instanceId = builder.instanceId; this.ipAddress = builder.ipAddress; this.region = builder.region; this.securityGroupIds = builder.securityGroupIds; this.serviceMeshId = builder.serviceMeshId; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static VMs create() { return builder().build(); } /** * @return hasTag */ public Boolean getHasTag() { return this.hasTag; } /** * @return hostName */ public String getHostName() { return this.hostName; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return ipAddress */ public String getIpAddress() { return this.ipAddress; } /** * @return region */ public String getRegion() { return this.region; } /** * @return securityGroupIds */ public String getSecurityGroupIds() { return this.securityGroupIds; } /** * @return serviceMeshId */ public String getServiceMeshId() { return this.serviceMeshId; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private Boolean hasTag; private String hostName; private String instanceId; private String ipAddress; private String region; private String securityGroupIds; private String serviceMeshId; private String status; /** * Indicates whether the ECS instance has labels. */ public Builder hasTag(Boolean hasTag) { this.hasTag = hasTag; return this; } /** * The host name. */ public Builder hostName(String hostName) { this.hostName = hostName; return this; } /** * The ID of the ECS instance. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * The IP address of the ECS instance. */ public Builder ipAddress(String ipAddress) { this.ipAddress = ipAddress; return this; } /** * The region ID. */ public Builder region(String region) { this.region = region; return this; } /** * The security group to which the ECS instance belongs. */ public Builder securityGroupIds(String securityGroupIds) { this.securityGroupIds = securityGroupIds; return this; } /** * The ASM instance ID. */ public Builder serviceMeshId(String serviceMeshId) { this.serviceMeshId = serviceMeshId; return this; } /** * The state of the ECS instance. */ public Builder status(String status) { this.status = status; return this; } public VMs build() { return new VMs(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/DescribeServiceMeshesRequest.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 DescribeServiceMeshesRequest} extends {@link RequestModel} * * <p>DescribeServiceMeshesRequest</p> */ public class DescribeServiceMeshesRequest extends Request { @Query @NameInMap("Tag") private java.util.List < Tag> tag; private DescribeServiceMeshesRequest(Builder builder) { super(builder); this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static DescribeServiceMeshesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return tag */ public java.util.List < Tag> getTag() { return this.tag; } public static final class Builder extends Request.Builder<DescribeServiceMeshesRequest, Builder> { private java.util.List < Tag> tag; private Builder() { super(); } private Builder(DescribeServiceMeshesRequest request) { super(request); this.tag = request.tag; } /** * Tag. */ public Builder tag(java.util.List < Tag> tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } @Override public DescribeServiceMeshesRequest build() { return new DescribeServiceMeshesRequest(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; /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Value. */ 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/DescribeServiceMeshesResponse.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 DescribeServiceMeshesResponse} extends {@link TeaModel} * * <p>DescribeServiceMeshesResponse</p> */ public class DescribeServiceMeshesResponse 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 DescribeServiceMeshesResponseBody body; private DescribeServiceMeshesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeServiceMeshesResponse 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 DescribeServiceMeshesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeServiceMeshesResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeServiceMeshesResponseBody body); @Override DescribeServiceMeshesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeServiceMeshesResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeServiceMeshesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeServiceMeshesResponse 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(DescribeServiceMeshesResponseBody body) { this.body = body; return this; } @Override public DescribeServiceMeshesResponse build() { return new DescribeServiceMeshesResponse(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/DescribeServiceMeshesResponseBody.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 DescribeServiceMeshesResponseBody} extends {@link TeaModel} * * <p>DescribeServiceMeshesResponseBody</p> */ public class DescribeServiceMeshesResponseBody extends TeaModel { @NameInMap("RequestId") private String requestId; @NameInMap("ServiceMeshes") private java.util.List < ServiceMeshes> serviceMeshes; private DescribeServiceMeshesResponseBody(Builder builder) { this.requestId = builder.requestId; this.serviceMeshes = builder.serviceMeshes; } public static Builder builder() { return new Builder(); } public static DescribeServiceMeshesResponseBody create() { return builder().build(); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return serviceMeshes */ public java.util.List < ServiceMeshes> getServiceMeshes() { return this.serviceMeshes; } public static final class Builder { private String requestId; private java.util.List < ServiceMeshes> serviceMeshes; /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The information about the ASM instances. */ public Builder serviceMeshes(java.util.List < ServiceMeshes> serviceMeshes) { this.serviceMeshes = serviceMeshes; return this; } public DescribeServiceMeshesResponseBody build() { return new DescribeServiceMeshesResponseBody(this); } } public static class Endpoints extends TeaModel { @NameInMap("IntranetApiServerEndpoint") private String intranetApiServerEndpoint; @NameInMap("IntranetPilotEndpoint") private String intranetPilotEndpoint; @NameInMap("PublicApiServerEndpoint") private String publicApiServerEndpoint; @NameInMap("PublicPilotEndpoint") private String publicPilotEndpoint; @NameInMap("ReverseTunnelEndpoint") private String reverseTunnelEndpoint; private Endpoints(Builder builder) { this.intranetApiServerEndpoint = builder.intranetApiServerEndpoint; this.intranetPilotEndpoint = builder.intranetPilotEndpoint; this.publicApiServerEndpoint = builder.publicApiServerEndpoint; this.publicPilotEndpoint = builder.publicPilotEndpoint; this.reverseTunnelEndpoint = builder.reverseTunnelEndpoint; } public static Builder builder() { return new Builder(); } public static Endpoints create() { return builder().build(); } /** * @return intranetApiServerEndpoint */ public String getIntranetApiServerEndpoint() { return this.intranetApiServerEndpoint; } /** * @return intranetPilotEndpoint */ public String getIntranetPilotEndpoint() { return this.intranetPilotEndpoint; } /** * @return publicApiServerEndpoint */ public String getPublicApiServerEndpoint() { return this.publicApiServerEndpoint; } /** * @return publicPilotEndpoint */ public String getPublicPilotEndpoint() { return this.publicPilotEndpoint; } /** * @return reverseTunnelEndpoint */ public String getReverseTunnelEndpoint() { return this.reverseTunnelEndpoint; } public static final class Builder { private String intranetApiServerEndpoint; private String intranetPilotEndpoint; private String publicApiServerEndpoint; private String publicPilotEndpoint; private String reverseTunnelEndpoint; /** * The endpoint that is used to access the API server over the internal network. */ public Builder intranetApiServerEndpoint(String intranetApiServerEndpoint) { this.intranetApiServerEndpoint = intranetApiServerEndpoint; return this; } /** * The endpoint that is used to access Istio Pilot from the internal network. */ public Builder intranetPilotEndpoint(String intranetPilotEndpoint) { this.intranetPilotEndpoint = intranetPilotEndpoint; return this; } /** * The endpoint that is used to access the API server over the Internet. */ public Builder publicApiServerEndpoint(String publicApiServerEndpoint) { this.publicApiServerEndpoint = publicApiServerEndpoint; return this; } /** * The endpoint that is used to expose Istio Pilot to the Internet. */ public Builder publicPilotEndpoint(String publicPilotEndpoint) { this.publicPilotEndpoint = publicPilotEndpoint; return this; } /** * The endpoint of the reverse tunnel. */ public Builder reverseTunnelEndpoint(String reverseTunnelEndpoint) { this.reverseTunnelEndpoint = reverseTunnelEndpoint; return this; } public Endpoints build() { return new Endpoints(this); } } } public static class ServiceMeshInfo extends TeaModel { @NameInMap("CreationTime") private String creationTime; @NameInMap("ErrorMessage") private String errorMessage; @NameInMap("Name") private String name; @NameInMap("Profile") private String profile; @NameInMap("RegionId") private String regionId; @NameInMap("ServiceMeshId") private String serviceMeshId; @NameInMap("State") private String state; @NameInMap("UpdateTime") private String updateTime; @NameInMap("Version") private String version; private ServiceMeshInfo(Builder builder) { this.creationTime = builder.creationTime; this.errorMessage = builder.errorMessage; this.name = builder.name; this.profile = builder.profile; this.regionId = builder.regionId; this.serviceMeshId = builder.serviceMeshId; this.state = builder.state; this.updateTime = builder.updateTime; this.version = builder.version; } public static Builder builder() { return new Builder(); } public static ServiceMeshInfo create() { return builder().build(); } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return errorMessage */ public String getErrorMessage() { return this.errorMessage; } /** * @return name */ public String getName() { return this.name; } /** * @return profile */ public String getProfile() { return this.profile; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return serviceMeshId */ public String getServiceMeshId() { return this.serviceMeshId; } /** * @return state */ public String getState() { return this.state; } /** * @return updateTime */ public String getUpdateTime() { return this.updateTime; } /** * @return version */ public String getVersion() { return this.version; } public static final class Builder { private String creationTime; private String errorMessage; private String name; private String profile; private String regionId; private String serviceMeshId; private String state; private String updateTime; private String version; /** * The time when the ASM instance was created. */ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** * The error message. */ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } /** * The name of the ASM instance. */ public Builder name(String name) { this.name = name; return this; } /** * The edition of the ASM instance before ASM is available for commercial use. Valid values: * <p> * * * `Pro`: Professional Edition * * `Default`: Standard Edition */ public Builder profile(String profile) { this.profile = profile; return this; } /** * The region ID of the ASM instance. */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * The ID of the ASM instance. */ public Builder serviceMeshId(String serviceMeshId) { this.serviceMeshId = serviceMeshId; return this; } /** * The state of the ASM instance. */ public Builder state(String state) { this.state = state; return this; } /** * The time when the ASM instance was last modified. */ public Builder updateTime(String updateTime) { this.updateTime = updateTime; return this; } /** * The version number of the ASM instance. */ public Builder version(String version) { this.version = version; return this; } public ServiceMeshInfo build() { return new ServiceMeshInfo(this); } } } public static class LoadBalancer extends TeaModel { @NameInMap("ApiServerLoadbalancerId") private String apiServerLoadbalancerId; @NameInMap("ApiServerPublicEip") private Boolean apiServerPublicEip; @NameInMap("PilotPublicEip") private Boolean pilotPublicEip; @NameInMap("PilotPublicLoadbalancerId") private String pilotPublicLoadbalancerId; private LoadBalancer(Builder builder) { this.apiServerLoadbalancerId = builder.apiServerLoadbalancerId; this.apiServerPublicEip = builder.apiServerPublicEip; this.pilotPublicEip = builder.pilotPublicEip; this.pilotPublicLoadbalancerId = builder.pilotPublicLoadbalancerId; } public static Builder builder() { return new Builder(); } public static LoadBalancer create() { return builder().build(); } /** * @return apiServerLoadbalancerId */ public String getApiServerLoadbalancerId() { return this.apiServerLoadbalancerId; } /** * @return apiServerPublicEip */ public Boolean getApiServerPublicEip() { return this.apiServerPublicEip; } /** * @return pilotPublicEip */ public Boolean getPilotPublicEip() { return this.pilotPublicEip; } /** * @return pilotPublicLoadbalancerId */ public String getPilotPublicLoadbalancerId() { return this.pilotPublicLoadbalancerId; } public static final class Builder { private String apiServerLoadbalancerId; private Boolean apiServerPublicEip; private Boolean pilotPublicEip; private String pilotPublicLoadbalancerId; /** * The ID of the SLB instance that is used when the API server is exposed to the Internet. */ public Builder apiServerLoadbalancerId(String apiServerLoadbalancerId) { this.apiServerLoadbalancerId = apiServerLoadbalancerId; return this; } /** * Indicates whether the API server is exposed to the Internet. Valid values: * <p> * * * `true` * * `false` */ public Builder apiServerPublicEip(Boolean apiServerPublicEip) { this.apiServerPublicEip = apiServerPublicEip; return this; } /** * Indicates whether Istio Pilot is exposed to the Internet. Valid values: * <p> * * * `true` * * `false` */ public Builder pilotPublicEip(Boolean pilotPublicEip) { this.pilotPublicEip = pilotPublicEip; return this; } /** * The ID of the Server Load Balancer (SLB) instance that is used when Istio Pilot is exposed to the Internet. */ public Builder pilotPublicLoadbalancerId(String pilotPublicLoadbalancerId) { this.pilotPublicLoadbalancerId = pilotPublicLoadbalancerId; return this; } public LoadBalancer build() { return new LoadBalancer(this); } } } public static class Pilot extends TeaModel { @NameInMap("Http10Enabled") private Boolean http10Enabled; @NameInMap("TraceSampling") private Float traceSampling; private Pilot(Builder builder) { this.http10Enabled = builder.http10Enabled; this.traceSampling = builder.traceSampling; } public static Builder builder() { return new Builder(); } public static Pilot create() { return builder().build(); } /** * @return http10Enabled */ public Boolean getHttp10Enabled() { return this.http10Enabled; } /** * @return traceSampling */ public Float getTraceSampling() { return this.traceSampling; } public static final class Builder { private Boolean http10Enabled; private Float traceSampling; /** * Indicates whether the support for HTTP 1.0 is enabled. Valid values: * <p> * * * `true` * * `false` */ public Builder http10Enabled(Boolean http10Enabled) { this.http10Enabled = http10Enabled; return this; } /** * The sampling rate when Tracing Analysis is enabled. */ public Builder traceSampling(Float traceSampling) { this.traceSampling = traceSampling; return this; } public Pilot build() { return new Pilot(this); } } } public static class InitCNIConfiguration extends TeaModel { @NameInMap("Enabled") private Boolean enabled; @NameInMap("ExcludeNamespaces") private String excludeNamespaces; private InitCNIConfiguration(Builder builder) { this.enabled = builder.enabled; this.excludeNamespaces = builder.excludeNamespaces; } public static Builder builder() { return new Builder(); } public static InitCNIConfiguration create() { return builder().build(); } /** * @return enabled */ public Boolean getEnabled() { return this.enabled; } /** * @return excludeNamespaces */ public String getExcludeNamespaces() { return this.excludeNamespaces; } public static final class Builder { private Boolean enabled; private String excludeNamespaces; /** * Indicates whether elevated privileges are required for the istio-init container when you perform traffic redirection for the istio-proxy container. Valid values: * <p> * * * `true` * * `false` */ public Builder enabled(Boolean enabled) { this.enabled = enabled; return this; } /** * The namespace for which sidecar proxy injection is disabled. */ public Builder excludeNamespaces(String excludeNamespaces) { this.excludeNamespaces = excludeNamespaces; return this; } public InitCNIConfiguration build() { return new InitCNIConfiguration(this); } } } public static class SidecarInjector extends TeaModel { @NameInMap("AutoInjectionPolicyEnabled") private Boolean autoInjectionPolicyEnabled; @NameInMap("EnableNamespacesByDefault") private Boolean enableNamespacesByDefault; @NameInMap("InitCNIConfiguration") private InitCNIConfiguration initCNIConfiguration; private SidecarInjector(Builder builder) { this.autoInjectionPolicyEnabled = builder.autoInjectionPolicyEnabled; this.enableNamespacesByDefault = builder.enableNamespacesByDefault; this.initCNIConfiguration = builder.initCNIConfiguration; } public static Builder builder() { return new Builder(); } public static SidecarInjector create() { return builder().build(); } /** * @return autoInjectionPolicyEnabled */ public Boolean getAutoInjectionPolicyEnabled() { return this.autoInjectionPolicyEnabled; } /** * @return enableNamespacesByDefault */ public Boolean getEnableNamespacesByDefault() { return this.enableNamespacesByDefault; } /** * @return initCNIConfiguration */ public InitCNIConfiguration getInitCNIConfiguration() { return this.initCNIConfiguration; } public static final class Builder { private Boolean autoInjectionPolicyEnabled; private Boolean enableNamespacesByDefault; private InitCNIConfiguration initCNIConfiguration; /** * Indicates whether automatic sidecar proxy injection is enabled by using annotations. */ public Builder autoInjectionPolicyEnabled(Boolean autoInjectionPolicyEnabled) { this.autoInjectionPolicyEnabled = autoInjectionPolicyEnabled; return this; } /** * Indicates whether automatic sidecar proxy injection is enabled for all namespaces. Valid values: * <p> * * * `true` * * `false` */ public Builder enableNamespacesByDefault(Boolean enableNamespacesByDefault) { this.enableNamespacesByDefault = enableNamespacesByDefault; return this; } /** * The initial configurations of Container Network Interface (CNI). */ public Builder initCNIConfiguration(InitCNIConfiguration initCNIConfiguration) { this.initCNIConfiguration = initCNIConfiguration; return this; } public SidecarInjector build() { return new SidecarInjector(this); } } } public static class MeshConfig extends TeaModel { @NameInMap("Mtls") private Boolean mtls; @NameInMap("OutboundTrafficPolicy") private String outboundTrafficPolicy; @NameInMap("Pilot") private Pilot pilot; @NameInMap("SidecarInjector") private SidecarInjector sidecarInjector; @NameInMap("StrictMtls") private Boolean strictMtls; @NameInMap("Telemetry") private Boolean telemetry; @NameInMap("Tracing") private Boolean tracing; private MeshConfig(Builder builder) { this.mtls = builder.mtls; this.outboundTrafficPolicy = builder.outboundTrafficPolicy; this.pilot = builder.pilot; this.sidecarInjector = builder.sidecarInjector; this.strictMtls = builder.strictMtls; this.telemetry = builder.telemetry; this.tracing = builder.tracing; } public static Builder builder() { return new Builder(); } public static MeshConfig create() { return builder().build(); } /** * @return mtls */ public Boolean getMtls() { return this.mtls; } /** * @return outboundTrafficPolicy */ public String getOutboundTrafficPolicy() { return this.outboundTrafficPolicy; } /** * @return pilot */ public Pilot getPilot() { return this.pilot; } /** * @return sidecarInjector */ public SidecarInjector getSidecarInjector() { return this.sidecarInjector; } /** * @return strictMtls */ public Boolean getStrictMtls() { return this.strictMtls; } /** * @return telemetry */ public Boolean getTelemetry() { return this.telemetry; } /** * @return tracing */ public Boolean getTracing() { return this.tracing; } public static final class Builder { private Boolean mtls; private String outboundTrafficPolicy; private Pilot pilot; private SidecarInjector sidecarInjector; private Boolean strictMtls; private Boolean telemetry; private Boolean tracing; /** * Indicates whether nearby access is enabled. Valid values: * <p> * * * `true` * * `false` */ public Builder mtls(Boolean mtls) { this.mtls = mtls; return this; } /** * The outbound traffic policy. Valid values: * <p> * * * `ALLOW_ANY`: Outbound traffic to an external service is allowed. * * `REGISTRY_ONLY`: Outbound traffic is allowed to only external services that are defined in the service registry of the ASM instance. */ public Builder outboundTrafficPolicy(String outboundTrafficPolicy) { this.outboundTrafficPolicy = outboundTrafficPolicy; return this; } /** * The configurations of the control plane. */ public Builder pilot(Pilot pilot) { this.pilot = pilot; return this; } /** * The configurations of sidecar proxy injection. */ public Builder sidecarInjector(SidecarInjector sidecarInjector) { this.sidecarInjector = sidecarInjector; return this; } /** * Indicates whether mutual Transport Layer Security (mTLS) is strictly enforced. */ public Builder strictMtls(Boolean strictMtls) { this.strictMtls = strictMtls; return this; } /** * Indicates whether Prometheus monitoring is enabled. We recommend that you use Managed Service for Prometheus. Valid values: * <p> * * * `true` * * `false` */ public Builder telemetry(Boolean telemetry) { this.telemetry = telemetry; return this; } /** * Indicates whether the tracing feature is enabled. This feature can be enabled only after Tracing Analysis is activated. Valid values: * <p> * * * `true` * * `false` */ public Builder tracing(Boolean tracing) { this.tracing = tracing; return this; } public MeshConfig build() { return new MeshConfig(this); } } } public static class Network extends TeaModel { @NameInMap("SecurityGroupId") private String securityGroupId; @NameInMap("VSwitches") private java.util.List < String > vSwitches; @NameInMap("VpcId") private String vpcId; private Network(Builder builder) { this.securityGroupId = builder.securityGroupId; this.vSwitches = builder.vSwitches; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static Network create() { return builder().build(); } /** * @return securityGroupId */ public String getSecurityGroupId() { return this.securityGroupId; } /** * @return vSwitches */ public java.util.List < String > getVSwitches() { return this.vSwitches; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder { private String securityGroupId; private java.util.List < String > vSwitches; private String vpcId; /** * The ID of the security group. */ public Builder securityGroupId(String securityGroupId) { this.securityGroupId = securityGroupId; return this; } /** * The IDs of the vSwitches. */ public Builder vSwitches(java.util.List < String > vSwitches) { this.vSwitches = vSwitches; return this; } /** * The ID of the virtual private cloud (VPC). */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } public Network build() { return new Network(this); } } } public static class Spec extends TeaModel { @NameInMap("LoadBalancer") private LoadBalancer loadBalancer; @NameInMap("MeshConfig") private MeshConfig meshConfig; @NameInMap("Network") private Network network; private Spec(Builder builder) { this.loadBalancer = builder.loadBalancer; this.meshConfig = builder.meshConfig; this.network = builder.network; } public static Builder builder() { return new Builder(); } public static Spec create() { return builder().build(); } /** * @return loadBalancer */ public LoadBalancer getLoadBalancer() { return this.loadBalancer; } /** * @return meshConfig */ public MeshConfig getMeshConfig() { return this.meshConfig; } /** * @return network */ public Network getNetwork() { return this.network; } public static final class Builder { private LoadBalancer loadBalancer; private MeshConfig meshConfig; private Network network; /** * The information about load balancing. */ public Builder loadBalancer(LoadBalancer loadBalancer) { this.loadBalancer = loadBalancer; return this; } /** * The configurations of the ASM instance. */ public Builder meshConfig(MeshConfig meshConfig) { this.meshConfig = meshConfig; return this; } /** * The network configurations of the ASM instance. */ public Builder network(Network network) { this.network = network; return this; } public Spec build() { return new Spec(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; /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } public static class ServiceMeshes extends TeaModel { @NameInMap("ClusterSpec") private String clusterSpec; @NameInMap("Clusters") private java.util.List < String > clusters; @NameInMap("Endpoints") private Endpoints endpoints; @NameInMap("OwnerId") private String ownerId; @NameInMap("OwnerType") private String ownerType; @NameInMap("ServiceMeshInfo") private ServiceMeshInfo serviceMeshInfo; @NameInMap("Spec") private Spec spec; @NameInMap("Tag") private java.util.List < Tag> tag; @NameInMap("Upgradable") private Boolean upgradable; private ServiceMeshes(Builder builder) { this.clusterSpec = builder.clusterSpec; this.clusters = builder.clusters; this.endpoints = builder.endpoints; this.ownerId = builder.ownerId; this.ownerType = builder.ownerType; this.serviceMeshInfo = builder.serviceMeshInfo; this.spec = builder.spec; this.tag = builder.tag; this.upgradable = builder.upgradable; } public static Builder builder() { return new Builder(); } public static ServiceMeshes create() { return builder().build(); } /** * @return clusterSpec */ public String getClusterSpec() { return this.clusterSpec; } /** * @return clusters */ public java.util.List < String > getClusters() { return this.clusters; } /** * @return endpoints */ public Endpoints getEndpoints() { return this.endpoints; } /** * @return ownerId */ public String getOwnerId() { return this.ownerId; } /** * @return ownerType */ public String getOwnerType() { return this.ownerType; } /** * @return serviceMeshInfo */ public ServiceMeshInfo getServiceMeshInfo() { return this.serviceMeshInfo; } /** * @return spec */ public Spec getSpec() { return this.spec; } /** * @return tag */ public java.util.List < Tag> getTag() { return this.tag; } /** * @return upgradable */ public Boolean getUpgradable() { return this.upgradable; } public static final class Builder { private String clusterSpec; private java.util.List < String > clusters; private Endpoints endpoints; private String ownerId; private String ownerType; private ServiceMeshInfo serviceMeshInfo; private Spec spec; private java.util.List < Tag> tag; private Boolean upgradable; /** * The edition of the ASM instance. Valid values: * <p> * * * `standard`: Standard Edition * * `enterprise`: Enterprise Edition * * `ultimate`: Ultimate Edition */ public Builder clusterSpec(String clusterSpec) { this.clusterSpec = clusterSpec; return this; } /** * The clusters. */ public Builder clusters(java.util.List < String > clusters) { this.clusters = clusters; return this; } /** * The information about all endpoints of the ASM instances. */ public Builder endpoints(Endpoints endpoints) { this.endpoints = endpoints; return this; } /** * The ID of the Alibaba Cloud service instance for which the ASM instance is created. */ public Builder ownerId(String ownerId) { this.ownerId = ownerId; return this; } /** * The Alibaba Cloud service for which the ASM instance is created. Valid values: * <p> * * * `ackone`: The ASM instance is created for Alibaba Cloud Distributed Cloud Container Platform (ACK One). * * An empty value indicates that the ASM instance is created by the user. */ public Builder ownerType(String ownerType) { this.ownerType = ownerType; return this; } /** * The basic information about the ASM instances. */ public Builder serviceMeshInfo(ServiceMeshInfo serviceMeshInfo) { this.serviceMeshInfo = serviceMeshInfo; return this; } /** * The specifications of the ASM instance. */ public Builder spec(Spec spec) { this.spec = spec; return this; } /** * Tag. */ public Builder tag(java.util.List < Tag> tag) { this.tag = tag; return this; } /** * Upgradable. */ public Builder upgradable(Boolean upgradable) { this.upgradable = upgradable; return this; } public ServiceMeshes build() { return new ServiceMeshes(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/DescribeUpgradeVersionRequest.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 DescribeUpgradeVersionRequest} extends {@link RequestModel} * * <p>DescribeUpgradeVersionRequest</p> */ public class DescribeUpgradeVersionRequest extends Request { @Query @NameInMap("ServiceMeshId") @Validation(required = true) private String serviceMeshId; private DescribeUpgradeVersionRequest(Builder builder) { super(builder); this.serviceMeshId = builder.serviceMeshId; } public static Builder builder() { return new Builder(); } public static DescribeUpgradeVersionRequest 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<DescribeUpgradeVersionRequest, Builder> { private String serviceMeshId; private Builder() { super(); } private Builder(DescribeUpgradeVersionRequest 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 DescribeUpgradeVersionRequest build() { return new DescribeUpgradeVersionRequest(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/DescribeUpgradeVersionResponse.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 DescribeUpgradeVersionResponse} extends {@link TeaModel} * * <p>DescribeUpgradeVersionResponse</p> */ public class DescribeUpgradeVersionResponse 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 DescribeUpgradeVersionResponseBody body; private DescribeUpgradeVersionResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeUpgradeVersionResponse 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 DescribeUpgradeVersionResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeUpgradeVersionResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeUpgradeVersionResponseBody body); @Override DescribeUpgradeVersionResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeUpgradeVersionResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeUpgradeVersionResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeUpgradeVersionResponse 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(DescribeUpgradeVersionResponseBody body) { this.body = body; return this; } @Override public DescribeUpgradeVersionResponse build() { return new DescribeUpgradeVersionResponse(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/DescribeUpgradeVersionResponseBody.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 DescribeUpgradeVersionResponseBody} extends {@link TeaModel} * * <p>DescribeUpgradeVersionResponseBody</p> */ public class DescribeUpgradeVersionResponseBody extends TeaModel { @NameInMap("RequestId") private String requestId; @NameInMap("Version") private Version version; private DescribeUpgradeVersionResponseBody(Builder builder) { this.requestId = builder.requestId; this.version = builder.version; } public static Builder builder() { return new Builder(); } public static DescribeUpgradeVersionResponseBody create() { return builder().build(); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return version */ public Version getVersion() { return this.version; } public static final class Builder { private String requestId; private Version version; /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The version information. */ public Builder version(Version version) { this.version = version; return this; } public DescribeUpgradeVersionResponseBody build() { return new DescribeUpgradeVersionResponseBody(this); } } public static class Version extends TeaModel { @NameInMap("IstioOperatorVersion") private String istioOperatorVersion; @NameInMap("IstioVersion") private String istioVersion; @NameInMap("KubernetesVersion") private String kubernetesVersion; private Version(Builder builder) { this.istioOperatorVersion = builder.istioOperatorVersion; this.istioVersion = builder.istioVersion; this.kubernetesVersion = builder.kubernetesVersion; } public static Builder builder() { return new Builder(); } public static Version create() { return builder().build(); } /** * @return istioOperatorVersion */ public String getIstioOperatorVersion() { return this.istioOperatorVersion; } /** * @return istioVersion */ public String getIstioVersion() { return this.istioVersion; } /** * @return kubernetesVersion */ public String getKubernetesVersion() { return this.kubernetesVersion; } public static final class Builder { private String istioOperatorVersion; private String istioVersion; private String kubernetesVersion; /** * The version of the ASM instance. */ public Builder istioOperatorVersion(String istioOperatorVersion) { this.istioOperatorVersion = istioOperatorVersion; return this; } /** * The Istio version. */ public Builder istioVersion(String istioVersion) { this.istioVersion = istioVersion; return this; } /** * The Kubernetes version. */ public Builder kubernetesVersion(String kubernetesVersion) { this.kubernetesVersion = kubernetesVersion; return this; } public Version build() { return new Version(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/DescribeUserPermissionsRequest.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 DescribeUserPermissionsRequest} extends {@link RequestModel} * * <p>DescribeUserPermissionsRequest</p> */ public class DescribeUserPermissionsRequest extends Request { @Body @NameInMap("SubAccountUserId") @Validation(required = true) private String subAccountUserId; private DescribeUserPermissionsRequest(Builder builder) { super(builder); this.subAccountUserId = builder.subAccountUserId; } public static Builder builder() { return new Builder(); } public static DescribeUserPermissionsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return subAccountUserId */ public String getSubAccountUserId() { return this.subAccountUserId; } public static final class Builder extends Request.Builder<DescribeUserPermissionsRequest, Builder> { private String subAccountUserId; private Builder() { super(); } private Builder(DescribeUserPermissionsRequest request) { super(request); this.subAccountUserId = request.subAccountUserId; } /** * The ID of a RAM user or RAM role. */ public Builder subAccountUserId(String subAccountUserId) { this.putBodyParameter("SubAccountUserId", subAccountUserId); this.subAccountUserId = subAccountUserId; return this; } @Override public DescribeUserPermissionsRequest build() { return new DescribeUserPermissionsRequest(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/DescribeUserPermissionsResponse.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 DescribeUserPermissionsResponse} extends {@link TeaModel} * * <p>DescribeUserPermissionsResponse</p> */ public class DescribeUserPermissionsResponse 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 DescribeUserPermissionsResponseBody body; private DescribeUserPermissionsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeUserPermissionsResponse 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 DescribeUserPermissionsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeUserPermissionsResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeUserPermissionsResponseBody body); @Override DescribeUserPermissionsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeUserPermissionsResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeUserPermissionsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeUserPermissionsResponse 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(DescribeUserPermissionsResponseBody body) { this.body = body; return this; } @Override public DescribeUserPermissionsResponse build() { return new DescribeUserPermissionsResponse(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/DescribeUserPermissionsResponseBody.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 DescribeUserPermissionsResponseBody} extends {@link TeaModel} * * <p>DescribeUserPermissionsResponseBody</p> */ public class DescribeUserPermissionsResponseBody extends TeaModel { @NameInMap("Permissions") private java.util.List < Permissions> permissions; @NameInMap("RequestId") private String requestId; private DescribeUserPermissionsResponseBody(Builder builder) { this.permissions = builder.permissions; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeUserPermissionsResponseBody create() { return builder().build(); } /** * @return permissions */ public java.util.List < Permissions> getPermissions() { return this.permissions; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List < Permissions> permissions; private String requestId; /** * The permissions that are granted to an entity. */ public Builder permissions(java.util.List < Permissions> permissions) { this.permissions = permissions; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeUserPermissionsResponseBody build() { return new DescribeUserPermissionsResponseBody(this); } } public static class Permissions extends TeaModel { @NameInMap("IsRamRole") private String isRamRole; @NameInMap("ParentId") private String parentId; @NameInMap("ResourceId") private String resourceId; @NameInMap("ResourceType") private String resourceType; @NameInMap("RoleName") private String roleName; @NameInMap("RoleType") private String roleType; private Permissions(Builder builder) { this.isRamRole = builder.isRamRole; this.parentId = builder.parentId; this.resourceId = builder.resourceId; this.resourceType = builder.resourceType; this.roleName = builder.roleName; this.roleType = builder.roleType; } public static Builder builder() { return new Builder(); } public static Permissions create() { return builder().build(); } /** * @return isRamRole */ public String getIsRamRole() { return this.isRamRole; } /** * @return parentId */ public String getParentId() { return this.parentId; } /** * @return resourceId */ public String getResourceId() { return this.resourceId; } /** * @return resourceType */ public String getResourceType() { return this.resourceType; } /** * @return roleName */ public String getRoleName() { return this.roleName; } /** * @return roleType */ public String getRoleType() { return this.roleType; } public static final class Builder { private String isRamRole; private String parentId; private String resourceId; private String resourceType; private String roleName; private String roleType; /** * The entity to which the permissions are granted. A value of `true` indicates that the permissions are granted to a RAM user. A value of `false` indicates that the permissions are granted to a RAM role. */ public Builder isRamRole(String isRamRole) { this.isRamRole = isRamRole; return this; } /** * The value is fixed as `0`. */ public Builder parentId(String parentId) { this.parentId = parentId; return this; } /** * The ID of the ASM instance. */ public Builder resourceId(String resourceId) { this.resourceId = resourceId; return this; } /** * The value is fixed as `cluster`. */ public Builder resourceType(String resourceType) { this.resourceType = resourceType; return this; } /** * The name of the permissions. Valid values: * <p> * * * `istio-admin`: the permissions of ASM administrators. * * `istio-ops`: the permissions of ASM restricted users. * * `istio-readonly`: the read-only permissions. */ public Builder roleName(String roleName) { this.roleName = roleName; return this; } /** * The value is fixed as `custom`. */ public Builder roleType(String roleType) { this.roleType = roleType; return this; } public Permissions build() { return new Permissions(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/DescribeUsersWithPermissionsRequest.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 DescribeUsersWithPermissionsRequest} extends {@link RequestModel} * * <p>DescribeUsersWithPermissionsRequest</p> */ public class DescribeUsersWithPermissionsRequest extends Request { @Body @NameInMap("UserType") @Validation(required = true) private String userType; private DescribeUsersWithPermissionsRequest(Builder builder) { super(builder); this.userType = builder.userType; } public static Builder builder() { return new Builder(); } public static DescribeUsersWithPermissionsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return userType */ public String getUserType() { return this.userType; } public static final class Builder extends Request.Builder<DescribeUsersWithPermissionsRequest, Builder> { private String userType; private Builder() { super(); } private Builder(DescribeUsersWithPermissionsRequest request) { super(request); this.userType = request.userType; } /** * Specifies whether to query the IDs of all RAM users or RAM roles to which an RBAC role is assigned. Valid values: * <p> * * * `SubUser`: Query the IDs of all RAM users to which an RBAC role is assigned. * * `RamRole`: Query the IDs of all RAM roles to which an RBAC role is assigned. */ public Builder userType(String userType) { this.putBodyParameter("UserType", userType); this.userType = userType; return this; } @Override public DescribeUsersWithPermissionsRequest build() { return new DescribeUsersWithPermissionsRequest(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/DescribeUsersWithPermissionsResponse.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 DescribeUsersWithPermissionsResponse} extends {@link TeaModel} * * <p>DescribeUsersWithPermissionsResponse</p> */ public class DescribeUsersWithPermissionsResponse 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 DescribeUsersWithPermissionsResponseBody body; private DescribeUsersWithPermissionsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeUsersWithPermissionsResponse 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 DescribeUsersWithPermissionsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeUsersWithPermissionsResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeUsersWithPermissionsResponseBody body); @Override DescribeUsersWithPermissionsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeUsersWithPermissionsResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeUsersWithPermissionsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeUsersWithPermissionsResponse 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(DescribeUsersWithPermissionsResponseBody body) { this.body = body; return this; } @Override public DescribeUsersWithPermissionsResponse build() { return new DescribeUsersWithPermissionsResponse(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/DescribeUsersWithPermissionsResponseBody.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 DescribeUsersWithPermissionsResponseBody} extends {@link TeaModel} * * <p>DescribeUsersWithPermissionsResponseBody</p> */ public class DescribeUsersWithPermissionsResponseBody extends TeaModel { @NameInMap("RequestId") private String requestId; @NameInMap("UIDs") private java.util.List < String > UIDs; private DescribeUsersWithPermissionsResponseBody(Builder builder) { this.requestId = builder.requestId; this.UIDs = builder.UIDs; } public static Builder builder() { return new Builder(); } public static DescribeUsersWithPermissionsResponseBody create() { return builder().build(); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return UIDs */ public java.util.List < String > getUIDs() { return this.UIDs; } public static final class Builder { private String requestId; private java.util.List < String > UIDs; /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The list of the IDs of the RAM users or RAM roles to which an RBAC role is assigned. */ public Builder UIDs(java.util.List < String > UIDs) { this.UIDs = UIDs; return this; } public DescribeUsersWithPermissionsResponseBody build() { return new DescribeUsersWithPermissionsResponseBody(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/DescribeVMsInServiceMeshRequest.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 DescribeVMsInServiceMeshRequest} extends {@link RequestModel} * * <p>DescribeVMsInServiceMeshRequest</p> */ public class DescribeVMsInServiceMeshRequest extends Request { @Query @NameInMap("ServiceMeshId") @Validation(required = true) private String serviceMeshId; private DescribeVMsInServiceMeshRequest(Builder builder) { super(builder); this.serviceMeshId = builder.serviceMeshId; } public static Builder builder() { return new Builder(); } public static DescribeVMsInServiceMeshRequest 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<DescribeVMsInServiceMeshRequest, Builder> { private String serviceMeshId; private Builder() { super(); } private Builder(DescribeVMsInServiceMeshRequest 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 DescribeVMsInServiceMeshRequest build() { return new DescribeVMsInServiceMeshRequest(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/DescribeVMsInServiceMeshResponse.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 DescribeVMsInServiceMeshResponse} extends {@link TeaModel} * * <p>DescribeVMsInServiceMeshResponse</p> */ public class DescribeVMsInServiceMeshResponse 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 DescribeVMsInServiceMeshResponseBody body; private DescribeVMsInServiceMeshResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVMsInServiceMeshResponse 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 DescribeVMsInServiceMeshResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVMsInServiceMeshResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeVMsInServiceMeshResponseBody body); @Override DescribeVMsInServiceMeshResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVMsInServiceMeshResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeVMsInServiceMeshResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVMsInServiceMeshResponse 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(DescribeVMsInServiceMeshResponseBody body) { this.body = body; return this; } @Override public DescribeVMsInServiceMeshResponse build() { return new DescribeVMsInServiceMeshResponse(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/DescribeVMsInServiceMeshResponseBody.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 DescribeVMsInServiceMeshResponseBody} extends {@link TeaModel} * * <p>DescribeVMsInServiceMeshResponseBody</p> */ public class DescribeVMsInServiceMeshResponseBody extends TeaModel { @NameInMap("RequestId") private String requestId; @NameInMap("VMs") private java.util.List < VMs> vMs; private DescribeVMsInServiceMeshResponseBody(Builder builder) { this.requestId = builder.requestId; this.vMs = builder.vMs; } public static Builder builder() { return new Builder(); } public static DescribeVMsInServiceMeshResponseBody create() { return builder().build(); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return vMs */ public java.util.List < VMs> getVMs() { return this.vMs; } public static final class Builder { private String requestId; private java.util.List < VMs> vMs; /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The VMs that are added to the ASM instance. */ public Builder vMs(java.util.List < VMs> vMs) { this.vMs = vMs; return this; } public DescribeVMsInServiceMeshResponseBody build() { return new DescribeVMsInServiceMeshResponseBody(this); } } public static class VMs extends TeaModel { @NameInMap("HasTag") private Boolean hasTag; @NameInMap("HostName") private String hostName; @NameInMap("InstanceId") private String instanceId; @NameInMap("IpAddress") private String ipAddress; @NameInMap("Region") private String region; @NameInMap("SecurityGroupIds") private String securityGroupIds; @NameInMap("Status") private String status; private VMs(Builder builder) { this.hasTag = builder.hasTag; this.hostName = builder.hostName; this.instanceId = builder.instanceId; this.ipAddress = builder.ipAddress; this.region = builder.region; this.securityGroupIds = builder.securityGroupIds; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static VMs create() { return builder().build(); } /** * @return hasTag */ public Boolean getHasTag() { return this.hasTag; } /** * @return hostName */ public String getHostName() { return this.hostName; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return ipAddress */ public String getIpAddress() { return this.ipAddress; } /** * @return region */ public String getRegion() { return this.region; } /** * @return securityGroupIds */ public String getSecurityGroupIds() { return this.securityGroupIds; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private Boolean hasTag; private String hostName; private String instanceId; private String ipAddress; private String region; private String securityGroupIds; private String status; /** * Indicates whether the ECS instance has labels. */ public Builder hasTag(Boolean hasTag) { this.hasTag = hasTag; return this; } /** * The host name. */ public Builder hostName(String hostName) { this.hostName = hostName; return this; } /** * The ID of the ECS instance. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * The IP address of the ECS instance. */ public Builder ipAddress(String ipAddress) { this.ipAddress = ipAddress; return this; } /** * The region ID. */ public Builder region(String region) { this.region = region; return this; } /** * The security group to which the ECS instance belongs. */ public Builder securityGroupIds(String securityGroupIds) { this.securityGroupIds = securityGroupIds; return this; } /** * The state of the ECS instance. */ public Builder status(String status) { this.status = status; return this; } public VMs build() { return new VMs(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/DescribeVSwitchesRequest.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 DescribeVSwitchesRequest} extends {@link RequestModel} * * <p>DescribeVSwitchesRequest</p> */ public class DescribeVSwitchesRequest extends Request { @Body @NameInMap("RegionId") @Validation(required = true) private String regionId; @Body @NameInMap("VpcId") @Validation(required = true) private String vpcId; private DescribeVSwitchesRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static DescribeVSwitchesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder extends Request.Builder<DescribeVSwitchesRequest, Builder> { private String regionId; private String vpcId; private Builder() { super(); } private Builder(DescribeVSwitchesRequest request) { super(request); this.regionId = request.regionId; this.vpcId = request.vpcId; } /** * The region ID. */ public Builder regionId(String regionId) { this.putBodyParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * The VPC ID. */ public Builder vpcId(String vpcId) { this.putBodyParameter("VpcId", vpcId); this.vpcId = vpcId; return this; } @Override public DescribeVSwitchesRequest build() { return new DescribeVSwitchesRequest(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/DescribeVSwitchesResponse.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 DescribeVSwitchesResponse} extends {@link TeaModel} * * <p>DescribeVSwitchesResponse</p> */ public class DescribeVSwitchesResponse 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 DescribeVSwitchesResponseBody body; private DescribeVSwitchesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVSwitchesResponse 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 DescribeVSwitchesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVSwitchesResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeVSwitchesResponseBody body); @Override DescribeVSwitchesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVSwitchesResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeVSwitchesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVSwitchesResponse 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(DescribeVSwitchesResponseBody body) { this.body = body; return this; } @Override public DescribeVSwitchesResponse build() { return new DescribeVSwitchesResponse(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/DescribeVSwitchesResponseBody.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 DescribeVSwitchesResponseBody} extends {@link TeaModel} * * <p>DescribeVSwitchesResponseBody</p> */ public class DescribeVSwitchesResponseBody extends TeaModel { @NameInMap("MaxResults") private Integer maxResults; @NameInMap("NextToken") @Validation(required = true) private String nextToken; @NameInMap("RequestId") private String requestId; @NameInMap("TotalCount") private Integer totalCount; @NameInMap("VSwitches") private java.util.List < VSwitches> vSwitches; private DescribeVSwitchesResponseBody(Builder builder) { this.maxResults = builder.maxResults; this.nextToken = builder.nextToken; this.requestId = builder.requestId; this.totalCount = builder.totalCount; this.vSwitches = builder.vSwitches; } public static Builder builder() { return new Builder(); } public static DescribeVSwitchesResponseBody create() { return builder().build(); } /** * @return maxResults */ public Integer getMaxResults() { return this.maxResults; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } /** * @return vSwitches */ public java.util.List < VSwitches> getVSwitches() { return this.vSwitches; } public static final class Builder { private Integer maxResults; private String nextToken; private String requestId; private Integer totalCount; private java.util.List < VSwitches> vSwitches; /** * The maximum number of entries returned. */ public Builder maxResults(Integer maxResults) { this.maxResults = maxResults; return this; } /** * 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 total number of vSwitches that are deployed in the VPC in the region. This parameter is optional and is not returned by default. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } /** * The available vSwitches. */ public Builder vSwitches(java.util.List < VSwitches> vSwitches) { this.vSwitches = vSwitches; return this; } public DescribeVSwitchesResponseBody build() { return new DescribeVSwitchesResponseBody(this); } } public static class VSwitches extends TeaModel { @NameInMap("IsDefault") private Boolean isDefault; @NameInMap("Status") private String status; @NameInMap("VSwitchId") private String vSwitchId; @NameInMap("VSwitchName") private String vSwitchName; @NameInMap("VpcId") private String vpcId; @NameInMap("ZoneId") private String zoneId; private VSwitches(Builder builder) { this.isDefault = builder.isDefault; this.status = builder.status; this.vSwitchId = builder.vSwitchId; this.vSwitchName = builder.vSwitchName; this.vpcId = builder.vpcId; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static VSwitches create() { return builder().build(); } /** * @return isDefault */ public Boolean getIsDefault() { return this.isDefault; } /** * @return status */ public String getStatus() { return this.status; } /** * @return vSwitchId */ public String getVSwitchId() { return this.vSwitchId; } /** * @return vSwitchName */ public String getVSwitchName() { return this.vSwitchName; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private Boolean isDefault; private String status; private String vSwitchId; private String vSwitchName; private String vpcId; private String zoneId; /** * Indicates whether the vSwitch is the default vSwitch. Valid values: * <p> * * * `true` * * `false` */ public Builder isDefault(Boolean isDefault) { this.isDefault = isDefault; return this; } /** * The state of the vSwitch. Valid values: * <p> * * * `Pending`: The vSwitch is being configured. * * `Available`: The vSwitch is available. */ public Builder status(String status) { this.status = status; return this; } /** * The vSwitch ID. */ public Builder vSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; return this; } /** * The name of the vSwitch. */ public Builder vSwitchName(String vSwitchName) { this.vSwitchName = vSwitchName; return this; } /** * The ID of the VPC to which the vSwitch belongs. */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } /** * The zone to which the switch belongs. */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public VSwitches build() { return new VSwitches(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/DescribeVersionsRequest.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 DescribeVersionsRequest} extends {@link RequestModel} * * <p>DescribeVersionsRequest</p> */ public class DescribeVersionsRequest extends Request { private DescribeVersionsRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static DescribeVersionsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<DescribeVersionsRequest, Builder> { private Builder() { super(); } private Builder(DescribeVersionsRequest request) { super(request); } @Override public DescribeVersionsRequest build() { return new DescribeVersionsRequest(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/DescribeVersionsResponse.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 DescribeVersionsResponse} extends {@link TeaModel} * * <p>DescribeVersionsResponse</p> */ public class DescribeVersionsResponse 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 DescribeVersionsResponseBody body; private DescribeVersionsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVersionsResponse 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 DescribeVersionsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVersionsResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeVersionsResponseBody body); @Override DescribeVersionsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVersionsResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeVersionsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVersionsResponse 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(DescribeVersionsResponseBody body) { this.body = body; return this; } @Override public DescribeVersionsResponse build() { return new DescribeVersionsResponse(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/DescribeVersionsResponseBody.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 DescribeVersionsResponseBody} extends {@link TeaModel} * * <p>DescribeVersionsResponseBody</p> */ public class DescribeVersionsResponseBody extends TeaModel { @NameInMap("RequestId") private String requestId; @NameInMap("VersionInfo") private java.util.List < VersionInfo> versionInfo; private DescribeVersionsResponseBody(Builder builder) { this.requestId = builder.requestId; this.versionInfo = builder.versionInfo; } public static Builder builder() { return new Builder(); } public static DescribeVersionsResponseBody create() { return builder().build(); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return versionInfo */ public java.util.List < VersionInfo> getVersionInfo() { return this.versionInfo; } public static final class Builder { private String requestId; private java.util.List < VersionInfo> versionInfo; /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The available ASM versions. */ public Builder versionInfo(java.util.List < VersionInfo> versionInfo) { this.versionInfo = versionInfo; return this; } public DescribeVersionsResponseBody build() { return new DescribeVersionsResponseBody(this); } } public static class VersionInfo extends TeaModel { @NameInMap("Edition") private String edition; @NameInMap("Versions") private java.util.List < String > versions; private VersionInfo(Builder builder) { this.edition = builder.edition; this.versions = builder.versions; } public static Builder builder() { return new Builder(); } public static VersionInfo create() { return builder().build(); } /** * @return edition */ public String getEdition() { return this.edition; } /** * @return versions */ public java.util.List < String > getVersions() { return this.versions; } public static final class Builder { private String edition; private java.util.List < String > versions; /** * The edition of the ASM instance. Valid values: * <p> * * * `Default`: Standard Edition * * `Pro`: Professional Edition that is commercially released */ public Builder edition(String edition) { this.edition = edition; return this; } /** * The list of ASM versions available for the ASM instance of the current edition. */ public Builder versions(java.util.List < String > versions) { this.versions = versions; return this; } public VersionInfo build() { return new VersionInfo(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/DescribeVpcsRequest.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 DescribeVpcsRequest} extends {@link RequestModel} * * <p>DescribeVpcsRequest</p> */ public class DescribeVpcsRequest extends Request { @Body @NameInMap("RegionId") @Validation(required = true) private String regionId; private DescribeVpcsRequest(Builder builder) { super(builder); this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static DescribeVpcsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<DescribeVpcsRequest, Builder> { private String regionId; private Builder() { super(); } private Builder(DescribeVpcsRequest request) { super(request); this.regionId = request.regionId; } /** * The region ID. */ public Builder regionId(String regionId) { this.putBodyParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public DescribeVpcsRequest build() { return new DescribeVpcsRequest(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/DescribeVpcsResponse.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 DescribeVpcsResponse} extends {@link TeaModel} * * <p>DescribeVpcsResponse</p> */ public class DescribeVpcsResponse 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 DescribeVpcsResponseBody body; private DescribeVpcsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVpcsResponse 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 DescribeVpcsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVpcsResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DescribeVpcsResponseBody body); @Override DescribeVpcsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVpcsResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DescribeVpcsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVpcsResponse 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(DescribeVpcsResponseBody body) { this.body = body; return this; } @Override public DescribeVpcsResponse build() { return new DescribeVpcsResponse(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/DescribeVpcsResponseBody.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 DescribeVpcsResponseBody} extends {@link TeaModel} * * <p>DescribeVpcsResponseBody</p> */ public class DescribeVpcsResponseBody extends TeaModel { @NameInMap("MaxResults") private Integer maxResults; @NameInMap("NextToken") @Validation(required = true) private String nextToken; @NameInMap("RequestId") private String requestId; @NameInMap("TotalCount") private Integer totalCount; @NameInMap("Vpcs") private java.util.List < Vpcs> vpcs; private DescribeVpcsResponseBody(Builder builder) { this.maxResults = builder.maxResults; this.nextToken = builder.nextToken; this.requestId = builder.requestId; this.totalCount = builder.totalCount; this.vpcs = builder.vpcs; } public static Builder builder() { return new Builder(); } public static DescribeVpcsResponseBody create() { return builder().build(); } /** * @return maxResults */ public Integer getMaxResults() { return this.maxResults; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } /** * @return vpcs */ public java.util.List < Vpcs> getVpcs() { return this.vpcs; } public static final class Builder { private Integer maxResults; private String nextToken; private String requestId; private Integer totalCount; private java.util.List < Vpcs> vpcs; /** * The maximum number of entries returned on a single page. */ public Builder maxResults(Integer maxResults) { this.maxResults = maxResults; return this; } /** * The token that marks the end of the current returned page. If this parameter is empty, it indicates that you have retrieved all the data. */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The total number of entries returned. By default, this parameter is not returned. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } /** * The list of VPCs that are available in the specified region. */ public Builder vpcs(java.util.List < Vpcs> vpcs) { this.vpcs = vpcs; return this; } public DescribeVpcsResponseBody build() { return new DescribeVpcsResponseBody(this); } } public static class Vpcs extends TeaModel { @NameInMap("IsDefault") private Boolean isDefault; @NameInMap("Status") private String status; @NameInMap("VpcId") private String vpcId; @NameInMap("VpcName") private String vpcName; private Vpcs(Builder builder) { this.isDefault = builder.isDefault; this.status = builder.status; this.vpcId = builder.vpcId; this.vpcName = builder.vpcName; } public static Builder builder() { return new Builder(); } public static Vpcs create() { return builder().build(); } /** * @return isDefault */ public Boolean getIsDefault() { return this.isDefault; } /** * @return status */ public String getStatus() { return this.status; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } /** * @return vpcName */ public String getVpcName() { return this.vpcName; } public static final class Builder { private Boolean isDefault; private String status; private String vpcId; private String vpcName; /** * Indicates whether the VPC is the default VPC in the specified region. Valid values: * <p> * * * `true`: yes * * `false`: no */ public Builder isDefault(Boolean isDefault) { this.isDefault = isDefault; return this; } /** * The status of the VPC. Valid values: * <p> * * * `Pending`: The VPC is being configured. * * `Available`: The VPC is available for use. */ public Builder status(String status) { this.status = status; return this; } /** * The ID of a VPC. */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } /** * The name of the VPC. */ public Builder vpcName(String vpcName) { this.vpcName = vpcName; return this; } public Vpcs build() { return new Vpcs(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/GetCaCertRequest.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 GetCaCertRequest} extends {@link RequestModel} * * <p>GetCaCertRequest</p> */ public class GetCaCertRequest extends Request { @Body @NameInMap("ServiceMeshId") @Validation(required = true) private String serviceMeshId; private GetCaCertRequest(Builder builder) { super(builder); this.serviceMeshId = builder.serviceMeshId; } public static Builder builder() { return new Builder(); } public static GetCaCertRequest 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<GetCaCertRequest, Builder> { private String serviceMeshId; private Builder() { super(); } private Builder(GetCaCertRequest 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 GetCaCertRequest build() { return new GetCaCertRequest(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/GetCaCertResponse.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 GetCaCertResponse} extends {@link TeaModel} * * <p>GetCaCertResponse</p> */ public class GetCaCertResponse 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 GetCaCertResponseBody body; private GetCaCertResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetCaCertResponse 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 GetCaCertResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetCaCertResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(GetCaCertResponseBody body); @Override GetCaCertResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetCaCertResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private GetCaCertResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetCaCertResponse 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(GetCaCertResponseBody body) { this.body = body; return this; } @Override public GetCaCertResponse build() { return new GetCaCertResponse(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/GetCaCertResponseBody.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 GetCaCertResponseBody} extends {@link TeaModel} * * <p>GetCaCertResponseBody</p> */ public class GetCaCertResponseBody extends TeaModel { @NameInMap("CaCert") private String caCert; @NameInMap("RequestId") private String requestId; private GetCaCertResponseBody(Builder builder) { this.caCert = builder.caCert; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetCaCertResponseBody create() { return builder().build(); } /** * @return caCert */ public String getCaCert() { return this.caCert; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String caCert; private String requestId; /** * The Base64-encoded content of the CA certificate. */ public Builder caCert(String caCert) { this.caCert = caCert; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetCaCertResponseBody build() { return new GetCaCertResponseBody(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/GetDeploymentBySelectorRequest.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 GetDeploymentBySelectorRequest} extends {@link RequestModel} * * <p>GetDeploymentBySelectorRequest</p> */ public class GetDeploymentBySelectorRequest extends Request { @Body @NameInMap("GuestCluster") private String guestCluster; @Body @NameInMap("LabelSelector") private java.util.Map < String, String > labelSelector; @Body @NameInMap("Limit") private Long limit; @Body @NameInMap("Mark") private String mark; @Body @NameInMap("NameSpace") private String nameSpace; @Body @NameInMap("ServiceMeshId") @Validation(required = true) private String serviceMeshId; private GetDeploymentBySelectorRequest(Builder builder) { super(builder); this.guestCluster = builder.guestCluster; this.labelSelector = builder.labelSelector; this.limit = builder.limit; this.mark = builder.mark; this.nameSpace = builder.nameSpace; this.serviceMeshId = builder.serviceMeshId; } public static Builder builder() { return new Builder(); } public static GetDeploymentBySelectorRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return guestCluster */ public String getGuestCluster() { return this.guestCluster; } /** * @return labelSelector */ public java.util.Map < String, String > getLabelSelector() { return this.labelSelector; } /** * @return limit */ public Long getLimit() { return this.limit; } /** * @return mark */ public String getMark() { return this.mark; } /** * @return nameSpace */ public String getNameSpace() { return this.nameSpace; } /** * @return serviceMeshId */ public String getServiceMeshId() { return this.serviceMeshId; } public static final class Builder extends Request.Builder<GetDeploymentBySelectorRequest, Builder> { private String guestCluster; private java.util.Map < String, String > labelSelector; private Long limit; private String mark; private String nameSpace; private String serviceMeshId; private Builder() { super(); } private Builder(GetDeploymentBySelectorRequest request) { super(request); this.guestCluster = request.guestCluster; this.labelSelector = request.labelSelector; this.limit = request.limit; this.mark = request.mark; this.nameSpace = request.nameSpace; this.serviceMeshId = request.serviceMeshId; } /** * The name of the cluster. */ public Builder guestCluster(String guestCluster) { this.putBodyParameter("GuestCluster", guestCluster); this.guestCluster = guestCluster; return this; } /** * The label selector information. */ public Builder labelSelector(java.util.Map < String, String > labelSelector) { String labelSelectorShrink = shrink(labelSelector, "LabelSelector", "json"); this.putBodyParameter("LabelSelector", labelSelectorShrink); this.labelSelector = labelSelector; return this; } /** * The maximum number of returned data entries. */ public Builder limit(Long limit) { this.putBodyParameter("Limit", limit); this.limit = limit; return this; } /** * The marker of data queried last time. */ public Builder mark(String mark) { this.putBodyParameter("Mark", mark); this.mark = mark; return this; } /** * The namespace. */ public Builder nameSpace(String nameSpace) { this.putBodyParameter("NameSpace", nameSpace); this.nameSpace = nameSpace; 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 GetDeploymentBySelectorRequest build() { return new GetDeploymentBySelectorRequest(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/GetDeploymentBySelectorResponse.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 GetDeploymentBySelectorResponse} extends {@link TeaModel} * * <p>GetDeploymentBySelectorResponse</p> */ public class GetDeploymentBySelectorResponse 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 GetDeploymentBySelectorResponseBody body; private GetDeploymentBySelectorResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetDeploymentBySelectorResponse 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 GetDeploymentBySelectorResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetDeploymentBySelectorResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(GetDeploymentBySelectorResponseBody body); @Override GetDeploymentBySelectorResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetDeploymentBySelectorResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private GetDeploymentBySelectorResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetDeploymentBySelectorResponse 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(GetDeploymentBySelectorResponseBody body) { this.body = body; return this; } @Override public GetDeploymentBySelectorResponse build() { return new GetDeploymentBySelectorResponse(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/GetDeploymentBySelectorResponseBody.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 GetDeploymentBySelectorResponseBody} extends {@link TeaModel} * * <p>GetDeploymentBySelectorResponseBody</p> */ public class GetDeploymentBySelectorResponseBody extends TeaModel { @NameInMap("DeploymentNameList") private java.util.List < byte[] > deploymentNameList; @NameInMap("Mark") private String mark; @NameInMap("RequestId") private String requestId; private GetDeploymentBySelectorResponseBody(Builder builder) { this.deploymentNameList = builder.deploymentNameList; this.mark = builder.mark; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetDeploymentBySelectorResponseBody create() { return builder().build(); } /** * @return deploymentNameList */ public java.util.List < byte[] > getDeploymentNameList() { return this.deploymentNameList; } /** * @return mark */ public String getMark() { return this.mark; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List < byte[] > deploymentNameList; private String mark; private String requestId; /** * The queried workloads. */ public Builder deploymentNameList(java.util.List < byte[] > deploymentNameList) { this.deploymentNameList = deploymentNameList; return this; } /** * The end-of-data marker. */ public Builder mark(String mark) { this.mark = mark; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetDeploymentBySelectorResponseBody build() { return new GetDeploymentBySelectorResponseBody(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/GetGrafanaDashboardUrlRequest.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 GetGrafanaDashboardUrlRequest} extends {@link RequestModel} * * <p>GetGrafanaDashboardUrlRequest</p> */ public class GetGrafanaDashboardUrlRequest extends Request { @Body @NameInMap("K8sClusterId") @Validation(required = true) private String k8sClusterId; @Body @NameInMap("ServiceMeshId") @Validation(required = true) private String serviceMeshId; @Body @NameInMap("Title") @Validation(required = true) private String title; private GetGrafanaDashboardUrlRequest(Builder builder) { super(builder); this.k8sClusterId = builder.k8sClusterId; this.serviceMeshId = builder.serviceMeshId; this.title = builder.title; } public static Builder builder() { return new Builder(); } public static GetGrafanaDashboardUrlRequest 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; } /** * @return title */ public String getTitle() { return this.title; } public static final class Builder extends Request.Builder<GetGrafanaDashboardUrlRequest, Builder> { private String k8sClusterId; private String serviceMeshId; private String title; private Builder() { super(); } private Builder(GetGrafanaDashboardUrlRequest request) { super(request); this.k8sClusterId = request.k8sClusterId; this.serviceMeshId = request.serviceMeshId; this.title = request.title; } /** * The ID of the Container Service for Kubernetes (ACK) or ACK Serverless cluster. */ public Builder k8sClusterId(String k8sClusterId) { this.putBodyParameter("K8sClusterId", k8sClusterId); this.k8sClusterId = k8sClusterId; 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 dashboard. */ public Builder title(String title) { this.putBodyParameter("Title", title); this.title = title; return this; } @Override public GetGrafanaDashboardUrlRequest build() { return new GetGrafanaDashboardUrlRequest(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/GetGrafanaDashboardUrlResponse.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 GetGrafanaDashboardUrlResponse} extends {@link TeaModel} * * <p>GetGrafanaDashboardUrlResponse</p> */ public class GetGrafanaDashboardUrlResponse 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 GetGrafanaDashboardUrlResponseBody body; private GetGrafanaDashboardUrlResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetGrafanaDashboardUrlResponse 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 GetGrafanaDashboardUrlResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetGrafanaDashboardUrlResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(GetGrafanaDashboardUrlResponseBody body); @Override GetGrafanaDashboardUrlResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetGrafanaDashboardUrlResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private GetGrafanaDashboardUrlResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetGrafanaDashboardUrlResponse 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(GetGrafanaDashboardUrlResponseBody body) { this.body = body; return this; } @Override public GetGrafanaDashboardUrlResponse build() { return new GetGrafanaDashboardUrlResponse(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/GetGrafanaDashboardUrlResponseBody.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 GetGrafanaDashboardUrlResponseBody} extends {@link TeaModel} * * <p>GetGrafanaDashboardUrlResponseBody</p> */ public class GetGrafanaDashboardUrlResponseBody extends TeaModel { @NameInMap("Dashboards") private java.util.List < Dashboards> dashboards; @NameInMap("RequestId") private String requestId; private GetGrafanaDashboardUrlResponseBody(Builder builder) { this.dashboards = builder.dashboards; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetGrafanaDashboardUrlResponseBody create() { return builder().build(); } /** * @return dashboards */ public java.util.List < Dashboards> getDashboards() { return this.dashboards; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List < Dashboards> dashboards; private String requestId; /** * The information about the dashboard. */ public Builder dashboards(java.util.List < Dashboards> dashboards) { this.dashboards = dashboards; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetGrafanaDashboardUrlResponseBody build() { return new GetGrafanaDashboardUrlResponseBody(this); } } public static class Dashboards extends TeaModel { @NameInMap("Title") private String title; @NameInMap("Url") private String url; private Dashboards(Builder builder) { this.title = builder.title; this.url = builder.url; } public static Builder builder() { return new Builder(); } public static Dashboards create() { return builder().build(); } /** * @return title */ public String getTitle() { return this.title; } /** * @return url */ public String getUrl() { return this.url; } public static final class Builder { private String title; private String url; /** * The name of the dashboard. */ public Builder title(String title) { this.title = title; return this; } /** * The URL of the dashboard. */ public Builder url(String url) { this.url = url; return this; } public Dashboards build() { return new Dashboards(this); } } } }
0
java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111
java-sources/com/aliyun/alibabacloud-servicemesh20200111/1.0.6/com/aliyun/sdk/service/servicemesh20200111/models/GetRegisteredServiceEndpointsRequest.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 GetRegisteredServiceEndpointsRequest} extends {@link RequestModel} * * <p>GetRegisteredServiceEndpointsRequest</p> */ public class GetRegisteredServiceEndpointsRequest extends Request { @Body @NameInMap("ClusterIds") private String clusterIds; @Body @NameInMap("Name") private String name; @Body @NameInMap("Namespace") private String namespace; @Body @NameInMap("ServiceMeshId") @Validation(required = true) private String serviceMeshId; @Body @NameInMap("ServiceType") private String serviceType; private GetRegisteredServiceEndpointsRequest(Builder builder) { super(builder); this.clusterIds = builder.clusterIds; this.name = builder.name; this.namespace = builder.namespace; this.serviceMeshId = builder.serviceMeshId; this.serviceType = builder.serviceType; } public static Builder builder() { return new Builder(); } public static GetRegisteredServiceEndpointsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterIds */ public String getClusterIds() { return this.clusterIds; } /** * @return name */ public String getName() { return this.name; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return serviceMeshId */ public String getServiceMeshId() { return this.serviceMeshId; } /** * @return serviceType */ public String getServiceType() { return this.serviceType; } public static final class Builder extends Request.Builder<GetRegisteredServiceEndpointsRequest, Builder> { private String clusterIds; private String name; private String namespace; private String serviceMeshId; private String serviceType; private Builder() { super(); } private Builder(GetRegisteredServiceEndpointsRequest request) { super(request); this.clusterIds = request.clusterIds; this.name = request.name; this.namespace = request.namespace; this.serviceMeshId = request.serviceMeshId; this.serviceType = request.serviceType; } /** * The name of the registered service. */ public Builder clusterIds(String clusterIds) { this.putBodyParameter("ClusterIds", clusterIds); this.clusterIds = clusterIds; return this; } /** * The type of the registered service. Valid values: * <p> * * * `ServiceEntry`: indicates that the service is registered by creating a service entry. * * `Kubernetes`: indicates that the service is registered on a Kubernetes cluster on the data plane. */ public Builder name(String name) { this.putBodyParameter("Name", name); this.name = name; return this; } /** * The IDs of clusters in the ASM instance. Separate multiple cluster IDs with commas (,). */ public Builder namespace(String namespace) { this.putBodyParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * The name of the namespace. */ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); this.serviceMeshId = serviceMeshId; return this; } /** * The endpoints of the registered service. */ public Builder serviceType(String serviceType) { this.putBodyParameter("ServiceType", serviceType); this.serviceType = serviceType; return this; } @Override public GetRegisteredServiceEndpointsRequest build() { return new GetRegisteredServiceEndpointsRequest(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/GetRegisteredServiceEndpointsResponse.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 GetRegisteredServiceEndpointsResponse} extends {@link TeaModel} * * <p>GetRegisteredServiceEndpointsResponse</p> */ public class GetRegisteredServiceEndpointsResponse 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 GetRegisteredServiceEndpointsResponseBody body; private GetRegisteredServiceEndpointsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetRegisteredServiceEndpointsResponse 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 GetRegisteredServiceEndpointsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetRegisteredServiceEndpointsResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(GetRegisteredServiceEndpointsResponseBody body); @Override GetRegisteredServiceEndpointsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetRegisteredServiceEndpointsResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private GetRegisteredServiceEndpointsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetRegisteredServiceEndpointsResponse 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(GetRegisteredServiceEndpointsResponseBody body) { this.body = body; return this; } @Override public GetRegisteredServiceEndpointsResponse build() { return new GetRegisteredServiceEndpointsResponse(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/GetRegisteredServiceEndpointsResponseBody.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 GetRegisteredServiceEndpointsResponseBody} extends {@link TeaModel} * * <p>GetRegisteredServiceEndpointsResponseBody</p> */ public class GetRegisteredServiceEndpointsResponseBody extends TeaModel { @NameInMap("EndPointSlice") private EndPointSlice endPointSlice; @NameInMap("RequestId") private String requestId; @NameInMap("ServiceEndpoints") private java.util.List < ServiceEndpoints> serviceEndpoints; private GetRegisteredServiceEndpointsResponseBody(Builder builder) { this.endPointSlice = builder.endPointSlice; this.requestId = builder.requestId; this.serviceEndpoints = builder.serviceEndpoints; } public static Builder builder() { return new Builder(); } public static GetRegisteredServiceEndpointsResponseBody create() { return builder().build(); } /** * @return endPointSlice */ public EndPointSlice getEndPointSlice() { return this.endPointSlice; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return serviceEndpoints */ public java.util.List < ServiceEndpoints> getServiceEndpoints() { return this.serviceEndpoints; } public static final class Builder { private EndPointSlice endPointSlice; private String requestId; private java.util.List < ServiceEndpoints> serviceEndpoints; /** * The name of the registered service. */ public Builder endPointSlice(EndPointSlice endPointSlice) { this.endPointSlice = endPointSlice; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The IP address of the registered service. */ public Builder serviceEndpoints(java.util.List < ServiceEndpoints> serviceEndpoints) { this.serviceEndpoints = serviceEndpoints; return this; } public GetRegisteredServiceEndpointsResponseBody build() { return new GetRegisteredServiceEndpointsResponseBody(this); } } public static class EndpointsDetails extends TeaModel { @NameInMap("Address") private String address; @NameInMap("Hostname") private String hostname; @NameInMap("PodName") private String podName; @NameInMap("Ports") private java.util.List < Integer > ports; @NameInMap("Region") private String region; @NameInMap("SidecarInjected") private Boolean sidecarInjected; private EndpointsDetails(Builder builder) { this.address = builder.address; this.hostname = builder.hostname; this.podName = builder.podName; this.ports = builder.ports; this.region = builder.region; this.sidecarInjected = builder.sidecarInjected; } public static Builder builder() { return new Builder(); } public static EndpointsDetails create() { return builder().build(); } /** * @return address */ public String getAddress() { return this.address; } /** * @return hostname */ public String getHostname() { return this.hostname; } /** * @return podName */ public String getPodName() { return this.podName; } /** * @return ports */ public java.util.List < Integer > getPorts() { return this.ports; } /** * @return region */ public String getRegion() { return this.region; } /** * @return sidecarInjected */ public Boolean getSidecarInjected() { return this.sidecarInjected; } public static final class Builder { private String address; private String hostname; private String podName; private java.util.List < Integer > ports; private String region; private Boolean sidecarInjected; /** * The port of the registered service. */ public Builder address(String address) { this.address = address; return this; } /** * The ID of the region in which the registered service resides. */ public Builder hostname(String hostname) { this.hostname = hostname; return this; } /** * The IP address of the registered service. */ public Builder podName(String podName) { this.podName = podName; return this; } /** * The host name of the registered service. */ public Builder ports(java.util.List < Integer > ports) { this.ports = ports; return this; } /** * Indicates whether sidecar proxies are injected. Valid values: * <p> * * * `true`: yes * * `false`: no */ public Builder region(String region) { this.region = region; return this; } /** * The ID of the request. */ public Builder sidecarInjected(Boolean sidecarInjected) { this.sidecarInjected = sidecarInjected; return this; } public EndpointsDetails build() { return new EndpointsDetails(this); } } } public static class EndPointSlice extends TeaModel { @NameInMap("EndpointsDetails") private java.util.List < EndpointsDetails> endpointsDetails; @NameInMap("Location") private String location; @NameInMap("Namespace") private String namespace; @NameInMap("ServiceName") private String serviceName; private EndPointSlice(Builder builder) { this.endpointsDetails = builder.endpointsDetails; this.location = builder.location; this.namespace = builder.namespace; this.serviceName = builder.serviceName; } public static Builder builder() { return new Builder(); } public static EndPointSlice create() { return builder().build(); } /** * @return endpointsDetails */ public java.util.List < EndpointsDetails> getEndpointsDetails() { return this.endpointsDetails; } /** * @return location */ public String getLocation() { return this.location; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return serviceName */ public String getServiceName() { return this.serviceName; } public static final class Builder { private java.util.List < EndpointsDetails> endpointsDetails; private String location; private String namespace; private String serviceName; /** * The name of the pod. */ public Builder endpointsDetails(java.util.List < EndpointsDetails> endpointsDetails) { this.endpointsDetails = endpointsDetails; return this; } /** * The details of the endpoint of the registered service. */ public Builder location(String location) { this.location = location; return this; } /** * The location of the registered service. Valid values: * <p> * * * `MESH_INTERNAL`: The service is deployed inside the ASM instance. * * `MESH_EXTERNAL`: The service is deployed outside the ASM instance. */ public Builder namespace(String namespace) { this.namespace = namespace; return this; } /** * The name of the namespace. */ public Builder serviceName(String serviceName) { this.serviceName = serviceName; return this; } public EndPointSlice build() { return new EndPointSlice(this); } } } public static class ServiceEndpoints extends TeaModel { @NameInMap("Address") private String address; @NameInMap("ClusterId") private String clusterId; private ServiceEndpoints(Builder builder) { this.address = builder.address; this.clusterId = builder.clusterId; } public static Builder builder() { return new Builder(); } public static ServiceEndpoints create() { return builder().build(); } /** * @return address */ public String getAddress() { return this.address; } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } public static final class Builder { private String address; private String clusterId; /** * The ID of the cluster on the data plane. */ public Builder address(String address) { this.address = address; return this; } /** * The details of the endpoints of the registered service. */ public Builder clusterId(String clusterId) { this.clusterId = clusterId; return this; } public ServiceEndpoints build() { return new ServiceEndpoints(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/GetRegisteredServiceNamespacesRequest.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 GetRegisteredServiceNamespacesRequest} extends {@link RequestModel} * * <p>GetRegisteredServiceNamespacesRequest</p> */ public class GetRegisteredServiceNamespacesRequest extends Request { @Body @NameInMap("ServiceMeshId") @Validation(required = true) private String serviceMeshId; private GetRegisteredServiceNamespacesRequest(Builder builder) { super(builder); this.serviceMeshId = builder.serviceMeshId; } public static Builder builder() { return new Builder(); } public static GetRegisteredServiceNamespacesRequest 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<GetRegisteredServiceNamespacesRequest, Builder> { private String serviceMeshId; private Builder() { super(); } private Builder(GetRegisteredServiceNamespacesRequest request) { super(request); this.serviceMeshId = request.serviceMeshId; } /** * The ID of the ASM instance. */ public Builder serviceMeshId(String serviceMeshId) { this.putBodyParameter("ServiceMeshId", serviceMeshId); this.serviceMeshId = serviceMeshId; return this; } @Override public GetRegisteredServiceNamespacesRequest build() { return new GetRegisteredServiceNamespacesRequest(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/GetRegisteredServiceNamespacesResponse.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 GetRegisteredServiceNamespacesResponse} extends {@link TeaModel} * * <p>GetRegisteredServiceNamespacesResponse</p> */ public class GetRegisteredServiceNamespacesResponse 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 GetRegisteredServiceNamespacesResponseBody body; private GetRegisteredServiceNamespacesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetRegisteredServiceNamespacesResponse 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 GetRegisteredServiceNamespacesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetRegisteredServiceNamespacesResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(GetRegisteredServiceNamespacesResponseBody body); @Override GetRegisteredServiceNamespacesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetRegisteredServiceNamespacesResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private GetRegisteredServiceNamespacesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetRegisteredServiceNamespacesResponse 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(GetRegisteredServiceNamespacesResponseBody body) { this.body = body; return this; } @Override public GetRegisteredServiceNamespacesResponse build() { return new GetRegisteredServiceNamespacesResponse(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/GetRegisteredServiceNamespacesResponseBody.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 GetRegisteredServiceNamespacesResponseBody} extends {@link TeaModel} * * <p>GetRegisteredServiceNamespacesResponseBody</p> */ public class GetRegisteredServiceNamespacesResponseBody extends TeaModel { @NameInMap("Namespaces") private java.util.List < String > namespaces; @NameInMap("RequestId") private String requestId; private GetRegisteredServiceNamespacesResponseBody(Builder builder) { this.namespaces = builder.namespaces; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetRegisteredServiceNamespacesResponseBody create() { return builder().build(); } /** * @return namespaces */ public java.util.List < String > getNamespaces() { return this.namespaces; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List < String > namespaces; private String requestId; /** * The names of the queried namespaces. */ public Builder namespaces(java.util.List < String > namespaces) { this.namespaces = namespaces; return this; } /** * The ID of the request. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetRegisteredServiceNamespacesResponseBody build() { return new GetRegisteredServiceNamespacesResponseBody(this); } } }