index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/DescribeWebCustomDomainResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWebCustomDomainResponse} extends {@link TeaModel} * * <p>DescribeWebCustomDomainResponse</p> */ public class DescribeWebCustomDomainResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private WebCustomDomain body; private DescribeWebCustomDomainResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeWebCustomDomainResponse 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 WebCustomDomain getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeWebCustomDomainResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(WebCustomDomain body); @Override DescribeWebCustomDomainResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeWebCustomDomainResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private WebCustomDomain body; private BuilderImpl() { super(); } private BuilderImpl(DescribeWebCustomDomainResponse 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(WebCustomDomain body) { this.body = body; return this; } @Override public DescribeWebCustomDomainResponse build() { return new DescribeWebCustomDomainResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/DescribeWebInstanceLogsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWebInstanceLogsRequest} extends {@link RequestModel} * * <p>DescribeWebInstanceLogsRequest</p> */ public class DescribeWebInstanceLogsRequest extends Request { @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("ApplicationId") @com.aliyun.core.annotation.Validation(required = true) private String applicationId; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("InstanceId") @com.aliyun.core.annotation.Validation(required = true) private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceId") @com.aliyun.core.annotation.Validation(required = true) private String namespaceId; private DescribeWebInstanceLogsRequest(Builder builder) { super(builder); this.applicationId = builder.applicationId; this.instanceId = builder.instanceId; this.namespaceId = builder.namespaceId; } public static Builder builder() { return new Builder(); } public static DescribeWebInstanceLogsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return applicationId */ public String getApplicationId() { return this.applicationId; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return namespaceId */ public String getNamespaceId() { return this.namespaceId; } public static final class Builder extends Request.Builder<DescribeWebInstanceLogsRequest, Builder> { private String applicationId; private String instanceId; private String namespaceId; private Builder() { super(); } private Builder(DescribeWebInstanceLogsRequest request) { super(request); this.applicationId = request.applicationId; this.instanceId = request.instanceId; this.namespaceId = request.namespaceId; } /** * <p>The application ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>7e41aff0-9eca-45c9-ac48-675e09******</p> */ public Builder applicationId(String applicationId) { this.putPathParameter("ApplicationId", applicationId); this.applicationId = applicationId; return this; } /** * <p>The ID of the application instance.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>c-667b71bc-185b1067-5d99255c3abd</p> */ public Builder instanceId(String instanceId) { this.putPathParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * <p>The namespace ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-shanghai</p> */ public Builder namespaceId(String namespaceId) { this.putQueryParameter("NamespaceId", namespaceId); this.namespaceId = namespaceId; return this; } @Override public DescribeWebInstanceLogsRequest build() { return new DescribeWebInstanceLogsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/DescribeWebInstanceLogsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWebInstanceLogsResponse} extends {@link TeaModel} * * <p>DescribeWebInstanceLogsResponse</p> */ public class DescribeWebInstanceLogsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private WebApplicationInstanceLogsBody body; private DescribeWebInstanceLogsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeWebInstanceLogsResponse 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 WebApplicationInstanceLogsBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeWebInstanceLogsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(WebApplicationInstanceLogsBody body); @Override DescribeWebInstanceLogsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeWebInstanceLogsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private WebApplicationInstanceLogsBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeWebInstanceLogsResponse 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(WebApplicationInstanceLogsBody body) { this.body = body; return this; } @Override public DescribeWebInstanceLogsResponse build() { return new DescribeWebInstanceLogsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/DescribeWebStaticsQueryOutput.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeWebStaticsQueryOutput} extends {@link TeaModel} * * <p>DescribeWebStaticsQueryOutput</p> */ public class DescribeWebStaticsQueryOutput extends TeaModel { @com.aliyun.core.annotation.NameInMap("Length") private Integer length; @com.aliyun.core.annotation.NameInMap("WebStatics") private java.util.List<WebStaticsInfo> webStatics; private DescribeWebStaticsQueryOutput(Builder builder) { this.length = builder.length; this.webStatics = builder.webStatics; } public static Builder builder() { return new Builder(); } public static DescribeWebStaticsQueryOutput create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return length */ public Integer getLength() { return this.length; } /** * @return webStatics */ public java.util.List<WebStaticsInfo> getWebStatics() { return this.webStatics; } public static final class Builder { private Integer length; private java.util.List<WebStaticsInfo> webStatics; private Builder() { } private Builder(DescribeWebStaticsQueryOutput model) { this.length = model.length; this.webStatics = model.webStatics; } /** * Length. */ public Builder length(Integer length) { this.length = length; return this; } /** * WebStatics. */ public Builder webStatics(java.util.List<WebStaticsInfo> webStatics) { this.webStatics = webStatics; return this; } public DescribeWebStaticsQueryOutput build() { return new DescribeWebStaticsQueryOutput(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/DisableApplicationScalingRuleRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DisableApplicationScalingRuleRequest} extends {@link RequestModel} * * <p>DisableApplicationScalingRuleRequest</p> */ public class DisableApplicationScalingRuleRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ScalingRuleName") @com.aliyun.core.annotation.Validation(required = true) private String scalingRuleName; private DisableApplicationScalingRuleRequest(Builder builder) { super(builder); this.appId = builder.appId; this.scalingRuleName = builder.scalingRuleName; } public static Builder builder() { return new Builder(); } public static DisableApplicationScalingRuleRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return scalingRuleName */ public String getScalingRuleName() { return this.scalingRuleName; } public static final class Builder extends Request.Builder<DisableApplicationScalingRuleRequest, Builder> { private String appId; private String scalingRuleName; private Builder() { super(); } private Builder(DisableApplicationScalingRuleRequest request) { super(request); this.appId = request.appId; this.scalingRuleName = request.scalingRuleName; } /** * <p>timer-0800-2100</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>7171a6ca-d1cd-4928-8642-7d5cfe69****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>The ID of the request.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>timer-0800-2100</p> */ public Builder scalingRuleName(String scalingRuleName) { this.putQueryParameter("ScalingRuleName", scalingRuleName); this.scalingRuleName = scalingRuleName; return this; } @Override public DisableApplicationScalingRuleRequest build() { return new DisableApplicationScalingRuleRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/DisableApplicationScalingRuleResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DisableApplicationScalingRuleResponse} extends {@link TeaModel} * * <p>DisableApplicationScalingRuleResponse</p> */ public class DisableApplicationScalingRuleResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DisableApplicationScalingRuleResponseBody body; private DisableApplicationScalingRuleResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DisableApplicationScalingRuleResponse 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 DisableApplicationScalingRuleResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DisableApplicationScalingRuleResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DisableApplicationScalingRuleResponseBody body); @Override DisableApplicationScalingRuleResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DisableApplicationScalingRuleResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DisableApplicationScalingRuleResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DisableApplicationScalingRuleResponse 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(DisableApplicationScalingRuleResponseBody body) { this.body = body; return this; } @Override public DisableApplicationScalingRuleResponse build() { return new DisableApplicationScalingRuleResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/DisableApplicationScalingRuleResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DisableApplicationScalingRuleResponseBody} extends {@link TeaModel} * * <p>DisableApplicationScalingRuleResponseBody</p> */ public class DisableApplicationScalingRuleResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; @com.aliyun.core.annotation.NameInMap("TraceId") private String traceId; private DisableApplicationScalingRuleResponseBody(Builder builder) { this.code = builder.code; this.errorCode = builder.errorCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; this.traceId = builder.traceId; } public static Builder builder() { return new Builder(); } public static DisableApplicationScalingRuleResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } /** * @return traceId */ public String getTraceId() { return this.traceId; } public static final class Builder { private String code; private String errorCode; private String message; private String requestId; private Boolean success; private String traceId; private Builder() { } private Builder(DisableApplicationScalingRuleResponseBody model) { this.code = model.code; this.errorCode = model.errorCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; this.traceId = model.traceId; } /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * ErrorCode. */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * <p>The ID of the trace. The ID is used to query the details of a request.</p> * * <strong>example:</strong> * <p>91F93257-7A4A-4BD3-9A7E-2F6EAE6D****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } /** * TraceId. */ public Builder traceId(String traceId) { this.traceId = traceId; return this; } public DisableApplicationScalingRuleResponseBody build() { return new DisableApplicationScalingRuleResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/DowngradeApplicationApmServiceRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DowngradeApplicationApmServiceRequest} extends {@link RequestModel} * * <p>DowngradeApplicationApmServiceRequest</p> */ public class DowngradeApplicationApmServiceRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; private DowngradeApplicationApmServiceRequest(Builder builder) { super(builder); this.appId = builder.appId; } public static Builder builder() { return new Builder(); } public static DowngradeApplicationApmServiceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } public static final class Builder extends Request.Builder<DowngradeApplicationApmServiceRequest, Builder> { private String appId; private Builder() { super(); } private Builder(DowngradeApplicationApmServiceRequest request) { super(request); this.appId = request.appId; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>017f39b8-dfa4-4e16-a84b-1dcee4b1****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } @Override public DowngradeApplicationApmServiceRequest build() { return new DowngradeApplicationApmServiceRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/DowngradeApplicationApmServiceResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DowngradeApplicationApmServiceResponse} extends {@link TeaModel} * * <p>DowngradeApplicationApmServiceResponse</p> */ public class DowngradeApplicationApmServiceResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DowngradeApplicationApmServiceResponseBody body; private DowngradeApplicationApmServiceResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DowngradeApplicationApmServiceResponse 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 DowngradeApplicationApmServiceResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DowngradeApplicationApmServiceResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DowngradeApplicationApmServiceResponseBody body); @Override DowngradeApplicationApmServiceResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DowngradeApplicationApmServiceResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DowngradeApplicationApmServiceResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DowngradeApplicationApmServiceResponse 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(DowngradeApplicationApmServiceResponseBody body) { this.body = body; return this; } @Override public DowngradeApplicationApmServiceResponse build() { return new DowngradeApplicationApmServiceResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/DowngradeApplicationApmServiceResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DowngradeApplicationApmServiceResponseBody} extends {@link TeaModel} * * <p>DowngradeApplicationApmServiceResponseBody</p> */ public class DowngradeApplicationApmServiceResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; @com.aliyun.core.annotation.NameInMap("TraceId") private String traceId; private DowngradeApplicationApmServiceResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.errorCode = builder.errorCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; this.traceId = builder.traceId; } public static Builder builder() { return new Builder(); } public static DowngradeApplicationApmServiceResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } /** * @return traceId */ public String getTraceId() { return this.traceId; } public static final class Builder { private String code; private Data data; private String errorCode; private String message; private String requestId; private Boolean success; private String traceId; private Builder() { } private Builder(DowngradeApplicationApmServiceResponseBody model) { this.code = model.code; this.data = model.data; this.errorCode = model.errorCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; this.traceId = model.traceId; } /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * Data. */ public Builder data(Data data) { this.data = data; return this; } /** * ErrorCode. */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } /** * TraceId. */ public Builder traceId(String traceId) { this.traceId = traceId; return this; } public DowngradeApplicationApmServiceResponseBody build() { return new DowngradeApplicationApmServiceResponseBody(this); } } /** * * {@link DowngradeApplicationApmServiceResponseBody} extends {@link TeaModel} * * <p>DowngradeApplicationApmServiceResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("Status") private Boolean status; private Data(Builder builder) { this.status = builder.status; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return status */ public Boolean getStatus() { return this.status; } public static final class Builder { private Boolean status; private Builder() { } private Builder(Data model) { this.status = model.status; } /** * Status. */ public Builder status(Boolean status) { this.status = status; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/EnableApplicationScalingRuleRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link EnableApplicationScalingRuleRequest} extends {@link RequestModel} * * <p>EnableApplicationScalingRuleRequest</p> */ public class EnableApplicationScalingRuleRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ScalingRuleName") @com.aliyun.core.annotation.Validation(required = true) private String scalingRuleName; private EnableApplicationScalingRuleRequest(Builder builder) { super(builder); this.appId = builder.appId; this.scalingRuleName = builder.scalingRuleName; } public static Builder builder() { return new Builder(); } public static EnableApplicationScalingRuleRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return scalingRuleName */ public String getScalingRuleName() { return this.scalingRuleName; } public static final class Builder extends Request.Builder<EnableApplicationScalingRuleRequest, Builder> { private String appId; private String scalingRuleName; private Builder() { super(); } private Builder(EnableApplicationScalingRuleRequest request) { super(request); this.appId = request.appId; this.scalingRuleName = request.scalingRuleName; } /** * <p>The application ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>7171a6ca-d1cd-4928-8642-7d5cfe69****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>The name of the auto scaling policy.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>timer-0800-2100</p> */ public Builder scalingRuleName(String scalingRuleName) { this.putQueryParameter("ScalingRuleName", scalingRuleName); this.scalingRuleName = scalingRuleName; return this; } @Override public EnableApplicationScalingRuleRequest build() { return new EnableApplicationScalingRuleRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/EnableApplicationScalingRuleResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link EnableApplicationScalingRuleResponse} extends {@link TeaModel} * * <p>EnableApplicationScalingRuleResponse</p> */ public class EnableApplicationScalingRuleResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private EnableApplicationScalingRuleResponseBody body; private EnableApplicationScalingRuleResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static EnableApplicationScalingRuleResponse 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 EnableApplicationScalingRuleResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<EnableApplicationScalingRuleResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(EnableApplicationScalingRuleResponseBody body); @Override EnableApplicationScalingRuleResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<EnableApplicationScalingRuleResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private EnableApplicationScalingRuleResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(EnableApplicationScalingRuleResponse 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(EnableApplicationScalingRuleResponseBody body) { this.body = body; return this; } @Override public EnableApplicationScalingRuleResponse build() { return new EnableApplicationScalingRuleResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/EnableApplicationScalingRuleResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link EnableApplicationScalingRuleResponseBody} extends {@link TeaModel} * * <p>EnableApplicationScalingRuleResponseBody</p> */ public class EnableApplicationScalingRuleResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; @com.aliyun.core.annotation.NameInMap("TraceId") private String traceId; private EnableApplicationScalingRuleResponseBody(Builder builder) { this.code = builder.code; this.errorCode = builder.errorCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; this.traceId = builder.traceId; } public static Builder builder() { return new Builder(); } public static EnableApplicationScalingRuleResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } /** * @return traceId */ public String getTraceId() { return this.traceId; } public static final class Builder { private String code; private String errorCode; private String message; private String requestId; private Boolean success; private String traceId; private Builder() { } private Builder(EnableApplicationScalingRuleResponseBody model) { this.code = model.code; this.errorCode = model.errorCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; this.traceId = model.traceId; } /** * <p>The HTTP status code. Take note of the following rules:</p> * <ul> * <li><strong>2xx</strong>: The call was successful.</li> * <li><strong>3xx</strong>: The call was redirected.</li> * <li><strong>4xx</strong>: The call failed.</li> * <li><strong>5xx</strong>: A server error occurred.</li> * </ul> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The error code returned if the request failed. Take note of the following rules:</p> * <ul> * <li>The <strong>ErrorCode</strong> parameter is not returned if the request succeeds.</li> * <li>If the call fails, the <strong>ErrorCode</strong> parameter is returned. For more information, see the &quot;<strong>Error codes</strong>&quot; section of this topic.</li> * </ul> * * <strong>example:</strong> * <p>Null</p> */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * <p>The additional information that is returned. Take note of the following rules:</p> * <ul> * <li>success: If the call is successful, <strong>success</strong> is returned.</li> * <li>An error code: If the call fails, an error code is returned.</li> * </ul> * * <strong>example:</strong> * <p>success</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>91F93257-7A4A-4BD3-9A7E-2F6EAE6D****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Specifies whether the instances are successfully restarted. Take note of the following rules:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong>: The restart failed.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } /** * <p>The trace ID that is used to query the details of the request.</p> * * <strong>example:</strong> * <p>0a98a02315955564772843261e****</p> */ public Builder traceId(String traceId) { this.traceId = traceId; return this; } public EnableApplicationScalingRuleResponseBody build() { return new EnableApplicationScalingRuleResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ExecAction.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ExecAction} extends {@link TeaModel} * * <p>ExecAction</p> */ public class ExecAction extends TeaModel { @com.aliyun.core.annotation.NameInMap("command") private java.util.List<String> command; private ExecAction(Builder builder) { this.command = builder.command; } public static Builder builder() { return new Builder(); } public static ExecAction create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return command */ public java.util.List<String> getCommand() { return this.command; } public static final class Builder { private java.util.List<String> command; private Builder() { } private Builder(ExecAction model) { this.command = model.command; } /** * command. */ public Builder command(java.util.List<String> command) { this.command = command; return this; } public ExecAction build() { return new ExecAction(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ExecJobRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ExecJobRequest} extends {@link RequestModel} * * <p>ExecJobRequest</p> */ public class ExecJobRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Command") private String command; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CommandArgs") private String commandArgs; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Envs") private String envs; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EventId") private String eventId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("JarStartArgs") private String jarStartArgs; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("JarStartOptions") private String jarStartOptions; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Replicas") private String replicas; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Time") private String time; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("WarStartOptions") private String warStartOptions; private ExecJobRequest(Builder builder) { super(builder); this.appId = builder.appId; this.command = builder.command; this.commandArgs = builder.commandArgs; this.envs = builder.envs; this.eventId = builder.eventId; this.jarStartArgs = builder.jarStartArgs; this.jarStartOptions = builder.jarStartOptions; this.replicas = builder.replicas; this.time = builder.time; this.warStartOptions = builder.warStartOptions; } public static Builder builder() { return new Builder(); } public static ExecJobRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return command */ public String getCommand() { return this.command; } /** * @return commandArgs */ public String getCommandArgs() { return this.commandArgs; } /** * @return envs */ public String getEnvs() { return this.envs; } /** * @return eventId */ public String getEventId() { return this.eventId; } /** * @return jarStartArgs */ public String getJarStartArgs() { return this.jarStartArgs; } /** * @return jarStartOptions */ public String getJarStartOptions() { return this.jarStartOptions; } /** * @return replicas */ public String getReplicas() { return this.replicas; } /** * @return time */ public String getTime() { return this.time; } /** * @return warStartOptions */ public String getWarStartOptions() { return this.warStartOptions; } public static final class Builder extends Request.Builder<ExecJobRequest, Builder> { private String appId; private String command; private String commandArgs; private String envs; private String eventId; private String jarStartArgs; private String jarStartOptions; private String replicas; private String time; private String warStartOptions; private Builder() { super(); } private Builder(ExecJobRequest request) { super(request); this.appId = request.appId; this.command = request.command; this.commandArgs = request.commandArgs; this.envs = request.envs; this.eventId = request.eventId; this.jarStartArgs = request.jarStartArgs; this.jarStartOptions = request.jarStartOptions; this.replicas = request.replicas; this.time = request.time; this.warStartOptions = request.warStartOptions; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ee1a7a07-abcb-4652-a1d3-2d57f415****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * Command. */ public Builder command(String command) { this.putQueryParameter("Command", command); this.command = command; return this; } /** * CommandArgs. */ public Builder commandArgs(String commandArgs) { this.putQueryParameter("CommandArgs", commandArgs); this.commandArgs = commandArgs; return this; } /** * Envs. */ public Builder envs(String envs) { this.putQueryParameter("Envs", envs); this.envs = envs; return this; } /** * EventId. */ public Builder eventId(String eventId) { this.putQueryParameter("EventId", eventId); this.eventId = eventId; return this; } /** * <p>The arguments in the JAR package. The arguments are used to start the job. The default startup command is <code>$JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS &quot;$package_path&quot; $JarStartArgs</code>.</p> * * <strong>example:</strong> * <p>custom-args</p> */ public Builder jarStartArgs(String jarStartArgs) { this.putQueryParameter("JarStartArgs", jarStartArgs); this.jarStartArgs = jarStartArgs; return this; } /** * <p>The option settings in the JAR package. The settings are used to start the job. The default startup command is <code>$JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS &quot;$package_path&quot; $JarStartArg</code>.</p> * * <strong>example:</strong> * <p>-Xms4G -Xmx4G</p> */ public Builder jarStartOptions(String jarStartOptions) { this.putQueryParameter("JarStartOptions", jarStartOptions); this.jarStartOptions = jarStartOptions; return this; } /** * <p>The number of concurrent instances.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder replicas(String replicas) { this.putQueryParameter("Replicas", replicas); this.replicas = replicas; return this; } /** * <p>The time at which the job is triggered. Format: <code>yyyy-MM-dd\&quot;T\&quot;HH:mm:ss\&quot;Z\&quot;</code>.</p> * * <strong>example:</strong> * <p>2023-09-14T14:25:02Z</p> */ public Builder time(String time) { this.putQueryParameter("Time", time); this.time = time; return this; } /** * <p>The startup command of the WAR package. For information about how to configure the startup command, see <a href="https://help.aliyun.com/document_detail/96677.html">Configure a startup command</a>.</p> * * <strong>example:</strong> * <p>CATALINA_OPTS=&quot;$CATALINA_OPTS $Options&quot; catalina.sh run</p> */ public Builder warStartOptions(String warStartOptions) { this.putQueryParameter("WarStartOptions", warStartOptions); this.warStartOptions = warStartOptions; return this; } @Override public ExecJobRequest build() { return new ExecJobRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ExecJobResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ExecJobResponse} extends {@link TeaModel} * * <p>ExecJobResponse</p> */ public class ExecJobResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ExecJobResponseBody body; private ExecJobResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ExecJobResponse 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 ExecJobResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ExecJobResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ExecJobResponseBody body); @Override ExecJobResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ExecJobResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ExecJobResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ExecJobResponse 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(ExecJobResponseBody body) { this.body = body; return this; } @Override public ExecJobResponse build() { return new ExecJobResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ExecJobResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ExecJobResponseBody} extends {@link TeaModel} * * <p>ExecJobResponseBody</p> */ public class ExecJobResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; @com.aliyun.core.annotation.NameInMap("TraceId") private String traceId; private ExecJobResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.errorCode = builder.errorCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; this.traceId = builder.traceId; } public static Builder builder() { return new Builder(); } public static ExecJobResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } /** * @return traceId */ public String getTraceId() { return this.traceId; } public static final class Builder { private String code; private Data data; private String errorCode; private String message; private String requestId; private Boolean success; private String traceId; private Builder() { } private Builder(ExecJobResponseBody model) { this.code = model.code; this.data = model.data; this.errorCode = model.errorCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; this.traceId = model.traceId; } /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * Data. */ public Builder data(Data data) { this.data = data; return this; } /** * ErrorCode. */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } /** * TraceId. */ public Builder traceId(String traceId) { this.traceId = traceId; return this; } public ExecJobResponseBody build() { return new ExecJobResponseBody(this); } } /** * * {@link ExecJobResponseBody} extends {@link TeaModel} * * <p>ExecJobResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private String data; @com.aliyun.core.annotation.NameInMap("Msg") private String msg; @com.aliyun.core.annotation.NameInMap("Success") private String success; private Data(Builder builder) { this.code = builder.code; this.data = builder.data; this.msg = builder.msg; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public String getData() { return this.data; } /** * @return msg */ public String getMsg() { return this.msg; } /** * @return success */ public String getSuccess() { return this.success; } public static final class Builder { private String code; private String data; private String msg; private String success; private Builder() { } private Builder(Data model) { this.code = model.code; this.data = model.data; this.msg = model.msg; this.success = model.success; } /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * Data. */ public Builder data(String data) { this.data = data; return this; } /** * Msg. */ public Builder msg(String msg) { this.msg = msg; return this; } /** * Success. */ public Builder success(String success) { this.success = success; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ExternalErrorSAEWeb.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ExternalErrorSAEWeb} extends {@link TeaModel} * * <p>ExternalErrorSAEWeb</p> */ public class ExternalErrorSAEWeb extends TeaModel { @com.aliyun.core.annotation.NameInMap("code") private Integer code; @com.aliyun.core.annotation.NameInMap("errorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("message") private String message; @com.aliyun.core.annotation.NameInMap("requestId") private String requestId; @com.aliyun.core.annotation.NameInMap("success") private Boolean success; private ExternalErrorSAEWeb(Builder builder) { this.code = builder.code; this.errorCode = builder.errorCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static ExternalErrorSAEWeb create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public Integer getCode() { return this.code; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private Integer code; private String errorCode; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(ExternalErrorSAEWeb model) { this.code = model.code; this.errorCode = model.errorCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * code. */ public Builder code(Integer code) { this.code = code; return this; } /** * errorCode. */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * message. */ public Builder message(String message) { this.message = message; return this; } /** * requestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * success. */ public Builder success(Boolean success) { this.success = success; return this; } public ExternalErrorSAEWeb build() { return new ExternalErrorSAEWeb(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GRPCAction.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GRPCAction} extends {@link TeaModel} * * <p>GRPCAction</p> */ public class GRPCAction extends TeaModel { @com.aliyun.core.annotation.NameInMap("port") private Integer port; @com.aliyun.core.annotation.NameInMap("service") private String service; private GRPCAction(Builder builder) { this.port = builder.port; this.service = builder.service; } public static Builder builder() { return new Builder(); } public static GRPCAction create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return port */ public Integer getPort() { return this.port; } /** * @return service */ public String getService() { return this.service; } public static final class Builder { private Integer port; private String service; private Builder() { } private Builder(GRPCAction model) { this.port = model.port; this.service = model.service; } /** * port. */ public Builder port(Integer port) { this.port = port; return this; } /** * service. */ public Builder service(String service) { this.service = service; return this; } public GRPCAction build() { return new GRPCAction(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetApplicationLogsInput.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetApplicationLogsInput} extends {@link TeaModel} * * <p>GetApplicationLogsInput</p> */ public class GetApplicationLogsInput extends TeaModel { @com.aliyun.core.annotation.NameInMap("backwardLine") private Long backwardLine; @com.aliyun.core.annotation.NameInMap("endTime") @com.aliyun.core.annotation.Validation(required = true) private Long endTime; @com.aliyun.core.annotation.NameInMap("forwardLine") private Long forwardLine; @com.aliyun.core.annotation.NameInMap("instanceID") private String instanceID; @com.aliyun.core.annotation.NameInMap("isTail") private Boolean isTail; @com.aliyun.core.annotation.NameInMap("match") private String match; @com.aliyun.core.annotation.NameInMap("message") private String message; @com.aliyun.core.annotation.NameInMap("offset") private Long offset; @com.aliyun.core.annotation.NameInMap("packID") private String packID; @com.aliyun.core.annotation.NameInMap("packMeta") private String packMeta; @com.aliyun.core.annotation.NameInMap("startTime") @com.aliyun.core.annotation.Validation(required = true) private Long startTime; @com.aliyun.core.annotation.NameInMap("timestamp") private String timestamp; @com.aliyun.core.annotation.NameInMap("versionID") private String versionID; private GetApplicationLogsInput(Builder builder) { this.backwardLine = builder.backwardLine; this.endTime = builder.endTime; this.forwardLine = builder.forwardLine; this.instanceID = builder.instanceID; this.isTail = builder.isTail; this.match = builder.match; this.message = builder.message; this.offset = builder.offset; this.packID = builder.packID; this.packMeta = builder.packMeta; this.startTime = builder.startTime; this.timestamp = builder.timestamp; this.versionID = builder.versionID; } public static Builder builder() { return new Builder(); } public static GetApplicationLogsInput create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return backwardLine */ public Long getBackwardLine() { return this.backwardLine; } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return forwardLine */ public Long getForwardLine() { return this.forwardLine; } /** * @return instanceID */ public String getInstanceID() { return this.instanceID; } /** * @return isTail */ public Boolean getIsTail() { return this.isTail; } /** * @return match */ public String getMatch() { return this.match; } /** * @return message */ public String getMessage() { return this.message; } /** * @return offset */ public Long getOffset() { return this.offset; } /** * @return packID */ public String getPackID() { return this.packID; } /** * @return packMeta */ public String getPackMeta() { return this.packMeta; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } /** * @return timestamp */ public String getTimestamp() { return this.timestamp; } /** * @return versionID */ public String getVersionID() { return this.versionID; } public static final class Builder { private Long backwardLine; private Long endTime; private Long forwardLine; private String instanceID; private Boolean isTail; private String match; private String message; private Long offset; private String packID; private String packMeta; private Long startTime; private String timestamp; private String versionID; private Builder() { } private Builder(GetApplicationLogsInput model) { this.backwardLine = model.backwardLine; this.endTime = model.endTime; this.forwardLine = model.forwardLine; this.instanceID = model.instanceID; this.isTail = model.isTail; this.match = model.match; this.message = model.message; this.offset = model.offset; this.packID = model.packID; this.packMeta = model.packMeta; this.startTime = model.startTime; this.timestamp = model.timestamp; this.versionID = model.versionID; } /** * backwardLine. */ public Builder backwardLine(Long backwardLine) { this.backwardLine = backwardLine; return this; } /** * <p>This parameter is required.</p> */ public Builder endTime(Long endTime) { this.endTime = endTime; return this; } /** * forwardLine. */ public Builder forwardLine(Long forwardLine) { this.forwardLine = forwardLine; return this; } /** * instanceID. */ public Builder instanceID(String instanceID) { this.instanceID = instanceID; return this; } /** * isTail. */ public Builder isTail(Boolean isTail) { this.isTail = isTail; return this; } /** * match. */ public Builder match(String match) { this.match = match; return this; } /** * message. */ public Builder message(String message) { this.message = message; return this; } /** * offset. */ public Builder offset(Long offset) { this.offset = offset; return this; } /** * packID. */ public Builder packID(String packID) { this.packID = packID; return this; } /** * packMeta. */ public Builder packMeta(String packMeta) { this.packMeta = packMeta; return this; } /** * <p>This parameter is required.</p> */ public Builder startTime(Long startTime) { this.startTime = startTime; return this; } /** * timestamp. */ public Builder timestamp(String timestamp) { this.timestamp = timestamp; return this; } /** * versionID. */ public Builder versionID(String versionID) { this.versionID = versionID; return this; } public GetApplicationLogsInput build() { return new GetApplicationLogsInput(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetApplicationLogsOutput.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetApplicationLogsOutput} extends {@link TeaModel} * * <p>GetApplicationLogsOutput</p> */ public class GetApplicationLogsOutput extends TeaModel { @com.aliyun.core.annotation.NameInMap("logEntrys") private java.util.List<LogEntry> logEntrys; @com.aliyun.core.annotation.NameInMap("nextOffset") private Long nextOffset; @com.aliyun.core.annotation.NameInMap("requestId") private String requestId; private GetApplicationLogsOutput(Builder builder) { this.logEntrys = builder.logEntrys; this.nextOffset = builder.nextOffset; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetApplicationLogsOutput create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return logEntrys */ public java.util.List<LogEntry> getLogEntrys() { return this.logEntrys; } /** * @return nextOffset */ public Long getNextOffset() { return this.nextOffset; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<LogEntry> logEntrys; private Long nextOffset; private String requestId; private Builder() { } private Builder(GetApplicationLogsOutput model) { this.logEntrys = model.logEntrys; this.nextOffset = model.nextOffset; this.requestId = model.requestId; } /** * logEntrys. */ public Builder logEntrys(java.util.List<LogEntry> logEntrys) { this.logEntrys = logEntrys; return this; } /** * nextOffset. */ public Builder nextOffset(Long nextOffset) { this.nextOffset = nextOffset; return this; } /** * requestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetApplicationLogsOutput build() { return new GetApplicationLogsOutput(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetApplicationRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetApplicationRequest} extends {@link RequestModel} * * <p>GetApplicationRequest</p> */ public class GetApplicationRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceId") private String namespaceId; private GetApplicationRequest(Builder builder) { super(builder); this.appId = builder.appId; this.appName = builder.appName; this.namespaceId = builder.namespaceId; } public static Builder builder() { return new Builder(); } public static GetApplicationRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return namespaceId */ public String getNamespaceId() { return this.namespaceId; } public static final class Builder extends Request.Builder<GetApplicationRequest, Builder> { private String appId; private String appName; private String namespaceId; private Builder() { super(); } private Builder(GetApplicationRequest request) { super(request); this.appId = request.appId; this.appName = request.appName; this.namespaceId = request.namespaceId; } /** * <p>The application ID.</p> * * <strong>example:</strong> * <p>017f39b8-dfa4-4e16-a84b-1dcee4b1****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>The application name.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder appName(String appName) { this.putQueryParameter("AppName", appName); this.appName = appName; return this; } /** * <p>The ID of the namespace.</p> * * <strong>example:</strong> * <p>cn-shenzhen</p> */ public Builder namespaceId(String namespaceId) { this.putQueryParameter("NamespaceId", namespaceId); this.namespaceId = namespaceId; return this; } @Override public GetApplicationRequest build() { return new GetApplicationRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetApplicationResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetApplicationResponse} extends {@link TeaModel} * * <p>GetApplicationResponse</p> */ public class GetApplicationResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private GetApplicationResponseBody body; private GetApplicationResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetApplicationResponse 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 GetApplicationResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetApplicationResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetApplicationResponseBody body); @Override GetApplicationResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetApplicationResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetApplicationResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetApplicationResponse 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(GetApplicationResponseBody body) { this.body = body; return this; } @Override public GetApplicationResponse build() { return new GetApplicationResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetApplicationResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetApplicationResponseBody} extends {@link TeaModel} * * <p>GetApplicationResponseBody</p> */ public class GetApplicationResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Application") private Application application; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TraceId") private String traceId; private GetApplicationResponseBody(Builder builder) { this.application = builder.application; this.message = builder.message; this.requestId = builder.requestId; this.traceId = builder.traceId; } public static Builder builder() { return new Builder(); } public static GetApplicationResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return application */ public Application getApplication() { return this.application; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return traceId */ public String getTraceId() { return this.traceId; } public static final class Builder { private Application application; private String message; private String requestId; private String traceId; private Builder() { } private Builder(GetApplicationResponseBody model) { this.application = model.application; this.message = model.message; this.requestId = model.requestId; this.traceId = model.traceId; } /** * <p>The details of the application.</p> */ public Builder application(Application application) { this.application = application; return this; } /** * <p>The additional information returned. Valid values:</p> * <ul> * <li>When a request is successful, <strong>success</strong>is returned.</li> * <li>An error code is returned when a request failed.</li> * </ul> * * <strong>example:</strong> * <p>success</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>01CF26C7-00A3-4AA6-BA76-7E95F2A3****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The ID of the trace. The ID is used to query the details of a request.</p> * * <strong>example:</strong> * <p>ac1a0b2215622920113732501e****</p> */ public Builder traceId(String traceId) { this.traceId = traceId; return this; } public GetApplicationResponseBody build() { return new GetApplicationResponseBody(this); } } /** * * {@link GetApplicationResponseBody} extends {@link TeaModel} * * <p>GetApplicationResponseBody</p> */ public static class Application extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppDescription") private String appDescription; @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @com.aliyun.core.annotation.NameInMap("BaseAppId") private String baseAppId; @com.aliyun.core.annotation.NameInMap("Cpu") private Integer cpu; @com.aliyun.core.annotation.NameInMap("Instances") private Integer instances; @com.aliyun.core.annotation.NameInMap("Mem") private Integer mem; @com.aliyun.core.annotation.NameInMap("MseEnabled") private Boolean mseEnabled; @com.aliyun.core.annotation.NameInMap("MseNamespaceId") private String mseNamespaceId; @com.aliyun.core.annotation.NameInMap("NamespaceId") private String namespaceId; @com.aliyun.core.annotation.NameInMap("ProgrammingLanguage") private String programmingLanguage; @com.aliyun.core.annotation.NameInMap("RunningInstances") private Integer runningInstances; @com.aliyun.core.annotation.NameInMap("ScaleRuleEnabled") private String scaleRuleEnabled; @com.aliyun.core.annotation.NameInMap("ScaleRuleType") private String scaleRuleType; private Application(Builder builder) { this.appDescription = builder.appDescription; this.appId = builder.appId; this.appName = builder.appName; this.baseAppId = builder.baseAppId; this.cpu = builder.cpu; this.instances = builder.instances; this.mem = builder.mem; this.mseEnabled = builder.mseEnabled; this.mseNamespaceId = builder.mseNamespaceId; this.namespaceId = builder.namespaceId; this.programmingLanguage = builder.programmingLanguage; this.runningInstances = builder.runningInstances; this.scaleRuleEnabled = builder.scaleRuleEnabled; this.scaleRuleType = builder.scaleRuleType; } public static Builder builder() { return new Builder(); } public static Application create() { return builder().build(); } /** * @return appDescription */ public String getAppDescription() { return this.appDescription; } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return baseAppId */ public String getBaseAppId() { return this.baseAppId; } /** * @return cpu */ public Integer getCpu() { return this.cpu; } /** * @return instances */ public Integer getInstances() { return this.instances; } /** * @return mem */ public Integer getMem() { return this.mem; } /** * @return mseEnabled */ public Boolean getMseEnabled() { return this.mseEnabled; } /** * @return mseNamespaceId */ public String getMseNamespaceId() { return this.mseNamespaceId; } /** * @return namespaceId */ public String getNamespaceId() { return this.namespaceId; } /** * @return programmingLanguage */ public String getProgrammingLanguage() { return this.programmingLanguage; } /** * @return runningInstances */ public Integer getRunningInstances() { return this.runningInstances; } /** * @return scaleRuleEnabled */ public String getScaleRuleEnabled() { return this.scaleRuleEnabled; } /** * @return scaleRuleType */ public String getScaleRuleType() { return this.scaleRuleType; } public static final class Builder { private String appDescription; private String appId; private String appName; private String baseAppId; private Integer cpu; private Integer instances; private Integer mem; private Boolean mseEnabled; private String mseNamespaceId; private String namespaceId; private String programmingLanguage; private Integer runningInstances; private String scaleRuleEnabled; private String scaleRuleType; private Builder() { } private Builder(Application model) { this.appDescription = model.appDescription; this.appId = model.appId; this.appName = model.appName; this.baseAppId = model.baseAppId; this.cpu = model.cpu; this.instances = model.instances; this.mem = model.mem; this.mseEnabled = model.mseEnabled; this.mseNamespaceId = model.mseNamespaceId; this.namespaceId = model.namespaceId; this.programmingLanguage = model.programmingLanguage; this.runningInstances = model.runningInstances; this.scaleRuleEnabled = model.scaleRuleEnabled; this.scaleRuleType = model.scaleRuleType; } /** * <p>The description of the application.</p> */ public Builder appDescription(String appDescription) { this.appDescription = appDescription; return this; } /** * <p>The application ID.</p> * * <strong>example:</strong> * <p>443d638a-ef76-47c4-b707-61197d******</p> */ public Builder appId(String appId) { this.appId = appId; return this; } /** * <p>The application name.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder appName(String appName) { this.appName = appName; return this; } /** * <p>The ID of the basic application.</p> * * <strong>example:</strong> * <p>ee99cce6-1c8e-4bfa-96c3-3e2fa9******</p> */ public Builder baseAppId(String baseAppId) { this.baseAppId = baseAppId; return this; } /** * <p>The CPU specifications that are required for each instance. Unit: millicores. This parameter cannot be set to 0. Valid values:</p> * <ul> * <li><strong>500</strong></li> * <li><strong>1000</strong></li> * <li><strong>2000</strong></li> * <li><strong>4000</strong></li> * <li><strong>8000</strong></li> * <li><strong>12000</strong></li> * <li><strong>16000</strong></li> * <li><strong>32000</strong></li> * </ul> * * <strong>example:</strong> * <p>2000</p> */ public Builder cpu(Integer cpu) { this.cpu = cpu; return this; } /** * <p>The number of application instances.</p> * * <strong>example:</strong> * <p>i-8ps2o182102o1jv05bys</p> */ public Builder instances(Integer instances) { this.instances = instances; return this; } /** * <p>The memory size that is required by each instance. Unit: MB. This parameter cannot be set to 0. The values of this parameter correspond to the values of the Cpu parameter:</p> * <ul> * <li>This parameter is set to <strong>1024</strong> if the Cpu parameter is set to 500 or 1000.</li> * <li>This parameter is set to <strong>2048</strong> if the Cpu parameter is set to 500, 1000, or 2000.</li> * <li>This parameter is set to <strong>4096</strong> if the Cpu parameter is set to 1000, 2000, or 4000.</li> * <li>This parameter is set to <strong>8192</strong> if the Cpu parameter is set to 2000, 4000, or 8000.</li> * <li>This parameter is set to <strong>12288</strong> if the Cpu parameter is set to 12000.</li> * <li>This parameter is set to <strong>16384</strong> if the Cpu parameter is set to 4000, 8000, or 16000.</li> * <li>This parameter is set to <strong>24576</strong> if the Cpu parameter is set to 12000.</li> * <li>This parameter is set to <strong>32768</strong> if the Cpu parameter is set to 16000.</li> * <li>This parameter is set to <strong>65536</strong> if the Cpu parameter is set to 8000, 16000, or 32000.</li> * <li>This parameter is set to <strong>131072</strong> if the Cpu parameter is set to 32000.</li> * </ul> * * <strong>example:</strong> * <p>4096</p> */ public Builder mem(Integer mem) { this.mem = mem; return this; } /** * <p>Specifies whether to enable WebAssembly Filter. Valid values:</p> * <ul> * <li>true: enables this parameter.</li> * <li>false: disables this parameter.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder mseEnabled(Boolean mseEnabled) { this.mseEnabled = mseEnabled; return this; } /** * <p>The ID of the namespace to which the MSE instance belongs.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder mseNamespaceId(String mseNamespaceId) { this.mseNamespaceId = mseNamespaceId; return this; } /** * <p>The namespace ID.</p> * * <strong>example:</strong> * <p>cn-shenzhen</p> */ public Builder namespaceId(String namespaceId) { this.namespaceId = namespaceId; return this; } /** * <p>The programming language that is used to create the application. Valid values:</p> * <ul> * <li><strong>java</strong> :Java.</li> * <li><strong>php</strong>: PHP.</li> * <li><strong>other</strong>: other programming languages, such as Python, C++, Go, .NET, and Node.js</li> * </ul> * * <strong>example:</strong> * <p>java</p> */ public Builder programmingLanguage(String programmingLanguage) { this.programmingLanguage = programmingLanguage; return this; } /** * <p>The number of application instances that are running.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder runningInstances(Integer runningInstances) { this.runningInstances = runningInstances; return this; } /** * <p>Indicates whether the auto scaling policy is enabled. Valid values:</p> * <ul> * <li><strong>true</strong>: The auto scaling policy is enabled.</li> * <li><strong>false</strong>: The auto scaling policy is disabled.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder scaleRuleEnabled(String scaleRuleEnabled) { this.scaleRuleEnabled = scaleRuleEnabled; return this; } /** * <p>The type of the auto scaling policy. Valid values:</p> * <ul> * <li><strong>timing</strong>: a scheduled auto scaling policy.</li> * <li><strong>metric</strong>: a metric-based auto scaling policy.</li> * <li><strong>mix</strong>: a hybrid auto scaling policy.</li> * </ul> * * <strong>example:</strong> * <p>timing</p> */ public Builder scaleRuleType(String scaleRuleType) { this.scaleRuleType = scaleRuleType; return this; } public Application build() { return new Application(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetArmsTopNMetricRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetArmsTopNMetricRequest} extends {@link RequestModel} * * <p>GetArmsTopNMetricRequest</p> */ public class GetArmsTopNMetricRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppSource") private String appSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CpuStrategy") private String cpuStrategy; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") @com.aliyun.core.annotation.Validation(required = true) private Long endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Limit") @com.aliyun.core.annotation.Validation(required = true) private Long limit; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OrderBy") @com.aliyun.core.annotation.Validation(required = true) private String orderBy; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") @com.aliyun.core.annotation.Validation(required = true) private Long startTime; private GetArmsTopNMetricRequest(Builder builder) { super(builder); this.appSource = builder.appSource; this.cpuStrategy = builder.cpuStrategy; this.endTime = builder.endTime; this.limit = builder.limit; this.orderBy = builder.orderBy; this.regionId = builder.regionId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static GetArmsTopNMetricRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appSource */ public String getAppSource() { return this.appSource; } /** * @return cpuStrategy */ public String getCpuStrategy() { return this.cpuStrategy; } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return limit */ public Long getLimit() { return this.limit; } /** * @return orderBy */ public String getOrderBy() { return this.orderBy; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<GetArmsTopNMetricRequest, Builder> { private String appSource; private String cpuStrategy; private Long endTime; private Long limit; private String orderBy; private String regionId; private Long startTime; private Builder() { super(); } private Builder(GetArmsTopNMetricRequest request) { super(request); this.appSource = request.appSource; this.cpuStrategy = request.cpuStrategy; this.endTime = request.endTime; this.limit = request.limit; this.orderBy = request.orderBy; this.regionId = request.regionId; this.startTime = request.startTime; } /** * <p>The CPU allocation policy. Valid values:</p> * <ul> * <li><strong>request</strong>: CPU cores are allocated only when a request is initiated.</li> * <li><strong>always</strong>: Fixed CPU cores are always allocated.</li> * </ul> * * <strong>example:</strong> * <p>micro_service</p> */ public Builder appSource(String appSource) { this.putQueryParameter("AppSource", appSource); this.appSource = appSource; return this; } /** * <p>The additional information that is returned. The following limits are imposed on the ID:</p> * <ul> * <li>success: If the call is successful, <strong>success</strong> is returned.</li> * <li>An error code: If the call fails, an error code is returned.</li> * </ul> * * <strong>example:</strong> * <p>always</p> */ public Builder cpuStrategy(String cpuStrategy) { this.putQueryParameter("CpuStrategy", cpuStrategy); this.cpuStrategy = cpuStrategy; return this; } /** * <p>The SAE application type. Valid values:</p> * <ul> * <li><strong>micro_service</strong></li> * <li><strong>web</strong></li> * <li><strong>job</strong></li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1675824035951</p> */ public Builder endTime(Long endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The beginning of the time range to query.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder limit(Long limit) { this.putQueryParameter("Limit", limit); this.limit = limit; return this; } /** * <p>The number of entries to return. Valid values: 0 to 100.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>count</p> */ public Builder orderBy(String orderBy) { this.putQueryParameter("OrderBy", orderBy); this.orderBy = orderBy; return this; } /** * <p>The field based on which you want to sort the returned entries.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The end of the time range to query.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1675823135951</p> */ public Builder startTime(Long startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public GetArmsTopNMetricRequest build() { return new GetArmsTopNMetricRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetArmsTopNMetricResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetArmsTopNMetricResponse} extends {@link TeaModel} * * <p>GetArmsTopNMetricResponse</p> */ public class GetArmsTopNMetricResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private GetArmsTopNMetricResponseBody body; private GetArmsTopNMetricResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetArmsTopNMetricResponse 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 GetArmsTopNMetricResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetArmsTopNMetricResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetArmsTopNMetricResponseBody body); @Override GetArmsTopNMetricResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetArmsTopNMetricResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetArmsTopNMetricResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetArmsTopNMetricResponse 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(GetArmsTopNMetricResponseBody body) { this.body = body; return this; } @Override public GetArmsTopNMetricResponse build() { return new GetArmsTopNMetricResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetArmsTopNMetricResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetArmsTopNMetricResponseBody} extends {@link TeaModel} * * <p>GetArmsTopNMetricResponseBody</p> */ public class GetArmsTopNMetricResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private GetArmsTopNMetricResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetArmsTopNMetricResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private String code; private java.util.List<Data> data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(GetArmsTopNMetricResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code. The following limits are imposed on the ID:</p> * <ul> * <li><strong>2xx</strong>: The call was successful.</li> * <li><strong>3xx</strong>: The call was redirected.</li> * <li><strong>4xx</strong>: The call failed.</li> * <li><strong>5xx</strong>: A server error occurred.</li> * </ul> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The details of applications.</p> */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>success</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>3B763F98-0BA2-5C23-B6B8-558568D2C1C2</p> * * <strong>example:</strong> * <p>3B763F98-0BA2-5C23-B6B8-558568D2****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the list of applications was obtained. The following limits are imposed on the ID:</p> * <ul> * <li><strong>true</strong>: The namespaces were obtained.</li> * <li><strong>false</strong>: no</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public GetArmsTopNMetricResponseBody build() { return new GetArmsTopNMetricResponseBody(this); } } /** * * {@link GetArmsTopNMetricResponseBody} extends {@link TeaModel} * * <p>GetArmsTopNMetricResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.NameInMap("Count") private Long count; @com.aliyun.core.annotation.NameInMap("Error") private Long error; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("Rt") private Long rt; private Data(Builder builder) { this.appId = builder.appId; this.count = builder.count; this.error = builder.error; this.name = builder.name; this.regionId = builder.regionId; this.rt = builder.rt; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return count */ public Long getCount() { return this.count; } /** * @return error */ public Long getError() { return this.error; } /** * @return name */ public String getName() { return this.name; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return rt */ public Long getRt() { return this.rt; } public static final class Builder { private String appId; private Long count; private Long error; private String name; private String regionId; private Long rt; private Builder() { } private Builder(Data model) { this.appId = model.appId; this.count = model.count; this.error = model.error; this.name = model.name; this.regionId = model.regionId; this.rt = model.rt; } /** * <p>The application ID.</p> * * <strong>example:</strong> * <p>7171a6ca-d1cd-4928-8642-7d5cfe69****</p> */ public Builder appId(String appId) { this.appId = appId; return this; } /** * <p>The total number of requests.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder count(Long count) { this.count = count; return this; } /** * <p>The number of errors.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder error(Long error) { this.error = error; return this; } /** * <p>The application name.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The namespace ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The average response time. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder rt(Long rt) { this.rt = rt; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetAvailabilityMetricRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetAvailabilityMetricRequest} extends {@link RequestModel} * * <p>GetAvailabilityMetricRequest</p> */ public class GetAvailabilityMetricRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppSource") private String appSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CpuStrategy") private String cpuStrategy; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Limit") @com.aliyun.core.annotation.Validation(required = true) private Long limit; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private GetAvailabilityMetricRequest(Builder builder) { super(builder); this.appSource = builder.appSource; this.cpuStrategy = builder.cpuStrategy; this.limit = builder.limit; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static GetAvailabilityMetricRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appSource */ public String getAppSource() { return this.appSource; } /** * @return cpuStrategy */ public String getCpuStrategy() { return this.cpuStrategy; } /** * @return limit */ public Long getLimit() { return this.limit; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<GetAvailabilityMetricRequest, Builder> { private String appSource; private String cpuStrategy; private Long limit; private String regionId; private Builder() { super(); } private Builder(GetAvailabilityMetricRequest request) { super(request); this.appSource = request.appSource; this.cpuStrategy = request.cpuStrategy; this.limit = request.limit; this.regionId = request.regionId; } /** * <p>The SAE application type. Valid values:</p> * <ul> * <li><strong>micro_service</strong></li> * <li><strong>web</strong></li> * <li><strong>job</strong></li> * </ul> * * <strong>example:</strong> * <p>micro_service</p> */ public Builder appSource(String appSource) { this.putQueryParameter("AppSource", appSource); this.appSource = appSource; return this; } /** * <p>The CPU allocation policy. Valid values:</p> * <ul> * <li><strong>request</strong>: CPU cores are allocated only when a request is initiated.</li> * <li><strong>always</strong>: Fixed CPU cores are always allocated.</li> * </ul> * * <strong>example:</strong> * <p>always</p> */ public Builder cpuStrategy(String cpuStrategy) { this.putQueryParameter("CpuStrategy", cpuStrategy); this.cpuStrategy = cpuStrategy; return this; } /** * <p>The number of entries to return. Valid values: 0 to 100.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder limit(Long limit) { this.putQueryParameter("Limit", limit); this.limit = limit; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public GetAvailabilityMetricRequest build() { return new GetAvailabilityMetricRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetAvailabilityMetricResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetAvailabilityMetricResponse} extends {@link TeaModel} * * <p>GetAvailabilityMetricResponse</p> */ public class GetAvailabilityMetricResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private GetAvailabilityMetricResponseBody body; private GetAvailabilityMetricResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetAvailabilityMetricResponse 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 GetAvailabilityMetricResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetAvailabilityMetricResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetAvailabilityMetricResponseBody body); @Override GetAvailabilityMetricResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetAvailabilityMetricResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetAvailabilityMetricResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetAvailabilityMetricResponse 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(GetAvailabilityMetricResponseBody body) { this.body = body; return this; } @Override public GetAvailabilityMetricResponse build() { return new GetAvailabilityMetricResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetAvailabilityMetricResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetAvailabilityMetricResponseBody} extends {@link TeaModel} * * <p>GetAvailabilityMetricResponseBody</p> */ public class GetAvailabilityMetricResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private GetAvailabilityMetricResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetAvailabilityMetricResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private String code; private java.util.List<Data> data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(GetAvailabilityMetricResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code. The following limits are imposed on the ID:</p> * <ul> * <li><strong>2xx</strong>: The call was successful.</li> * <li><strong>3xx</strong>: The call was redirected.</li> * <li><strong>4xx</strong>: The call failed.</li> * <li><strong>5xx</strong>: A server error occurred.</li> * </ul> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The data entries returned.</p> */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * <p>The additional information that is returned. The following limits are imposed on the ID:</p> * <ul> * <li>success: If the call is successful, <strong>success</strong> is returned.</li> * <li>An error code: If the call fails, an error code is returned.</li> * </ul> * * <strong>example:</strong> * <p>success</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>3A92C4EA-4C53-5A1C-8AEB-F2DB11982D5F</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the list of applications was obtained. The following limits are imposed on the ID:</p> * <ul> * <li><strong>true</strong>: The namespaces were obtained.</li> * <li><strong>false</strong>: no</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public GetAvailabilityMetricResponseBody build() { return new GetAvailabilityMetricResponseBody(this); } } /** * * {@link GetAvailabilityMetricResponseBody} extends {@link TeaModel} * * <p>GetAvailabilityMetricResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.NameInMap("EnableAutoscale") private Long enableAutoscale; @com.aliyun.core.annotation.NameInMap("ErrorInstances") private Long errorInstances; @com.aliyun.core.annotation.NameInMap("Instances") private Long instances; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("Runnings") private Long runnings; private Data(Builder builder) { this.appId = builder.appId; this.enableAutoscale = builder.enableAutoscale; this.errorInstances = builder.errorInstances; this.instances = builder.instances; this.name = builder.name; this.regionId = builder.regionId; this.runnings = builder.runnings; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return enableAutoscale */ public Long getEnableAutoscale() { return this.enableAutoscale; } /** * @return errorInstances */ public Long getErrorInstances() { return this.errorInstances; } /** * @return instances */ public Long getInstances() { return this.instances; } /** * @return name */ public String getName() { return this.name; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return runnings */ public Long getRunnings() { return this.runnings; } public static final class Builder { private String appId; private Long enableAutoscale; private Long errorInstances; private Long instances; private String name; private String regionId; private Long runnings; private Builder() { } private Builder(Data model) { this.appId = model.appId; this.enableAutoscale = model.enableAutoscale; this.errorInstances = model.errorInstances; this.instances = model.instances; this.name = model.name; this.regionId = model.regionId; this.runnings = model.runnings; } /** * <p>The application ID.</p> * * <strong>example:</strong> * <p>017f39b8-dfa4-4e16-a84b-1dcee4b1****</p> */ public Builder appId(String appId) { this.appId = appId; return this; } /** * <p>Indicates whether an auto scaling policy is enabled. Valid values:</p> * <ul> * <li><strong>1</strong>: An auto scaling policy is enabled.</li> * <li><strong>0</strong>: No auto scaling policy is enabled.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder enableAutoscale(Long enableAutoscale) { this.enableAutoscale = enableAutoscale; return this; } /** * <p>The number of abnormal instances.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder errorInstances(Long errorInstances) { this.errorInstances = errorInstances; return this; } /** * <p>The expected number of instances.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder instances(Long instances) { this.instances = instances; return this; } /** * <p>The application name.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The namespace ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The current number of instances.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder runnings(Long runnings) { this.runnings = runnings; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetChangeOrderMetricRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetChangeOrderMetricRequest} extends {@link RequestModel} * * <p>GetChangeOrderMetricRequest</p> */ public class GetChangeOrderMetricRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppSource") private String appSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CoType") private String coType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CpuStrategy") private String cpuStrategy; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CreateTime") @com.aliyun.core.annotation.Validation(required = true) private String createTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Limit") @com.aliyun.core.annotation.Validation(required = true) private Long limit; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OrderBy") @com.aliyun.core.annotation.Validation(required = true) private String orderBy; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private GetChangeOrderMetricRequest(Builder builder) { super(builder); this.appId = builder.appId; this.appSource = builder.appSource; this.coType = builder.coType; this.cpuStrategy = builder.cpuStrategy; this.createTime = builder.createTime; this.limit = builder.limit; this.orderBy = builder.orderBy; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static GetChangeOrderMetricRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return appSource */ public String getAppSource() { return this.appSource; } /** * @return coType */ public String getCoType() { return this.coType; } /** * @return cpuStrategy */ public String getCpuStrategy() { return this.cpuStrategy; } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return limit */ public Long getLimit() { return this.limit; } /** * @return orderBy */ public String getOrderBy() { return this.orderBy; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<GetChangeOrderMetricRequest, Builder> { private String appId; private String appSource; private String coType; private String cpuStrategy; private String createTime; private Long limit; private String orderBy; private String regionId; private Builder() { super(); } private Builder(GetChangeOrderMetricRequest request) { super(request); this.appId = request.appId; this.appSource = request.appSource; this.coType = request.coType; this.cpuStrategy = request.cpuStrategy; this.createTime = request.createTime; this.limit = request.limit; this.orderBy = request.orderBy; this.regionId = request.regionId; } /** * AppId. */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>The SAE application type. Valid values:</p> * <ul> * <li><strong>micro_service</strong></li> * <li><strong>web</strong></li> * <li><strong>job</strong></li> * </ul> * * <strong>example:</strong> * <p>micro_service</p> */ public Builder appSource(String appSource) { this.putQueryParameter("AppSource", appSource); this.appSource = appSource; return this; } /** * CoType. */ public Builder coType(String coType) { this.putQueryParameter("CoType", coType); this.coType = coType; return this; } /** * <p>The CPU allocation policy. Valid values:</p> * <ul> * <li><strong>request</strong>: CPU cores are allocated only when a request is initiated.</li> * <li><strong>always</strong>: Fixed CPU cores are always allocated.</li> * </ul> * * <strong>example:</strong> * <p>always</p> */ public Builder cpuStrategy(String cpuStrategy) { this.putQueryParameter("CpuStrategy", cpuStrategy); this.cpuStrategy = cpuStrategy; return this; } /** * <p>The start time when the change order was created.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1661152748883</p> */ public Builder createTime(String createTime) { this.putQueryParameter("CreateTime", createTime); this.createTime = createTime; return this; } /** * <p>The number of entries to return. Valid values: 0 to 100.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder limit(Long limit) { this.putQueryParameter("Limit", limit); this.limit = limit; return this; } /** * <p>The field based on which you want to sort the returned entries.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>errorPercent</p> */ public Builder orderBy(String orderBy) { this.putQueryParameter("OrderBy", orderBy); this.orderBy = orderBy; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public GetChangeOrderMetricRequest build() { return new GetChangeOrderMetricRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetChangeOrderMetricResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetChangeOrderMetricResponse} extends {@link TeaModel} * * <p>GetChangeOrderMetricResponse</p> */ public class GetChangeOrderMetricResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private GetChangeOrderMetricResponseBody body; private GetChangeOrderMetricResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetChangeOrderMetricResponse 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 GetChangeOrderMetricResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetChangeOrderMetricResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetChangeOrderMetricResponseBody body); @Override GetChangeOrderMetricResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetChangeOrderMetricResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetChangeOrderMetricResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetChangeOrderMetricResponse 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(GetChangeOrderMetricResponseBody body) { this.body = body; return this; } @Override public GetChangeOrderMetricResponse build() { return new GetChangeOrderMetricResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetChangeOrderMetricResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetChangeOrderMetricResponseBody} extends {@link TeaModel} * * <p>GetChangeOrderMetricResponseBody</p> */ public class GetChangeOrderMetricResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private GetChangeOrderMetricResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetChangeOrderMetricResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private String code; private java.util.List<Data> data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(GetChangeOrderMetricResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code. The following limits are imposed on the ID:</p> * <ul> * <li><strong>2xx</strong>: The call was successful.</li> * <li><strong>3xx</strong>: The call was redirected.</li> * <li><strong>4xx</strong>: The call failed.</li> * <li><strong>5xx</strong>: A server error occurred.</li> * </ul> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The details of applications.</p> */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * <p>The additional information that is returned. The following limits are imposed on the ID:</p> * <ul> * <li>success: If the call is successful, <strong>success</strong> is returned.</li> * <li>An error code: If the call fails, an error code is returned.</li> * </ul> * * <strong>example:</strong> * <p>success</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>3B763F98-0BA2-5C23-B6B8-558568D2C1C2</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the microservice list was obtained. The following limits are imposed on the ID:</p> * <ul> * <li><strong>true</strong>: The namespaces were obtained.</li> * <li><strong>false</strong>: no</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public GetChangeOrderMetricResponseBody build() { return new GetChangeOrderMetricResponseBody(this); } } /** * * {@link GetChangeOrderMetricResponseBody} extends {@link TeaModel} * * <p>GetChangeOrderMetricResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.NameInMap("AvgTimeCostMs") private Float avgTimeCostMs; @com.aliyun.core.annotation.NameInMap("Error") private Long error; @com.aliyun.core.annotation.NameInMap("ErrorPercent") private Float errorPercent; @com.aliyun.core.annotation.NameInMap("MaxTimeCostMs") private Float maxTimeCostMs; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("OptimizeSuggestions") private String optimizeSuggestions; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("TaskTimeCostMsAvg") private String taskTimeCostMsAvg; @com.aliyun.core.annotation.NameInMap("Total") private Long total; private Data(Builder builder) { this.appId = builder.appId; this.avgTimeCostMs = builder.avgTimeCostMs; this.error = builder.error; this.errorPercent = builder.errorPercent; this.maxTimeCostMs = builder.maxTimeCostMs; this.name = builder.name; this.optimizeSuggestions = builder.optimizeSuggestions; this.regionId = builder.regionId; this.taskTimeCostMsAvg = builder.taskTimeCostMsAvg; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return avgTimeCostMs */ public Float getAvgTimeCostMs() { return this.avgTimeCostMs; } /** * @return error */ public Long getError() { return this.error; } /** * @return errorPercent */ public Float getErrorPercent() { return this.errorPercent; } /** * @return maxTimeCostMs */ public Float getMaxTimeCostMs() { return this.maxTimeCostMs; } /** * @return name */ public String getName() { return this.name; } /** * @return optimizeSuggestions */ public String getOptimizeSuggestions() { return this.optimizeSuggestions; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return taskTimeCostMsAvg */ public String getTaskTimeCostMsAvg() { return this.taskTimeCostMsAvg; } /** * @return total */ public Long getTotal() { return this.total; } public static final class Builder { private String appId; private Float avgTimeCostMs; private Long error; private Float errorPercent; private Float maxTimeCostMs; private String name; private String optimizeSuggestions; private String regionId; private String taskTimeCostMsAvg; private Long total; private Builder() { } private Builder(Data model) { this.appId = model.appId; this.avgTimeCostMs = model.avgTimeCostMs; this.error = model.error; this.errorPercent = model.errorPercent; this.maxTimeCostMs = model.maxTimeCostMs; this.name = model.name; this.optimizeSuggestions = model.optimizeSuggestions; this.regionId = model.regionId; this.taskTimeCostMsAvg = model.taskTimeCostMsAvg; this.total = model.total; } /** * <p>The application ID.</p> * * <strong>example:</strong> * <p>7171a6ca-d1cd-4928-8642-7d5cfe69****</p> */ public Builder appId(String appId) { this.appId = appId; return this; } /** * AvgTimeCostMs. */ public Builder avgTimeCostMs(Float avgTimeCostMs) { this.avgTimeCostMs = avgTimeCostMs; return this; } /** * <p>The number of abnormal change orders.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder error(Long error) { this.error = error; return this; } /** * <p>The percentage of change failures.</p> * * <strong>example:</strong> * <p>0.25</p> */ public Builder errorPercent(Float errorPercent) { this.errorPercent = errorPercent; return this; } /** * MaxTimeCostMs. */ public Builder maxTimeCostMs(Float maxTimeCostMs) { this.maxTimeCostMs = maxTimeCostMs; return this; } /** * <p>The application name.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder name(String name) { this.name = name; return this; } /** * OptimizeSuggestions. */ public Builder optimizeSuggestions(String optimizeSuggestions) { this.optimizeSuggestions = optimizeSuggestions; return this; } /** * <p>The namespace ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * TaskTimeCostMsAvg. */ public Builder taskTimeCostMsAvg(String taskTimeCostMsAvg) { this.taskTimeCostMsAvg = taskTimeCostMsAvg; return this; } /** * <p>The total number of change orders.</p> * * <strong>example:</strong> * <p>4</p> */ public Builder total(Long total) { this.total = total; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetInstanceLogsInput.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetInstanceLogsInput} extends {@link TeaModel} * * <p>GetInstanceLogsInput</p> */ public class GetInstanceLogsInput extends TeaModel { @com.aliyun.core.annotation.NameInMap("backwardLine") private Long backwardLine; @com.aliyun.core.annotation.NameInMap("endTime") @com.aliyun.core.annotation.Validation(required = true) private Long endTime; @com.aliyun.core.annotation.NameInMap("forwardLine") private Long forwardLine; @com.aliyun.core.annotation.NameInMap("isTail") private Boolean isTail; @com.aliyun.core.annotation.NameInMap("match") private String match; @com.aliyun.core.annotation.NameInMap("message") private String message; @com.aliyun.core.annotation.NameInMap("offset") private Long offset; @com.aliyun.core.annotation.NameInMap("packID") private String packID; @com.aliyun.core.annotation.NameInMap("packMeta") private String packMeta; @com.aliyun.core.annotation.NameInMap("startTime") @com.aliyun.core.annotation.Validation(required = true) private Long startTime; @com.aliyun.core.annotation.NameInMap("timestamp") private String timestamp; @com.aliyun.core.annotation.NameInMap("versionID") private String versionID; private GetInstanceLogsInput(Builder builder) { this.backwardLine = builder.backwardLine; this.endTime = builder.endTime; this.forwardLine = builder.forwardLine; this.isTail = builder.isTail; this.match = builder.match; this.message = builder.message; this.offset = builder.offset; this.packID = builder.packID; this.packMeta = builder.packMeta; this.startTime = builder.startTime; this.timestamp = builder.timestamp; this.versionID = builder.versionID; } public static Builder builder() { return new Builder(); } public static GetInstanceLogsInput create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return backwardLine */ public Long getBackwardLine() { return this.backwardLine; } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return forwardLine */ public Long getForwardLine() { return this.forwardLine; } /** * @return isTail */ public Boolean getIsTail() { return this.isTail; } /** * @return match */ public String getMatch() { return this.match; } /** * @return message */ public String getMessage() { return this.message; } /** * @return offset */ public Long getOffset() { return this.offset; } /** * @return packID */ public String getPackID() { return this.packID; } /** * @return packMeta */ public String getPackMeta() { return this.packMeta; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } /** * @return timestamp */ public String getTimestamp() { return this.timestamp; } /** * @return versionID */ public String getVersionID() { return this.versionID; } public static final class Builder { private Long backwardLine; private Long endTime; private Long forwardLine; private Boolean isTail; private String match; private String message; private Long offset; private String packID; private String packMeta; private Long startTime; private String timestamp; private String versionID; private Builder() { } private Builder(GetInstanceLogsInput model) { this.backwardLine = model.backwardLine; this.endTime = model.endTime; this.forwardLine = model.forwardLine; this.isTail = model.isTail; this.match = model.match; this.message = model.message; this.offset = model.offset; this.packID = model.packID; this.packMeta = model.packMeta; this.startTime = model.startTime; this.timestamp = model.timestamp; this.versionID = model.versionID; } /** * backwardLine. */ public Builder backwardLine(Long backwardLine) { this.backwardLine = backwardLine; return this; } /** * <p>This parameter is required.</p> */ public Builder endTime(Long endTime) { this.endTime = endTime; return this; } /** * forwardLine. */ public Builder forwardLine(Long forwardLine) { this.forwardLine = forwardLine; return this; } /** * isTail. */ public Builder isTail(Boolean isTail) { this.isTail = isTail; return this; } /** * match. */ public Builder match(String match) { this.match = match; return this; } /** * message. */ public Builder message(String message) { this.message = message; return this; } /** * offset. */ public Builder offset(Long offset) { this.offset = offset; return this; } /** * packID. */ public Builder packID(String packID) { this.packID = packID; return this; } /** * packMeta. */ public Builder packMeta(String packMeta) { this.packMeta = packMeta; return this; } /** * <p>This parameter is required.</p> */ public Builder startTime(Long startTime) { this.startTime = startTime; return this; } /** * timestamp. */ public Builder timestamp(String timestamp) { this.timestamp = timestamp; return this; } /** * versionID. */ public Builder versionID(String versionID) { this.versionID = versionID; return this; } public GetInstanceLogsInput build() { return new GetInstanceLogsInput(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetInstanceLogsOutput.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetInstanceLogsOutput} extends {@link TeaModel} * * <p>GetInstanceLogsOutput</p> */ public class GetInstanceLogsOutput extends TeaModel { @com.aliyun.core.annotation.NameInMap("data") private String data; @com.aliyun.core.annotation.NameInMap("requestId") private String requestId; private GetInstanceLogsOutput(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetInstanceLogsOutput create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public String getData() { return this.data; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String data; private String requestId; private Builder() { } private Builder(GetInstanceLogsOutput model) { this.data = model.data; this.requestId = model.requestId; } /** * data. */ public Builder data(String data) { this.data = data; return this; } /** * requestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetInstanceLogsOutput build() { return new GetInstanceLogsOutput(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetPerRequestLogsInput.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetPerRequestLogsInput} extends {@link TeaModel} * * <p>GetPerRequestLogsInput</p> */ public class GetPerRequestLogsInput extends TeaModel { @com.aliyun.core.annotation.NameInMap("endTime") @com.aliyun.core.annotation.Validation(required = true) private Long endTime; @com.aliyun.core.annotation.NameInMap("errorType") private String errorType; @com.aliyun.core.annotation.NameInMap("forwardLine") private Long forwardLine; @com.aliyun.core.annotation.NameInMap("instanceID") private String instanceID; @com.aliyun.core.annotation.NameInMap("isColdStart") private Boolean isColdStart; @com.aliyun.core.annotation.NameInMap("requestID") @com.aliyun.core.annotation.Validation(required = true) private String requestID; @com.aliyun.core.annotation.NameInMap("startTime") @com.aliyun.core.annotation.Validation(required = true) private Long startTime; @com.aliyun.core.annotation.NameInMap("timestamp") private String timestamp; private GetPerRequestLogsInput(Builder builder) { this.endTime = builder.endTime; this.errorType = builder.errorType; this.forwardLine = builder.forwardLine; this.instanceID = builder.instanceID; this.isColdStart = builder.isColdStart; this.requestID = builder.requestID; this.startTime = builder.startTime; this.timestamp = builder.timestamp; } public static Builder builder() { return new Builder(); } public static GetPerRequestLogsInput create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return errorType */ public String getErrorType() { return this.errorType; } /** * @return forwardLine */ public Long getForwardLine() { return this.forwardLine; } /** * @return instanceID */ public String getInstanceID() { return this.instanceID; } /** * @return isColdStart */ public Boolean getIsColdStart() { return this.isColdStart; } /** * @return requestID */ public String getRequestID() { return this.requestID; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } /** * @return timestamp */ public String getTimestamp() { return this.timestamp; } public static final class Builder { private Long endTime; private String errorType; private Long forwardLine; private String instanceID; private Boolean isColdStart; private String requestID; private Long startTime; private String timestamp; private Builder() { } private Builder(GetPerRequestLogsInput model) { this.endTime = model.endTime; this.errorType = model.errorType; this.forwardLine = model.forwardLine; this.instanceID = model.instanceID; this.isColdStart = model.isColdStart; this.requestID = model.requestID; this.startTime = model.startTime; this.timestamp = model.timestamp; } /** * <p>This parameter is required.</p> */ public Builder endTime(Long endTime) { this.endTime = endTime; return this; } /** * errorType. */ public Builder errorType(String errorType) { this.errorType = errorType; return this; } /** * forwardLine. */ public Builder forwardLine(Long forwardLine) { this.forwardLine = forwardLine; return this; } /** * instanceID. */ public Builder instanceID(String instanceID) { this.instanceID = instanceID; return this; } /** * isColdStart. */ public Builder isColdStart(Boolean isColdStart) { this.isColdStart = isColdStart; return this; } /** * <p>This parameter is required.</p> */ public Builder requestID(String requestID) { this.requestID = requestID; return this; } /** * <p>This parameter is required.</p> */ public Builder startTime(Long startTime) { this.startTime = startTime; return this; } /** * timestamp. */ public Builder timestamp(String timestamp) { this.timestamp = timestamp; return this; } public GetPerRequestLogsInput build() { return new GetPerRequestLogsInput(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetPerRequestLogsOutput.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetPerRequestLogsOutput} extends {@link TeaModel} * * <p>GetPerRequestLogsOutput</p> */ public class GetPerRequestLogsOutput extends TeaModel { @com.aliyun.core.annotation.NameInMap("data") private String data; @com.aliyun.core.annotation.NameInMap("requestId") private String requestId; private GetPerRequestLogsOutput(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GetPerRequestLogsOutput create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public String getData() { return this.data; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String data; private String requestId; private Builder() { } private Builder(GetPerRequestLogsOutput model) { this.data = model.data; this.requestId = model.requestId; } /** * data. */ public Builder data(String data) { this.data = data; return this; } /** * requestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetPerRequestLogsOutput build() { return new GetPerRequestLogsOutput(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetQuotaOutput.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetQuotaOutput} extends {@link TeaModel} * * <p>GetQuotaOutput</p> */ public class GetQuotaOutput extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("instanceLimit") private Long instanceLimit; @com.aliyun.core.annotation.NameInMap("instanceUsed") private Long instanceUsed; private GetQuotaOutput(Builder builder) { this.requestId = builder.requestId; this.instanceLimit = builder.instanceLimit; this.instanceUsed = builder.instanceUsed; } public static Builder builder() { return new Builder(); } public static GetQuotaOutput create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return instanceLimit */ public Long getInstanceLimit() { return this.instanceLimit; } /** * @return instanceUsed */ public Long getInstanceUsed() { return this.instanceUsed; } public static final class Builder { private String requestId; private Long instanceLimit; private Long instanceUsed; private Builder() { } private Builder(GetQuotaOutput model) { this.requestId = model.requestId; this.instanceLimit = model.instanceLimit; this.instanceUsed = model.instanceUsed; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * instanceLimit. */ public Builder instanceLimit(Long instanceLimit) { this.instanceLimit = instanceLimit; return this; } /** * instanceUsed. */ public Builder instanceUsed(Long instanceUsed) { this.instanceUsed = instanceUsed; return this; } public GetQuotaOutput build() { return new GetQuotaOutput(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetScaleAppMetricRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetScaleAppMetricRequest} extends {@link RequestModel} * * <p>GetScaleAppMetricRequest</p> */ public class GetScaleAppMetricRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppSource") private String appSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CpuStrategy") private String cpuStrategy; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Limit") @com.aliyun.core.annotation.Validation(required = true) private Long limit; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private GetScaleAppMetricRequest(Builder builder) { super(builder); this.appSource = builder.appSource; this.cpuStrategy = builder.cpuStrategy; this.limit = builder.limit; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static GetScaleAppMetricRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appSource */ public String getAppSource() { return this.appSource; } /** * @return cpuStrategy */ public String getCpuStrategy() { return this.cpuStrategy; } /** * @return limit */ public Long getLimit() { return this.limit; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<GetScaleAppMetricRequest, Builder> { private String appSource; private String cpuStrategy; private Long limit; private String regionId; private Builder() { super(); } private Builder(GetScaleAppMetricRequest request) { super(request); this.appSource = request.appSource; this.cpuStrategy = request.cpuStrategy; this.limit = request.limit; this.regionId = request.regionId; } /** * <p>The SAE application type. Valid values:</p> * <ul> * <li><strong>micro_service</strong></li> * <li><strong>web</strong></li> * <li><strong>job</strong></li> * </ul> * * <strong>example:</strong> * <p>micro_service</p> */ public Builder appSource(String appSource) { this.putQueryParameter("AppSource", appSource); this.appSource = appSource; return this; } /** * <p>The CPU allocation policy. Valid values:</p> * <ul> * <li><strong>request</strong>: CPU cores are allocated only when a request is initiated.</li> * <li><strong>always</strong>: Fixed CPU cores are always allocated.</li> * </ul> * * <strong>example:</strong> * <p>always</p> */ public Builder cpuStrategy(String cpuStrategy) { this.putQueryParameter("CpuStrategy", cpuStrategy); this.cpuStrategy = cpuStrategy; return this; } /** * <p>The number of entries to return. Valid values: 0 to 100.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder limit(Long limit) { this.putQueryParameter("Limit", limit); this.limit = limit; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public GetScaleAppMetricRequest build() { return new GetScaleAppMetricRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetScaleAppMetricResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetScaleAppMetricResponse} extends {@link TeaModel} * * <p>GetScaleAppMetricResponse</p> */ public class GetScaleAppMetricResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private GetScaleAppMetricResponseBody body; private GetScaleAppMetricResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetScaleAppMetricResponse 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 GetScaleAppMetricResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetScaleAppMetricResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetScaleAppMetricResponseBody body); @Override GetScaleAppMetricResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetScaleAppMetricResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetScaleAppMetricResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetScaleAppMetricResponse 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(GetScaleAppMetricResponseBody body) { this.body = body; return this; } @Override public GetScaleAppMetricResponse build() { return new GetScaleAppMetricResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetScaleAppMetricResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetScaleAppMetricResponseBody} extends {@link TeaModel} * * <p>GetScaleAppMetricResponseBody</p> */ public class GetScaleAppMetricResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private GetScaleAppMetricResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetScaleAppMetricResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private String code; private java.util.List<Data> data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(GetScaleAppMetricResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code. The following limits are imposed on the ID:</p> * <ul> * <li><strong>2xx</strong>: The call was successful.</li> * <li><strong>3xx</strong>: The call was redirected.</li> * <li><strong>4xx</strong>: The call failed.</li> * <li><strong>5xx</strong>: A server error occurred.</li> * </ul> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The details of applications.</p> */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * <p>The additional information that is returned. The following limits are imposed on the ID:</p> * <ul> * <li>success: If the call is successful, <strong>success</strong> is returned.</li> * <li>An error code: If the call fails, an error code is returned.</li> * </ul> * * <strong>example:</strong> * <p>success</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>3B763F98-0BA2-5C23-B6B8-558568D2C1C2</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the microservice list was obtained. The following limits are imposed on the ID:</p> * <ul> * <li><strong>true</strong>: The namespaces were obtained.</li> * <li><strong>false</strong>: no</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public GetScaleAppMetricResponseBody build() { return new GetScaleAppMetricResponseBody(this); } } /** * * {@link GetScaleAppMetricResponseBody} extends {@link TeaModel} * * <p>GetScaleAppMetricResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.NameInMap("MaxReplicas") private Long maxReplicas; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("Runnings") private Long runnings; private Data(Builder builder) { this.appId = builder.appId; this.maxReplicas = builder.maxReplicas; this.name = builder.name; this.regionId = builder.regionId; this.runnings = builder.runnings; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return maxReplicas */ public Long getMaxReplicas() { return this.maxReplicas; } /** * @return name */ public String getName() { return this.name; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return runnings */ public Long getRunnings() { return this.runnings; } public static final class Builder { private String appId; private Long maxReplicas; private String name; private String regionId; private Long runnings; private Builder() { } private Builder(Data model) { this.appId = model.appId; this.maxReplicas = model.maxReplicas; this.name = model.name; this.regionId = model.regionId; this.runnings = model.runnings; } /** * <p>The application ID.</p> * * <strong>example:</strong> * <p>7171a6ca-d1cd-4928-8642-7d5cfe69****</p> */ public Builder appId(String appId) { this.appId = appId; return this; } /** * <p>The maximum number of instances.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder maxReplicas(Long maxReplicas) { this.maxReplicas = maxReplicas; return this; } /** * <p>The application name.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The namespace ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The current number of instances.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder runnings(Long runnings) { this.runnings = runnings; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetWarningEventMetricRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetWarningEventMetricRequest} extends {@link RequestModel} * * <p>GetWarningEventMetricRequest</p> */ public class GetWarningEventMetricRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppSource") private String appSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CpuStrategy") private String cpuStrategy; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") @com.aliyun.core.annotation.Validation(required = true) private Long endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Limit") @com.aliyun.core.annotation.Validation(required = true) private Long limit; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") @com.aliyun.core.annotation.Validation(required = true) private Long startTime; private GetWarningEventMetricRequest(Builder builder) { super(builder); this.appSource = builder.appSource; this.cpuStrategy = builder.cpuStrategy; this.endTime = builder.endTime; this.limit = builder.limit; this.regionId = builder.regionId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static GetWarningEventMetricRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appSource */ public String getAppSource() { return this.appSource; } /** * @return cpuStrategy */ public String getCpuStrategy() { return this.cpuStrategy; } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return limit */ public Long getLimit() { return this.limit; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<GetWarningEventMetricRequest, Builder> { private String appSource; private String cpuStrategy; private Long endTime; private Long limit; private String regionId; private Long startTime; private Builder() { super(); } private Builder(GetWarningEventMetricRequest request) { super(request); this.appSource = request.appSource; this.cpuStrategy = request.cpuStrategy; this.endTime = request.endTime; this.limit = request.limit; this.regionId = request.regionId; this.startTime = request.startTime; } /** * <p>The SAE application type. Valid values:</p> * <ul> * <li><strong>micro_service</strong></li> * <li><strong>web</strong></li> * <li><strong>job</strong></li> * </ul> * * <strong>example:</strong> * <p>micro_service</p> */ public Builder appSource(String appSource) { this.putQueryParameter("AppSource", appSource); this.appSource = appSource; return this; } /** * <p>The CPU allocation policy. Valid values:</p> * <ul> * <li><strong>request</strong>: CPU cores are allocated only when a request is initiated.</li> * <li><strong>always</strong>: Fixed CPU cores are always allocated.</li> * </ul> * * <strong>example:</strong> * <p>always</p> */ public Builder cpuStrategy(String cpuStrategy) { this.putQueryParameter("CpuStrategy", cpuStrategy); this.cpuStrategy = cpuStrategy; return this; } /** * <p>The end of the time range to query.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1675824035951</p> */ public Builder endTime(Long endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The number of entries to return. Valid values: 0 to 100.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder limit(Long limit) { this.putQueryParameter("Limit", limit); this.limit = limit; return this; } /** * <p>The region ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The beginning of the time range to query.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1675823135951</p> */ public Builder startTime(Long startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public GetWarningEventMetricRequest build() { return new GetWarningEventMetricRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetWarningEventMetricResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetWarningEventMetricResponse} extends {@link TeaModel} * * <p>GetWarningEventMetricResponse</p> */ public class GetWarningEventMetricResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private GetWarningEventMetricResponseBody body; private GetWarningEventMetricResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetWarningEventMetricResponse 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 GetWarningEventMetricResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetWarningEventMetricResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetWarningEventMetricResponseBody body); @Override GetWarningEventMetricResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetWarningEventMetricResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetWarningEventMetricResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetWarningEventMetricResponse 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(GetWarningEventMetricResponseBody body) { this.body = body; return this; } @Override public GetWarningEventMetricResponse build() { return new GetWarningEventMetricResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetWarningEventMetricResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetWarningEventMetricResponseBody} extends {@link TeaModel} * * <p>GetWarningEventMetricResponseBody</p> */ public class GetWarningEventMetricResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private GetWarningEventMetricResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetWarningEventMetricResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private String code; private java.util.List<Data> data; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(GetWarningEventMetricResponseBody model) { this.code = model.code; this.data = model.data; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The number of Warning events.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>3B763F98-0BA2-5C23-B6B8-558568D2C1C2</p> */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * <p>The additional information that is returned. The following limits are imposed on the ID:</p> * <ul> * <li>success: If the call is successful, <strong>success</strong> is returned.</li> * <li>An error code: If the call fails, an error code is returned.</li> * </ul> * * <strong>example:</strong> * <p>success</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>3B763F98-0BA2-5C23-B6B8-558568D2****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The HTTP status code. The following limits are imposed on the ID:</p> * <ul> * <li><strong>2xx</strong>: The call was successful.</li> * <li><strong>3xx</strong>: The call was redirected.</li> * <li><strong>4xx</strong>: The call failed.</li> * <li><strong>5xx</strong>: A server error occurred.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public GetWarningEventMetricResponseBody build() { return new GetWarningEventMetricResponseBody(this); } } /** * * {@link GetWarningEventMetricResponseBody} extends {@link TeaModel} * * <p>GetWarningEventMetricResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("WarningCount") private Long warningCount; private Data(Builder builder) { this.appId = builder.appId; this.name = builder.name; this.regionId = builder.regionId; this.warningCount = builder.warningCount; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return name */ public String getName() { return this.name; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return warningCount */ public Long getWarningCount() { return this.warningCount; } public static final class Builder { private String appId; private String name; private String regionId; private Long warningCount; private Builder() { } private Builder(Data model) { this.appId = model.appId; this.name = model.name; this.regionId = model.regionId; this.warningCount = model.warningCount; } /** * <p>The details of the application.</p> * * <strong>example:</strong> * <p>7171a6ca-d1cd-4928-8642-7d5cfe69****</p> */ public Builder appId(String appId) { this.appId = appId; return this; } /** * <p>The application ID.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The application name.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The namespace ID.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder warningCount(Long warningCount) { this.warningCount = warningCount; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetWebshellTokenRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetWebshellTokenRequest} extends {@link RequestModel} * * <p>GetWebshellTokenRequest</p> */ public class GetWebshellTokenRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ContainerName") private String containerName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PodName") @com.aliyun.core.annotation.Validation(required = true) private String podName; private GetWebshellTokenRequest(Builder builder) { super(builder); this.appId = builder.appId; this.containerName = builder.containerName; this.podName = builder.podName; } public static Builder builder() { return new Builder(); } public static GetWebshellTokenRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return containerName */ public String getContainerName() { return this.containerName; } /** * @return podName */ public String getPodName() { return this.podName; } public static final class Builder extends Request.Builder<GetWebshellTokenRequest, Builder> { private String appId; private String containerName; private String podName; private Builder() { super(); } private Builder(GetWebshellTokenRequest request) { super(request); this.appId = request.appId; this.containerName = request.containerName; this.podName = request.podName; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>017f39b8-dfa4-4e16-a84b-1dcee4b1****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>The name of the container.</p> * <p>Note:</p> * <ul> * <li><p>If this parameter is specified, Cloud Assistant runs the command in the specified container of the instance.</p> * </li> * <li><p>If this parameter is specified, the command can run only on Linux instances on which Cloud Assistant Agent 2.2.3.344 or later is installed.</p> * <ul> * <li>For information about how to query the version of Cloud Assistant Agent, see <a href="https://help.aliyun.com/document_detail/64921.html">Install Cloud Assistant Agent</a>.</li> * <li>For information about how to upgrade Cloud Assistant Agent, see <a href="https://help.aliyun.com/document_detail/134383.html">Upgrade or disable upgrades for Cloud Assistant Agent</a>.</li> * </ul> * </li> * <li><p>If this parameter is specified, the <code>Username</code> parameter that is specified in a request to call this operation and the <code>WorkingDir</code> parameter that is specified in a request to call the <a href="https://help.aliyun.com/document_detail/64844.html">CreateCommand</a> operation do not take effect. You can run the command only in the default working directory of the container by using the default user of the container. For more information, see <a href="https://help.aliyun.com/document_detail/456641.html">Use Cloud Assistant to run commands in containers</a>.</p> * </li> * <li><p>If this parameter is specified, only shell scripts can be run in Linux containers. You cannot add a command in the format similar to <code>#!/usr/bin/python</code> at the beginning of a script to specify a script interpreter. For more information, see <a href="https://help.aliyun.com/document_detail/456641.html">Use Cloud Assistant to run commands in containers</a>.</p> * </li> * </ul> * * <strong>example:</strong> * <p>ad-helper</p> */ public Builder containerName(String containerName) { this.putQueryParameter("ContainerName", containerName); this.containerName = containerName; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>hello-podsdfsdfsdfsdf</p> */ public Builder podName(String podName) { this.putQueryParameter("PodName", podName); this.podName = podName; return this; } @Override public GetWebshellTokenRequest build() { return new GetWebshellTokenRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetWebshellTokenResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetWebshellTokenResponse} extends {@link TeaModel} * * <p>GetWebshellTokenResponse</p> */ public class GetWebshellTokenResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private GetWebshellTokenResponseBody body; private GetWebshellTokenResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetWebshellTokenResponse 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 GetWebshellTokenResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetWebshellTokenResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GetWebshellTokenResponseBody body); @Override GetWebshellTokenResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetWebshellTokenResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GetWebshellTokenResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetWebshellTokenResponse 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(GetWebshellTokenResponseBody body) { this.body = body; return this; } @Override public GetWebshellTokenResponse build() { return new GetWebshellTokenResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/GetWebshellTokenResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link GetWebshellTokenResponseBody} extends {@link TeaModel} * * <p>GetWebshellTokenResponseBody</p> */ public class GetWebshellTokenResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; @com.aliyun.core.annotation.NameInMap("TraceId") private String traceId; private GetWebshellTokenResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.errorCode = builder.errorCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; this.traceId = builder.traceId; } public static Builder builder() { return new Builder(); } public static GetWebshellTokenResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } /** * @return traceId */ public String getTraceId() { return this.traceId; } public static final class Builder { private String code; private Data data; private String errorCode; private String message; private String requestId; private Boolean success; private String traceId; private Builder() { } private Builder(GetWebshellTokenResponseBody model) { this.code = model.code; this.data = model.data; this.errorCode = model.errorCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; this.traceId = model.traceId; } /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * Data. */ public Builder data(Data data) { this.data = data; return this; } /** * ErrorCode. */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } /** * TraceId. */ public Builder traceId(String traceId) { this.traceId = traceId; return this; } public GetWebshellTokenResponseBody build() { return new GetWebshellTokenResponseBody(this); } } /** * * {@link GetWebshellTokenResponseBody} extends {@link TeaModel} * * <p>GetWebshellTokenResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("HttpUrl") private String httpUrl; @com.aliyun.core.annotation.NameInMap("Token") private String token; @com.aliyun.core.annotation.NameInMap("WebSocketUrl") private String webSocketUrl; private Data(Builder builder) { this.httpUrl = builder.httpUrl; this.token = builder.token; this.webSocketUrl = builder.webSocketUrl; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return httpUrl */ public String getHttpUrl() { return this.httpUrl; } /** * @return token */ public String getToken() { return this.token; } /** * @return webSocketUrl */ public String getWebSocketUrl() { return this.webSocketUrl; } public static final class Builder { private String httpUrl; private String token; private String webSocketUrl; private Builder() { } private Builder(Data model) { this.httpUrl = model.httpUrl; this.token = model.token; this.webSocketUrl = model.webSocketUrl; } /** * HttpUrl. */ public Builder httpUrl(String httpUrl) { this.httpUrl = httpUrl; return this; } /** * Token. */ public Builder token(String token) { this.token = token; return this; } /** * WebSocketUrl. */ public Builder webSocketUrl(String webSocketUrl) { this.webSocketUrl = webSocketUrl; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/HTTPGetAction.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link HTTPGetAction} extends {@link TeaModel} * * <p>HTTPGetAction</p> */ public class HTTPGetAction extends TeaModel { @com.aliyun.core.annotation.NameInMap("Host") private String host; @com.aliyun.core.annotation.NameInMap("HttpHeaders") private java.util.List<HTTPHeader> httpHeaders; @com.aliyun.core.annotation.NameInMap("Path") private String path; @com.aliyun.core.annotation.NameInMap("Port") private Integer port; @com.aliyun.core.annotation.NameInMap("Scheme") private String scheme; private HTTPGetAction(Builder builder) { this.host = builder.host; this.httpHeaders = builder.httpHeaders; this.path = builder.path; this.port = builder.port; this.scheme = builder.scheme; } public static Builder builder() { return new Builder(); } public static HTTPGetAction create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return host */ public String getHost() { return this.host; } /** * @return httpHeaders */ public java.util.List<HTTPHeader> getHttpHeaders() { return this.httpHeaders; } /** * @return path */ public String getPath() { return this.path; } /** * @return port */ public Integer getPort() { return this.port; } /** * @return scheme */ public String getScheme() { return this.scheme; } public static final class Builder { private String host; private java.util.List<HTTPHeader> httpHeaders; private String path; private Integer port; private String scheme; private Builder() { } private Builder(HTTPGetAction model) { this.host = model.host; this.httpHeaders = model.httpHeaders; this.path = model.path; this.port = model.port; this.scheme = model.scheme; } /** * Host. */ public Builder host(String host) { this.host = host; return this; } /** * HttpHeaders. */ public Builder httpHeaders(java.util.List<HTTPHeader> httpHeaders) { this.httpHeaders = httpHeaders; return this; } /** * Path. */ public Builder path(String path) { this.path = path; return this; } /** * Port. */ public Builder port(Integer port) { this.port = port; return this; } /** * Scheme. */ public Builder scheme(String scheme) { this.scheme = scheme; return this; } public HTTPGetAction build() { return new HTTPGetAction(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/HTTPHeader.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link HTTPHeader} extends {@link TeaModel} * * <p>HTTPHeader</p> */ public class HTTPHeader extends TeaModel { @com.aliyun.core.annotation.NameInMap("name") private String name; @com.aliyun.core.annotation.NameInMap("value") private String value; private HTTPHeader(Builder builder) { this.name = builder.name; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static HTTPHeader create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @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; private Builder() { } private Builder(HTTPHeader model) { this.name = model.name; this.value = model.value; } /** * name. */ public Builder name(String name) { this.name = name; return this; } /** * value. */ public Builder value(String value) { this.value = value; return this; } public HTTPHeader build() { return new HTTPHeader(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/HTTPTriggerConfig.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link HTTPTriggerConfig} extends {@link TeaModel} * * <p>HTTPTriggerConfig</p> */ public class HTTPTriggerConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("aclConfig") private AclConfig aclConfig; @com.aliyun.core.annotation.NameInMap("authConfig") private Object authConfig; @com.aliyun.core.annotation.NameInMap("authType") private String authType; @com.aliyun.core.annotation.NameInMap("disableURLInternet") private Boolean disableURLInternet; @com.aliyun.core.annotation.NameInMap("safeMode") private Boolean safeMode; private HTTPTriggerConfig(Builder builder) { this.aclConfig = builder.aclConfig; this.authConfig = builder.authConfig; this.authType = builder.authType; this.disableURLInternet = builder.disableURLInternet; this.safeMode = builder.safeMode; } public static Builder builder() { return new Builder(); } public static HTTPTriggerConfig create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return aclConfig */ public AclConfig getAclConfig() { return this.aclConfig; } /** * @return authConfig */ public Object getAuthConfig() { return this.authConfig; } /** * @return authType */ public String getAuthType() { return this.authType; } /** * @return disableURLInternet */ public Boolean getDisableURLInternet() { return this.disableURLInternet; } /** * @return safeMode */ public Boolean getSafeMode() { return this.safeMode; } public static final class Builder { private AclConfig aclConfig; private Object authConfig; private String authType; private Boolean disableURLInternet; private Boolean safeMode; private Builder() { } private Builder(HTTPTriggerConfig model) { this.aclConfig = model.aclConfig; this.authConfig = model.authConfig; this.authType = model.authType; this.disableURLInternet = model.disableURLInternet; this.safeMode = model.safeMode; } /** * aclConfig. */ public Builder aclConfig(AclConfig aclConfig) { this.aclConfig = aclConfig; return this; } /** * authConfig. */ public Builder authConfig(Object authConfig) { this.authConfig = authConfig; return this; } /** * authType. */ public Builder authType(String authType) { this.authType = authType; return this; } /** * disableURLInternet. */ public Builder disableURLInternet(Boolean disableURLInternet) { this.disableURLInternet = disableURLInternet; return this; } /** * safeMode. */ public Builder safeMode(Boolean safeMode) { this.safeMode = safeMode; return this; } public HTTPTriggerConfig build() { return new HTTPTriggerConfig(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/HostAlias.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link HostAlias} extends {@link TeaModel} * * <p>HostAlias</p> */ public class HostAlias extends TeaModel { @com.aliyun.core.annotation.NameInMap("hostnames") private java.util.List<String> hostnames; @com.aliyun.core.annotation.NameInMap("ip") private String ip; private HostAlias(Builder builder) { this.hostnames = builder.hostnames; this.ip = builder.ip; } public static Builder builder() { return new Builder(); } public static HostAlias create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return hostnames */ public java.util.List<String> getHostnames() { return this.hostnames; } /** * @return ip */ public String getIp() { return this.ip; } public static final class Builder { private java.util.List<String> hostnames; private String ip; private Builder() { } private Builder(HostAlias model) { this.hostnames = model.hostnames; this.ip = model.ip; } /** * hostnames. */ public Builder hostnames(java.util.List<String> hostnames) { this.hostnames = hostnames; return this; } /** * ip. */ public Builder ip(String ip) { this.ip = ip; return this; } public HostAlias build() { return new HostAlias(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/HttpApiRoute.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link HttpApiRoute} extends {@link TeaModel} * * <p>HttpApiRoute</p> */ public class HttpApiRoute extends TeaModel { @com.aliyun.core.annotation.NameInMap("AddressType") private String addressType; @com.aliyun.core.annotation.NameInMap("DeployStatus") private String deployStatus; @com.aliyun.core.annotation.NameInMap("DestinationType") private String destinationType; @com.aliyun.core.annotation.NameInMap("Domains") private java.util.List<Domains> domains; @com.aliyun.core.annotation.NameInMap("EnvironmentId") private String environmentId; @com.aliyun.core.annotation.NameInMap("GatewayId") private String gatewayId; @com.aliyun.core.annotation.NameInMap("HttpApiId") private String httpApiId; @com.aliyun.core.annotation.NameInMap("HttpApiName") private String httpApiName; @com.aliyun.core.annotation.NameInMap("HttpApiType") private String httpApiType; @com.aliyun.core.annotation.NameInMap("IngressId") private Long ingressId; @com.aliyun.core.annotation.NameInMap("NacosInstanceId") private String nacosInstanceId; @com.aliyun.core.annotation.NameInMap("NacosNamespaceId") private String nacosNamespaceId; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("NamespaceId") private String namespaceId; @com.aliyun.core.annotation.NameInMap("Policies") private Policies policies; @com.aliyun.core.annotation.NameInMap("Predicates") private Predicates predicates; @com.aliyun.core.annotation.NameInMap("RouteId") private String routeId; @com.aliyun.core.annotation.NameInMap("Services") private java.util.List<Services> services; @com.aliyun.core.annotation.NameInMap("SourceType") private String sourceType; private HttpApiRoute(Builder builder) { this.addressType = builder.addressType; this.deployStatus = builder.deployStatus; this.destinationType = builder.destinationType; this.domains = builder.domains; this.environmentId = builder.environmentId; this.gatewayId = builder.gatewayId; this.httpApiId = builder.httpApiId; this.httpApiName = builder.httpApiName; this.httpApiType = builder.httpApiType; this.ingressId = builder.ingressId; this.nacosInstanceId = builder.nacosInstanceId; this.nacosNamespaceId = builder.nacosNamespaceId; this.name = builder.name; this.namespaceId = builder.namespaceId; this.policies = builder.policies; this.predicates = builder.predicates; this.routeId = builder.routeId; this.services = builder.services; this.sourceType = builder.sourceType; } public static Builder builder() { return new Builder(); } public static HttpApiRoute create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return addressType */ public String getAddressType() { return this.addressType; } /** * @return deployStatus */ public String getDeployStatus() { return this.deployStatus; } /** * @return destinationType */ public String getDestinationType() { return this.destinationType; } /** * @return domains */ public java.util.List<Domains> getDomains() { return this.domains; } /** * @return environmentId */ public String getEnvironmentId() { return this.environmentId; } /** * @return gatewayId */ public String getGatewayId() { return this.gatewayId; } /** * @return httpApiId */ public String getHttpApiId() { return this.httpApiId; } /** * @return httpApiName */ public String getHttpApiName() { return this.httpApiName; } /** * @return httpApiType */ public String getHttpApiType() { return this.httpApiType; } /** * @return ingressId */ public Long getIngressId() { return this.ingressId; } /** * @return nacosInstanceId */ public String getNacosInstanceId() { return this.nacosInstanceId; } /** * @return nacosNamespaceId */ public String getNacosNamespaceId() { return this.nacosNamespaceId; } /** * @return name */ public String getName() { return this.name; } /** * @return namespaceId */ public String getNamespaceId() { return this.namespaceId; } /** * @return policies */ public Policies getPolicies() { return this.policies; } /** * @return predicates */ public Predicates getPredicates() { return this.predicates; } /** * @return routeId */ public String getRouteId() { return this.routeId; } /** * @return services */ public java.util.List<Services> getServices() { return this.services; } /** * @return sourceType */ public String getSourceType() { return this.sourceType; } public static final class Builder { private String addressType; private String deployStatus; private String destinationType; private java.util.List<Domains> domains; private String environmentId; private String gatewayId; private String httpApiId; private String httpApiName; private String httpApiType; private Long ingressId; private String nacosInstanceId; private String nacosNamespaceId; private String name; private String namespaceId; private Policies policies; private Predicates predicates; private String routeId; private java.util.List<Services> services; private String sourceType; private Builder() { } private Builder(HttpApiRoute model) { this.addressType = model.addressType; this.deployStatus = model.deployStatus; this.destinationType = model.destinationType; this.domains = model.domains; this.environmentId = model.environmentId; this.gatewayId = model.gatewayId; this.httpApiId = model.httpApiId; this.httpApiName = model.httpApiName; this.httpApiType = model.httpApiType; this.ingressId = model.ingressId; this.nacosInstanceId = model.nacosInstanceId; this.nacosNamespaceId = model.nacosNamespaceId; this.name = model.name; this.namespaceId = model.namespaceId; this.policies = model.policies; this.predicates = model.predicates; this.routeId = model.routeId; this.services = model.services; this.sourceType = model.sourceType; } /** * AddressType. */ public Builder addressType(String addressType) { this.addressType = addressType; return this; } /** * DeployStatus. */ public Builder deployStatus(String deployStatus) { this.deployStatus = deployStatus; return this; } /** * DestinationType. */ public Builder destinationType(String destinationType) { this.destinationType = destinationType; return this; } /** * Domains. */ public Builder domains(java.util.List<Domains> domains) { this.domains = domains; return this; } /** * EnvironmentId. */ public Builder environmentId(String environmentId) { this.environmentId = environmentId; return this; } /** * GatewayId. */ public Builder gatewayId(String gatewayId) { this.gatewayId = gatewayId; return this; } /** * HttpApiId. */ public Builder httpApiId(String httpApiId) { this.httpApiId = httpApiId; return this; } /** * HttpApiName. */ public Builder httpApiName(String httpApiName) { this.httpApiName = httpApiName; return this; } /** * HttpApiType. */ public Builder httpApiType(String httpApiType) { this.httpApiType = httpApiType; return this; } /** * IngressId. */ public Builder ingressId(Long ingressId) { this.ingressId = ingressId; return this; } /** * NacosInstanceId. */ public Builder nacosInstanceId(String nacosInstanceId) { this.nacosInstanceId = nacosInstanceId; return this; } /** * NacosNamespaceId. */ public Builder nacosNamespaceId(String nacosNamespaceId) { this.nacosNamespaceId = nacosNamespaceId; return this; } /** * Name. */ public Builder name(String name) { this.name = name; return this; } /** * NamespaceId. */ public Builder namespaceId(String namespaceId) { this.namespaceId = namespaceId; return this; } /** * Policies. */ public Builder policies(Policies policies) { this.policies = policies; return this; } /** * Predicates. */ public Builder predicates(Predicates predicates) { this.predicates = predicates; return this; } /** * RouteId. */ public Builder routeId(String routeId) { this.routeId = routeId; return this; } /** * Services. */ public Builder services(java.util.List<Services> services) { this.services = services; return this; } /** * SourceType. */ public Builder sourceType(String sourceType) { this.sourceType = sourceType; return this; } public HttpApiRoute build() { return new HttpApiRoute(this); } } /** * * {@link HttpApiRoute} extends {@link TeaModel} * * <p>HttpApiRoute</p> */ public static class Domains extends TeaModel { @com.aliyun.core.annotation.NameInMap("DomainId") private String domainId; @com.aliyun.core.annotation.NameInMap("DomainName") private String domainName; private Domains(Builder builder) { this.domainId = builder.domainId; this.domainName = builder.domainName; } public static Builder builder() { return new Builder(); } public static Domains create() { return builder().build(); } /** * @return domainId */ public String getDomainId() { return this.domainId; } /** * @return domainName */ public String getDomainName() { return this.domainName; } public static final class Builder { private String domainId; private String domainName; private Builder() { } private Builder(Domains model) { this.domainId = model.domainId; this.domainName = model.domainName; } /** * DomainId. */ public Builder domainId(String domainId) { this.domainId = domainId; return this; } /** * DomainName. */ public Builder domainName(String domainName) { this.domainName = domainName; return this; } public Domains build() { return new Domains(this); } } } /** * * {@link HttpApiRoute} extends {@link TeaModel} * * <p>HttpApiRoute</p> */ public static class Destinations extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @com.aliyun.core.annotation.NameInMap("ServiceId") private String serviceId; @com.aliyun.core.annotation.NameInMap("ServiceName") private String serviceName; @com.aliyun.core.annotation.NameInMap("ServicePort") private Long servicePort; @com.aliyun.core.annotation.NameInMap("ServiceProtocol") private String serviceProtocol; private Destinations(Builder builder) { this.appId = builder.appId; this.appName = builder.appName; this.serviceId = builder.serviceId; this.serviceName = builder.serviceName; this.servicePort = builder.servicePort; this.serviceProtocol = builder.serviceProtocol; } public static Builder builder() { return new Builder(); } public static Destinations create() { return builder().build(); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return serviceId */ public String getServiceId() { return this.serviceId; } /** * @return serviceName */ public String getServiceName() { return this.serviceName; } /** * @return servicePort */ public Long getServicePort() { return this.servicePort; } /** * @return serviceProtocol */ public String getServiceProtocol() { return this.serviceProtocol; } public static final class Builder { private String appId; private String appName; private String serviceId; private String serviceName; private Long servicePort; private String serviceProtocol; private Builder() { } private Builder(Destinations model) { this.appId = model.appId; this.appName = model.appName; this.serviceId = model.serviceId; this.serviceName = model.serviceName; this.servicePort = model.servicePort; this.serviceProtocol = model.serviceProtocol; } /** * AppId. */ public Builder appId(String appId) { this.appId = appId; return this; } /** * AppName. */ public Builder appName(String appName) { this.appName = appName; return this; } /** * ServiceId. */ public Builder serviceId(String serviceId) { this.serviceId = serviceId; return this; } /** * ServiceName. */ public Builder serviceName(String serviceName) { this.serviceName = serviceName; return this; } /** * ServicePort. */ public Builder servicePort(Long servicePort) { this.servicePort = servicePort; return this; } /** * ServiceProtocol. */ public Builder serviceProtocol(String serviceProtocol) { this.serviceProtocol = serviceProtocol; return this; } public Destinations build() { return new Destinations(this); } } } /** * * {@link HttpApiRoute} extends {@link TeaModel} * * <p>HttpApiRoute</p> */ public static class Fallback extends TeaModel { @com.aliyun.core.annotation.NameInMap("Destinations") private java.util.List<Destinations> destinations; @com.aliyun.core.annotation.NameInMap("Enable") private Boolean enable; private Fallback(Builder builder) { this.destinations = builder.destinations; this.enable = builder.enable; } public static Builder builder() { return new Builder(); } public static Fallback create() { return builder().build(); } /** * @return destinations */ public java.util.List<Destinations> getDestinations() { return this.destinations; } /** * @return enable */ public Boolean getEnable() { return this.enable; } public static final class Builder { private java.util.List<Destinations> destinations; private Boolean enable; private Builder() { } private Builder(Fallback model) { this.destinations = model.destinations; this.enable = model.enable; } /** * Destinations. */ public Builder destinations(java.util.List<Destinations> destinations) { this.destinations = destinations; return this; } /** * Enable. */ public Builder enable(Boolean enable) { this.enable = enable; return this; } public Fallback build() { return new Fallback(this); } } } /** * * {@link HttpApiRoute} extends {@link TeaModel} * * <p>HttpApiRoute</p> */ public static class Retry extends TeaModel { @com.aliyun.core.annotation.NameInMap("Attempts") private Long attempts; @com.aliyun.core.annotation.NameInMap("Enable") private Boolean enable; @com.aliyun.core.annotation.NameInMap("HttpCodes") private java.util.List<String> httpCodes; @com.aliyun.core.annotation.NameInMap("RetryOn") private java.util.List<String> retryOn; private Retry(Builder builder) { this.attempts = builder.attempts; this.enable = builder.enable; this.httpCodes = builder.httpCodes; this.retryOn = builder.retryOn; } public static Builder builder() { return new Builder(); } public static Retry create() { return builder().build(); } /** * @return attempts */ public Long getAttempts() { return this.attempts; } /** * @return enable */ public Boolean getEnable() { return this.enable; } /** * @return httpCodes */ public java.util.List<String> getHttpCodes() { return this.httpCodes; } /** * @return retryOn */ public java.util.List<String> getRetryOn() { return this.retryOn; } public static final class Builder { private Long attempts; private Boolean enable; private java.util.List<String> httpCodes; private java.util.List<String> retryOn; private Builder() { } private Builder(Retry model) { this.attempts = model.attempts; this.enable = model.enable; this.httpCodes = model.httpCodes; this.retryOn = model.retryOn; } /** * Attempts. */ public Builder attempts(Long attempts) { this.attempts = attempts; return this; } /** * Enable. */ public Builder enable(Boolean enable) { this.enable = enable; return this; } /** * HttpCodes. */ public Builder httpCodes(java.util.List<String> httpCodes) { this.httpCodes = httpCodes; return this; } /** * RetryOn. */ public Builder retryOn(java.util.List<String> retryOn) { this.retryOn = retryOn; return this; } public Retry build() { return new Retry(this); } } } /** * * {@link HttpApiRoute} extends {@link TeaModel} * * <p>HttpApiRoute</p> */ public static class Timeout extends TeaModel { @com.aliyun.core.annotation.NameInMap("Enable") private Boolean enable; @com.aliyun.core.annotation.NameInMap("TimeUnit") private String timeUnit; @com.aliyun.core.annotation.NameInMap("UnitNum") private Long unitNum; private Timeout(Builder builder) { this.enable = builder.enable; this.timeUnit = builder.timeUnit; this.unitNum = builder.unitNum; } public static Builder builder() { return new Builder(); } public static Timeout create() { return builder().build(); } /** * @return enable */ public Boolean getEnable() { return this.enable; } /** * @return timeUnit */ public String getTimeUnit() { return this.timeUnit; } /** * @return unitNum */ public Long getUnitNum() { return this.unitNum; } public static final class Builder { private Boolean enable; private String timeUnit; private Long unitNum; private Builder() { } private Builder(Timeout model) { this.enable = model.enable; this.timeUnit = model.timeUnit; this.unitNum = model.unitNum; } /** * Enable. */ public Builder enable(Boolean enable) { this.enable = enable; return this; } /** * TimeUnit. */ public Builder timeUnit(String timeUnit) { this.timeUnit = timeUnit; return this; } /** * UnitNum. */ public Builder unitNum(Long unitNum) { this.unitNum = unitNum; return this; } public Timeout build() { return new Timeout(this); } } } /** * * {@link HttpApiRoute} extends {@link TeaModel} * * <p>HttpApiRoute</p> */ public static class Policies extends TeaModel { @com.aliyun.core.annotation.NameInMap("Fallback") private Fallback fallback; @com.aliyun.core.annotation.NameInMap("Retry") private Retry retry; @com.aliyun.core.annotation.NameInMap("Timeout") private Timeout timeout; private Policies(Builder builder) { this.fallback = builder.fallback; this.retry = builder.retry; this.timeout = builder.timeout; } public static Builder builder() { return new Builder(); } public static Policies create() { return builder().build(); } /** * @return fallback */ public Fallback getFallback() { return this.fallback; } /** * @return retry */ public Retry getRetry() { return this.retry; } /** * @return timeout */ public Timeout getTimeout() { return this.timeout; } public static final class Builder { private Fallback fallback; private Retry retry; private Timeout timeout; private Builder() { } private Builder(Policies model) { this.fallback = model.fallback; this.retry = model.retry; this.timeout = model.timeout; } /** * Fallback. */ public Builder fallback(Fallback fallback) { this.fallback = fallback; return this; } /** * Retry. */ public Builder retry(Retry retry) { this.retry = retry; return this; } /** * Timeout. */ public Builder timeout(Timeout timeout) { this.timeout = timeout; return this; } public Policies build() { return new Policies(this); } } } /** * * {@link HttpApiRoute} extends {@link TeaModel} * * <p>HttpApiRoute</p> */ public static class HeaderPredicates extends TeaModel { @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("Value") private String value; private HeaderPredicates(Builder builder) { this.name = builder.name; this.type = builder.type; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static HeaderPredicates create() { return builder().build(); } /** * @return name */ public String getName() { return this.name; } /** * @return type */ public String getType() { return this.type; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String name; private String type; private String value; private Builder() { } private Builder(HeaderPredicates model) { this.name = model.name; this.type = model.type; this.value = model.value; } /** * Name. */ public Builder name(String name) { this.name = name; return this; } /** * Type. */ public Builder type(String type) { this.type = type; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public HeaderPredicates build() { return new HeaderPredicates(this); } } } /** * * {@link HttpApiRoute} extends {@link TeaModel} * * <p>HttpApiRoute</p> */ public static class PathPredicates extends TeaModel { @com.aliyun.core.annotation.NameInMap("IgnoreCase") private Boolean ignoreCase; @com.aliyun.core.annotation.NameInMap("Path") private String path; @com.aliyun.core.annotation.NameInMap("Type") private String type; private PathPredicates(Builder builder) { this.ignoreCase = builder.ignoreCase; this.path = builder.path; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static PathPredicates create() { return builder().build(); } /** * @return ignoreCase */ public Boolean getIgnoreCase() { return this.ignoreCase; } /** * @return path */ public String getPath() { return this.path; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private Boolean ignoreCase; private String path; private String type; private Builder() { } private Builder(PathPredicates model) { this.ignoreCase = model.ignoreCase; this.path = model.path; this.type = model.type; } /** * IgnoreCase. */ public Builder ignoreCase(Boolean ignoreCase) { this.ignoreCase = ignoreCase; return this; } /** * Path. */ public Builder path(String path) { this.path = path; return this; } /** * Type. */ public Builder type(String type) { this.type = type; return this; } public PathPredicates build() { return new PathPredicates(this); } } } /** * * {@link HttpApiRoute} extends {@link TeaModel} * * <p>HttpApiRoute</p> */ public static class QueryPredicates extends TeaModel { @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("Value") private String value; private QueryPredicates(Builder builder) { this.name = builder.name; this.type = builder.type; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static QueryPredicates create() { return builder().build(); } /** * @return name */ public String getName() { return this.name; } /** * @return type */ public String getType() { return this.type; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String name; private String type; private String value; private Builder() { } private Builder(QueryPredicates model) { this.name = model.name; this.type = model.type; this.value = model.value; } /** * Name. */ public Builder name(String name) { this.name = name; return this; } /** * Type. */ public Builder type(String type) { this.type = type; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public QueryPredicates build() { return new QueryPredicates(this); } } } /** * * {@link HttpApiRoute} extends {@link TeaModel} * * <p>HttpApiRoute</p> */ public static class Predicates extends TeaModel { @com.aliyun.core.annotation.NameInMap("HeaderPredicates") private java.util.List<HeaderPredicates> headerPredicates; @com.aliyun.core.annotation.NameInMap("MethodPredicates") private java.util.List<String> methodPredicates; @com.aliyun.core.annotation.NameInMap("PathPredicates") private PathPredicates pathPredicates; @com.aliyun.core.annotation.NameInMap("QueryPredicates") private java.util.List<QueryPredicates> queryPredicates; private Predicates(Builder builder) { this.headerPredicates = builder.headerPredicates; this.methodPredicates = builder.methodPredicates; this.pathPredicates = builder.pathPredicates; this.queryPredicates = builder.queryPredicates; } public static Builder builder() { return new Builder(); } public static Predicates create() { return builder().build(); } /** * @return headerPredicates */ public java.util.List<HeaderPredicates> getHeaderPredicates() { return this.headerPredicates; } /** * @return methodPredicates */ public java.util.List<String> getMethodPredicates() { return this.methodPredicates; } /** * @return pathPredicates */ public PathPredicates getPathPredicates() { return this.pathPredicates; } /** * @return queryPredicates */ public java.util.List<QueryPredicates> getQueryPredicates() { return this.queryPredicates; } public static final class Builder { private java.util.List<HeaderPredicates> headerPredicates; private java.util.List<String> methodPredicates; private PathPredicates pathPredicates; private java.util.List<QueryPredicates> queryPredicates; private Builder() { } private Builder(Predicates model) { this.headerPredicates = model.headerPredicates; this.methodPredicates = model.methodPredicates; this.pathPredicates = model.pathPredicates; this.queryPredicates = model.queryPredicates; } /** * HeaderPredicates. */ public Builder headerPredicates(java.util.List<HeaderPredicates> headerPredicates) { this.headerPredicates = headerPredicates; return this; } /** * MethodPredicates. */ public Builder methodPredicates(java.util.List<String> methodPredicates) { this.methodPredicates = methodPredicates; return this; } /** * PathPredicates. */ public Builder pathPredicates(PathPredicates pathPredicates) { this.pathPredicates = pathPredicates; return this; } /** * QueryPredicates. */ public Builder queryPredicates(java.util.List<QueryPredicates> queryPredicates) { this.queryPredicates = queryPredicates; return this; } public Predicates build() { return new Predicates(this); } } } /** * * {@link HttpApiRoute} extends {@link TeaModel} * * <p>HttpApiRoute</p> */ public static class Services extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @com.aliyun.core.annotation.NameInMap("ServiceId") private String serviceId; @com.aliyun.core.annotation.NameInMap("ServiceName") private String serviceName; @com.aliyun.core.annotation.NameInMap("ServicePort") private Long servicePort; @com.aliyun.core.annotation.NameInMap("ServiceProtocol") private String serviceProtocol; @com.aliyun.core.annotation.NameInMap("ServiceWeight") private Long serviceWeight; private Services(Builder builder) { this.appId = builder.appId; this.appName = builder.appName; this.serviceId = builder.serviceId; this.serviceName = builder.serviceName; this.servicePort = builder.servicePort; this.serviceProtocol = builder.serviceProtocol; this.serviceWeight = builder.serviceWeight; } public static Builder builder() { return new Builder(); } public static Services create() { return builder().build(); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return serviceId */ public String getServiceId() { return this.serviceId; } /** * @return serviceName */ public String getServiceName() { return this.serviceName; } /** * @return servicePort */ public Long getServicePort() { return this.servicePort; } /** * @return serviceProtocol */ public String getServiceProtocol() { return this.serviceProtocol; } /** * @return serviceWeight */ public Long getServiceWeight() { return this.serviceWeight; } public static final class Builder { private String appId; private String appName; private String serviceId; private String serviceName; private Long servicePort; private String serviceProtocol; private Long serviceWeight; private Builder() { } private Builder(Services model) { this.appId = model.appId; this.appName = model.appName; this.serviceId = model.serviceId; this.serviceName = model.serviceName; this.servicePort = model.servicePort; this.serviceProtocol = model.serviceProtocol; this.serviceWeight = model.serviceWeight; } /** * AppId. */ public Builder appId(String appId) { this.appId = appId; return this; } /** * AppName. */ public Builder appName(String appName) { this.appName = appName; return this; } /** * ServiceId. */ public Builder serviceId(String serviceId) { this.serviceId = serviceId; return this; } /** * ServiceName. */ public Builder serviceName(String serviceName) { this.serviceName = serviceName; return this; } /** * ServicePort. */ public Builder servicePort(Long servicePort) { this.servicePort = servicePort; return this; } /** * ServiceProtocol. */ public Builder serviceProtocol(String serviceProtocol) { this.serviceProtocol = serviceProtocol; return this; } /** * ServiceWeight. */ public Builder serviceWeight(Long serviceWeight) { this.serviceWeight = serviceWeight; return this; } public Services build() { return new Services(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ImageConfig.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ImageConfig} extends {@link TeaModel} * * <p>ImageConfig</p> */ public class ImageConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("accelerationType") private String accelerationType; @com.aliyun.core.annotation.NameInMap("image") private String image; @com.aliyun.core.annotation.NameInMap("instanceID") private String instanceID; @com.aliyun.core.annotation.NameInMap("registryConfig") private RegistryConfig registryConfig; private ImageConfig(Builder builder) { this.accelerationType = builder.accelerationType; this.image = builder.image; this.instanceID = builder.instanceID; this.registryConfig = builder.registryConfig; } public static Builder builder() { return new Builder(); } public static ImageConfig create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return accelerationType */ public String getAccelerationType() { return this.accelerationType; } /** * @return image */ public String getImage() { return this.image; } /** * @return instanceID */ public String getInstanceID() { return this.instanceID; } /** * @return registryConfig */ public RegistryConfig getRegistryConfig() { return this.registryConfig; } public static final class Builder { private String accelerationType; private String image; private String instanceID; private RegistryConfig registryConfig; private Builder() { } private Builder(ImageConfig model) { this.accelerationType = model.accelerationType; this.image = model.image; this.instanceID = model.instanceID; this.registryConfig = model.registryConfig; } /** * accelerationType. */ public Builder accelerationType(String accelerationType) { this.accelerationType = accelerationType; return this; } /** * image. */ public Builder image(String image) { this.image = image; return this; } /** * instanceID. */ public Builder instanceID(String instanceID) { this.instanceID = instanceID; return this; } /** * registryConfig. */ public Builder registryConfig(RegistryConfig registryConfig) { this.registryConfig = registryConfig; return this; } public ImageConfig build() { return new ImageConfig(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ImageRegistryConfig.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ImageRegistryConfig} extends {@link TeaModel} * * <p>ImageRegistryConfig</p> */ public class ImageRegistryConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("AuthConfig") private RegistryAuthenticationConfig authConfig; @com.aliyun.core.annotation.NameInMap("CertConfig") private RegistryCertificateConfig certConfig; private ImageRegistryConfig(Builder builder) { this.authConfig = builder.authConfig; this.certConfig = builder.certConfig; } public static Builder builder() { return new Builder(); } public static ImageRegistryConfig create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return authConfig */ public RegistryAuthenticationConfig getAuthConfig() { return this.authConfig; } /** * @return certConfig */ public RegistryCertificateConfig getCertConfig() { return this.certConfig; } public static final class Builder { private RegistryAuthenticationConfig authConfig; private RegistryCertificateConfig certConfig; private Builder() { } private Builder(ImageRegistryConfig model) { this.authConfig = model.authConfig; this.certConfig = model.certConfig; } /** * AuthConfig. */ public Builder authConfig(RegistryAuthenticationConfig authConfig) { this.authConfig = authConfig; return this; } /** * CertConfig. */ public Builder certConfig(RegistryCertificateConfig certConfig) { this.certConfig = certConfig; return this; } public ImageRegistryConfig build() { return new ImageRegistryConfig(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/InitContainerConfig.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InitContainerConfig} extends {@link TeaModel} * * <p>InitContainerConfig</p> */ public class InitContainerConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("Command") private String command; @com.aliyun.core.annotation.NameInMap("CommandArgs") private String commandArgs; @com.aliyun.core.annotation.NameInMap("ConfigMapMountDesc") private String configMapMountDesc; @com.aliyun.core.annotation.NameInMap("Envs") private String envs; @com.aliyun.core.annotation.NameInMap("ImageUrl") private String imageUrl; @com.aliyun.core.annotation.NameInMap("Name") private String name; private InitContainerConfig(Builder builder) { this.command = builder.command; this.commandArgs = builder.commandArgs; this.configMapMountDesc = builder.configMapMountDesc; this.envs = builder.envs; this.imageUrl = builder.imageUrl; this.name = builder.name; } public static Builder builder() { return new Builder(); } public static InitContainerConfig create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return command */ public String getCommand() { return this.command; } /** * @return commandArgs */ public String getCommandArgs() { return this.commandArgs; } /** * @return configMapMountDesc */ public String getConfigMapMountDesc() { return this.configMapMountDesc; } /** * @return envs */ public String getEnvs() { return this.envs; } /** * @return imageUrl */ public String getImageUrl() { return this.imageUrl; } /** * @return name */ public String getName() { return this.name; } public static final class Builder { private String command; private String commandArgs; private String configMapMountDesc; private String envs; private String imageUrl; private String name; private Builder() { } private Builder(InitContainerConfig model) { this.command = model.command; this.commandArgs = model.commandArgs; this.configMapMountDesc = model.configMapMountDesc; this.envs = model.envs; this.imageUrl = model.imageUrl; this.name = model.name; } /** * Command. */ public Builder command(String command) { this.command = command; return this; } /** * CommandArgs. */ public Builder commandArgs(String commandArgs) { this.commandArgs = commandArgs; return this; } /** * ConfigMapMountDesc. */ public Builder configMapMountDesc(String configMapMountDesc) { this.configMapMountDesc = configMapMountDesc; return this; } /** * Envs. */ public Builder envs(String envs) { this.envs = envs; return this; } /** * ImageUrl. */ public Builder imageUrl(String imageUrl) { this.imageUrl = imageUrl; return this; } /** * Name. */ public Builder name(String name) { this.name = name; return this; } public InitContainerConfig build() { return new InitContainerConfig(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/InputCodeLocation.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InputCodeLocation} extends {@link TeaModel} * * <p>InputCodeLocation</p> */ public class InputCodeLocation extends TeaModel { @com.aliyun.core.annotation.NameInMap("ossBucketName") @com.aliyun.core.annotation.Validation(maxLength = 63, minLength = 3) private String ossBucketName; @com.aliyun.core.annotation.NameInMap("ossObjectName") private String ossObjectName; @com.aliyun.core.annotation.NameInMap("zipFile") private String zipFile; private InputCodeLocation(Builder builder) { this.ossBucketName = builder.ossBucketName; this.ossObjectName = builder.ossObjectName; this.zipFile = builder.zipFile; } public static Builder builder() { return new Builder(); } public static InputCodeLocation create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return ossBucketName */ public String getOssBucketName() { return this.ossBucketName; } /** * @return ossObjectName */ public String getOssObjectName() { return this.ossObjectName; } /** * @return zipFile */ public String getZipFile() { return this.zipFile; } public static final class Builder { private String ossBucketName; private String ossObjectName; private String zipFile; private Builder() { } private Builder(InputCodeLocation model) { this.ossBucketName = model.ossBucketName; this.ossObjectName = model.ossObjectName; this.zipFile = model.zipFile; } /** * ossBucketName. */ public Builder ossBucketName(String ossBucketName) { this.ossBucketName = ossBucketName; return this; } /** * ossObjectName. */ public Builder ossObjectName(String ossObjectName) { this.ossObjectName = ossObjectName; return this; } /** * zipFile. */ public Builder zipFile(String zipFile) { this.zipFile = zipFile; return this; } public InputCodeLocation build() { return new InputCodeLocation(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/InstanceExecAuthorizationInput.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstanceExecAuthorizationInput} extends {@link TeaModel} * * <p>InstanceExecAuthorizationInput</p> */ public class InstanceExecAuthorizationInput extends TeaModel { @com.aliyun.core.annotation.NameInMap("options") private InstanceExecAuthorizationInputOptions options; private InstanceExecAuthorizationInput(Builder builder) { this.options = builder.options; } public static Builder builder() { return new Builder(); } public static InstanceExecAuthorizationInput create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return options */ public InstanceExecAuthorizationInputOptions getOptions() { return this.options; } public static final class Builder { private InstanceExecAuthorizationInputOptions options; private Builder() { } private Builder(InstanceExecAuthorizationInput model) { this.options = model.options; } /** * options. */ public Builder options(InstanceExecAuthorizationInputOptions options) { this.options = options; return this; } public InstanceExecAuthorizationInput build() { return new InstanceExecAuthorizationInput(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/InstanceExecAuthorizationInputOptions.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstanceExecAuthorizationInputOptions} extends {@link TeaModel} * * <p>InstanceExecAuthorizationInputOptions</p> */ public class InstanceExecAuthorizationInputOptions extends TeaModel { @com.aliyun.core.annotation.NameInMap("command") private java.util.List<String> command; @com.aliyun.core.annotation.NameInMap("stderr") private Boolean stderr; @com.aliyun.core.annotation.NameInMap("stdin") private Boolean stdin; @com.aliyun.core.annotation.NameInMap("stdout") private Boolean stdout; @com.aliyun.core.annotation.NameInMap("tty") private Boolean tty; private InstanceExecAuthorizationInputOptions(Builder builder) { this.command = builder.command; this.stderr = builder.stderr; this.stdin = builder.stdin; this.stdout = builder.stdout; this.tty = builder.tty; } public static Builder builder() { return new Builder(); } public static InstanceExecAuthorizationInputOptions create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return command */ public java.util.List<String> getCommand() { return this.command; } /** * @return stderr */ public Boolean getStderr() { return this.stderr; } /** * @return stdin */ public Boolean getStdin() { return this.stdin; } /** * @return stdout */ public Boolean getStdout() { return this.stdout; } /** * @return tty */ public Boolean getTty() { return this.tty; } public static final class Builder { private java.util.List<String> command; private Boolean stderr; private Boolean stdin; private Boolean stdout; private Boolean tty; private Builder() { } private Builder(InstanceExecAuthorizationInputOptions model) { this.command = model.command; this.stderr = model.stderr; this.stdin = model.stdin; this.stdout = model.stdout; this.tty = model.tty; } /** * command. */ public Builder command(java.util.List<String> command) { this.command = command; return this; } /** * stderr. */ public Builder stderr(Boolean stderr) { this.stderr = stderr; return this; } /** * stdin. */ public Builder stdin(Boolean stdin) { this.stdin = stdin; return this; } /** * stdout. */ public Builder stdout(Boolean stdout) { this.stdout = stdout; return this; } /** * tty. */ public Builder tty(Boolean tty) { this.tty = tty; return this; } public InstanceExecAuthorizationInputOptions build() { return new InstanceExecAuthorizationInputOptions(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/InstanceExecAuthorizationOutput.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstanceExecAuthorizationOutput} extends {@link TeaModel} * * <p>InstanceExecAuthorizationOutput</p> */ public class InstanceExecAuthorizationOutput extends TeaModel { @com.aliyun.core.annotation.NameInMap("accessKeyId") private String accessKeyId; @com.aliyun.core.annotation.NameInMap("accountId") private String accountId; @com.aliyun.core.annotation.NameInMap("authorization") private String authorization; @com.aliyun.core.annotation.NameInMap("date") private String date; @com.aliyun.core.annotation.NameInMap("endpoint") private String endpoint; @com.aliyun.core.annotation.NameInMap("requestId") private String requestId; private InstanceExecAuthorizationOutput(Builder builder) { this.accessKeyId = builder.accessKeyId; this.accountId = builder.accountId; this.authorization = builder.authorization; this.date = builder.date; this.endpoint = builder.endpoint; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static InstanceExecAuthorizationOutput create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return accessKeyId */ public String getAccessKeyId() { return this.accessKeyId; } /** * @return accountId */ public String getAccountId() { return this.accountId; } /** * @return authorization */ public String getAuthorization() { return this.authorization; } /** * @return date */ public String getDate() { return this.date; } /** * @return endpoint */ public String getEndpoint() { return this.endpoint; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String accessKeyId; private String accountId; private String authorization; private String date; private String endpoint; private String requestId; private Builder() { } private Builder(InstanceExecAuthorizationOutput model) { this.accessKeyId = model.accessKeyId; this.accountId = model.accountId; this.authorization = model.authorization; this.date = model.date; this.endpoint = model.endpoint; this.requestId = model.requestId; } /** * accessKeyId. */ public Builder accessKeyId(String accessKeyId) { this.accessKeyId = accessKeyId; return this; } /** * accountId. */ public Builder accountId(String accountId) { this.accountId = accountId; return this; } /** * authorization. */ public Builder authorization(String authorization) { this.authorization = authorization; return this; } /** * date. */ public Builder date(String date) { this.date = date; return this; } /** * endpoint. */ public Builder endpoint(String endpoint) { this.endpoint = endpoint; return this; } /** * requestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public InstanceExecAuthorizationOutput build() { return new InstanceExecAuthorizationOutput(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/InstanceInfo.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstanceInfo} extends {@link TeaModel} * * <p>InstanceInfo</p> */ public class InstanceInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("imageUrl") private String imageUrl; @com.aliyun.core.annotation.NameInMap("instanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("status") private String status; @com.aliyun.core.annotation.NameInMap("versionId") private String versionId; private InstanceInfo(Builder builder) { this.imageUrl = builder.imageUrl; this.instanceId = builder.instanceId; this.status = builder.status; this.versionId = builder.versionId; } public static Builder builder() { return new Builder(); } public static InstanceInfo create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return imageUrl */ public String getImageUrl() { return this.imageUrl; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return status */ public String getStatus() { return this.status; } /** * @return versionId */ public String getVersionId() { return this.versionId; } public static final class Builder { private String imageUrl; private String instanceId; private String status; private String versionId; private Builder() { } private Builder(InstanceInfo model) { this.imageUrl = model.imageUrl; this.instanceId = model.instanceId; this.status = model.status; this.versionId = model.versionId; } /** * imageUrl. */ public Builder imageUrl(String imageUrl) { this.imageUrl = imageUrl; return this; } /** * instanceId. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * status. */ public Builder status(String status) { this.status = status; return this; } /** * versionId. */ public Builder versionId(String versionId) { this.versionId = versionId; return this; } public InstanceInfo build() { return new InstanceInfo(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/InstanceLifecycleConfig.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstanceLifecycleConfig} extends {@link TeaModel} * * <p>InstanceLifecycleConfig</p> */ public class InstanceLifecycleConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("preFreeze") private LifecycleHook preFreeze; @com.aliyun.core.annotation.NameInMap("preStop") private LifecycleHook preStop; private InstanceLifecycleConfig(Builder builder) { this.preFreeze = builder.preFreeze; this.preStop = builder.preStop; } public static Builder builder() { return new Builder(); } public static InstanceLifecycleConfig create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return preFreeze */ public LifecycleHook getPreFreeze() { return this.preFreeze; } /** * @return preStop */ public LifecycleHook getPreStop() { return this.preStop; } public static final class Builder { private LifecycleHook preFreeze; private LifecycleHook preStop; private Builder() { } private Builder(InstanceLifecycleConfig model) { this.preFreeze = model.preFreeze; this.preStop = model.preStop; } /** * preFreeze. */ public Builder preFreeze(LifecycleHook preFreeze) { this.preFreeze = preFreeze; return this; } /** * preStop. */ public Builder preStop(LifecycleHook preStop) { this.preStop = preStop; return this; } public InstanceLifecycleConfig build() { return new InstanceLifecycleConfig(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/InstanceMetricInfo.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link InstanceMetricInfo} extends {@link TeaModel} * * <p>InstanceMetricInfo</p> */ public class InstanceMetricInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("applicationID") private String applicationID; @com.aliyun.core.annotation.NameInMap("cpuPercent") private Float cpuPercent; @com.aliyun.core.annotation.NameInMap("cpuQuotaPercent") private Float cpuQuotaPercent; @com.aliyun.core.annotation.NameInMap("instanceID") private String instanceID; @com.aliyun.core.annotation.NameInMap("memoryLimitMB") private Float memoryLimitMB; @com.aliyun.core.annotation.NameInMap("memoryUsageMB") private Float memoryUsageMB; @com.aliyun.core.annotation.NameInMap("timestamp") private Long timestamp; private InstanceMetricInfo(Builder builder) { this.applicationID = builder.applicationID; this.cpuPercent = builder.cpuPercent; this.cpuQuotaPercent = builder.cpuQuotaPercent; this.instanceID = builder.instanceID; this.memoryLimitMB = builder.memoryLimitMB; this.memoryUsageMB = builder.memoryUsageMB; this.timestamp = builder.timestamp; } public static Builder builder() { return new Builder(); } public static InstanceMetricInfo create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return applicationID */ public String getApplicationID() { return this.applicationID; } /** * @return cpuPercent */ public Float getCpuPercent() { return this.cpuPercent; } /** * @return cpuQuotaPercent */ public Float getCpuQuotaPercent() { return this.cpuQuotaPercent; } /** * @return instanceID */ public String getInstanceID() { return this.instanceID; } /** * @return memoryLimitMB */ public Float getMemoryLimitMB() { return this.memoryLimitMB; } /** * @return memoryUsageMB */ public Float getMemoryUsageMB() { return this.memoryUsageMB; } /** * @return timestamp */ public Long getTimestamp() { return this.timestamp; } public static final class Builder { private String applicationID; private Float cpuPercent; private Float cpuQuotaPercent; private String instanceID; private Float memoryLimitMB; private Float memoryUsageMB; private Long timestamp; private Builder() { } private Builder(InstanceMetricInfo model) { this.applicationID = model.applicationID; this.cpuPercent = model.cpuPercent; this.cpuQuotaPercent = model.cpuQuotaPercent; this.instanceID = model.instanceID; this.memoryLimitMB = model.memoryLimitMB; this.memoryUsageMB = model.memoryUsageMB; this.timestamp = model.timestamp; } /** * applicationID. */ public Builder applicationID(String applicationID) { this.applicationID = applicationID; return this; } /** * cpuPercent. */ public Builder cpuPercent(Float cpuPercent) { this.cpuPercent = cpuPercent; return this; } /** * cpuQuotaPercent. */ public Builder cpuQuotaPercent(Float cpuQuotaPercent) { this.cpuQuotaPercent = cpuQuotaPercent; return this; } /** * instanceID. */ public Builder instanceID(String instanceID) { this.instanceID = instanceID; return this; } /** * memoryLimitMB. */ public Builder memoryLimitMB(Float memoryLimitMB) { this.memoryLimitMB = memoryLimitMB; return this; } /** * memoryUsageMB. */ public Builder memoryUsageMB(Float memoryUsageMB) { this.memoryUsageMB = memoryUsageMB; return this; } /** * timestamp. */ public Builder timestamp(Long timestamp) { this.timestamp = timestamp; return this; } public InstanceMetricInfo build() { return new InstanceMetricInfo(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/JaegerConfig.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link JaegerConfig} extends {@link TeaModel} * * <p>JaegerConfig</p> */ public class JaegerConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("endpoint") private String endpoint; private JaegerConfig(Builder builder) { this.endpoint = builder.endpoint; } public static Builder builder() { return new Builder(); } public static JaegerConfig create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return endpoint */ public String getEndpoint() { return this.endpoint; } public static final class Builder { private String endpoint; private Builder() { } private Builder(JaegerConfig model) { this.endpoint = model.endpoint; } /** * endpoint. */ public Builder endpoint(String endpoint) { this.endpoint = endpoint; return this; } public JaegerConfig build() { return new JaegerConfig(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/LifecycleHook.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link LifecycleHook} extends {@link TeaModel} * * <p>LifecycleHook</p> */ public class LifecycleHook extends TeaModel { @com.aliyun.core.annotation.NameInMap("handler") @com.aliyun.core.annotation.Validation(maxLength = 128) private String handler; @com.aliyun.core.annotation.NameInMap("timeout") private Integer timeout; private LifecycleHook(Builder builder) { this.handler = builder.handler; this.timeout = builder.timeout; } public static Builder builder() { return new Builder(); } public static LifecycleHook create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return handler */ public String getHandler() { return this.handler; } /** * @return timeout */ public Integer getTimeout() { return this.timeout; } public static final class Builder { private String handler; private Integer timeout; private Builder() { } private Builder(LifecycleHook model) { this.handler = model.handler; this.timeout = model.timeout; } /** * handler. */ public Builder handler(String handler) { this.handler = handler; return this; } /** * timeout. */ public Builder timeout(Integer timeout) { this.timeout = timeout; return this; } public LifecycleHook build() { return new LifecycleHook(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListAllSwimmingLaneGroupsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAllSwimmingLaneGroupsRequest} extends {@link RequestModel} * * <p>ListAllSwimmingLaneGroupsRequest</p> */ public class ListAllSwimmingLaneGroupsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceId") private String namespaceId; private ListAllSwimmingLaneGroupsRequest(Builder builder) { super(builder); this.namespaceId = builder.namespaceId; } public static Builder builder() { return new Builder(); } public static ListAllSwimmingLaneGroupsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return namespaceId */ public String getNamespaceId() { return this.namespaceId; } public static final class Builder extends Request.Builder<ListAllSwimmingLaneGroupsRequest, Builder> { private String namespaceId; private Builder() { super(); } private Builder(ListAllSwimmingLaneGroupsRequest request) { super(request); this.namespaceId = request.namespaceId; } /** * NamespaceId. */ public Builder namespaceId(String namespaceId) { this.putQueryParameter("NamespaceId", namespaceId); this.namespaceId = namespaceId; return this; } @Override public ListAllSwimmingLaneGroupsRequest build() { return new ListAllSwimmingLaneGroupsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListAllSwimmingLaneGroupsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAllSwimmingLaneGroupsResponse} extends {@link TeaModel} * * <p>ListAllSwimmingLaneGroupsResponse</p> */ public class ListAllSwimmingLaneGroupsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ListAllSwimmingLaneGroupsResponseBody body; private ListAllSwimmingLaneGroupsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAllSwimmingLaneGroupsResponse 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 ListAllSwimmingLaneGroupsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListAllSwimmingLaneGroupsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListAllSwimmingLaneGroupsResponseBody body); @Override ListAllSwimmingLaneGroupsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAllSwimmingLaneGroupsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListAllSwimmingLaneGroupsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListAllSwimmingLaneGroupsResponse 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(ListAllSwimmingLaneGroupsResponseBody body) { this.body = body; return this; } @Override public ListAllSwimmingLaneGroupsResponse build() { return new ListAllSwimmingLaneGroupsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListAllSwimmingLaneGroupsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAllSwimmingLaneGroupsResponseBody} extends {@link TeaModel} * * <p>ListAllSwimmingLaneGroupsResponseBody</p> */ public class ListAllSwimmingLaneGroupsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; @com.aliyun.core.annotation.NameInMap("TraceId") private String traceId; private ListAllSwimmingLaneGroupsResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.errorCode = builder.errorCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; this.traceId = builder.traceId; } public static Builder builder() { return new Builder(); } public static ListAllSwimmingLaneGroupsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } /** * @return traceId */ public String getTraceId() { return this.traceId; } public static final class Builder { private String code; private java.util.List<Data> data; private String errorCode; private String message; private String requestId; private Boolean success; private String traceId; private Builder() { } private Builder(ListAllSwimmingLaneGroupsResponseBody model) { this.code = model.code; this.data = model.data; this.errorCode = model.errorCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; this.traceId = model.traceId; } /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * Data. */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * ErrorCode. */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } /** * TraceId. */ public Builder traceId(String traceId) { this.traceId = traceId; return this; } public ListAllSwimmingLaneGroupsResponseBody build() { return new ListAllSwimmingLaneGroupsResponseBody(this); } } /** * * {@link ListAllSwimmingLaneGroupsResponseBody} extends {@link TeaModel} * * <p>ListAllSwimmingLaneGroupsResponseBody</p> */ public static class Apps extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @com.aliyun.core.annotation.NameInMap("MseAppId") private String mseAppId; @com.aliyun.core.annotation.NameInMap("MseAppName") private String mseAppName; @com.aliyun.core.annotation.NameInMap("MseNamespaceId") private String mseNamespaceId; private Apps(Builder builder) { this.appId = builder.appId; this.appName = builder.appName; this.mseAppId = builder.mseAppId; this.mseAppName = builder.mseAppName; this.mseNamespaceId = builder.mseNamespaceId; } public static Builder builder() { return new Builder(); } public static Apps create() { return builder().build(); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return mseAppId */ public String getMseAppId() { return this.mseAppId; } /** * @return mseAppName */ public String getMseAppName() { return this.mseAppName; } /** * @return mseNamespaceId */ public String getMseNamespaceId() { return this.mseNamespaceId; } public static final class Builder { private String appId; private String appName; private String mseAppId; private String mseAppName; private String mseNamespaceId; private Builder() { } private Builder(Apps model) { this.appId = model.appId; this.appName = model.appName; this.mseAppId = model.mseAppId; this.mseAppName = model.mseAppName; this.mseNamespaceId = model.mseNamespaceId; } /** * AppId. */ public Builder appId(String appId) { this.appId = appId; return this; } /** * AppName. */ public Builder appName(String appName) { this.appName = appName; return this; } /** * MseAppId. */ public Builder mseAppId(String mseAppId) { this.mseAppId = mseAppId; return this; } /** * MseAppName. */ public Builder mseAppName(String mseAppName) { this.mseAppName = mseAppName; return this; } /** * MseNamespaceId. */ public Builder mseNamespaceId(String mseNamespaceId) { this.mseNamespaceId = mseNamespaceId; return this; } public Apps build() { return new Apps(this); } } } /** * * {@link ListAllSwimmingLaneGroupsResponseBody} extends {@link TeaModel} * * <p>ListAllSwimmingLaneGroupsResponseBody</p> */ public static class EntryApp extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @com.aliyun.core.annotation.NameInMap("AppType") private String appType; @com.aliyun.core.annotation.NameInMap("MseAppId") private String mseAppId; @com.aliyun.core.annotation.NameInMap("MseAppName") private String mseAppName; @com.aliyun.core.annotation.NameInMap("MseNamespaceId") private String mseNamespaceId; private EntryApp(Builder builder) { this.appId = builder.appId; this.appName = builder.appName; this.appType = builder.appType; this.mseAppId = builder.mseAppId; this.mseAppName = builder.mseAppName; this.mseNamespaceId = builder.mseNamespaceId; } public static Builder builder() { return new Builder(); } public static EntryApp create() { return builder().build(); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return appType */ public String getAppType() { return this.appType; } /** * @return mseAppId */ public String getMseAppId() { return this.mseAppId; } /** * @return mseAppName */ public String getMseAppName() { return this.mseAppName; } /** * @return mseNamespaceId */ public String getMseNamespaceId() { return this.mseNamespaceId; } public static final class Builder { private String appId; private String appName; private String appType; private String mseAppId; private String mseAppName; private String mseNamespaceId; private Builder() { } private Builder(EntryApp model) { this.appId = model.appId; this.appName = model.appName; this.appType = model.appType; this.mseAppId = model.mseAppId; this.mseAppName = model.mseAppName; this.mseNamespaceId = model.mseNamespaceId; } /** * AppId. */ public Builder appId(String appId) { this.appId = appId; return this; } /** * AppName. */ public Builder appName(String appName) { this.appName = appName; return this; } /** * AppType. */ public Builder appType(String appType) { this.appType = appType; return this; } /** * MseAppId. */ public Builder mseAppId(String mseAppId) { this.mseAppId = mseAppId; return this; } /** * MseAppName. */ public Builder mseAppName(String mseAppName) { this.mseAppName = mseAppName; return this; } /** * MseNamespaceId. */ public Builder mseNamespaceId(String mseNamespaceId) { this.mseNamespaceId = mseNamespaceId; return this; } public EntryApp build() { return new EntryApp(this); } } } /** * * {@link ListAllSwimmingLaneGroupsResponseBody} extends {@link TeaModel} * * <p>ListAllSwimmingLaneGroupsResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppIds") private java.util.List<String> appIds; @com.aliyun.core.annotation.NameInMap("Apps") private java.util.List<Apps> apps; @com.aliyun.core.annotation.NameInMap("CanaryModel") private Integer canaryModel; @com.aliyun.core.annotation.NameInMap("EntryApp") private EntryApp entryApp; @com.aliyun.core.annotation.NameInMap("EntryAppId") private String entryAppId; @com.aliyun.core.annotation.NameInMap("EntryAppType") private String entryAppType; @com.aliyun.core.annotation.NameInMap("GroupId") private Long groupId; @com.aliyun.core.annotation.NameInMap("GroupName") private String groupName; @com.aliyun.core.annotation.NameInMap("MseNamespaceId") private String mseNamespaceId; @com.aliyun.core.annotation.NameInMap("NamespaceId") private String namespaceId; @com.aliyun.core.annotation.NameInMap("SwimVersion") private String swimVersion; private Data(Builder builder) { this.appIds = builder.appIds; this.apps = builder.apps; this.canaryModel = builder.canaryModel; this.entryApp = builder.entryApp; this.entryAppId = builder.entryAppId; this.entryAppType = builder.entryAppType; this.groupId = builder.groupId; this.groupName = builder.groupName; this.mseNamespaceId = builder.mseNamespaceId; this.namespaceId = builder.namespaceId; this.swimVersion = builder.swimVersion; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return appIds */ public java.util.List<String> getAppIds() { return this.appIds; } /** * @return apps */ public java.util.List<Apps> getApps() { return this.apps; } /** * @return canaryModel */ public Integer getCanaryModel() { return this.canaryModel; } /** * @return entryApp */ public EntryApp getEntryApp() { return this.entryApp; } /** * @return entryAppId */ public String getEntryAppId() { return this.entryAppId; } /** * @return entryAppType */ public String getEntryAppType() { return this.entryAppType; } /** * @return groupId */ public Long getGroupId() { return this.groupId; } /** * @return groupName */ public String getGroupName() { return this.groupName; } /** * @return mseNamespaceId */ public String getMseNamespaceId() { return this.mseNamespaceId; } /** * @return namespaceId */ public String getNamespaceId() { return this.namespaceId; } /** * @return swimVersion */ public String getSwimVersion() { return this.swimVersion; } public static final class Builder { private java.util.List<String> appIds; private java.util.List<Apps> apps; private Integer canaryModel; private EntryApp entryApp; private String entryAppId; private String entryAppType; private Long groupId; private String groupName; private String mseNamespaceId; private String namespaceId; private String swimVersion; private Builder() { } private Builder(Data model) { this.appIds = model.appIds; this.apps = model.apps; this.canaryModel = model.canaryModel; this.entryApp = model.entryApp; this.entryAppId = model.entryAppId; this.entryAppType = model.entryAppType; this.groupId = model.groupId; this.groupName = model.groupName; this.mseNamespaceId = model.mseNamespaceId; this.namespaceId = model.namespaceId; this.swimVersion = model.swimVersion; } /** * AppIds. */ public Builder appIds(java.util.List<String> appIds) { this.appIds = appIds; return this; } /** * Apps. */ public Builder apps(java.util.List<Apps> apps) { this.apps = apps; return this; } /** * CanaryModel. */ public Builder canaryModel(Integer canaryModel) { this.canaryModel = canaryModel; return this; } /** * EntryApp. */ public Builder entryApp(EntryApp entryApp) { this.entryApp = entryApp; return this; } /** * EntryAppId. */ public Builder entryAppId(String entryAppId) { this.entryAppId = entryAppId; return this; } /** * EntryAppType. */ public Builder entryAppType(String entryAppType) { this.entryAppType = entryAppType; return this; } /** * GroupId. */ public Builder groupId(Long groupId) { this.groupId = groupId; return this; } /** * GroupName. */ public Builder groupName(String groupName) { this.groupName = groupName; return this; } /** * MseNamespaceId. */ public Builder mseNamespaceId(String mseNamespaceId) { this.mseNamespaceId = mseNamespaceId; return this; } /** * NamespaceId. */ public Builder namespaceId(String namespaceId) { this.namespaceId = namespaceId; return this; } /** * SwimVersion. */ public Builder swimVersion(String swimVersion) { this.swimVersion = swimVersion; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListAllSwimmingLanesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAllSwimmingLanesRequest} extends {@link RequestModel} * * <p>ListAllSwimmingLanesRequest</p> */ public class ListAllSwimmingLanesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") private Long groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceId") private String namespaceId; private ListAllSwimmingLanesRequest(Builder builder) { super(builder); this.groupId = builder.groupId; this.namespaceId = builder.namespaceId; } public static Builder builder() { return new Builder(); } public static ListAllSwimmingLanesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupId */ public Long getGroupId() { return this.groupId; } /** * @return namespaceId */ public String getNamespaceId() { return this.namespaceId; } public static final class Builder extends Request.Builder<ListAllSwimmingLanesRequest, Builder> { private Long groupId; private String namespaceId; private Builder() { super(); } private Builder(ListAllSwimmingLanesRequest request) { super(request); this.groupId = request.groupId; this.namespaceId = request.namespaceId; } /** * GroupId. */ public Builder groupId(Long groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * NamespaceId. */ public Builder namespaceId(String namespaceId) { this.putQueryParameter("NamespaceId", namespaceId); this.namespaceId = namespaceId; return this; } @Override public ListAllSwimmingLanesRequest build() { return new ListAllSwimmingLanesRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListAllSwimmingLanesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAllSwimmingLanesResponse} extends {@link TeaModel} * * <p>ListAllSwimmingLanesResponse</p> */ public class ListAllSwimmingLanesResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ListAllSwimmingLanesResponseBody body; private ListAllSwimmingLanesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAllSwimmingLanesResponse 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 ListAllSwimmingLanesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListAllSwimmingLanesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListAllSwimmingLanesResponseBody body); @Override ListAllSwimmingLanesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAllSwimmingLanesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListAllSwimmingLanesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListAllSwimmingLanesResponse 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(ListAllSwimmingLanesResponseBody body) { this.body = body; return this; } @Override public ListAllSwimmingLanesResponse build() { return new ListAllSwimmingLanesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListAllSwimmingLanesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAllSwimmingLanesResponseBody} extends {@link TeaModel} * * <p>ListAllSwimmingLanesResponseBody</p> */ public class ListAllSwimmingLanesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; @com.aliyun.core.annotation.NameInMap("TraceId") private String traceId; private ListAllSwimmingLanesResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.errorCode = builder.errorCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; this.traceId = builder.traceId; } public static Builder builder() { return new Builder(); } public static ListAllSwimmingLanesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } /** * @return traceId */ public String getTraceId() { return this.traceId; } public static final class Builder { private String code; private java.util.List<Data> data; private String errorCode; private String message; private String requestId; private Boolean success; private String traceId; private Builder() { } private Builder(ListAllSwimmingLanesResponseBody model) { this.code = model.code; this.data = model.data; this.errorCode = model.errorCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; this.traceId = model.traceId; } /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * Data. */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * ErrorCode. */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } /** * TraceId. */ public Builder traceId(String traceId) { this.traceId = traceId; return this; } public ListAllSwimmingLanesResponseBody build() { return new ListAllSwimmingLanesResponseBody(this); } } /** * * {@link ListAllSwimmingLanesResponseBody} extends {@link TeaModel} * * <p>ListAllSwimmingLanesResponseBody</p> */ public static class Conditions extends TeaModel { @com.aliyun.core.annotation.NameInMap("Condition") private String condition; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("Value") private String value; @com.aliyun.core.annotation.NameInMap("Values") private java.util.List<String> values; private Conditions(Builder builder) { this.condition = builder.condition; this.name = builder.name; this.type = builder.type; this.value = builder.value; this.values = builder.values; } public static Builder builder() { return new Builder(); } public static Conditions create() { return builder().build(); } /** * @return condition */ public String getCondition() { return this.condition; } /** * @return name */ public String getName() { return this.name; } /** * @return type */ public String getType() { return this.type; } /** * @return value */ public String getValue() { return this.value; } /** * @return values */ public java.util.List<String> getValues() { return this.values; } public static final class Builder { private String condition; private String name; private String type; private String value; private java.util.List<String> values; private Builder() { } private Builder(Conditions model) { this.condition = model.condition; this.name = model.name; this.type = model.type; this.value = model.value; this.values = model.values; } /** * Condition. */ public Builder condition(String condition) { this.condition = condition; return this; } /** * Name. */ public Builder name(String name) { this.name = name; return this; } /** * Type. */ public Builder type(String type) { this.type = type; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } /** * Values. */ public Builder values(java.util.List<String> values) { this.values = values; return this; } public Conditions build() { return new Conditions(this); } } } /** * * {@link ListAllSwimmingLanesResponseBody} extends {@link TeaModel} * * <p>ListAllSwimmingLanesResponseBody</p> */ public static class AppEntryRule extends TeaModel { @com.aliyun.core.annotation.NameInMap("ConditionJoiner") private String conditionJoiner; @com.aliyun.core.annotation.NameInMap("Conditions") private java.util.List<Conditions> conditions; @com.aliyun.core.annotation.NameInMap("IndependentPercentageEnable") private Boolean independentPercentageEnable; @com.aliyun.core.annotation.NameInMap("Paths") private java.util.List<String> paths; @com.aliyun.core.annotation.NameInMap("Percentage") private Integer percentage; @com.aliyun.core.annotation.NameInMap("PercentageByPath") private java.util.Map<String, Integer> percentageByPath; private AppEntryRule(Builder builder) { this.conditionJoiner = builder.conditionJoiner; this.conditions = builder.conditions; this.independentPercentageEnable = builder.independentPercentageEnable; this.paths = builder.paths; this.percentage = builder.percentage; this.percentageByPath = builder.percentageByPath; } public static Builder builder() { return new Builder(); } public static AppEntryRule create() { return builder().build(); } /** * @return conditionJoiner */ public String getConditionJoiner() { return this.conditionJoiner; } /** * @return conditions */ public java.util.List<Conditions> getConditions() { return this.conditions; } /** * @return independentPercentageEnable */ public Boolean getIndependentPercentageEnable() { return this.independentPercentageEnable; } /** * @return paths */ public java.util.List<String> getPaths() { return this.paths; } /** * @return percentage */ public Integer getPercentage() { return this.percentage; } /** * @return percentageByPath */ public java.util.Map<String, Integer> getPercentageByPath() { return this.percentageByPath; } public static final class Builder { private String conditionJoiner; private java.util.List<Conditions> conditions; private Boolean independentPercentageEnable; private java.util.List<String> paths; private Integer percentage; private java.util.Map<String, Integer> percentageByPath; private Builder() { } private Builder(AppEntryRule model) { this.conditionJoiner = model.conditionJoiner; this.conditions = model.conditions; this.independentPercentageEnable = model.independentPercentageEnable; this.paths = model.paths; this.percentage = model.percentage; this.percentageByPath = model.percentageByPath; } /** * ConditionJoiner. */ public Builder conditionJoiner(String conditionJoiner) { this.conditionJoiner = conditionJoiner; return this; } /** * Conditions. */ public Builder conditions(java.util.List<Conditions> conditions) { this.conditions = conditions; return this; } /** * IndependentPercentageEnable. */ public Builder independentPercentageEnable(Boolean independentPercentageEnable) { this.independentPercentageEnable = independentPercentageEnable; return this; } /** * Paths. */ public Builder paths(java.util.List<String> paths) { this.paths = paths; return this; } /** * Percentage. */ public Builder percentage(Integer percentage) { this.percentage = percentage; return this; } /** * PercentageByPath. */ public Builder percentageByPath(java.util.Map<String, Integer> percentageByPath) { this.percentageByPath = percentageByPath; return this; } public AppEntryRule build() { return new AppEntryRule(this); } } } /** * * {@link ListAllSwimmingLanesResponseBody} extends {@link TeaModel} * * <p>ListAllSwimmingLanesResponseBody</p> */ public static class Apps extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @com.aliyun.core.annotation.NameInMap("MseAppId") private String mseAppId; @com.aliyun.core.annotation.NameInMap("MseAppName") private String mseAppName; @com.aliyun.core.annotation.NameInMap("MseNamespaceId") private String mseNamespaceId; private Apps(Builder builder) { this.appId = builder.appId; this.appName = builder.appName; this.mseAppId = builder.mseAppId; this.mseAppName = builder.mseAppName; this.mseNamespaceId = builder.mseNamespaceId; } public static Builder builder() { return new Builder(); } public static Apps create() { return builder().build(); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return mseAppId */ public String getMseAppId() { return this.mseAppId; } /** * @return mseAppName */ public String getMseAppName() { return this.mseAppName; } /** * @return mseNamespaceId */ public String getMseNamespaceId() { return this.mseNamespaceId; } public static final class Builder { private String appId; private String appName; private String mseAppId; private String mseAppName; private String mseNamespaceId; private Builder() { } private Builder(Apps model) { this.appId = model.appId; this.appName = model.appName; this.mseAppId = model.mseAppId; this.mseAppName = model.mseAppName; this.mseNamespaceId = model.mseNamespaceId; } /** * AppId. */ public Builder appId(String appId) { this.appId = appId; return this; } /** * AppName. */ public Builder appName(String appName) { this.appName = appName; return this; } /** * MseAppId. */ public Builder mseAppId(String mseAppId) { this.mseAppId = mseAppId; return this; } /** * MseAppName. */ public Builder mseAppName(String mseAppName) { this.mseAppName = mseAppName; return this; } /** * MseNamespaceId. */ public Builder mseNamespaceId(String mseNamespaceId) { this.mseNamespaceId = mseNamespaceId; return this; } public Apps build() { return new Apps(this); } } } /** * * {@link ListAllSwimmingLanesResponseBody} extends {@link TeaModel} * * <p>ListAllSwimmingLanesResponseBody</p> */ public static class MseGatewayEntryRuleConditions extends TeaModel { @com.aliyun.core.annotation.NameInMap("Condition") private String condition; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("Value") private String value; private MseGatewayEntryRuleConditions(Builder builder) { this.condition = builder.condition; this.name = builder.name; this.type = builder.type; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static MseGatewayEntryRuleConditions create() { return builder().build(); } /** * @return condition */ public String getCondition() { return this.condition; } /** * @return name */ public String getName() { return this.name; } /** * @return type */ public String getType() { return this.type; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String condition; private String name; private String type; private String value; private Builder() { } private Builder(MseGatewayEntryRuleConditions model) { this.condition = model.condition; this.name = model.name; this.type = model.type; this.value = model.value; } /** * Condition. */ public Builder condition(String condition) { this.condition = condition; return this; } /** * Name. */ public Builder name(String name) { this.name = name; return this; } /** * Type. */ public Builder type(String type) { this.type = type; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public MseGatewayEntryRuleConditions build() { return new MseGatewayEntryRuleConditions(this); } } } /** * * {@link ListAllSwimmingLanesResponseBody} extends {@link TeaModel} * * <p>ListAllSwimmingLanesResponseBody</p> */ public static class PathPredicate extends TeaModel { @com.aliyun.core.annotation.NameInMap("path") private String path; @com.aliyun.core.annotation.NameInMap("type") private String type; private PathPredicate(Builder builder) { this.path = builder.path; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static PathPredicate create() { return builder().build(); } /** * @return path */ public String getPath() { return this.path; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String path; private String type; private Builder() { } private Builder(PathPredicate model) { this.path = model.path; this.type = model.type; } /** * path. */ public Builder path(String path) { this.path = path; return this; } /** * type. */ public Builder type(String type) { this.type = type; return this; } public PathPredicate build() { return new PathPredicate(this); } } } /** * * {@link ListAllSwimmingLanesResponseBody} extends {@link TeaModel} * * <p>ListAllSwimmingLanesResponseBody</p> */ public static class RoutePredicate extends TeaModel { @com.aliyun.core.annotation.NameInMap("PathPredicate") private PathPredicate pathPredicate; private RoutePredicate(Builder builder) { this.pathPredicate = builder.pathPredicate; } public static Builder builder() { return new Builder(); } public static RoutePredicate create() { return builder().build(); } /** * @return pathPredicate */ public PathPredicate getPathPredicate() { return this.pathPredicate; } public static final class Builder { private PathPredicate pathPredicate; private Builder() { } private Builder(RoutePredicate model) { this.pathPredicate = model.pathPredicate; } /** * PathPredicate. */ public Builder pathPredicate(PathPredicate pathPredicate) { this.pathPredicate = pathPredicate; return this; } public RoutePredicate build() { return new RoutePredicate(this); } } } /** * * {@link ListAllSwimmingLanesResponseBody} extends {@link TeaModel} * * <p>ListAllSwimmingLanesResponseBody</p> */ public static class Routes extends TeaModel { @com.aliyun.core.annotation.NameInMap("RouteId") private Long routeId; @com.aliyun.core.annotation.NameInMap("RouteName") private String routeName; @com.aliyun.core.annotation.NameInMap("RoutePredicate") private RoutePredicate routePredicate; private Routes(Builder builder) { this.routeId = builder.routeId; this.routeName = builder.routeName; this.routePredicate = builder.routePredicate; } public static Builder builder() { return new Builder(); } public static Routes create() { return builder().build(); } /** * @return routeId */ public Long getRouteId() { return this.routeId; } /** * @return routeName */ public String getRouteName() { return this.routeName; } /** * @return routePredicate */ public RoutePredicate getRoutePredicate() { return this.routePredicate; } public static final class Builder { private Long routeId; private String routeName; private RoutePredicate routePredicate; private Builder() { } private Builder(Routes model) { this.routeId = model.routeId; this.routeName = model.routeName; this.routePredicate = model.routePredicate; } /** * RouteId. */ public Builder routeId(Long routeId) { this.routeId = routeId; return this; } /** * RouteName. */ public Builder routeName(String routeName) { this.routeName = routeName; return this; } /** * RoutePredicate. */ public Builder routePredicate(RoutePredicate routePredicate) { this.routePredicate = routePredicate; return this; } public Routes build() { return new Routes(this); } } } /** * * {@link ListAllSwimmingLanesResponseBody} extends {@link TeaModel} * * <p>ListAllSwimmingLanesResponseBody</p> */ public static class MseGatewayEntryRule extends TeaModel { @com.aliyun.core.annotation.NameInMap("ConditionJoiner") private String conditionJoiner; @com.aliyun.core.annotation.NameInMap("Conditions") private java.util.List<MseGatewayEntryRuleConditions> conditions; @com.aliyun.core.annotation.NameInMap("IndependentPercentageEnable") private Boolean independentPercentageEnable; @com.aliyun.core.annotation.NameInMap("Percentage") private Integer percentage; @com.aliyun.core.annotation.NameInMap("PercentageByRoute") private java.util.Map<String, Integer> percentageByRoute; @com.aliyun.core.annotation.NameInMap("RouteIds") private java.util.List<Long> routeIds; @com.aliyun.core.annotation.NameInMap("Routes") private java.util.List<Routes> routes; private MseGatewayEntryRule(Builder builder) { this.conditionJoiner = builder.conditionJoiner; this.conditions = builder.conditions; this.independentPercentageEnable = builder.independentPercentageEnable; this.percentage = builder.percentage; this.percentageByRoute = builder.percentageByRoute; this.routeIds = builder.routeIds; this.routes = builder.routes; } public static Builder builder() { return new Builder(); } public static MseGatewayEntryRule create() { return builder().build(); } /** * @return conditionJoiner */ public String getConditionJoiner() { return this.conditionJoiner; } /** * @return conditions */ public java.util.List<MseGatewayEntryRuleConditions> getConditions() { return this.conditions; } /** * @return independentPercentageEnable */ public Boolean getIndependentPercentageEnable() { return this.independentPercentageEnable; } /** * @return percentage */ public Integer getPercentage() { return this.percentage; } /** * @return percentageByRoute */ public java.util.Map<String, Integer> getPercentageByRoute() { return this.percentageByRoute; } /** * @return routeIds */ public java.util.List<Long> getRouteIds() { return this.routeIds; } /** * @return routes */ public java.util.List<Routes> getRoutes() { return this.routes; } public static final class Builder { private String conditionJoiner; private java.util.List<MseGatewayEntryRuleConditions> conditions; private Boolean independentPercentageEnable; private Integer percentage; private java.util.Map<String, Integer> percentageByRoute; private java.util.List<Long> routeIds; private java.util.List<Routes> routes; private Builder() { } private Builder(MseGatewayEntryRule model) { this.conditionJoiner = model.conditionJoiner; this.conditions = model.conditions; this.independentPercentageEnable = model.independentPercentageEnable; this.percentage = model.percentage; this.percentageByRoute = model.percentageByRoute; this.routeIds = model.routeIds; this.routes = model.routes; } /** * ConditionJoiner. */ public Builder conditionJoiner(String conditionJoiner) { this.conditionJoiner = conditionJoiner; return this; } /** * Conditions. */ public Builder conditions(java.util.List<MseGatewayEntryRuleConditions> conditions) { this.conditions = conditions; return this; } /** * IndependentPercentageEnable. */ public Builder independentPercentageEnable(Boolean independentPercentageEnable) { this.independentPercentageEnable = independentPercentageEnable; return this; } /** * Percentage. */ public Builder percentage(Integer percentage) { this.percentage = percentage; return this; } /** * PercentageByRoute. */ public Builder percentageByRoute(java.util.Map<String, Integer> percentageByRoute) { this.percentageByRoute = percentageByRoute; return this; } /** * RouteIds. */ public Builder routeIds(java.util.List<Long> routeIds) { this.routeIds = routeIds; return this; } /** * Routes. */ public Builder routes(java.util.List<Routes> routes) { this.routes = routes; return this; } public MseGatewayEntryRule build() { return new MseGatewayEntryRule(this); } } } /** * * {@link ListAllSwimmingLanesResponseBody} extends {@link TeaModel} * * <p>ListAllSwimmingLanesResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppEntryRule") private AppEntryRule appEntryRule; @com.aliyun.core.annotation.NameInMap("Apps") private java.util.List<Apps> apps; @com.aliyun.core.annotation.NameInMap("CanaryModel") private Integer canaryModel; @com.aliyun.core.annotation.NameInMap("Enable") private Boolean enable; @com.aliyun.core.annotation.NameInMap("EnableRules") private Boolean enableRules; @com.aliyun.core.annotation.NameInMap("LaneId") private Long laneId; @com.aliyun.core.annotation.NameInMap("LaneName") private String laneName; @com.aliyun.core.annotation.NameInMap("LaneTag") private String laneTag; @com.aliyun.core.annotation.NameInMap("MseGatewayEntryRule") private MseGatewayEntryRule mseGatewayEntryRule; private Data(Builder builder) { this.appEntryRule = builder.appEntryRule; this.apps = builder.apps; this.canaryModel = builder.canaryModel; this.enable = builder.enable; this.enableRules = builder.enableRules; this.laneId = builder.laneId; this.laneName = builder.laneName; this.laneTag = builder.laneTag; this.mseGatewayEntryRule = builder.mseGatewayEntryRule; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return appEntryRule */ public AppEntryRule getAppEntryRule() { return this.appEntryRule; } /** * @return apps */ public java.util.List<Apps> getApps() { return this.apps; } /** * @return canaryModel */ public Integer getCanaryModel() { return this.canaryModel; } /** * @return enable */ public Boolean getEnable() { return this.enable; } /** * @return enableRules */ public Boolean getEnableRules() { return this.enableRules; } /** * @return laneId */ public Long getLaneId() { return this.laneId; } /** * @return laneName */ public String getLaneName() { return this.laneName; } /** * @return laneTag */ public String getLaneTag() { return this.laneTag; } /** * @return mseGatewayEntryRule */ public MseGatewayEntryRule getMseGatewayEntryRule() { return this.mseGatewayEntryRule; } public static final class Builder { private AppEntryRule appEntryRule; private java.util.List<Apps> apps; private Integer canaryModel; private Boolean enable; private Boolean enableRules; private Long laneId; private String laneName; private String laneTag; private MseGatewayEntryRule mseGatewayEntryRule; private Builder() { } private Builder(Data model) { this.appEntryRule = model.appEntryRule; this.apps = model.apps; this.canaryModel = model.canaryModel; this.enable = model.enable; this.enableRules = model.enableRules; this.laneId = model.laneId; this.laneName = model.laneName; this.laneTag = model.laneTag; this.mseGatewayEntryRule = model.mseGatewayEntryRule; } /** * AppEntryRule. */ public Builder appEntryRule(AppEntryRule appEntryRule) { this.appEntryRule = appEntryRule; return this; } /** * Apps. */ public Builder apps(java.util.List<Apps> apps) { this.apps = apps; return this; } /** * CanaryModel. */ public Builder canaryModel(Integer canaryModel) { this.canaryModel = canaryModel; return this; } /** * Enable. */ public Builder enable(Boolean enable) { this.enable = enable; return this; } /** * EnableRules. */ public Builder enableRules(Boolean enableRules) { this.enableRules = enableRules; return this; } /** * LaneId. */ public Builder laneId(Long laneId) { this.laneId = laneId; return this; } /** * LaneName. */ public Builder laneName(String laneName) { this.laneName = laneName; return this; } /** * LaneTag. */ public Builder laneTag(String laneTag) { this.laneTag = laneTag; return this; } /** * MseGatewayEntryRule. */ public Builder mseGatewayEntryRule(MseGatewayEntryRule mseGatewayEntryRule) { this.mseGatewayEntryRule = mseGatewayEntryRule; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListAppEventsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAppEventsRequest} extends {@link RequestModel} * * <p>ListAppEventsRequest</p> */ public class ListAppEventsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EventType") private String eventType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Namespace") @com.aliyun.core.annotation.Validation(required = true) private String namespace; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ObjectKind") private String objectKind; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ObjectName") private String objectName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Reason") private String reason; private ListAppEventsRequest(Builder builder) { super(builder); this.appId = builder.appId; this.currentPage = builder.currentPage; this.eventType = builder.eventType; this.namespace = builder.namespace; this.objectKind = builder.objectKind; this.objectName = builder.objectName; this.pageSize = builder.pageSize; this.reason = builder.reason; } public static Builder builder() { return new Builder(); } public static ListAppEventsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return eventType */ public String getEventType() { return this.eventType; } /** * @return namespace */ public String getNamespace() { return this.namespace; } /** * @return objectKind */ public String getObjectKind() { return this.objectKind; } /** * @return objectName */ public String getObjectName() { return this.objectName; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return reason */ public String getReason() { return this.reason; } public static final class Builder extends Request.Builder<ListAppEventsRequest, Builder> { private String appId; private Integer currentPage; private String eventType; private String namespace; private String objectKind; private String objectName; private Integer pageSize; private String reason; private Builder() { super(); } private Builder(ListAppEventsRequest request) { super(request); this.appId = request.appId; this.currentPage = request.currentPage; this.eventType = request.eventType; this.namespace = request.namespace; this.objectKind = request.objectKind; this.objectName = request.objectName; this.pageSize = request.pageSize; this.reason = request.reason; } /** * <p>The application ID.</p> * * <strong>example:</strong> * <p>f7730764-d88f-4b9a-8d8e-cd8efbfe****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>The page number of the page to return.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The type of the event. Valid values:</p> * <ul> * <li><strong>Warning</strong>: an alert.</li> * <li><strong>Normal</strong>: a normal event.</li> * </ul> * * <strong>example:</strong> * <p>Warning</p> */ public Builder eventType(String eventType) { this.putQueryParameter("EventType", eventType); this.eventType = eventType; return this; } /** * <p>The namespace ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-beijing</p> */ public Builder namespace(String namespace) { this.putQueryParameter("Namespace", namespace); this.namespace = namespace; return this; } /** * <p>The type of the object. Valid values:</p> * <ul> * <li><strong>Deployment</strong>: an application.</li> * <li><strong>Pod</strong>: an application instance.</li> * <li><strong>Service</strong>: a Server Load Balancer (SLB) instance.</li> * <li><strong>HorizontalPodAutoscaler</strong>: an auto scaling policy.</li> * <li><strong>CloneSet</strong>: an application.</li> * </ul> * * <strong>example:</strong> * <p>Pod</p> */ public Builder objectKind(String objectKind) { this.putQueryParameter("ObjectKind", objectKind); this.objectKind = objectKind; return this; } /** * <p>The name of the object. Fuzzy search by prefix is supported.</p> * * <strong>example:</strong> * <p>errew-b86bf540-b4dc-47d8-a42f-b4997c14bd8f-5595cbddd6-x****</p> */ public Builder objectName(String objectName) { this.putQueryParameter("ObjectName", objectName); this.objectName = objectName; return this; } /** * <p>The number of entries to return on each page. Valid values: 0 to 10000.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The cause of the event. Fuzzy search by prefix is supported.</p> * * <strong>example:</strong> * <p>Started</p> */ public Builder reason(String reason) { this.putQueryParameter("Reason", reason); this.reason = reason; return this; } @Override public ListAppEventsRequest build() { return new ListAppEventsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListAppEventsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAppEventsResponse} extends {@link TeaModel} * * <p>ListAppEventsResponse</p> */ public class ListAppEventsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ListAppEventsResponseBody body; private ListAppEventsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAppEventsResponse 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 ListAppEventsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListAppEventsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListAppEventsResponseBody body); @Override ListAppEventsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAppEventsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListAppEventsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListAppEventsResponse 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(ListAppEventsResponseBody body) { this.body = body; return this; } @Override public ListAppEventsResponse build() { return new ListAppEventsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListAppEventsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAppEventsResponseBody} extends {@link TeaModel} * * <p>ListAppEventsResponseBody</p> */ public class ListAppEventsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private ListAppEventsResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.errorCode = builder.errorCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static ListAppEventsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private String code; private Data data; private String errorCode; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(ListAppEventsResponseBody model) { this.code = model.code; this.data = model.data; this.errorCode = model.errorCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code. Valid values:</p> * <ul> * <li><strong>2xx</strong>: The call was successful.</li> * <li><strong>3xx</strong>: The call was redirected.</li> * <li><strong>4xx</strong>: The call failed.</li> * <li><strong>5xx</strong>: A server error occurred.</li> * </ul> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The events.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The error code returned if the call failed. Take note of the following rules:</p> * <ul> * <li>If the call is successful, the <strong>ErrorCode</strong> parameter is not returned.</li> * <li>If the call fails, the <strong>ErrorCode</strong> parameter is returned. For more information, see the &quot;<strong>Error codes</strong>&quot; section in this topic.</li> * </ul> */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * <p>The returned message.</p> * * <strong>example:</strong> * <p>success</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>B4D805CA-926D-41B1-8E63-7AD0C1ED****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the events that occurred in the application were queried. Valid values:</p> * <ul> * <li><strong>true</strong>: The events were queried.</li> * <li><strong>false</strong>: The events failed to be queried.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public ListAppEventsResponseBody build() { return new ListAppEventsResponseBody(this); } } /** * * {@link ListAppEventsResponseBody} extends {@link TeaModel} * * <p>ListAppEventsResponseBody</p> */ public static class AppEventEntity extends TeaModel { @com.aliyun.core.annotation.NameInMap("CauseAnalysis") private String causeAnalysis; @com.aliyun.core.annotation.NameInMap("EventType") private String eventType; @com.aliyun.core.annotation.NameInMap("FirstTimestamp") private String firstTimestamp; @com.aliyun.core.annotation.NameInMap("LastTimestamp") private String lastTimestamp; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("ObjectKind") private String objectKind; @com.aliyun.core.annotation.NameInMap("ObjectName") private String objectName; @com.aliyun.core.annotation.NameInMap("Reason") private String reason; private AppEventEntity(Builder builder) { this.causeAnalysis = builder.causeAnalysis; this.eventType = builder.eventType; this.firstTimestamp = builder.firstTimestamp; this.lastTimestamp = builder.lastTimestamp; this.message = builder.message; this.objectKind = builder.objectKind; this.objectName = builder.objectName; this.reason = builder.reason; } public static Builder builder() { return new Builder(); } public static AppEventEntity create() { return builder().build(); } /** * @return causeAnalysis */ public String getCauseAnalysis() { return this.causeAnalysis; } /** * @return eventType */ public String getEventType() { return this.eventType; } /** * @return firstTimestamp */ public String getFirstTimestamp() { return this.firstTimestamp; } /** * @return lastTimestamp */ public String getLastTimestamp() { return this.lastTimestamp; } /** * @return message */ public String getMessage() { return this.message; } /** * @return objectKind */ public String getObjectKind() { return this.objectKind; } /** * @return objectName */ public String getObjectName() { return this.objectName; } /** * @return reason */ public String getReason() { return this.reason; } public static final class Builder { private String causeAnalysis; private String eventType; private String firstTimestamp; private String lastTimestamp; private String message; private String objectKind; private String objectName; private String reason; private Builder() { } private Builder(AppEventEntity model) { this.causeAnalysis = model.causeAnalysis; this.eventType = model.eventType; this.firstTimestamp = model.firstTimestamp; this.lastTimestamp = model.lastTimestamp; this.message = model.message; this.objectKind = model.objectKind; this.objectName = model.objectName; this.reason = model.reason; } /** * CauseAnalysis. */ public Builder causeAnalysis(String causeAnalysis) { this.causeAnalysis = causeAnalysis; return this; } /** * <p>The type of the event. Valid values:</p> * * <strong>example:</strong> * <p>Normal</p> */ public Builder eventType(String eventType) { this.eventType = eventType; return this; } /** * <p>The timestamp of the first occurrence of the event.</p> * * <strong>example:</strong> * <p>2020-02-19T05:01:28Z</p> */ public Builder firstTimestamp(String firstTimestamp) { this.firstTimestamp = firstTimestamp; return this; } /** * <p>The timestamp of the last occurrence of the event.</p> * * <strong>example:</strong> * <p>2020-02-19T05:01:28Z</p> */ public Builder lastTimestamp(String lastTimestamp) { this.lastTimestamp = lastTimestamp; return this; } /** * <p>The information about the event.</p> * * <strong>example:</strong> * <p>Created container</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The type of the object.</p> * * <strong>example:</strong> * <p>Pod</p> */ public Builder objectKind(String objectKind) { this.objectKind = objectKind; return this; } /** * <p>The name of the object.</p> * * <strong>example:</strong> * <p>errew-b86bf540-b4dc-47d8-a42f-b4997c14bd8f-5595cbddd6-2****</p> */ public Builder objectName(String objectName) { this.objectName = objectName; return this; } /** * <p>The cause of the event.</p> * * <strong>example:</strong> * <p>Created</p> */ public Builder reason(String reason) { this.reason = reason; return this; } public AppEventEntity build() { return new AppEventEntity(this); } } } /** * * {@link ListAppEventsResponseBody} extends {@link TeaModel} * * <p>ListAppEventsResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppEventEntity") private java.util.List<AppEventEntity> appEventEntity; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalSize") private Integer totalSize; private Data(Builder builder) { this.appEventEntity = builder.appEventEntity; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalSize = builder.totalSize; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return appEventEntity */ public java.util.List<AppEventEntity> getAppEventEntity() { return this.appEventEntity; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalSize */ public Integer getTotalSize() { return this.totalSize; } public static final class Builder { private java.util.List<AppEventEntity> appEventEntity; private Integer currentPage; private Integer pageSize; private Integer totalSize; private Builder() { } private Builder(Data model) { this.appEventEntity = model.appEventEntity; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalSize = model.totalSize; } /** * <p>The events.</p> */ public Builder appEventEntity(java.util.List<AppEventEntity> appEventEntity) { this.appEventEntity = appEventEntity; return this; } /** * <p>The number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of events that occurred in an application.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder totalSize(Integer totalSize) { this.totalSize = totalSize; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListAppServicesPageRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAppServicesPageRequest} extends {@link RequestModel} * * <p>ListAppServicesPageRequest</p> */ public class ListAppServicesPageRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ServiceType") @com.aliyun.core.annotation.Validation(required = true) private String serviceType; private ListAppServicesPageRequest(Builder builder) { super(builder); this.appId = builder.appId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.serviceType = builder.serviceType; } public static Builder builder() { return new Builder(); } public static ListAppServicesPageRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return serviceType */ public String getServiceType() { return this.serviceType; } public static final class Builder extends Request.Builder<ListAppServicesPageRequest, Builder> { private String appId; private Integer pageNumber; private Integer pageSize; private String serviceType; private Builder() { super(); } private Builder(ListAppServicesPageRequest request) { super(request); this.appId = request.appId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.serviceType = request.serviceType; } /** * <p>The application ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>6dcc8c9e-d3da-478a-a066-86dcf820****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * <p>The number of entries returned on each page. Valid values: 0 to 9999.</p> * * <strong>example:</strong> * <p>9999</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The service type. Valid values:</p> * <ul> * <li><strong>dubbo</strong></li> * <li><strong>springCloud</strong></li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>springCloud</p> */ public Builder serviceType(String serviceType) { this.putQueryParameter("ServiceType", serviceType); this.serviceType = serviceType; return this; } @Override public ListAppServicesPageRequest build() { return new ListAppServicesPageRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListAppServicesPageResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAppServicesPageResponse} extends {@link TeaModel} * * <p>ListAppServicesPageResponse</p> */ public class ListAppServicesPageResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ListAppServicesPageResponseBody body; private ListAppServicesPageResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAppServicesPageResponse 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 ListAppServicesPageResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListAppServicesPageResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListAppServicesPageResponseBody body); @Override ListAppServicesPageResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAppServicesPageResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListAppServicesPageResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListAppServicesPageResponse 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(ListAppServicesPageResponseBody body) { this.body = body; return this; } @Override public ListAppServicesPageResponse build() { return new ListAppServicesPageResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListAppServicesPageResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAppServicesPageResponseBody} extends {@link TeaModel} * * <p>ListAppServicesPageResponseBody</p> */ public class ListAppServicesPageResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; @com.aliyun.core.annotation.NameInMap("TraceId") private String traceId; private ListAppServicesPageResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.errorCode = builder.errorCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; this.traceId = builder.traceId; } public static Builder builder() { return new Builder(); } public static ListAppServicesPageResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } /** * @return traceId */ public String getTraceId() { return this.traceId; } public static final class Builder { private String code; private java.util.List<Data> data; private String errorCode; private String message; private String requestId; private Boolean success; private String traceId; private Builder() { } private Builder(ListAppServicesPageResponseBody model) { this.code = model.code; this.data = model.data; this.errorCode = model.errorCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; this.traceId = model.traceId; } /** * <p>The HTTP status code. Valid values:</p> * <ul> * <li><strong>2xx</strong>: The request was successful.</li> * <li><strong>3xx</strong>: The request was redirected.</li> * <li><strong>4xx</strong>: The request failed.</li> * <li><strong>5xx</strong>: A server error occurred.</li> * </ul> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The details of services.</p> */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * <p>The error code. Valid values:</p> * <ul> * <li>If the request was successful, <strong>ErrorCode</strong> is not returned.</li> * <li>If the request failed, <strong>ErrorCode</strong> is returned. For more information, see <strong>Error codes</strong> section of this topic.</li> * </ul> */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * <p>The returned message.</p> * * <strong>example:</strong> * <p>success</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>2583E089-99C2-562E-8B7E-73512136****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the microservice list was obtained. Valid values:</p> * <ul> * <li><strong>true</strong>: The list was obtained.</li> * <li><strong>false</strong>: The list failed to be obtained.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } /** * <p>The ID of the trace. The ID is used to query the details of a request.</p> * * <strong>example:</strong> * <p>0be3e0c816394483660457498e****</p> */ public Builder traceId(String traceId) { this.traceId = traceId; return this; } public ListAppServicesPageResponseBody build() { return new ListAppServicesPageResponseBody(this); } } /** * * {@link ListAppServicesPageResponseBody} extends {@link TeaModel} * * <p>ListAppServicesPageResponseBody</p> */ public static class Result extends TeaModel { @com.aliyun.core.annotation.NameInMap("EdasAppId") private String edasAppId; @com.aliyun.core.annotation.NameInMap("EdasAppName") private String edasAppName; @com.aliyun.core.annotation.NameInMap("Group") private String group; @com.aliyun.core.annotation.NameInMap("InstanceNum") private Long instanceNum; @com.aliyun.core.annotation.NameInMap("ServiceName") private String serviceName; @com.aliyun.core.annotation.NameInMap("Version") private String version; private Result(Builder builder) { this.edasAppId = builder.edasAppId; this.edasAppName = builder.edasAppName; this.group = builder.group; this.instanceNum = builder.instanceNum; this.serviceName = builder.serviceName; this.version = builder.version; } public static Builder builder() { return new Builder(); } public static Result create() { return builder().build(); } /** * @return edasAppId */ public String getEdasAppId() { return this.edasAppId; } /** * @return edasAppName */ public String getEdasAppName() { return this.edasAppName; } /** * @return group */ public String getGroup() { return this.group; } /** * @return instanceNum */ public Long getInstanceNum() { return this.instanceNum; } /** * @return serviceName */ public String getServiceName() { return this.serviceName; } /** * @return version */ public String getVersion() { return this.version; } public static final class Builder { private String edasAppId; private String edasAppName; private String group; private Long instanceNum; private String serviceName; private String version; private Builder() { } private Builder(Result model) { this.edasAppId = model.edasAppId; this.edasAppName = model.edasAppName; this.group = model.group; this.instanceNum = model.instanceNum; this.serviceName = model.serviceName; this.version = model.version; } /** * <p>The ID of the application.</p> * * <strong>example:</strong> * <p>hc4fs1****@98314c8790b****</p> */ public Builder edasAppId(String edasAppId) { this.edasAppId = edasAppId; return this; } /** * <p>The name of the application.</p> * * <strong>example:</strong> * <p>cn-zhangjiakou-micro-service-******</p> */ public Builder edasAppName(String edasAppName) { this.edasAppName = edasAppName; return this; } /** * <p>The group to which the service belongs. You can create a custom group.</p> * * <strong>example:</strong> * <p>springCloud</p> */ public Builder group(String group) { this.group = group; return this; } /** * <p>The number of instances.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder instanceNum(Long instanceNum) { this.instanceNum = instanceNum; return this; } /** * <p>The service name.</p> * * <strong>example:</strong> * <p>edas.service.provider</p> */ public Builder serviceName(String serviceName) { this.serviceName = serviceName; return this; } /** * <p>The version of a service. You can create a custom version.</p> * * <strong>example:</strong> * <p>1.0.0</p> */ public Builder version(String version) { this.version = version; return this; } public Result build() { return new Result(this); } } } /** * * {@link ListAppServicesPageResponseBody} extends {@link TeaModel} * * <p>ListAppServicesPageResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("CurrentPage") private String currentPage; @com.aliyun.core.annotation.NameInMap("PageNumber") private String pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private String pageSize; @com.aliyun.core.annotation.NameInMap("Result") private java.util.List<Result> result; @com.aliyun.core.annotation.NameInMap("TotalSize") private String totalSize; private Data(Builder builder) { this.currentPage = builder.currentPage; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.result = builder.result; this.totalSize = builder.totalSize; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return currentPage */ public String getCurrentPage() { return this.currentPage; } /** * @return pageNumber */ public String getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public String getPageSize() { return this.pageSize; } /** * @return result */ public java.util.List<Result> getResult() { return this.result; } /** * @return totalSize */ public String getTotalSize() { return this.totalSize; } public static final class Builder { private String currentPage; private String pageNumber; private String pageSize; private java.util.List<Result> result; private String totalSize; private Builder() { } private Builder(Data model) { this.currentPage = model.currentPage; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.result = model.result; this.totalSize = model.totalSize; } /** * <p>The page number of the current page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(String currentPage) { this.currentPage = currentPage; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries returned on each page. Valid values: 0 to 9999.</p> * * <strong>example:</strong> * <p>9999</p> */ public Builder pageSize(String pageSize) { this.pageSize = pageSize; return this; } /** * <p>The result returned.</p> */ public Builder result(java.util.List<Result> result) { this.result = result; return this; } /** * <p>The total number of returned pages.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalSize(String totalSize) { this.totalSize = totalSize; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListAppServicesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAppServicesRequest} extends {@link RequestModel} * * <p>ListAppServicesRequest</p> */ public class ListAppServicesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NacosInstanceId") private String nacosInstanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NacosNamespaceId") private String nacosNamespaceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceId") private String namespaceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegistryType") private String registryType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ServiceType") private String serviceType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; private ListAppServicesRequest(Builder builder) { super(builder); this.appId = builder.appId; this.nacosInstanceId = builder.nacosInstanceId; this.nacosNamespaceId = builder.nacosNamespaceId; this.namespaceId = builder.namespaceId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.registryType = builder.registryType; this.serviceType = builder.serviceType; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static ListAppServicesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return nacosInstanceId */ public String getNacosInstanceId() { return this.nacosInstanceId; } /** * @return nacosNamespaceId */ public String getNacosNamespaceId() { return this.nacosNamespaceId; } /** * @return namespaceId */ public String getNamespaceId() { return this.namespaceId; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return registryType */ public String getRegistryType() { return this.registryType; } /** * @return serviceType */ public String getServiceType() { return this.serviceType; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder extends Request.Builder<ListAppServicesRequest, Builder> { private String appId; private String nacosInstanceId; private String nacosNamespaceId; private String namespaceId; private Integer pageNumber; private Integer pageSize; private String registryType; private String serviceType; private String vpcId; private Builder() { super(); } private Builder(ListAppServicesRequest request) { super(request); this.appId = request.appId; this.nacosInstanceId = request.nacosInstanceId; this.nacosNamespaceId = request.nacosNamespaceId; this.namespaceId = request.namespaceId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.registryType = request.registryType; this.serviceType = request.serviceType; this.vpcId = request.vpcId; } /** * <p>The ID of the application. You must specify only one of the following parameters: vpcId, namespace ID, and application ID.</p> * * <strong>example:</strong> * <p>017f39b8-dfa4-4e16-a84b-1dcee4b1****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>The ID of the MSE Nacos instance. This parameter is required when the registry type is set to MSE Nacos.</p> * * <strong>example:</strong> * <p>mse-cn-sco3r0u****</p> */ public Builder nacosInstanceId(String nacosInstanceId) { this.putQueryParameter("NacosInstanceId", nacosInstanceId); this.nacosInstanceId = nacosInstanceId; return this; } /** * <p>The ID of the MSE Nacos namespace. This parameter is required when the registry type is set to MSE Nacos.</p> * * <strong>example:</strong> * <p>mse-test</p> */ public Builder nacosNamespaceId(String nacosNamespaceId) { this.putQueryParameter("NacosNamespaceId", nacosNamespaceId); this.nacosNamespaceId = nacosNamespaceId; return this; } /** * <p>The ID of the namespace. You must specify only one of the following parameters: VPC ID, namespace ID, and application ID.</p> * * <strong>example:</strong> * <p>cn-beijing:test</p> */ public Builder namespaceId(String namespaceId) { this.putQueryParameter("NamespaceId", namespaceId); this.namespaceId = namespaceId; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The registry type. Valid values:</p> * <ul> * <li><strong>0</strong>: SAE Nacos</li> * <li><strong>1</strong>: SAE built-in Nacos</li> * <li><strong>2</strong> :MSE Nacos</li> * <li><strong>9</strong>: SAE Kubernetes service</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder registryType(String registryType) { this.putQueryParameter("RegistryType", registryType); this.registryType = registryType; return this; } /** * <p>The service type. Valid values:</p> * <ul> * <li><strong>dubbo</strong></li> * <li><strong>springCloud</strong></li> * <li><strong>hsf</strong></li> * <li><strong>k8sService</strong></li> * </ul> * * <strong>example:</strong> * <p>springCloud</p> */ public Builder serviceType(String serviceType) { this.putQueryParameter("ServiceType", serviceType); this.serviceType = serviceType; return this; } /** * <p>The unique identifier of the VPC. You must specify only one of the following parameters: VPC ID, namespace ID, and application ID.</p> * * <strong>example:</strong> * <p>vpc-2ze0i263cnn311nvj****</p> */ public Builder vpcId(String vpcId) { this.putQueryParameter("VpcId", vpcId); this.vpcId = vpcId; return this; } @Override public ListAppServicesRequest build() { return new ListAppServicesRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListAppServicesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAppServicesResponse} extends {@link TeaModel} * * <p>ListAppServicesResponse</p> */ public class ListAppServicesResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ListAppServicesResponseBody body; private ListAppServicesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAppServicesResponse 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 ListAppServicesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListAppServicesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListAppServicesResponseBody body); @Override ListAppServicesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAppServicesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListAppServicesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListAppServicesResponse 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(ListAppServicesResponseBody body) { this.body = body; return this; } @Override public ListAppServicesResponse build() { return new ListAppServicesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListAppServicesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAppServicesResponseBody} extends {@link TeaModel} * * <p>ListAppServicesResponseBody</p> */ public class ListAppServicesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; @com.aliyun.core.annotation.NameInMap("TraceId") private String traceId; private ListAppServicesResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.errorCode = builder.errorCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; this.traceId = builder.traceId; } public static Builder builder() { return new Builder(); } public static ListAppServicesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } /** * @return traceId */ public String getTraceId() { return this.traceId; } public static final class Builder { private String code; private java.util.List<Data> data; private String errorCode; private String message; private String requestId; private Boolean success; private String traceId; private Builder() { } private Builder(ListAppServicesResponseBody model) { this.code = model.code; this.data = model.data; this.errorCode = model.errorCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; this.traceId = model.traceId; } /** * <p>The HTTP status code that is returned. Valid values:</p> * <ul> * <li><strong>2xx</strong>: The request was successful.</li> * <li><strong>3xx</strong>: The request was redirected.</li> * <li><strong>4xx</strong>: The request failed.</li> * <li><strong>5xx</strong>: A server error occurred.</li> * </ul> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The details of the microservice.</p> */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * <p>The status code. Valid values:</p> * <ul> * <li>If the request was successful, the <strong>ErrorCode</strong> parameter is not returned.</li> * <li>If the request failed, <strong>ErrorCode</strong> is returned. For more information, see <strong>Error codes</strong> in this topic.</li> * </ul> */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * <p>The message returned. Valid values:</p> * <ul> * <li>If the request was successful, <strong>success</strong> is returned.</li> * <li>If the request failed, an error message is returned.</li> * </ul> * * <strong>example:</strong> * <p>success</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>91F93257-7A4A-4BD3-9A7E-2F6EAE6D****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li><strong>true</strong>: The request was successful.</li> * <li><strong>false</strong>: The request failed.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } /** * <p>The ID of the trace. The ID is used to query the details of a request.</p> * * <strong>example:</strong> * <p>0a98a02315955564772843261e****</p> */ public Builder traceId(String traceId) { this.traceId = traceId; return this; } public ListAppServicesResponseBody build() { return new ListAppServicesResponseBody(this); } } /** * * {@link ListAppServicesResponseBody} extends {@link TeaModel} * * <p>ListAppServicesResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @com.aliyun.core.annotation.NameInMap("InstanceCount") private String instanceCount; @com.aliyun.core.annotation.NameInMap("NamespaceId") private String namespaceId; @com.aliyun.core.annotation.NameInMap("NamespaceName") private String namespaceName; @com.aliyun.core.annotation.NameInMap("RegistryType") private String registryType; @com.aliyun.core.annotation.NameInMap("SecurityGroupId") private String securityGroupId; @com.aliyun.core.annotation.NameInMap("ServiceGroup") private String serviceGroup; @com.aliyun.core.annotation.NameInMap("ServiceName") private String serviceName; @com.aliyun.core.annotation.NameInMap("ServicePortAndProtocol") private java.util.Map<String, String> servicePortAndProtocol; @com.aliyun.core.annotation.NameInMap("ServicePorts") private java.util.List<Integer> servicePorts; @com.aliyun.core.annotation.NameInMap("ServiceProtocol") private String serviceProtocol; @com.aliyun.core.annotation.NameInMap("ServiceType") private String serviceType; @com.aliyun.core.annotation.NameInMap("ServiceVersion") private String serviceVersion; private Data(Builder builder) { this.appId = builder.appId; this.appName = builder.appName; this.instanceCount = builder.instanceCount; this.namespaceId = builder.namespaceId; this.namespaceName = builder.namespaceName; this.registryType = builder.registryType; this.securityGroupId = builder.securityGroupId; this.serviceGroup = builder.serviceGroup; this.serviceName = builder.serviceName; this.servicePortAndProtocol = builder.servicePortAndProtocol; this.servicePorts = builder.servicePorts; this.serviceProtocol = builder.serviceProtocol; this.serviceType = builder.serviceType; this.serviceVersion = builder.serviceVersion; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return instanceCount */ public String getInstanceCount() { return this.instanceCount; } /** * @return namespaceId */ public String getNamespaceId() { return this.namespaceId; } /** * @return namespaceName */ public String getNamespaceName() { return this.namespaceName; } /** * @return registryType */ public String getRegistryType() { return this.registryType; } /** * @return securityGroupId */ public String getSecurityGroupId() { return this.securityGroupId; } /** * @return serviceGroup */ public String getServiceGroup() { return this.serviceGroup; } /** * @return serviceName */ public String getServiceName() { return this.serviceName; } /** * @return servicePortAndProtocol */ public java.util.Map<String, String> getServicePortAndProtocol() { return this.servicePortAndProtocol; } /** * @return servicePorts */ public java.util.List<Integer> getServicePorts() { return this.servicePorts; } /** * @return serviceProtocol */ public String getServiceProtocol() { return this.serviceProtocol; } /** * @return serviceType */ public String getServiceType() { return this.serviceType; } /** * @return serviceVersion */ public String getServiceVersion() { return this.serviceVersion; } public static final class Builder { private String appId; private String appName; private String instanceCount; private String namespaceId; private String namespaceName; private String registryType; private String securityGroupId; private String serviceGroup; private String serviceName; private java.util.Map<String, String> servicePortAndProtocol; private java.util.List<Integer> servicePorts; private String serviceProtocol; private String serviceType; private String serviceVersion; private Builder() { } private Builder(Data model) { this.appId = model.appId; this.appName = model.appName; this.instanceCount = model.instanceCount; this.namespaceId = model.namespaceId; this.namespaceName = model.namespaceName; this.registryType = model.registryType; this.securityGroupId = model.securityGroupId; this.serviceGroup = model.serviceGroup; this.serviceName = model.serviceName; this.servicePortAndProtocol = model.servicePortAndProtocol; this.servicePorts = model.servicePorts; this.serviceProtocol = model.serviceProtocol; this.serviceType = model.serviceType; this.serviceVersion = model.serviceVersion; } /** * <p>The application ID.</p> * * <strong>example:</strong> * <p>0099b7be-5f5b-4512-a7fc-56049ef1****</p> */ public Builder appId(String appId) { this.appId = appId; return this; } /** * <p>The name of the application.</p> * * <strong>example:</strong> * <p>demo-app</p> */ public Builder appName(String appName) { this.appName = appName; return this; } /** * <p>The number of instances of the microservice.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder instanceCount(String instanceCount) { this.instanceCount = instanceCount; return this; } /** * <p>The ID of the namespace to which the application belongs.</p> * * <strong>example:</strong> * <p>cn-beijing:test</p> */ public Builder namespaceId(String namespaceId) { this.namespaceId = namespaceId; return this; } /** * <p>The name of the namespace.</p> */ public Builder namespaceName(String namespaceName) { this.namespaceName = namespaceName; return this; } /** * <p>The registry type. Valid values:</p> * <ul> * <li><strong>0</strong>:SAE Nacos</li> * <li><strong>1</strong>: SAE built-in Nacos</li> * <li><strong>2</strong>: MSE Nacos</li> * <li><strong>9</strong>: SAE Kubernets service</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder registryType(String registryType) { this.registryType = registryType; return this; } /** * <p>The IDs of the security groups.</p> * * <strong>example:</strong> * <p>sg-wz969ngg2e49q5i4****</p> */ public Builder securityGroupId(String securityGroupId) { this.securityGroupId = securityGroupId; return this; } /** * <p>The group to which the microservice belongs.</p> * * <strong>example:</strong> * <p>DEFAULT_GROUP</p> */ public Builder serviceGroup(String serviceGroup) { this.serviceGroup = serviceGroup; return this; } /** * <p>The name of the microservice.</p> * * <strong>example:</strong> * <p>frontend</p> */ public Builder serviceName(String serviceName) { this.serviceName = serviceName; return this; } /** * <p>The ports and protocols.</p> */ public Builder servicePortAndProtocol(java.util.Map<String, String> servicePortAndProtocol) { this.servicePortAndProtocol = servicePortAndProtocol; return this; } /** * <p>The list of ports.</p> */ public Builder servicePorts(java.util.List<Integer> servicePorts) { this.servicePorts = servicePorts; return this; } /** * <p>The protocol used by the microservice.</p> * * <strong>example:</strong> * <p>HTTP</p> */ public Builder serviceProtocol(String serviceProtocol) { this.serviceProtocol = serviceProtocol; return this; } /** * <p>The type of the microservice. Valid values:</p> * <ul> * <li><strong>dubbo</strong></li> * <li><strong>springCloud</strong></li> * <li><strong>hsf</strong></li> * <li><strong>k8sService</strong></li> * </ul> * * <strong>example:</strong> * <p>springCloud</p> */ public Builder serviceType(String serviceType) { this.serviceType = serviceType; return this; } /** * <p>The version of the microservice.</p> * * <strong>example:</strong> * <p>1.0.0</p> */ public Builder serviceVersion(String serviceVersion) { this.serviceVersion = serviceVersion; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListAppVersionsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAppVersionsRequest} extends {@link RequestModel} * * <p>ListAppVersionsRequest</p> */ public class ListAppVersionsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; private ListAppVersionsRequest(Builder builder) { super(builder); this.appId = builder.appId; } public static Builder builder() { return new Builder(); } public static ListAppVersionsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } public static final class Builder extends Request.Builder<ListAppVersionsRequest, Builder> { private String appId; private Builder() { super(); } private Builder(ListAppVersionsRequest request) { super(request); this.appId = request.appId; } /** * <p>The returned message.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>7171a6ca-d1cd-4928-8642-7d5cfe69****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } @Override public ListAppVersionsRequest build() { return new ListAppVersionsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListAppVersionsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAppVersionsResponse} extends {@link TeaModel} * * <p>ListAppVersionsResponse</p> */ public class ListAppVersionsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ListAppVersionsResponseBody body; private ListAppVersionsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListAppVersionsResponse 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 ListAppVersionsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListAppVersionsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListAppVersionsResponseBody body); @Override ListAppVersionsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListAppVersionsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListAppVersionsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListAppVersionsResponse 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(ListAppVersionsResponseBody body) { this.body = body; return this; } @Override public ListAppVersionsResponse build() { return new ListAppVersionsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListAppVersionsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListAppVersionsResponseBody} extends {@link TeaModel} * * <p>ListAppVersionsResponseBody</p> */ public class ListAppVersionsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private ListAppVersionsResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.errorCode = builder.errorCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static ListAppVersionsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private String code; private java.util.List<Data> data; private String errorCode; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(ListAppVersionsResponseBody model) { this.code = model.code; this.data = model.data; this.errorCode = model.errorCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>Indicates whether the historical versions of the application were obtained. Valid values:</p> * <ul> * <li><strong>true</strong>: indicates that the historical versions of the application were obtained.</li> * <li><strong>false</strong>: indicates that the historical versions of the application could not be obtained.</li> * </ul> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The information about the versions.</p> */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * <p>The HTTP status code. Valid values:</p> * <ul> * <li><strong>2xx</strong>: indicates that the request was successful.</li> * <li><strong>3xx</strong>: indicates that the request was redirected.</li> * <li><strong>4xx</strong>: indicates that the request was invalid.</li> * <li><strong>5xx</strong>: indicates that a server error occurred.</li> * </ul> */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>success</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The information about the versions.</p> * * <strong>example:</strong> * <p>01CF26C7-00A3-4AA6-BA76-7E95F2A3****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public ListAppVersionsResponseBody build() { return new ListAppVersionsResponseBody(this); } } /** * * {@link ListAppVersionsResponseBody} extends {@link TeaModel} * * <p>ListAppVersionsResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("BuildPackageUrl") private String buildPackageUrl; @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("Id") private String id; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("WarUrl") private String warUrl; private Data(Builder builder) { this.buildPackageUrl = builder.buildPackageUrl; this.createTime = builder.createTime; this.id = builder.id; this.type = builder.type; this.warUrl = builder.warUrl; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return buildPackageUrl */ public String getBuildPackageUrl() { return this.buildPackageUrl; } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return id */ public String getId() { return this.id; } /** * @return type */ public String getType() { return this.type; } /** * @return warUrl */ public String getWarUrl() { return this.warUrl; } public static final class Builder { private String buildPackageUrl; private String createTime; private String id; private String type; private String warUrl; private Builder() { } private Builder(Data model) { this.buildPackageUrl = model.buildPackageUrl; this.createTime = model.createTime; this.id = model.id; this.type = model.type; this.warUrl = model.warUrl; } /** * <p>The URL of the code package. If you use the SAE console to upload the code package, take note of the following items:</p> * <ul> * <li>You cannot download the URL. You must call the GetPackageVersionAccessableUrl operation to obtain the URL. The obtained URL is valid for 10 minutes.</li> * <li>SAE can retain the package up to 90 days. After 90 days, the URL cannot be returned or downloaded.</li> * </ul> */ public Builder buildPackageUrl(String buildPackageUrl) { this.buildPackageUrl = buildPackageUrl; return this; } /** * <p>The download link of the WAR or JAR package. This parameter is returned when the <strong>Type</strong> parameter is set to <strong>url</strong>.</p> * * <strong>example:</strong> * <p>1590124643553</p> */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * <p>The error code.</p> * <ul> * <li>The <strong>ErrorCode</strong> parameter is not returned when the request succeeds.</li> * <li>The <strong>ErrorCode</strong> parameter is returned when the request fails. For more information, see <strong>Error codes</strong> in this topic.</li> * </ul> * * <strong>example:</strong> * <p>a0ce266c-d354-423a-9bd6-4083405a****</p> */ public Builder id(String id) { this.id = id; return this; } /** * <p>The deployment method of the application. Valid values:</p> * <ul> * <li><strong>image</strong>: indicates that the application is deployed by using an image.</li> * <li><strong>url</strong>: indicates that the application is deployed by using a code package.</li> * </ul> * * <strong>example:</strong> * <p>image</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>The URL of the image.</p> */ public Builder warUrl(String warUrl) { this.warUrl = warUrl; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListApplicationVersionsOutput.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListApplicationVersionsOutput} extends {@link TeaModel} * * <p>ListApplicationVersionsOutput</p> */ public class ListApplicationVersionsOutput extends TeaModel { @com.aliyun.core.annotation.NameInMap("direction") private String direction; @com.aliyun.core.annotation.NameInMap("nextToken") private String nextToken; @com.aliyun.core.annotation.NameInMap("requestId") private String requestId; @com.aliyun.core.annotation.NameInMap("versions") private java.util.List<Version> versions; private ListApplicationVersionsOutput(Builder builder) { this.direction = builder.direction; this.nextToken = builder.nextToken; this.requestId = builder.requestId; this.versions = builder.versions; } public static Builder builder() { return new Builder(); } public static ListApplicationVersionsOutput create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return direction */ public String getDirection() { return this.direction; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return versions */ public java.util.List<Version> getVersions() { return this.versions; } public static final class Builder { private String direction; private String nextToken; private String requestId; private java.util.List<Version> versions; private Builder() { } private Builder(ListApplicationVersionsOutput model) { this.direction = model.direction; this.nextToken = model.nextToken; this.requestId = model.requestId; this.versions = model.versions; } /** * direction. */ public Builder direction(String direction) { this.direction = direction; return this; } /** * nextToken. */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; return this; } /** * requestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * versions. */ public Builder versions(java.util.List<Version> versions) { this.versions = versions; return this; } public ListApplicationVersionsOutput build() { return new ListApplicationVersionsOutput(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListApplicationsForSwimmingLaneRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListApplicationsForSwimmingLaneRequest} extends {@link RequestModel} * * <p>ListApplicationsForSwimmingLaneRequest</p> */ public class ListApplicationsForSwimmingLaneRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") private Long groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceId") @com.aliyun.core.annotation.Validation(required = true) private String namespaceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private String tag; private ListApplicationsForSwimmingLaneRequest(Builder builder) { super(builder); this.groupId = builder.groupId; this.namespaceId = builder.namespaceId; this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static ListApplicationsForSwimmingLaneRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupId */ public Long getGroupId() { return this.groupId; } /** * @return namespaceId */ public String getNamespaceId() { return this.namespaceId; } /** * @return tag */ public String getTag() { return this.tag; } public static final class Builder extends Request.Builder<ListApplicationsForSwimmingLaneRequest, Builder> { private Long groupId; private String namespaceId; private String tag; private Builder() { super(); } private Builder(ListApplicationsForSwimmingLaneRequest request) { super(request); this.groupId = request.groupId; this.namespaceId = request.namespaceId; this.tag = request.tag; } /** * GroupId. */ public Builder groupId(Long groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-beijing:test</p> */ public Builder namespaceId(String namespaceId) { this.putQueryParameter("NamespaceId", namespaceId); this.namespaceId = namespaceId; return this; } /** * Tag. */ public Builder tag(String tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } @Override public ListApplicationsForSwimmingLaneRequest build() { return new ListApplicationsForSwimmingLaneRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListApplicationsForSwimmingLaneResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListApplicationsForSwimmingLaneResponse} extends {@link TeaModel} * * <p>ListApplicationsForSwimmingLaneResponse</p> */ public class ListApplicationsForSwimmingLaneResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ListApplicationsForSwimmingLaneResponseBody body; private ListApplicationsForSwimmingLaneResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListApplicationsForSwimmingLaneResponse 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 ListApplicationsForSwimmingLaneResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListApplicationsForSwimmingLaneResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListApplicationsForSwimmingLaneResponseBody body); @Override ListApplicationsForSwimmingLaneResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListApplicationsForSwimmingLaneResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListApplicationsForSwimmingLaneResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListApplicationsForSwimmingLaneResponse 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(ListApplicationsForSwimmingLaneResponseBody body) { this.body = body; return this; } @Override public ListApplicationsForSwimmingLaneResponse build() { return new ListApplicationsForSwimmingLaneResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListApplicationsForSwimmingLaneResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListApplicationsForSwimmingLaneResponseBody} extends {@link TeaModel} * * <p>ListApplicationsForSwimmingLaneResponseBody</p> */ public class ListApplicationsForSwimmingLaneResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private ListApplicationsForSwimmingLaneResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.errorCode = builder.errorCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static ListApplicationsForSwimmingLaneResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private String code; private java.util.List<Data> data; private String errorCode; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(ListApplicationsForSwimmingLaneResponseBody model) { this.code = model.code; this.data = model.data; this.errorCode = model.errorCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * Data. */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * ErrorCode. */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public ListApplicationsForSwimmingLaneResponseBody build() { return new ListApplicationsForSwimmingLaneResponseBody(this); } } /** * * {@link ListApplicationsForSwimmingLaneResponseBody} extends {@link TeaModel} * * <p>ListApplicationsForSwimmingLaneResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @com.aliyun.core.annotation.NameInMap("BaseAppId") private String baseAppId; @com.aliyun.core.annotation.NameInMap("BaseAppName") private String baseAppName; @com.aliyun.core.annotation.NameInMap("MseAppId") private String mseAppId; @com.aliyun.core.annotation.NameInMap("MseAppName") private String mseAppName; @com.aliyun.core.annotation.NameInMap("MseNamespaceId") private String mseNamespaceId; @com.aliyun.core.annotation.NameInMap("ServiceTags") private java.util.Map<String, String> serviceTags; private Data(Builder builder) { this.appId = builder.appId; this.appName = builder.appName; this.baseAppId = builder.baseAppId; this.baseAppName = builder.baseAppName; this.mseAppId = builder.mseAppId; this.mseAppName = builder.mseAppName; this.mseNamespaceId = builder.mseNamespaceId; this.serviceTags = builder.serviceTags; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return baseAppId */ public String getBaseAppId() { return this.baseAppId; } /** * @return baseAppName */ public String getBaseAppName() { return this.baseAppName; } /** * @return mseAppId */ public String getMseAppId() { return this.mseAppId; } /** * @return mseAppName */ public String getMseAppName() { return this.mseAppName; } /** * @return mseNamespaceId */ public String getMseNamespaceId() { return this.mseNamespaceId; } /** * @return serviceTags */ public java.util.Map<String, String> getServiceTags() { return this.serviceTags; } public static final class Builder { private String appId; private String appName; private String baseAppId; private String baseAppName; private String mseAppId; private String mseAppName; private String mseNamespaceId; private java.util.Map<String, String> serviceTags; private Builder() { } private Builder(Data model) { this.appId = model.appId; this.appName = model.appName; this.baseAppId = model.baseAppId; this.baseAppName = model.baseAppName; this.mseAppId = model.mseAppId; this.mseAppName = model.mseAppName; this.mseNamespaceId = model.mseNamespaceId; this.serviceTags = model.serviceTags; } /** * AppId. */ public Builder appId(String appId) { this.appId = appId; return this; } /** * AppName. */ public Builder appName(String appName) { this.appName = appName; return this; } /** * BaseAppId. */ public Builder baseAppId(String baseAppId) { this.baseAppId = baseAppId; return this; } /** * BaseAppName. */ public Builder baseAppName(String baseAppName) { this.baseAppName = baseAppName; return this; } /** * MseAppId. */ public Builder mseAppId(String mseAppId) { this.mseAppId = mseAppId; return this; } /** * MseAppName. */ public Builder mseAppName(String mseAppName) { this.mseAppName = mseAppName; return this; } /** * MseNamespaceId. */ public Builder mseNamespaceId(String mseNamespaceId) { this.mseNamespaceId = mseNamespaceId; return this; } /** * ServiceTags. */ public Builder serviceTags(java.util.Map<String, String> serviceTags) { this.serviceTags = serviceTags; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListApplicationsOutput.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListApplicationsOutput} extends {@link TeaModel} * * <p>ListApplicationsOutput</p> */ public class ListApplicationsOutput extends TeaModel { @com.aliyun.core.annotation.NameInMap("applications") private java.util.List<Application> applications; @com.aliyun.core.annotation.NameInMap("nextToken") private String nextToken; @com.aliyun.core.annotation.NameInMap("requestId") private String requestId; private ListApplicationsOutput(Builder builder) { this.applications = builder.applications; this.nextToken = builder.nextToken; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListApplicationsOutput create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return applications */ public java.util.List<Application> getApplications() { return this.applications; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<Application> applications; private String nextToken; private String requestId; private Builder() { } private Builder(ListApplicationsOutput model) { this.applications = model.applications; this.nextToken = model.nextToken; this.requestId = model.requestId; } /** * applications. */ public Builder applications(java.util.List<Application> applications) { this.applications = applications; return this; } /** * nextToken. */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; return this; } /** * requestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListApplicationsOutput build() { return new ListApplicationsOutput(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListApplicationsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListApplicationsRequest} extends {@link RequestModel} * * <p>ListApplicationsRequest</p> */ public class ListApplicationsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppSource") private String appSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FieldType") private String fieldType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FieldValue") private String fieldValue; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NamespaceId") private String namespaceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OrderBy") private String orderBy; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Reverse") private Boolean reverse; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tags") private String tags; private ListApplicationsRequest(Builder builder) { super(builder); this.appName = builder.appName; this.appSource = builder.appSource; this.currentPage = builder.currentPage; this.fieldType = builder.fieldType; this.fieldValue = builder.fieldValue; this.namespaceId = builder.namespaceId; this.orderBy = builder.orderBy; this.pageSize = builder.pageSize; this.reverse = builder.reverse; this.tags = builder.tags; } public static Builder builder() { return new Builder(); } public static ListApplicationsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return appSource */ public String getAppSource() { return this.appSource; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return fieldType */ public String getFieldType() { return this.fieldType; } /** * @return fieldValue */ public String getFieldValue() { return this.fieldValue; } /** * @return namespaceId */ public String getNamespaceId() { return this.namespaceId; } /** * @return orderBy */ public String getOrderBy() { return this.orderBy; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return reverse */ public Boolean getReverse() { return this.reverse; } /** * @return tags */ public String getTags() { return this.tags; } public static final class Builder extends Request.Builder<ListApplicationsRequest, Builder> { private String appName; private String appSource; private Integer currentPage; private String fieldType; private String fieldValue; private String namespaceId; private String orderBy; private Integer pageSize; private Boolean reverse; private String tags; private Builder() { super(); } private Builder(ListApplicationsRequest request) { super(request); this.appName = request.appName; this.appSource = request.appSource; this.currentPage = request.currentPage; this.fieldType = request.fieldType; this.fieldValue = request.fieldValue; this.namespaceId = request.namespaceId; this.orderBy = request.orderBy; this.pageSize = request.pageSize; this.reverse = request.reverse; this.tags = request.tags; } /** * <p>The HTTP status code. Valid values:</p> * <ul> * <li><strong>2xx</strong>: indicates that the request was successful.</li> * <li><strong>3xx</strong>: indicates that the request was redirected.</li> * <li><strong>4xx</strong>: indicates that the request was invalid.</li> * <li><strong>5xx</strong>: indicates that a server error occurred.</li> * </ul> * * <strong>example:</strong> * <p>demo-app</p> */ public Builder appName(String appName) { this.putQueryParameter("AppName", appName); this.appName = appName; return this; } /** * <p>The SAE application type. Valid values:</p> * <ul> * <li><strong>micro_service</strong></li> * <li><strong>web</strong></li> * <li><strong>job</strong></li> * </ul> * * <strong>example:</strong> * <p>micro_service</p> */ public Builder appSource(String appSource) { this.putQueryParameter("AppSource", appSource); this.appSource = appSource; return this; } /** * <p>The number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>true</p> * * <strong>example:</strong> * <p>appName</p> */ public Builder fieldType(String fieldType) { this.putQueryParameter("FieldType", fieldType); this.fieldType = fieldType; return this; } /** * <p>The ID of the region.</p> * * <strong>example:</strong> * <p>demo-app</p> */ public Builder fieldValue(String fieldValue) { this.putQueryParameter("FieldValue", fieldValue); this.fieldValue = fieldValue; return this; } /** * <p>1</p> * * <strong>example:</strong> * <p>cn-beijing:demo</p> */ public Builder namespaceId(String namespaceId) { this.putQueryParameter("NamespaceId", namespaceId); this.namespaceId = namespaceId; return this; } /** * <p>runnings</p> * * <strong>example:</strong> * <p>running</p> */ public Builder orderBy(String orderBy) { this.putQueryParameter("OrderBy", orderBy); this.orderBy = orderBy; return this; } /** * <p>Indicates whether the application is being deleted. Valid values:</p> * <ul> * <li><strong>true</strong>: The application is being deleted.</li> * <li><strong>false</strong>: The application is not being deleted.</li> * </ul> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The returned message.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder reverse(Boolean reverse) { this.putQueryParameter("Reverse", reverse); this.reverse = reverse; return this; } /** * <p>The list of applications.</p> * * <strong>example:</strong> * <p>[{&quot;key&quot;:&quot;key&quot;,&quot;value&quot;:&quot;value&quot;}]</p> */ public Builder tags(String tags) { this.putQueryParameter("Tags", tags); this.tags = tags; return this; } @Override public ListApplicationsRequest build() { return new ListApplicationsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListApplicationsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListApplicationsResponse} extends {@link TeaModel} * * <p>ListApplicationsResponse</p> */ public class ListApplicationsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ListApplicationsResponseBody body; private ListApplicationsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListApplicationsResponse 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 ListApplicationsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListApplicationsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListApplicationsResponseBody body); @Override ListApplicationsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListApplicationsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListApplicationsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListApplicationsResponse 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(ListApplicationsResponseBody body) { this.body = body; return this; } @Override public ListApplicationsResponse build() { return new ListApplicationsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListApplicationsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListApplicationsResponseBody} extends {@link TeaModel} * * <p>ListApplicationsResponseBody</p> */ public class ListApplicationsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; @com.aliyun.core.annotation.NameInMap("TotalSize") private Integer totalSize; private ListApplicationsResponseBody(Builder builder) { this.code = builder.code; this.currentPage = builder.currentPage; this.data = builder.data; this.errorCode = builder.errorCode; this.message = builder.message; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.success = builder.success; this.totalSize = builder.totalSize; } public static Builder builder() { return new Builder(); } public static ListApplicationsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return data */ public Data getData() { return this.data; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } /** * @return totalSize */ public Integer getTotalSize() { return this.totalSize; } public static final class Builder { private String code; private Integer currentPage; private Data data; private String errorCode; private String message; private Integer pageSize; private String requestId; private Boolean success; private Integer totalSize; private Builder() { } private Builder(ListApplicationsResponseBody model) { this.code = model.code; this.currentPage = model.currentPage; this.data = model.data; this.errorCode = model.errorCode; this.message = model.message; this.pageSize = model.pageSize; this.requestId = model.requestId; this.success = model.success; this.totalSize = model.totalSize; } /** * <p>Queries applications.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>20</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The queried applications.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The number of entries returned on each page.</p> * * <strong>example:</strong> * <p>The ID of the request.</p> */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * <p>20</p> * * <strong>example:</strong> * <p>success</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>cn-beijing:demo</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The number of entries returned on each page.</p> * * <strong>example:</strong> * <p>B4D805CA-926D-41B1-8E63-7AD0C1ED****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>1</p> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } /** * <p>demo-app</p> * * <strong>example:</strong> * <p>2</p> */ public Builder totalSize(Integer totalSize) { this.totalSize = totalSize; return this; } public ListApplicationsResponseBody build() { return new ListApplicationsResponseBody(this); } } /** * * {@link ListApplicationsResponseBody} extends {@link TeaModel} * * <p>ListApplicationsResponseBody</p> */ public static class Tags extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.NameInMap("Value") private String value; private Tags(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Tags create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; private Builder() { } private Builder(Tags model) { this.key = model.key; this.value = model.value; } /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public Tags build() { return new Tags(this); } } } /** * * {@link ListApplicationsResponseBody} extends {@link TeaModel} * * <p>ListApplicationsResponseBody</p> */ public static class Children extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppDeletingStatus") private Boolean appDeletingStatus; @com.aliyun.core.annotation.NameInMap("AppDescription") private String appDescription; @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @com.aliyun.core.annotation.NameInMap("AppType") private String appType; @com.aliyun.core.annotation.NameInMap("BaseAppId") private String baseAppId; @com.aliyun.core.annotation.NameInMap("Cpu") private Integer cpu; @com.aliyun.core.annotation.NameInMap("Instances") private Integer instances; @com.aliyun.core.annotation.NameInMap("IsStateful") private Boolean isStateful; @com.aliyun.core.annotation.NameInMap("Mem") private Integer mem; @com.aliyun.core.annotation.NameInMap("MseEnabled") private Boolean mseEnabled; @com.aliyun.core.annotation.NameInMap("NamespaceId") private String namespaceId; @com.aliyun.core.annotation.NameInMap("NamespaceName") private String namespaceName; @com.aliyun.core.annotation.NameInMap("NewSaeVersion") private String newSaeVersion; @com.aliyun.core.annotation.NameInMap("ProgrammingLanguage") private String programmingLanguage; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("RunningInstances") private Integer runningInstances; @com.aliyun.core.annotation.NameInMap("ScaleRuleEnabled") private Boolean scaleRuleEnabled; @com.aliyun.core.annotation.NameInMap("ScaleRuleType") private String scaleRuleType; @com.aliyun.core.annotation.NameInMap("Tags") private java.util.List<Tags> tags; private Children(Builder builder) { this.appDeletingStatus = builder.appDeletingStatus; this.appDescription = builder.appDescription; this.appId = builder.appId; this.appName = builder.appName; this.appType = builder.appType; this.baseAppId = builder.baseAppId; this.cpu = builder.cpu; this.instances = builder.instances; this.isStateful = builder.isStateful; this.mem = builder.mem; this.mseEnabled = builder.mseEnabled; this.namespaceId = builder.namespaceId; this.namespaceName = builder.namespaceName; this.newSaeVersion = builder.newSaeVersion; this.programmingLanguage = builder.programmingLanguage; this.regionId = builder.regionId; this.runningInstances = builder.runningInstances; this.scaleRuleEnabled = builder.scaleRuleEnabled; this.scaleRuleType = builder.scaleRuleType; this.tags = builder.tags; } public static Builder builder() { return new Builder(); } public static Children create() { return builder().build(); } /** * @return appDeletingStatus */ public Boolean getAppDeletingStatus() { return this.appDeletingStatus; } /** * @return appDescription */ public String getAppDescription() { return this.appDescription; } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return appType */ public String getAppType() { return this.appType; } /** * @return baseAppId */ public String getBaseAppId() { return this.baseAppId; } /** * @return cpu */ public Integer getCpu() { return this.cpu; } /** * @return instances */ public Integer getInstances() { return this.instances; } /** * @return isStateful */ public Boolean getIsStateful() { return this.isStateful; } /** * @return mem */ public Integer getMem() { return this.mem; } /** * @return mseEnabled */ public Boolean getMseEnabled() { return this.mseEnabled; } /** * @return namespaceId */ public String getNamespaceId() { return this.namespaceId; } /** * @return namespaceName */ public String getNamespaceName() { return this.namespaceName; } /** * @return newSaeVersion */ public String getNewSaeVersion() { return this.newSaeVersion; } /** * @return programmingLanguage */ public String getProgrammingLanguage() { return this.programmingLanguage; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return runningInstances */ public Integer getRunningInstances() { return this.runningInstances; } /** * @return scaleRuleEnabled */ public Boolean getScaleRuleEnabled() { return this.scaleRuleEnabled; } /** * @return scaleRuleType */ public String getScaleRuleType() { return this.scaleRuleType; } /** * @return tags */ public java.util.List<Tags> getTags() { return this.tags; } public static final class Builder { private Boolean appDeletingStatus; private String appDescription; private String appId; private String appName; private String appType; private String baseAppId; private Integer cpu; private Integer instances; private Boolean isStateful; private Integer mem; private Boolean mseEnabled; private String namespaceId; private String namespaceName; private String newSaeVersion; private String programmingLanguage; private String regionId; private Integer runningInstances; private Boolean scaleRuleEnabled; private String scaleRuleType; private java.util.List<Tags> tags; private Builder() { } private Builder(Children model) { this.appDeletingStatus = model.appDeletingStatus; this.appDescription = model.appDescription; this.appId = model.appId; this.appName = model.appName; this.appType = model.appType; this.baseAppId = model.baseAppId; this.cpu = model.cpu; this.instances = model.instances; this.isStateful = model.isStateful; this.mem = model.mem; this.mseEnabled = model.mseEnabled; this.namespaceId = model.namespaceId; this.namespaceName = model.namespaceName; this.newSaeVersion = model.newSaeVersion; this.programmingLanguage = model.programmingLanguage; this.regionId = model.regionId; this.runningInstances = model.runningInstances; this.scaleRuleEnabled = model.scaleRuleEnabled; this.scaleRuleType = model.scaleRuleType; this.tags = model.tags; } /** * AppDeletingStatus. */ public Builder appDeletingStatus(Boolean appDeletingStatus) { this.appDeletingStatus = appDeletingStatus; return this; } /** * AppDescription. */ public Builder appDescription(String appDescription) { this.appDescription = appDescription; return this; } /** * AppId. */ public Builder appId(String appId) { this.appId = appId; return this; } /** * AppName. */ public Builder appName(String appName) { this.appName = appName; return this; } /** * AppType. */ public Builder appType(String appType) { this.appType = appType; return this; } /** * BaseAppId. */ public Builder baseAppId(String baseAppId) { this.baseAppId = baseAppId; return this; } /** * Cpu. */ public Builder cpu(Integer cpu) { this.cpu = cpu; return this; } /** * Instances. */ public Builder instances(Integer instances) { this.instances = instances; return this; } /** * IsStateful. */ public Builder isStateful(Boolean isStateful) { this.isStateful = isStateful; return this; } /** * Mem. */ public Builder mem(Integer mem) { this.mem = mem; return this; } /** * MseEnabled. */ public Builder mseEnabled(Boolean mseEnabled) { this.mseEnabled = mseEnabled; return this; } /** * NamespaceId. */ public Builder namespaceId(String namespaceId) { this.namespaceId = namespaceId; return this; } /** * NamespaceName. */ public Builder namespaceName(String namespaceName) { this.namespaceName = namespaceName; return this; } /** * NewSaeVersion. */ public Builder newSaeVersion(String newSaeVersion) { this.newSaeVersion = newSaeVersion; return this; } /** * ProgrammingLanguage. */ public Builder programmingLanguage(String programmingLanguage) { this.programmingLanguage = programmingLanguage; return this; } /** * RegionId. */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * RunningInstances. */ public Builder runningInstances(Integer runningInstances) { this.runningInstances = runningInstances; return this; } /** * ScaleRuleEnabled. */ public Builder scaleRuleEnabled(Boolean scaleRuleEnabled) { this.scaleRuleEnabled = scaleRuleEnabled; return this; } /** * ScaleRuleType. */ public Builder scaleRuleType(String scaleRuleType) { this.scaleRuleType = scaleRuleType; return this; } /** * Tags. */ public Builder tags(java.util.List<Tags> tags) { this.tags = tags; return this; } public Children build() { return new Children(this); } } } /** * * {@link ListApplicationsResponseBody} extends {@link TeaModel} * * <p>ListApplicationsResponseBody</p> */ public static class ApplicationsTags extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.NameInMap("Value") private String value; private ApplicationsTags(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static ApplicationsTags 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; private Builder() { } private Builder(ApplicationsTags model) { this.key = model.key; this.value = model.value; } /** * <p>The key of the tag.</p> * * <strong>example:</strong> * <p>key</p> */ public Builder key(String key) { this.key = key; return this; } /** * <p>The value of the tag.</p> * * <strong>example:</strong> * <p>value</p> */ public Builder value(String value) { this.value = value; return this; } public ApplicationsTags build() { return new ApplicationsTags(this); } } } /** * * {@link ListApplicationsResponseBody} extends {@link TeaModel} * * <p>ListApplicationsResponseBody</p> */ public static class Applications extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppDeletingStatus") private Boolean appDeletingStatus; @com.aliyun.core.annotation.NameInMap("AppDescription") private String appDescription; @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.NameInMap("AppName") private String appName; @com.aliyun.core.annotation.NameInMap("AppType") private String appType; @com.aliyun.core.annotation.NameInMap("BaseAppId") private String baseAppId; @com.aliyun.core.annotation.NameInMap("Children") private java.util.List<Children> children; @com.aliyun.core.annotation.NameInMap("Cpu") private Integer cpu; @com.aliyun.core.annotation.NameInMap("DiskSize") private Integer diskSize; @com.aliyun.core.annotation.NameInMap("EnableIdle") private String enableIdle; @com.aliyun.core.annotation.NameInMap("ImageUrl") private String imageUrl; @com.aliyun.core.annotation.NameInMap("Instances") private Integer instances; @com.aliyun.core.annotation.NameInMap("IsStateful") private Boolean isStateful; @com.aliyun.core.annotation.NameInMap("Mem") private Integer mem; @com.aliyun.core.annotation.NameInMap("MseEnabled") private Boolean mseEnabled; @com.aliyun.core.annotation.NameInMap("MseNamespaceId") private String mseNamespaceId; @com.aliyun.core.annotation.NameInMap("NamespaceId") private String namespaceId; @com.aliyun.core.annotation.NameInMap("NamespaceName") private String namespaceName; @com.aliyun.core.annotation.NameInMap("NewSaeVersion") private String newSaeVersion; @com.aliyun.core.annotation.NameInMap("PackageUrl") private String packageUrl; @com.aliyun.core.annotation.NameInMap("ProgrammingLanguage") private String programmingLanguage; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("RunningInstances") private Integer runningInstances; @com.aliyun.core.annotation.NameInMap("Tags") private java.util.List<ApplicationsTags> tags; @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; private Applications(Builder builder) { this.appDeletingStatus = builder.appDeletingStatus; this.appDescription = builder.appDescription; this.appId = builder.appId; this.appName = builder.appName; this.appType = builder.appType; this.baseAppId = builder.baseAppId; this.children = builder.children; this.cpu = builder.cpu; this.diskSize = builder.diskSize; this.enableIdle = builder.enableIdle; this.imageUrl = builder.imageUrl; this.instances = builder.instances; this.isStateful = builder.isStateful; this.mem = builder.mem; this.mseEnabled = builder.mseEnabled; this.mseNamespaceId = builder.mseNamespaceId; this.namespaceId = builder.namespaceId; this.namespaceName = builder.namespaceName; this.newSaeVersion = builder.newSaeVersion; this.packageUrl = builder.packageUrl; this.programmingLanguage = builder.programmingLanguage; this.regionId = builder.regionId; this.runningInstances = builder.runningInstances; this.tags = builder.tags; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static Applications create() { return builder().build(); } /** * @return appDeletingStatus */ public Boolean getAppDeletingStatus() { return this.appDeletingStatus; } /** * @return appDescription */ public String getAppDescription() { return this.appDescription; } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return appName */ public String getAppName() { return this.appName; } /** * @return appType */ public String getAppType() { return this.appType; } /** * @return baseAppId */ public String getBaseAppId() { return this.baseAppId; } /** * @return children */ public java.util.List<Children> getChildren() { return this.children; } /** * @return cpu */ public Integer getCpu() { return this.cpu; } /** * @return diskSize */ public Integer getDiskSize() { return this.diskSize; } /** * @return enableIdle */ public String getEnableIdle() { return this.enableIdle; } /** * @return imageUrl */ public String getImageUrl() { return this.imageUrl; } /** * @return instances */ public Integer getInstances() { return this.instances; } /** * @return isStateful */ public Boolean getIsStateful() { return this.isStateful; } /** * @return mem */ public Integer getMem() { return this.mem; } /** * @return mseEnabled */ public Boolean getMseEnabled() { return this.mseEnabled; } /** * @return mseNamespaceId */ public String getMseNamespaceId() { return this.mseNamespaceId; } /** * @return namespaceId */ public String getNamespaceId() { return this.namespaceId; } /** * @return namespaceName */ public String getNamespaceName() { return this.namespaceName; } /** * @return newSaeVersion */ public String getNewSaeVersion() { return this.newSaeVersion; } /** * @return packageUrl */ public String getPackageUrl() { return this.packageUrl; } /** * @return programmingLanguage */ public String getProgrammingLanguage() { return this.programmingLanguage; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return runningInstances */ public Integer getRunningInstances() { return this.runningInstances; } /** * @return tags */ public java.util.List<ApplicationsTags> getTags() { return this.tags; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder { private Boolean appDeletingStatus; private String appDescription; private String appId; private String appName; private String appType; private String baseAppId; private java.util.List<Children> children; private Integer cpu; private Integer diskSize; private String enableIdle; private String imageUrl; private Integer instances; private Boolean isStateful; private Integer mem; private Boolean mseEnabled; private String mseNamespaceId; private String namespaceId; private String namespaceName; private String newSaeVersion; private String packageUrl; private String programmingLanguage; private String regionId; private Integer runningInstances; private java.util.List<ApplicationsTags> tags; private String vpcId; private Builder() { } private Builder(Applications model) { this.appDeletingStatus = model.appDeletingStatus; this.appDescription = model.appDescription; this.appId = model.appId; this.appName = model.appName; this.appType = model.appType; this.baseAppId = model.baseAppId; this.children = model.children; this.cpu = model.cpu; this.diskSize = model.diskSize; this.enableIdle = model.enableIdle; this.imageUrl = model.imageUrl; this.instances = model.instances; this.isStateful = model.isStateful; this.mem = model.mem; this.mseEnabled = model.mseEnabled; this.mseNamespaceId = model.mseNamespaceId; this.namespaceId = model.namespaceId; this.namespaceName = model.namespaceName; this.newSaeVersion = model.newSaeVersion; this.packageUrl = model.packageUrl; this.programmingLanguage = model.programmingLanguage; this.regionId = model.regionId; this.runningInstances = model.runningInstances; this.tags = model.tags; this.vpcId = model.vpcId; } /** * <p>Indicates whether the application is being deleted. Valid values:</p> * <ul> * <li><strong>true</strong>: The application is being deleted.</li> * <li><strong>false</strong>: The application is not being deleted.</li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder appDeletingStatus(Boolean appDeletingStatus) { this.appDeletingStatus = appDeletingStatus; return this; } /** * <p>The description of the application.</p> * * <strong>example:</strong> * <p>description</p> */ public Builder appDescription(String appDescription) { this.appDescription = appDescription; return this; } /** * <p>The application ID.</p> * * <strong>example:</strong> * <p>f7730764-d88f-4b9a-8d8e-cd8efbfe****</p> */ public Builder appId(String appId) { this.appId = appId; return this; } /** * <p>The application name.</p> * * <strong>example:</strong> * <p>demo-app</p> */ public Builder appName(String appName) { this.appName = appName; return this; } /** * AppType. */ public Builder appType(String appType) { this.appType = appType; return this; } /** * BaseAppId. */ public Builder baseAppId(String baseAppId) { this.baseAppId = baseAppId; return this; } /** * Children. */ public Builder children(java.util.List<Children> children) { this.children = children; return this; } /** * <p>The CPU specifications that are required for each instance. Unit: millicores. This parameter cannot be set to 0. Valid values:</p> * <ul> * <li><strong>500</strong></li> * <li><strong>1000</strong></li> * <li><strong>2000</strong></li> * <li><strong>4000</strong></li> * <li><strong>8000</strong></li> * <li><strong>16000</strong></li> * <li><strong>32000</strong></li> * </ul> * * <strong>example:</strong> * <p>1000</p> */ public Builder cpu(Integer cpu) { this.cpu = cpu; return this; } /** * DiskSize. */ public Builder diskSize(Integer diskSize) { this.diskSize = diskSize; return this; } /** * EnableIdle. */ public Builder enableIdle(String enableIdle) { this.enableIdle = enableIdle; return this; } /** * ImageUrl. */ public Builder imageUrl(String imageUrl) { this.imageUrl = imageUrl; return this; } /** * <p>The number of application instances.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder instances(Integer instances) { this.instances = instances; return this; } /** * IsStateful. */ public Builder isStateful(Boolean isStateful) { this.isStateful = isStateful; return this; } /** * <p>The memory size that is required by each instance. Unit: MB. This parameter cannot be set to 0. The values of this parameter correspond to the values of the Cpu parameter:</p> * <ul> * <li>This parameter is set to <strong>1024</strong> if the Cpu parameter is set to 500 or 1000.</li> * <li>This parameter is set to <strong>2048</strong> if the Cpu parameter is set to 500, 1000, or 2000.</li> * <li>This parameter is set to <strong>4096</strong> if the Cpu parameter is set to 1000, 2000, or 4000.</li> * <li>This parameter is set to <strong>8192</strong> if the Cpu parameter is set to 2000, 4000, or 8000.</li> * <li>This parameter is set to <strong>12288</strong> if the Cpu parameter is set to 12000.</li> * <li>This parameter is set to <strong>16384</strong> if the Cpu parameter is set to 4000, 8000, or 16000.</li> * <li>This parameter is set to <strong>24576</strong> if the Cpu parameter is set to 12000.</li> * <li>This parameter is set to <strong>32768</strong> if the Cpu parameter is set to 16000.</li> * <li>This parameter is set to <strong>65536</strong> if the Cpu parameter is set to 8000, 16000, or 32000.</li> * <li>This parameter is set to <strong>131072</strong> if the Cpu parameter is set to 32000.</li> * </ul> * * <strong>example:</strong> * <p>1024</p> */ public Builder mem(Integer mem) { this.mem = mem; return this; } /** * MseEnabled. */ public Builder mseEnabled(Boolean mseEnabled) { this.mseEnabled = mseEnabled; return this; } /** * MseNamespaceId. */ public Builder mseNamespaceId(String mseNamespaceId) { this.mseNamespaceId = mseNamespaceId; return this; } /** * <p>The namespace ID.</p> * * <strong>example:</strong> * <p>cn-beijing:demo</p> */ public Builder namespaceId(String namespaceId) { this.namespaceId = namespaceId; return this; } /** * NamespaceName. */ public Builder namespaceName(String namespaceName) { this.namespaceName = namespaceName; return this; } /** * NewSaeVersion. */ public Builder newSaeVersion(String newSaeVersion) { this.newSaeVersion = newSaeVersion; return this; } /** * PackageUrl. */ public Builder packageUrl(String packageUrl) { this.packageUrl = packageUrl; return this; } /** * ProgrammingLanguage. */ public Builder programmingLanguage(String programmingLanguage) { this.programmingLanguage = programmingLanguage; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-beijing</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The number of running instances.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder runningInstances(Integer runningInstances) { this.runningInstances = runningInstances; return this; } /** * <p>The tags of the application.</p> */ public Builder tags(java.util.List<ApplicationsTags> tags) { this.tags = tags; return this; } /** * VpcId. */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } public Applications build() { return new Applications(this); } } } /** * * {@link ListApplicationsResponseBody} extends {@link TeaModel} * * <p>ListApplicationsResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("Applications") private java.util.List<Applications> applications; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalSize") private Integer totalSize; private Data(Builder builder) { this.applications = builder.applications; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalSize = builder.totalSize; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return applications */ public java.util.List<Applications> getApplications() { return this.applications; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalSize */ public Integer getTotalSize() { return this.totalSize; } public static final class Builder { private java.util.List<Applications> applications; private Integer currentPage; private Integer pageSize; private Integer totalSize; private Builder() { } private Builder(Data model) { this.applications = model.applications; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalSize = model.totalSize; } /** * <p>The queried applications.</p> */ public Builder applications(java.util.List<Applications> applications) { this.applications = applications; return this; } /** * <p>The number of application instances.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The tags of the application.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The information about applications.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder totalSize(Integer totalSize) { this.totalSize = totalSize; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListApplicationsWithStatusOutput.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListApplicationsWithStatusOutput} extends {@link TeaModel} * * <p>ListApplicationsWithStatusOutput</p> */ public class ListApplicationsWithStatusOutput extends TeaModel { @com.aliyun.core.annotation.NameInMap("applications") private java.util.List<ApplicationWithStatus> applications; @com.aliyun.core.annotation.NameInMap("nextToken") private String nextToken; @com.aliyun.core.annotation.NameInMap("requestId") private String requestId; private ListApplicationsWithStatusOutput(Builder builder) { this.applications = builder.applications; this.nextToken = builder.nextToken; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListApplicationsWithStatusOutput create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return applications */ public java.util.List<ApplicationWithStatus> getApplications() { return this.applications; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<ApplicationWithStatus> applications; private String nextToken; private String requestId; private Builder() { } private Builder(ListApplicationsWithStatusOutput model) { this.applications = model.applications; this.nextToken = model.nextToken; this.requestId = model.requestId; } /** * applications. */ public Builder applications(java.util.List<ApplicationWithStatus> applications) { this.applications = applications; return this; } /** * nextToken. */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; return this; } /** * requestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListApplicationsWithStatusOutput build() { return new ListApplicationsWithStatusOutput(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListChangeOrdersRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListChangeOrdersRequest} extends {@link RequestModel} * * <p>ListChangeOrdersRequest</p> */ public class ListChangeOrdersRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CoStatus") private String coStatus; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CoType") private String coType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OrderBy") private String orderBy; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Reverse") private Boolean reverse; private ListChangeOrdersRequest(Builder builder) { super(builder); this.appId = builder.appId; this.coStatus = builder.coStatus; this.coType = builder.coType; this.currentPage = builder.currentPage; this.key = builder.key; this.orderBy = builder.orderBy; this.pageSize = builder.pageSize; this.reverse = builder.reverse; } public static Builder builder() { return new Builder(); } public static ListChangeOrdersRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return coStatus */ public String getCoStatus() { return this.coStatus; } /** * @return coType */ public String getCoType() { return this.coType; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return key */ public String getKey() { return this.key; } /** * @return orderBy */ public String getOrderBy() { return this.orderBy; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return reverse */ public Boolean getReverse() { return this.reverse; } public static final class Builder extends Request.Builder<ListChangeOrdersRequest, Builder> { private String appId; private String coStatus; private String coType; private Integer currentPage; private String key; private String orderBy; private Integer pageSize; private Boolean reverse; private Builder() { super(); } private Builder(ListChangeOrdersRequest request) { super(request); this.appId = request.appId; this.coStatus = request.coStatus; this.coType = request.coType; this.currentPage = request.currentPage; this.key = request.key; this.orderBy = request.orderBy; this.pageSize = request.pageSize; this.reverse = request.reverse; } /** * <p>1</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>145341c-9708-4967-b3ec-24933767****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder coStatus(String coStatus) { this.putQueryParameter("CoStatus", coStatus); this.coStatus = coStatus; return this; } /** * <p>The type of the change order. Valid values:</p> * <ul> * <li><strong>CoBindSlb</strong>: associates the Server Load Balancer (SLB) instance with the application.</li> * <li><strong>CoUnbindSlb</strong>: disassociates an SLB instance from the application.</li> * <li><strong>CoCreateApp</strong>: creates the application.</li> * <li><strong>CoDeleteApp</strong>: deletes the application.</li> * <li><strong>CoDeploy</strong>: deploys the application.</li> * <li><strong>CoRestartApplication</strong>: restarts the application.</li> * <li><strong>CoRollback</strong>: rolls back the application.</li> * <li><strong>CoScaleIn</strong>: scales in the application.</li> * <li><strong>CoScaleOut</strong>: scales out the application.</li> * <li><strong>CoStartApplication</strong>: starts the application.</li> * <li><strong>CoStopApplication</strong>: stops the application.</li> * <li><strong>CoRescaleApplicationVertically</strong>: modifies the instance type.</li> * <li><strong>CoDeployHistroy</strong>: rolls back the application to an earlier version.</li> * <li><strong>CoBindNas</strong>: associates a network-attached storage (NAS) file system with the application.</li> * <li><strong>CoUnbindNas</strong>: disassociates a NAS file system from the application.</li> * <li><strong>CoBatchStartApplication</strong>: starts multiple applications concurrently.</li> * <li><strong>CoBatchStopApplication</strong>: stops multiple applications concurrently.</li> * <li><strong>CoRestartInstances</strong>: restarts the instance.</li> * <li><strong>CoDeleteInstances</strong>: deletes the instance.</li> * <li><strong>CoScaleInAppWithInstances</strong>: reduces the specified number of application instances.</li> * </ul> * * <strong>example:</strong> * <p>CoCreateApp</p> */ public Builder coType(String coType) { this.putQueryParameter("CoType", coType); this.coType = coType; return this; } /** * <p>20</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>CoCreateApp</p> * * <strong>example:</strong> * <p>test</p> */ public Builder key(String key) { this.putQueryParameter("Key", key); this.key = key; return this; } /** * OrderBy. */ public Builder orderBy(String orderBy) { this.putQueryParameter("OrderBy", orderBy); this.orderBy = orderBy; return this; } /** * <p>test</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * Reverse. */ public Builder reverse(Boolean reverse) { this.putQueryParameter("Reverse", reverse); this.reverse = reverse; return this; } @Override public ListChangeOrdersRequest build() { return new ListChangeOrdersRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListChangeOrdersResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListChangeOrdersResponse} extends {@link TeaModel} * * <p>ListChangeOrdersResponse</p> */ public class ListChangeOrdersResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ListChangeOrdersResponseBody body; private ListChangeOrdersResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListChangeOrdersResponse 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 ListChangeOrdersResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListChangeOrdersResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListChangeOrdersResponseBody body); @Override ListChangeOrdersResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListChangeOrdersResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListChangeOrdersResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListChangeOrdersResponse 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(ListChangeOrdersResponseBody body) { this.body = body; return this; } @Override public ListChangeOrdersResponse build() { return new ListChangeOrdersResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListChangeOrdersResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListChangeOrdersResponseBody} extends {@link TeaModel} * * <p>ListChangeOrdersResponseBody</p> */ public class ListChangeOrdersResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; @com.aliyun.core.annotation.NameInMap("TraceId") private String traceId; private ListChangeOrdersResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.errorCode = builder.errorCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; this.traceId = builder.traceId; } public static Builder builder() { return new Builder(); } public static ListChangeOrdersResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } /** * @return traceId */ public String getTraceId() { return this.traceId; } public static final class Builder { private String code; private Data data; private String errorCode; private String message; private String requestId; private Boolean success; private String traceId; private Builder() { } private Builder(ListChangeOrdersResponseBody model) { this.code = model.code; this.data = model.data; this.errorCode = model.errorCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; this.traceId = model.traceId; } /** * <p>Indicates whether the list of change orders was obtained. Valid values:</p> * <ul> * <li><strong>true</strong>: indicates that the list was obtained.</li> * <li><strong>false</strong>: indicates that the list could not be obtained.</li> * </ul> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The information about change orders.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The HTTP status code. Valid values:</p> * <ul> * <li><strong>2xx</strong>: indicates that the request was successful.</li> * <li><strong>3xx</strong>: indicates that the request was redirected.</li> * <li><strong>4xx</strong>: indicates that the request was invalid.</li> * <li><strong>5xx</strong>: indicates that a server error occurred.</li> * </ul> */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * <p>The ID of the trace. It is used to query the details of a request.</p> * * <strong>example:</strong> * <p>success</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The returned message.</p> * * <strong>example:</strong> * <p>65E1F-43BA-4D0C-8E61-E4D1337F****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } /** * <p>The information about change orders.</p> * * <strong>example:</strong> * <p>0bb6f815638568884597879d****</p> */ public Builder traceId(String traceId) { this.traceId = traceId; return this; } public ListChangeOrdersResponseBody build() { return new ListChangeOrdersResponseBody(this); } } /** * * {@link ListChangeOrdersResponseBody} extends {@link TeaModel} * * <p>ListChangeOrdersResponseBody</p> */ public static class ChangeOrderList extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.NameInMap("BatchCount") private Integer batchCount; @com.aliyun.core.annotation.NameInMap("BatchType") private String batchType; @com.aliyun.core.annotation.NameInMap("ChangeOrderId") private String changeOrderId; @com.aliyun.core.annotation.NameInMap("CoType") private String coType; @com.aliyun.core.annotation.NameInMap("CoTypeCode") private String coTypeCode; @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("CreateUserId") private String createUserId; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("FinishTime") private String finishTime; @com.aliyun.core.annotation.NameInMap("GroupId") private String groupId; @com.aliyun.core.annotation.NameInMap("Source") private String source; @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.NameInMap("UserId") private String userId; private ChangeOrderList(Builder builder) { this.appId = builder.appId; this.batchCount = builder.batchCount; this.batchType = builder.batchType; this.changeOrderId = builder.changeOrderId; this.coType = builder.coType; this.coTypeCode = builder.coTypeCode; this.createTime = builder.createTime; this.createUserId = builder.createUserId; this.description = builder.description; this.finishTime = builder.finishTime; this.groupId = builder.groupId; this.source = builder.source; this.status = builder.status; this.userId = builder.userId; } public static Builder builder() { return new Builder(); } public static ChangeOrderList create() { return builder().build(); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return batchCount */ public Integer getBatchCount() { return this.batchCount; } /** * @return batchType */ public String getBatchType() { return this.batchType; } /** * @return changeOrderId */ public String getChangeOrderId() { return this.changeOrderId; } /** * @return coType */ public String getCoType() { return this.coType; } /** * @return coTypeCode */ public String getCoTypeCode() { return this.coTypeCode; } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return createUserId */ public String getCreateUserId() { return this.createUserId; } /** * @return description */ public String getDescription() { return this.description; } /** * @return finishTime */ public String getFinishTime() { return this.finishTime; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return source */ public String getSource() { return this.source; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return userId */ public String getUserId() { return this.userId; } public static final class Builder { private String appId; private Integer batchCount; private String batchType; private String changeOrderId; private String coType; private String coTypeCode; private String createTime; private String createUserId; private String description; private String finishTime; private String groupId; private String source; private Integer status; private String userId; private Builder() { } private Builder(ChangeOrderList model) { this.appId = model.appId; this.batchCount = model.batchCount; this.batchType = model.batchType; this.changeOrderId = model.changeOrderId; this.coType = model.coType; this.coTypeCode = model.coTypeCode; this.createTime = model.createTime; this.createUserId = model.createUserId; this.description = model.description; this.finishTime = model.finishTime; this.groupId = model.groupId; this.source = model.source; this.status = model.status; this.userId = model.userId; } /** * <p>The number of entries returned on each page.</p> * * <strong>example:</strong> * <p>164341c-9708-4967-b3ec-24933767****</p> */ public Builder appId(String appId) { this.appId = appId; return this; } /** * <p>The ID of the user who created the change order.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder batchCount(Integer batchCount) { this.batchCount = batchCount; return this; } /** * <p>The ID of the group.</p> * * <strong>example:</strong> * <p>auto</p> */ public Builder batchType(String batchType) { this.batchType = batchType; return this; } /** * <p>The mode in which the release batches are determined. Valid values:</p> * <ul> * <li><strong>auto</strong>: SAE automatically determines the release batches.</li> * <li><strong>manual</strong>: You must manually determine the release batches.</li> * </ul> * * <strong>example:</strong> * <p>7fa5c0-9ebb-4bb4-b383-1f885447****</p> */ public Builder changeOrderId(String changeOrderId) { this.changeOrderId = changeOrderId; return this; } /** * <p>The ID of the application.</p> */ public Builder coType(String coType) { this.coType = coType; return this; } /** * <p>The code of the change order. Valid values:</p> * <ul> * <li><strong>CoBindSlb</strong>: associates the Server Load Balancer (SLB) instance with the application.</li> * <li><strong>CoUnbindSlb</strong>: disassociates an SLB instance from the application.</li> * <li><strong>CoCreateApp</strong>: creates the application.</li> * <li><strong>CoDeleteApp</strong>: deletes the application.</li> * <li><strong>CoDeploy</strong>: deploys the application.</li> * <li><strong>CoRestartApplication</strong>: restarts the application.</li> * <li><strong>CoRollback</strong>: rolls back the application.</li> * <li><strong>CoScaleIn</strong>: scales in the application.</li> * <li><strong>CoScaleOut</strong>: scales out the application.</li> * <li><strong>CoStartApplication</strong>: starts the application.</li> * <li><strong>CoStopApplication</strong>: stops the application.</li> * <li><strong>CoRescaleApplicationVertically</strong>: modifies the instance type.</li> * <li><strong>CoDeployHistroy</strong>: rolls back the application to an earlier version.</li> * <li><strong>CoBindNas</strong>: associates a network-attached storage (NAS) file system with the application.</li> * <li><strong>CoUnbindNas</strong>: disassociates a NAS file system from the application.</li> * <li><strong>CoBatchStartApplication</strong>: starts multiple applications concurrently.</li> * <li><strong>CoBatchStopApplication</strong>: stops multiple applications concurrently.</li> * <li><strong>CoRestartInstances</strong>: restarts the instance.</li> * <li><strong>CoDeleteInstances</strong>: deletes the instance.</li> * <li><strong>CoScaleInAppWithInstances</strong>: reduces the specified number of application instances.</li> * </ul> * * <strong>example:</strong> * <p>CoCreateApp</p> */ public Builder coTypeCode(String coTypeCode) { this.coTypeCode = coTypeCode; return this; } /** * <p>The ID of the user.</p> * * <strong>example:</strong> * <p>2019-07-11 15:54:49</p> */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * <p>The code of the change type. Valid values:</p> * <ul> * <li><strong>CoBindSlb</strong>: associates an SLB instance with the application.</li> * <li><strong>CoUnbindSlb</strong>: disassociates the SLB instance from the application.</li> * <li><strong>CoCreateApp</strong>: creates the application.</li> * <li><strong>CoDeleteApp</strong>: deletes the application.</li> * <li><strong>CoDeploy</strong>: deploys the application.</li> * <li><strong>CoRestartApplication</strong>: restarts the application.</li> * <li><strong>CoRollback</strong>: rolls back the application.</li> * <li><strong>CoScaleIn</strong>: scales in the application.</li> * <li><strong>CoScaleOut</strong>: scales out the application.</li> * <li><strong>CoStart</strong>: starts the application.</li> * <li><strong>CoStop</strong>: stops the application.</li> * <li><strong>CoRescaleApplicationVertically</strong>: modifies the instance specifications.</li> * <li><strong>CoDeployHistroy</strong>: rolls back the application to a historical version.</li> * <li><strong>CoBindNas</strong>: associates a NAS file system with the application.</li> * <li><strong>CoUnbindNas</strong>: disassociates the NAS file system from the application.</li> * <li><strong>CoBatchStartApplication</strong>: starts multiple applications concurrently.</li> * <li><strong>CoBatchStopApplication</strong>: stops multiple applications concurrently.</li> * <li><strong>CoRestartInstances</strong>: restarts the instances.</li> * <li><strong>CoDeleteInstances</strong>: deletes the instances.</li> * <li><strong>CoScaleInAppWithInstances</strong>: reduces the number of the specified application instances.</li> * </ul> * * <strong>example:</strong> * <p>sae-beta-test</p> */ public Builder createUserId(String createUserId) { this.createUserId = createUserId; return this; } /** * <p>The change type, which corresponds to the <strong>CoTypeCode</strong> parameter.</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The time when the change order was created.</p> * * <strong>example:</strong> * <p>2019-07-11 20:12:58</p> */ public Builder finishTime(String finishTime) { this.finishTime = finishTime; return this; } /** * <p>The description about the application.</p> * * <strong>example:</strong> * <p>c9ecd2-cf6c-46c3-9f20-525de202****</p> */ public Builder groupId(String groupId) { this.groupId = groupId; return this; } /** * <p>The number of release batches.</p> * * <strong>example:</strong> * <p>console</p> */ public Builder source(String source) { this.source = source; return this; } /** * <p>The time when the change order was completed.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder status(Integer status) { this.status = status; return this; } /** * <p>The source of the change order.</p> * * <strong>example:</strong> * <p>sae-beta-test</p> */ public Builder userId(String userId) { this.userId = userId; return this; } public ChangeOrderList build() { return new ChangeOrderList(this); } } } /** * * {@link ListChangeOrdersResponseBody} extends {@link TeaModel} * * <p>ListChangeOrdersResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("ChangeOrderList") private java.util.List<ChangeOrderList> changeOrderList; @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalSize") private Integer totalSize; private Data(Builder builder) { this.changeOrderList = builder.changeOrderList; this.currentPage = builder.currentPage; this.pageSize = builder.pageSize; this.totalSize = builder.totalSize; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return changeOrderList */ public java.util.List<ChangeOrderList> getChangeOrderList() { return this.changeOrderList; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalSize */ public Integer getTotalSize() { return this.totalSize; } public static final class Builder { private java.util.List<ChangeOrderList> changeOrderList; private Integer currentPage; private Integer pageSize; private Integer totalSize; private Builder() { } private Builder(Data model) { this.changeOrderList = model.changeOrderList; this.currentPage = model.currentPage; this.pageSize = model.pageSize; this.totalSize = model.totalSize; } /** * <p>The change orders.</p> */ public Builder changeOrderList(java.util.List<ChangeOrderList> changeOrderList) { this.changeOrderList = changeOrderList; return this; } /** * <p>The total number of change orders.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * <p>The error code.</p> * <ul> * <li>The <strong>ErrorCode</strong> parameter is not returned when the request succeeds.</li> * <li>The <strong>ErrorCode</strong> parameter is returned when the request fails. For more information, see <strong>Error codes</strong> in this topic.</li> * </ul> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The list of change orders.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalSize(Integer totalSize) { this.totalSize = totalSize; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListConsumedServicesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListConsumedServicesRequest} extends {@link RequestModel} * * <p>ListConsumedServicesRequest</p> */ public class ListConsumedServicesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; private ListConsumedServicesRequest(Builder builder) { super(builder); this.appId = builder.appId; } public static Builder builder() { return new Builder(); } public static ListConsumedServicesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } public static final class Builder extends Request.Builder<ListConsumedServicesRequest, Builder> { private String appId; private Builder() { super(); } private Builder(ListConsumedServicesRequest request) { super(request); this.appId = request.appId; } /** * <p>The ID of the application.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>b2a8a925-477a-4ed7-b825-d5e22500****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } @Override public ListConsumedServicesRequest build() { return new ListConsumedServicesRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListConsumedServicesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListConsumedServicesResponse} extends {@link TeaModel} * * <p>ListConsumedServicesResponse</p> */ public class ListConsumedServicesResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ListConsumedServicesResponseBody body; private ListConsumedServicesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListConsumedServicesResponse 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 ListConsumedServicesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListConsumedServicesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListConsumedServicesResponseBody body); @Override ListConsumedServicesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListConsumedServicesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListConsumedServicesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListConsumedServicesResponse 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(ListConsumedServicesResponseBody body) { this.body = body; return this; } @Override public ListConsumedServicesResponse build() { return new ListConsumedServicesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListConsumedServicesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListConsumedServicesResponseBody} extends {@link TeaModel} * * <p>ListConsumedServicesResponseBody</p> */ public class ListConsumedServicesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; @com.aliyun.core.annotation.NameInMap("TraceId") private String traceId; private ListConsumedServicesResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.errorCode = builder.errorCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; this.traceId = builder.traceId; } public static Builder builder() { return new Builder(); } public static ListConsumedServicesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } /** * @return traceId */ public String getTraceId() { return this.traceId; } public static final class Builder { private String code; private java.util.List<Data> data; private String errorCode; private String message; private String requestId; private Boolean success; private String traceId; private Builder() { } private Builder(ListConsumedServicesResponseBody model) { this.code = model.code; this.data = model.data; this.errorCode = model.errorCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; this.traceId = model.traceId; } /** * <p>The HTTP status code. Valid values:</p> * <ul> * <li><strong>2xx</strong>: The call was successful.</li> * <li><strong>3xx</strong>: The call was redirected.</li> * <li><strong>4xx</strong>: The call failed.</li> * <li><strong>5xx</strong>: A server error occurred.</li> * </ul> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The details of the microservices.</p> */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * <p>The error code. Valid values:</p> * <ul> * <li>If the call is successful, the <strong>ErrorCode</strong> parameter is not returned.</li> * <li>If the call fails, the <strong>ErrorCode</strong> parameter is returned. For more information, see the <strong>Error codes</strong> section in this topic.</li> * </ul> */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * <p>The returned message. Valid values:</p> * <ul> * <li>success: If the call is successful, <strong>success</strong> is returned.</li> * <li>An error code: If the call fails, an error code is returned.</li> * </ul> * * <strong>example:</strong> * <p>success</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>91F93257-7A4A-4BD3-9A7E-2F6EAE6D****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the list of microservices was queried. Valid values:</p> * <ul> * <li><strong>true</strong>: The list was queried.</li> * <li><strong>false</strong>: The list failed to be queried.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } /** * <p>The trace ID that is used to query the details of the request.</p> * * <strong>example:</strong> * <p>0a98a02315955564772843261e****</p> */ public Builder traceId(String traceId) { this.traceId = traceId; return this; } public ListConsumedServicesResponseBody build() { return new ListConsumedServicesResponseBody(this); } } /** * * {@link ListConsumedServicesResponseBody} extends {@link TeaModel} * * <p>ListConsumedServicesResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.NameInMap("Group2Ip") private String group2Ip; @com.aliyun.core.annotation.NameInMap("Groups") private java.util.List<String> groups; @com.aliyun.core.annotation.NameInMap("Ips") private java.util.List<String> ips; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("Version") private String version; private Data(Builder builder) { this.appId = builder.appId; this.group2Ip = builder.group2Ip; this.groups = builder.groups; this.ips = builder.ips; this.name = builder.name; this.type = builder.type; this.version = builder.version; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return group2Ip */ public String getGroup2Ip() { return this.group2Ip; } /** * @return groups */ public java.util.List<String> getGroups() { return this.groups; } /** * @return ips */ public java.util.List<String> getIps() { return this.ips; } /** * @return name */ public String getName() { return this.name; } /** * @return type */ public String getType() { return this.type; } /** * @return version */ public String getVersion() { return this.version; } public static final class Builder { private String appId; private String group2Ip; private java.util.List<String> groups; private java.util.List<String> ips; private String name; private String type; private String version; private Builder() { } private Builder(Data model) { this.appId = model.appId; this.group2Ip = model.group2Ip; this.groups = model.groups; this.ips = model.ips; this.name = model.name; this.type = model.type; this.version = model.version; } /** * <p>The ID of the application.</p> * * <strong>example:</strong> * <p>b2a8a925-477a-4ed7-b825-d5e22500****</p> */ public Builder appId(String appId) { this.appId = appId; return this; } /** * <p>This parameter is reserved.</p> * * <strong>example:</strong> * <p>{}</p> */ public Builder group2Ip(String group2Ip) { this.group2Ip = group2Ip; return this; } /** * <p>The service groups that corresponds to the consumed services.</p> */ public Builder groups(java.util.List<String> groups) { this.groups = groups; return this; } /** * <p>The addresses where the services can be subscribed to.</p> */ public Builder ips(java.util.List<String> ips) { this.ips = ips; return this; } /** * <p>The name of the published service.</p> * * <strong>example:</strong> * <p>com.alibaba.nodejs.ItemService</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The type of the published service.</p> * * <strong>example:</strong> * <p>RPC</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>The version of the published service.</p> * * <strong>example:</strong> * <p>1.0.0</p> */ public Builder version(String version) { this.version = version; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListCustomDomainOutput.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListCustomDomainOutput} extends {@link TeaModel} * * <p>ListCustomDomainOutput</p> */ public class ListCustomDomainOutput extends TeaModel { @com.aliyun.core.annotation.NameInMap("customDomains") private java.util.List<CustomDomain> customDomains; @com.aliyun.core.annotation.NameInMap("nextToken") private String nextToken; @com.aliyun.core.annotation.NameInMap("requestId") private String requestId; private ListCustomDomainOutput(Builder builder) { this.customDomains = builder.customDomains; this.nextToken = builder.nextToken; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ListCustomDomainOutput create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return customDomains */ public java.util.List<CustomDomain> getCustomDomains() { return this.customDomains; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<CustomDomain> customDomains; private String nextToken; private String requestId; private Builder() { } private Builder(ListCustomDomainOutput model) { this.customDomains = model.customDomains; this.nextToken = model.nextToken; this.requestId = model.requestId; } /** * customDomains. */ public Builder customDomains(java.util.List<CustomDomain> customDomains) { this.customDomains = customDomains; return this; } /** * nextToken. */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; return this; } /** * requestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ListCustomDomainOutput build() { return new ListCustomDomainOutput(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListGreyTagRouteRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListGreyTagRouteRequest} extends {@link RequestModel} * * <p>ListGreyTagRouteRequest</p> */ public class ListGreyTagRouteRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; private ListGreyTagRouteRequest(Builder builder) { super(builder); this.appId = builder.appId; } public static Builder builder() { return new Builder(); } public static ListGreyTagRouteRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } public static final class Builder extends Request.Builder<ListGreyTagRouteRequest, Builder> { private String appId; private Builder() { super(); } private Builder(ListGreyTagRouteRequest request) { super(request); this.appId = request.appId; } /** * <p>7171a6ca-d1cd-4928-8642-7d5cfe69****</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>7171a6ca-d1cd-4928-8642-7d5cfe69****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } @Override public ListGreyTagRouteRequest build() { return new ListGreyTagRouteRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506
java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListGreyTagRouteResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sae20190506.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ListGreyTagRouteResponse} extends {@link TeaModel} * * <p>ListGreyTagRouteResponse</p> */ public class ListGreyTagRouteResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ListGreyTagRouteResponseBody body; private ListGreyTagRouteResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ListGreyTagRouteResponse 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 ListGreyTagRouteResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ListGreyTagRouteResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ListGreyTagRouteResponseBody body); @Override ListGreyTagRouteResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ListGreyTagRouteResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ListGreyTagRouteResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ListGreyTagRouteResponse 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(ListGreyTagRouteResponseBody body) { this.body = body; return this; } @Override public ListGreyTagRouteResponse build() { return new ListGreyTagRouteResponse(this); } } }