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/ListGreyTagRouteResponseBody.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 ListGreyTagRouteResponseBody} extends {@link TeaModel}
*
* <p>ListGreyTagRouteResponseBody</p>
*/
public class ListGreyTagRouteResponseBody 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 ListGreyTagRouteResponseBody(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 ListGreyTagRouteResponseBody 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(ListGreyTagRouteResponseBody 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 information about the canary release rule.</p>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* <p>The returned 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 of this topic.</li>
* </ul>
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* <p>The returned information. 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 ID of the request.</p>
*
* <strong>example:</strong>
* <p>9D29CBD0-45D3-410B-9826-52F86F90****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Indicates whether the information of the change order was queried. Valid values:</p>
* <ul>
* <li><strong>true</strong>: The information was queried.</li>
* <li><strong>false</strong>: The information 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 ListGreyTagRouteResponseBody build() {
return new ListGreyTagRouteResponseBody(this);
}
}
/**
*
* {@link ListGreyTagRouteResponseBody} extends {@link TeaModel}
*
* <p>ListGreyTagRouteResponseBody</p>
*/
public static class Items extends TeaModel {
@com.aliyun.core.annotation.NameInMap("cond")
private String cond;
@com.aliyun.core.annotation.NameInMap("expr")
private String expr;
@com.aliyun.core.annotation.NameInMap("index")
private Integer index;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("operator")
private String operator;
@com.aliyun.core.annotation.NameInMap("type")
private String type;
@com.aliyun.core.annotation.NameInMap("value")
private String value;
private Items(Builder builder) {
this.cond = builder.cond;
this.expr = builder.expr;
this.index = builder.index;
this.name = builder.name;
this.operator = builder.operator;
this.type = builder.type;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Items create() {
return builder().build();
}
/**
* @return cond
*/
public String getCond() {
return this.cond;
}
/**
* @return expr
*/
public String getExpr() {
return this.expr;
}
/**
* @return index
*/
public Integer getIndex() {
return this.index;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return operator
*/
public String getOperator() {
return this.operator;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String cond;
private String expr;
private Integer index;
private String name;
private String operator;
private String type;
private String value;
private Builder() {
}
private Builder(Items model) {
this.cond = model.cond;
this.expr = model.expr;
this.index = model.index;
this.name = model.name;
this.operator = model.operator;
this.type = model.type;
this.value = model.value;
}
/**
* cond.
*/
public Builder cond(String cond) {
this.cond = cond;
return this;
}
/**
* expr.
*/
public Builder expr(String expr) {
this.expr = expr;
return this;
}
/**
* index.
*/
public Builder index(Integer index) {
this.index = index;
return this;
}
/**
* name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* operator.
*/
public Builder operator(String operator) {
this.operator = operator;
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 Items build() {
return new Items(this);
}
}
}
/**
*
* {@link ListGreyTagRouteResponseBody} extends {@link TeaModel}
*
* <p>ListGreyTagRouteResponseBody</p>
*/
public static class AlbRules extends TeaModel {
@com.aliyun.core.annotation.NameInMap("condition")
private String condition;
@com.aliyun.core.annotation.NameInMap("ingressId")
private String ingressId;
@com.aliyun.core.annotation.NameInMap("items")
private java.util.List<Items> items;
@com.aliyun.core.annotation.NameInMap("serviceName")
private String serviceName;
private AlbRules(Builder builder) {
this.condition = builder.condition;
this.ingressId = builder.ingressId;
this.items = builder.items;
this.serviceName = builder.serviceName;
}
public static Builder builder() {
return new Builder();
}
public static AlbRules create() {
return builder().build();
}
/**
* @return condition
*/
public String getCondition() {
return this.condition;
}
/**
* @return ingressId
*/
public String getIngressId() {
return this.ingressId;
}
/**
* @return items
*/
public java.util.List<Items> getItems() {
return this.items;
}
/**
* @return serviceName
*/
public String getServiceName() {
return this.serviceName;
}
public static final class Builder {
private String condition;
private String ingressId;
private java.util.List<Items> items;
private String serviceName;
private Builder() {
}
private Builder(AlbRules model) {
this.condition = model.condition;
this.ingressId = model.ingressId;
this.items = model.items;
this.serviceName = model.serviceName;
}
/**
* condition.
*/
public Builder condition(String condition) {
this.condition = condition;
return this;
}
/**
* ingressId.
*/
public Builder ingressId(String ingressId) {
this.ingressId = ingressId;
return this;
}
/**
* items.
*/
public Builder items(java.util.List<Items> items) {
this.items = items;
return this;
}
/**
* serviceName.
*/
public Builder serviceName(String serviceName) {
this.serviceName = serviceName;
return this;
}
public AlbRules build() {
return new AlbRules(this);
}
}
}
/**
*
* {@link ListGreyTagRouteResponseBody} extends {@link TeaModel}
*
* <p>ListGreyTagRouteResponseBody</p>
*/
public static class DubboRulesItems extends TeaModel {
@com.aliyun.core.annotation.NameInMap("cond")
private String cond;
@com.aliyun.core.annotation.NameInMap("expr")
private String expr;
@com.aliyun.core.annotation.NameInMap("index")
private Integer index;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("operator")
private String operator;
@com.aliyun.core.annotation.NameInMap("type")
private String type;
@com.aliyun.core.annotation.NameInMap("value")
private String value;
private DubboRulesItems(Builder builder) {
this.cond = builder.cond;
this.expr = builder.expr;
this.index = builder.index;
this.name = builder.name;
this.operator = builder.operator;
this.type = builder.type;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static DubboRulesItems create() {
return builder().build();
}
/**
* @return cond
*/
public String getCond() {
return this.cond;
}
/**
* @return expr
*/
public String getExpr() {
return this.expr;
}
/**
* @return index
*/
public Integer getIndex() {
return this.index;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return operator
*/
public String getOperator() {
return this.operator;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String cond;
private String expr;
private Integer index;
private String name;
private String operator;
private String type;
private String value;
private Builder() {
}
private Builder(DubboRulesItems model) {
this.cond = model.cond;
this.expr = model.expr;
this.index = model.index;
this.name = model.name;
this.operator = model.operator;
this.type = model.type;
this.value = model.value;
}
/**
* <p>The comparison operator. Valid values: <strong>></strong>, <strong><**, **>=</strong>, <strong><=</strong>, <strong>==</strong>, and <strong>! =</strong>.</p>
*
* <strong>example:</strong>
* <p>==</p>
*/
public Builder cond(String cond) {
this.cond = cond;
return this;
}
/**
* <p>The expression that is used to obtain the value of the parameter. The syntax of the expression must follow the standard of the SpEL. Valid values:</p>
* <ul>
* <li><strong>Empty</strong>: obtains the value of the parameter.</li>
* <li><strong>.name</strong>: obtains the name property of the parameter. This expression works the same way as args0.getName().</li>
* <li><strong>.isEnabled()</strong>: obtains the enabled property of the parameter. This expression works the same way as args0.isEnabled().</li>
* <li><strong>[0]</strong>: indicates that the value of the parameter is an array and obtains the first value of the array. This expression works the same way as args0[0]. This expression does not start with a period (.).</li>
* <li><strong>.get(0)</strong>: indicates that the value of the parameter is a list and obtains the first value of the list. This expression works the same way as args0.get(0).</li>
* <li><strong>.get("key")</strong>: indicates that the value of the parameter is a map and obtains the value of the key in the map. This expression works the same way as args0.get("key"). > For more information about the expressions that are used to obtain parameter values, see <a href="https://docs.spring.io/spring-integration/docs/current/reference/html/spel.html">Spring Expression Language (SpEL)</a>.</li>
* </ul>
*
* <strong>example:</strong>
* <p>.name</p>
*/
public Builder expr(String expr) {
this.expr = expr;
return this;
}
/**
* <p>The index of the parameter. The value 0 indicates the first parameter.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder index(Integer index) {
this.index = index;
return this;
}
/**
* <p>This parameter is not returned for Dubbo services.</p>
*
* <strong>example:</strong>
* <p>N/A</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The operator. Valid values:</p>
* <ul>
* <li><strong>rawvalue</strong>: direct comparison.</li>
* <li><strong>list</strong>: whitelist.</li>
* <li><strong>mod</strong>: mods 100.</li>
* <li><strong>deterministic_proportional_steaming_division</strong>: percentage.</li>
* </ul>
*
* <strong>example:</strong>
* <p>rawvalue</p>
*/
public Builder operator(String operator) {
this.operator = operator;
return this;
}
/**
* <p>This parameter is not returned for Dubbo services.</p>
*
* <strong>example:</strong>
* <p>N/A</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* <p>The value of the parameter. This value is compared with the value that is obtained based on the <strong>expr</strong> and <strong>index</strong> parameters.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public DubboRulesItems build() {
return new DubboRulesItems(this);
}
}
}
/**
*
* {@link ListGreyTagRouteResponseBody} extends {@link TeaModel}
*
* <p>ListGreyTagRouteResponseBody</p>
*/
public static class DubboRules extends TeaModel {
@com.aliyun.core.annotation.NameInMap("condition")
private String condition;
@com.aliyun.core.annotation.NameInMap("group")
private String group;
@com.aliyun.core.annotation.NameInMap("items")
private java.util.List<DubboRulesItems> items;
@com.aliyun.core.annotation.NameInMap("methodName")
private String methodName;
@com.aliyun.core.annotation.NameInMap("serviceName")
private String serviceName;
@com.aliyun.core.annotation.NameInMap("version")
private String version;
private DubboRules(Builder builder) {
this.condition = builder.condition;
this.group = builder.group;
this.items = builder.items;
this.methodName = builder.methodName;
this.serviceName = builder.serviceName;
this.version = builder.version;
}
public static Builder builder() {
return new Builder();
}
public static DubboRules create() {
return builder().build();
}
/**
* @return condition
*/
public String getCondition() {
return this.condition;
}
/**
* @return group
*/
public String getGroup() {
return this.group;
}
/**
* @return items
*/
public java.util.List<DubboRulesItems> getItems() {
return this.items;
}
/**
* @return methodName
*/
public String getMethodName() {
return this.methodName;
}
/**
* @return serviceName
*/
public String getServiceName() {
return this.serviceName;
}
/**
* @return version
*/
public String getVersion() {
return this.version;
}
public static final class Builder {
private String condition;
private String group;
private java.util.List<DubboRulesItems> items;
private String methodName;
private String serviceName;
private String version;
private Builder() {
}
private Builder(DubboRules model) {
this.condition = model.condition;
this.group = model.group;
this.items = model.items;
this.methodName = model.methodName;
this.serviceName = model.serviceName;
this.version = model.version;
}
/**
* <p>The relationship between the conditions in the canary release rule. Valid values:</p>
* <ul>
* <li><strong>AND</strong>: The conditions are in the logical AND relation. All conditions must be met at the same time.</li>
* <li><strong>OR</strong>: The conditions are in the logical OR relation. At least one of the conditions must be met.</li>
* </ul>
*
* <strong>example:</strong>
* <p>OR</p>
*/
public Builder condition(String condition) {
this.condition = condition;
return this;
}
/**
* <p>The group of the Dubbo service that corresponds to the canary release rule.</p>
*
* <strong>example:</strong>
* <p>DUBBO</p>
*/
public Builder group(String group) {
this.group = group;
return this;
}
/**
* <p>The conditions.</p>
*/
public Builder items(java.util.List<DubboRulesItems> items) {
this.items = items;
return this;
}
/**
* <p>The method name of the Dubbo service.</p>
*
* <strong>example:</strong>
* <p>echo</p>
*/
public Builder methodName(String methodName) {
this.methodName = methodName;
return this;
}
/**
* <p>The name of the Dubbo service.</p>
*
* <strong>example:</strong>
* <p>com.alibaba.edas.boot.EchoService</p>
*/
public Builder serviceName(String serviceName) {
this.serviceName = serviceName;
return this;
}
/**
* <p>The version of the Dubbo service.</p>
*
* <strong>example:</strong>
* <p>1.0.0</p>
*/
public Builder version(String version) {
this.version = version;
return this;
}
public DubboRules build() {
return new DubboRules(this);
}
}
}
/**
*
* {@link ListGreyTagRouteResponseBody} extends {@link TeaModel}
*
* <p>ListGreyTagRouteResponseBody</p>
*/
public static class ScRulesItems extends TeaModel {
@com.aliyun.core.annotation.NameInMap("cond")
private String cond;
@com.aliyun.core.annotation.NameInMap("expr")
private String expr;
@com.aliyun.core.annotation.NameInMap("index")
private Integer index;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("operator")
private String operator;
@com.aliyun.core.annotation.NameInMap("type")
private String type;
@com.aliyun.core.annotation.NameInMap("value")
private String value;
private ScRulesItems(Builder builder) {
this.cond = builder.cond;
this.expr = builder.expr;
this.index = builder.index;
this.name = builder.name;
this.operator = builder.operator;
this.type = builder.type;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static ScRulesItems create() {
return builder().build();
}
/**
* @return cond
*/
public String getCond() {
return this.cond;
}
/**
* @return expr
*/
public String getExpr() {
return this.expr;
}
/**
* @return index
*/
public Integer getIndex() {
return this.index;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return operator
*/
public String getOperator() {
return this.operator;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String cond;
private String expr;
private Integer index;
private String name;
private String operator;
private String type;
private String value;
private Builder() {
}
private Builder(ScRulesItems model) {
this.cond = model.cond;
this.expr = model.expr;
this.index = model.index;
this.name = model.name;
this.operator = model.operator;
this.type = model.type;
this.value = model.value;
}
/**
* <p>The comparison operator. Valid values: <strong>></strong>, <strong><**, **>=</strong>, <strong><=</strong>, <strong>==</strong>, and <strong>! =</strong>.</p>
*
* <strong>example:</strong>
* <p>==</p>
*/
public Builder cond(String cond) {
this.cond = cond;
return this;
}
/**
* <p>This parameter is not returned for Spring Cloud applications.</p>
*
* <strong>example:</strong>
* <p>N/A</p>
*/
public Builder expr(String expr) {
this.expr = expr;
return this;
}
/**
* <p>This parameter is not returned for Spring Cloud applications.</p>
*
* <strong>example:</strong>
* <p>N/A</p>
*/
public Builder index(Integer index) {
this.index = index;
return this;
}
/**
* <p>The name of the parameter.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The operator. Valid values:</p>
* <ul>
* <li><strong>rawvalue</strong>: direct comparison.</li>
* <li><strong>list</strong>: whitelist.</li>
* <li><strong>mod</strong>: mods 100.</li>
* <li><strong>deterministic_proportional_steaming_division</strong>: percentage.</li>
* </ul>
*
* <strong>example:</strong>
* <p>rawvalue</p>
*/
public Builder operator(String operator) {
this.operator = operator;
return this;
}
/**
* <p>The type of the comparison. Valid values:</p>
* <ul>
* <li><strong>param</strong>: parameter</li>
* <li><strong>cookie</strong>: cookie</li>
* <li><strong>header</strong>: header</li>
* </ul>
*
* <strong>example:</strong>
* <p>cookie</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* <p>The value of the parameter. This value is compared with the value that is obtained based on the <strong>type</strong> and <strong>name</strong> parameters.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public ScRulesItems build() {
return new ScRulesItems(this);
}
}
}
/**
*
* {@link ListGreyTagRouteResponseBody} extends {@link TeaModel}
*
* <p>ListGreyTagRouteResponseBody</p>
*/
public static class ScRules extends TeaModel {
@com.aliyun.core.annotation.NameInMap("condition")
private String condition;
@com.aliyun.core.annotation.NameInMap("items")
private java.util.List<ScRulesItems> items;
@com.aliyun.core.annotation.NameInMap("path")
private String path;
private ScRules(Builder builder) {
this.condition = builder.condition;
this.items = builder.items;
this.path = builder.path;
}
public static Builder builder() {
return new Builder();
}
public static ScRules create() {
return builder().build();
}
/**
* @return condition
*/
public String getCondition() {
return this.condition;
}
/**
* @return items
*/
public java.util.List<ScRulesItems> getItems() {
return this.items;
}
/**
* @return path
*/
public String getPath() {
return this.path;
}
public static final class Builder {
private String condition;
private java.util.List<ScRulesItems> items;
private String path;
private Builder() {
}
private Builder(ScRules model) {
this.condition = model.condition;
this.items = model.items;
this.path = model.path;
}
/**
* <p>The relationship between the conditions in the canary release rule. Valid values:</p>
* <ul>
* <li><strong>AND</strong>: The conditions are in the logical AND relation. All conditions must be met at the same time.</li>
* <li><strong>OR</strong>: The conditions are in the logical OR relation. At least one of the conditions must be met.</li>
* </ul>
*
* <strong>example:</strong>
* <p>OR</p>
*/
public Builder condition(String condition) {
this.condition = condition;
return this;
}
/**
* <p>The conditions.</p>
*/
public Builder items(java.util.List<ScRulesItems> items) {
this.items = items;
return this;
}
/**
* <p>The path of the canary release rule of the Spring Cloud application.</p>
*
* <strong>example:</strong>
* <p>/path</p>
*/
public Builder path(String path) {
this.path = path;
return this;
}
public ScRules build() {
return new ScRules(this);
}
}
}
/**
*
* {@link ListGreyTagRouteResponseBody} extends {@link TeaModel}
*
* <p>ListGreyTagRouteResponseBody</p>
*/
public static class Result extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AlbRules")
private java.util.List<AlbRules> albRules;
@com.aliyun.core.annotation.NameInMap("CreateTime")
private Long createTime;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("DubboRules")
private java.util.List<DubboRules> dubboRules;
@com.aliyun.core.annotation.NameInMap("GreyTagRouteId")
private Long greyTagRouteId;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("ScRules")
private java.util.List<ScRules> scRules;
@com.aliyun.core.annotation.NameInMap("UpdateTime")
private Long updateTime;
private Result(Builder builder) {
this.albRules = builder.albRules;
this.createTime = builder.createTime;
this.description = builder.description;
this.dubboRules = builder.dubboRules;
this.greyTagRouteId = builder.greyTagRouteId;
this.name = builder.name;
this.scRules = builder.scRules;
this.updateTime = builder.updateTime;
}
public static Builder builder() {
return new Builder();
}
public static Result create() {
return builder().build();
}
/**
* @return albRules
*/
public java.util.List<AlbRules> getAlbRules() {
return this.albRules;
}
/**
* @return createTime
*/
public Long getCreateTime() {
return this.createTime;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return dubboRules
*/
public java.util.List<DubboRules> getDubboRules() {
return this.dubboRules;
}
/**
* @return greyTagRouteId
*/
public Long getGreyTagRouteId() {
return this.greyTagRouteId;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return scRules
*/
public java.util.List<ScRules> getScRules() {
return this.scRules;
}
/**
* @return updateTime
*/
public Long getUpdateTime() {
return this.updateTime;
}
public static final class Builder {
private java.util.List<AlbRules> albRules;
private Long createTime;
private String description;
private java.util.List<DubboRules> dubboRules;
private Long greyTagRouteId;
private String name;
private java.util.List<ScRules> scRules;
private Long updateTime;
private Builder() {
}
private Builder(Result model) {
this.albRules = model.albRules;
this.createTime = model.createTime;
this.description = model.description;
this.dubboRules = model.dubboRules;
this.greyTagRouteId = model.greyTagRouteId;
this.name = model.name;
this.scRules = model.scRules;
this.updateTime = model.updateTime;
}
/**
* AlbRules.
*/
public Builder albRules(java.util.List<AlbRules> albRules) {
this.albRules = albRules;
return this;
}
/**
* <p>The timestamp when the canary release rule was created. Unit: milliseconds.</p>
*
* <strong>example:</strong>
* <p>1619007592013</p>
*/
public Builder createTime(Long createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The description of the canary release rule.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The canary release rule of the Dubbo service.</p>
*/
public Builder dubboRules(java.util.List<DubboRules> dubboRules) {
this.dubboRules = dubboRules;
return this;
}
/**
* <p>The ID of the canary release rule.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder greyTagRouteId(Long greyTagRouteId) {
this.greyTagRouteId = greyTagRouteId;
return this;
}
/**
* <p>The name of the canary release rule.</p>
*
* <strong>example:</strong>
* <p>rule-name</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The canary release rule of the Spring Cloud application.</p>
*/
public Builder scRules(java.util.List<ScRules> scRules) {
this.scRules = scRules;
return this;
}
/**
* <p>The timestamp when the canary release rule was updated. Unit: milliseconds.</p>
*
* <strong>example:</strong>
* <p>1609434061000</p>
*/
public Builder updateTime(Long updateTime) {
this.updateTime = updateTime;
return this;
}
public Result build() {
return new Result(this);
}
}
}
/**
*
* {@link ListGreyTagRouteResponseBody} extends {@link TeaModel}
*
* <p>ListGreyTagRouteResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CurrentPage")
private Integer currentPage;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("Result")
private java.util.List<Result> result;
@com.aliyun.core.annotation.NameInMap("TotalSize")
private Long totalSize;
private Data(Builder builder) {
this.currentPage = builder.currentPage;
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 Integer getCurrentPage() {
return this.currentPage;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return result
*/
public java.util.List<Result> getResult() {
return this.result;
}
/**
* @return totalSize
*/
public Long getTotalSize() {
return this.totalSize;
}
public static final class Builder {
private Integer currentPage;
private Integer pageSize;
private java.util.List<Result> result;
private Long totalSize;
private Builder() {
}
private Builder(Data model) {
this.currentPage = model.currentPage;
this.pageSize = model.pageSize;
this.result = model.result;
this.totalSize = model.totalSize;
}
/**
* <p>The page 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 on each page. Valid value: <strong>1</strong>.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <p>The returned result.</p>
*/
public Builder result(java.util.List<Result> result) {
this.result = result;
return this;
}
/**
* <p>The total number of canary release rules. Valid value: <strong>1</strong>.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder totalSize(Long 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/ListIngressesRequest.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 ListIngressesRequest} extends {@link RequestModel}
*
* <p>ListIngressesRequest</p>
*/
public class ListIngressesRequest 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("NamespaceId")
@com.aliyun.core.annotation.Validation(required = true)
private String namespaceId;
private ListIngressesRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
this.namespaceId = builder.namespaceId;
}
public static Builder builder() {
return new Builder();
}
public static ListIngressesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return namespaceId
*/
public String getNamespaceId() {
return this.namespaceId;
}
public static final class Builder extends Request.Builder<ListIngressesRequest, Builder> {
private String appId;
private String namespaceId;
private Builder() {
super();
}
private Builder(ListIngressesRequest request) {
super(request);
this.appId = request.appId;
this.namespaceId = request.namespaceId;
}
/**
* <p>The ID of an application.</p>
*
* <strong>example:</strong>
* <p>bbf3a590-6d13-46fe-8ca9-c947a20b****</p>
*/
public Builder appId(String appId) {
this.putQueryParameter("AppId", appId);
this.appId = appId;
return this;
}
/**
* <p>The ID of a namespace.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-beijing</p>
*/
public Builder namespaceId(String namespaceId) {
this.putQueryParameter("NamespaceId", namespaceId);
this.namespaceId = namespaceId;
return this;
}
@Override
public ListIngressesRequest build() {
return new ListIngressesRequest(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/ListIngressesResponse.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 ListIngressesResponse} extends {@link TeaModel}
*
* <p>ListIngressesResponse</p>
*/
public class ListIngressesResponse 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 ListIngressesResponseBody body;
private ListIngressesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListIngressesResponse 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 ListIngressesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListIngressesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListIngressesResponseBody body);
@Override
ListIngressesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListIngressesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListIngressesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListIngressesResponse 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(ListIngressesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListIngressesResponse build() {
return new ListIngressesResponse(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/ListIngressesResponseBody.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 ListIngressesResponseBody} extends {@link TeaModel}
*
* <p>ListIngressesResponseBody</p>
*/
public class ListIngressesResponseBody 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 ListIngressesResponseBody(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 ListIngressesResponseBody 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(ListIngressesResponseBody 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 result returned.</p>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* <p>The error code returned if the request failed. Valid values:</p>
* <ul>
* <li><strong>ErrorCode</strong> is not returned if a request is successful.</li>
* <li><strong>ErrorCode</strong> is returned if a request failed. For more information, see <strong>Error codes</strong>.</li>
* </ul>
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* <p>The message returned. Valid values:</p>
* <ul>
* <li><strong>success</strong> is returned when a request is successful.</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 a request.</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 Ingresses was obtained. Valid values:</p>
* <ul>
* <li><strong>true</strong>: The list were obtained.</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 ID of a 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 ListIngressesResponseBody build() {
return new ListIngressesResponseBody(this);
}
}
/**
*
* {@link ListIngressesResponseBody} extends {@link TeaModel}
*
* <p>ListIngressesResponseBody</p>
*/
public static class CorsConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AllowCredentials")
private String allowCredentials;
@com.aliyun.core.annotation.NameInMap("AllowHeaders")
private String allowHeaders;
@com.aliyun.core.annotation.NameInMap("AllowMethods")
private String allowMethods;
@com.aliyun.core.annotation.NameInMap("AllowOrigin")
private String allowOrigin;
@com.aliyun.core.annotation.NameInMap("Enable")
private String enable;
@com.aliyun.core.annotation.NameInMap("ExposeHeaders")
private String exposeHeaders;
@com.aliyun.core.annotation.NameInMap("MaxAge")
private String maxAge;
private CorsConfig(Builder builder) {
this.allowCredentials = builder.allowCredentials;
this.allowHeaders = builder.allowHeaders;
this.allowMethods = builder.allowMethods;
this.allowOrigin = builder.allowOrigin;
this.enable = builder.enable;
this.exposeHeaders = builder.exposeHeaders;
this.maxAge = builder.maxAge;
}
public static Builder builder() {
return new Builder();
}
public static CorsConfig create() {
return builder().build();
}
/**
* @return allowCredentials
*/
public String getAllowCredentials() {
return this.allowCredentials;
}
/**
* @return allowHeaders
*/
public String getAllowHeaders() {
return this.allowHeaders;
}
/**
* @return allowMethods
*/
public String getAllowMethods() {
return this.allowMethods;
}
/**
* @return allowOrigin
*/
public String getAllowOrigin() {
return this.allowOrigin;
}
/**
* @return enable
*/
public String getEnable() {
return this.enable;
}
/**
* @return exposeHeaders
*/
public String getExposeHeaders() {
return this.exposeHeaders;
}
/**
* @return maxAge
*/
public String getMaxAge() {
return this.maxAge;
}
public static final class Builder {
private String allowCredentials;
private String allowHeaders;
private String allowMethods;
private String allowOrigin;
private String enable;
private String exposeHeaders;
private String maxAge;
private Builder() {
}
private Builder(CorsConfig model) {
this.allowCredentials = model.allowCredentials;
this.allowHeaders = model.allowHeaders;
this.allowMethods = model.allowMethods;
this.allowOrigin = model.allowOrigin;
this.enable = model.enable;
this.exposeHeaders = model.exposeHeaders;
this.maxAge = model.maxAge;
}
/**
* AllowCredentials.
*/
public Builder allowCredentials(String allowCredentials) {
this.allowCredentials = allowCredentials;
return this;
}
/**
* AllowHeaders.
*/
public Builder allowHeaders(String allowHeaders) {
this.allowHeaders = allowHeaders;
return this;
}
/**
* AllowMethods.
*/
public Builder allowMethods(String allowMethods) {
this.allowMethods = allowMethods;
return this;
}
/**
* AllowOrigin.
*/
public Builder allowOrigin(String allowOrigin) {
this.allowOrigin = allowOrigin;
return this;
}
/**
* Enable.
*/
public Builder enable(String enable) {
this.enable = enable;
return this;
}
/**
* ExposeHeaders.
*/
public Builder exposeHeaders(String exposeHeaders) {
this.exposeHeaders = exposeHeaders;
return this;
}
/**
* MaxAge.
*/
public Builder maxAge(String maxAge) {
this.maxAge = maxAge;
return this;
}
public CorsConfig build() {
return new CorsConfig(this);
}
}
}
/**
*
* {@link ListIngressesResponseBody} extends {@link TeaModel}
*
* <p>ListIngressesResponseBody</p>
*/
public static class DefaultRule 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("BackendProtocol")
private String backendProtocol;
@com.aliyun.core.annotation.NameInMap("ContainerPort")
private Integer containerPort;
private DefaultRule(Builder builder) {
this.appId = builder.appId;
this.appName = builder.appName;
this.backendProtocol = builder.backendProtocol;
this.containerPort = builder.containerPort;
}
public static Builder builder() {
return new Builder();
}
public static DefaultRule create() {
return builder().build();
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return backendProtocol
*/
public String getBackendProtocol() {
return this.backendProtocol;
}
/**
* @return containerPort
*/
public Integer getContainerPort() {
return this.containerPort;
}
public static final class Builder {
private String appId;
private String appName;
private String backendProtocol;
private Integer containerPort;
private Builder() {
}
private Builder(DefaultRule model) {
this.appId = model.appId;
this.appName = model.appName;
this.backendProtocol = model.backendProtocol;
this.containerPort = model.containerPort;
}
/**
* AppId.
*/
public Builder appId(String appId) {
this.appId = appId;
return this;
}
/**
* AppName.
*/
public Builder appName(String appName) {
this.appName = appName;
return this;
}
/**
* BackendProtocol.
*/
public Builder backendProtocol(String backendProtocol) {
this.backendProtocol = backendProtocol;
return this;
}
/**
* ContainerPort.
*/
public Builder containerPort(Integer containerPort) {
this.containerPort = containerPort;
return this;
}
public DefaultRule build() {
return new DefaultRule(this);
}
}
}
/**
*
* {@link ListIngressesResponseBody} extends {@link TeaModel}
*
* <p>ListIngressesResponseBody</p>
*/
public static class RuleActions extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ActionConfig")
private String actionConfig;
@com.aliyun.core.annotation.NameInMap("ActionType")
private String actionType;
private RuleActions(Builder builder) {
this.actionConfig = builder.actionConfig;
this.actionType = builder.actionType;
}
public static Builder builder() {
return new Builder();
}
public static RuleActions create() {
return builder().build();
}
/**
* @return actionConfig
*/
public String getActionConfig() {
return this.actionConfig;
}
/**
* @return actionType
*/
public String getActionType() {
return this.actionType;
}
public static final class Builder {
private String actionConfig;
private String actionType;
private Builder() {
}
private Builder(RuleActions model) {
this.actionConfig = model.actionConfig;
this.actionType = model.actionType;
}
/**
* ActionConfig.
*/
public Builder actionConfig(String actionConfig) {
this.actionConfig = actionConfig;
return this;
}
/**
* ActionType.
*/
public Builder actionType(String actionType) {
this.actionType = actionType;
return this;
}
public RuleActions build() {
return new RuleActions(this);
}
}
}
/**
*
* {@link ListIngressesResponseBody} extends {@link TeaModel}
*
* <p>ListIngressesResponseBody</p>
*/
public static class Rules 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("BackendProtocol")
private String backendProtocol;
@com.aliyun.core.annotation.NameInMap("ContainerPort")
private Integer containerPort;
@com.aliyun.core.annotation.NameInMap("Domain")
private String domain;
@com.aliyun.core.annotation.NameInMap("Path")
private String path;
@com.aliyun.core.annotation.NameInMap("RewritePath")
private String rewritePath;
@com.aliyun.core.annotation.NameInMap("RuleActions")
private java.util.List<RuleActions> ruleActions;
private Rules(Builder builder) {
this.appId = builder.appId;
this.appName = builder.appName;
this.backendProtocol = builder.backendProtocol;
this.containerPort = builder.containerPort;
this.domain = builder.domain;
this.path = builder.path;
this.rewritePath = builder.rewritePath;
this.ruleActions = builder.ruleActions;
}
public static Builder builder() {
return new Builder();
}
public static Rules create() {
return builder().build();
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return backendProtocol
*/
public String getBackendProtocol() {
return this.backendProtocol;
}
/**
* @return containerPort
*/
public Integer getContainerPort() {
return this.containerPort;
}
/**
* @return domain
*/
public String getDomain() {
return this.domain;
}
/**
* @return path
*/
public String getPath() {
return this.path;
}
/**
* @return rewritePath
*/
public String getRewritePath() {
return this.rewritePath;
}
/**
* @return ruleActions
*/
public java.util.List<RuleActions> getRuleActions() {
return this.ruleActions;
}
public static final class Builder {
private String appId;
private String appName;
private String backendProtocol;
private Integer containerPort;
private String domain;
private String path;
private String rewritePath;
private java.util.List<RuleActions> ruleActions;
private Builder() {
}
private Builder(Rules model) {
this.appId = model.appId;
this.appName = model.appName;
this.backendProtocol = model.backendProtocol;
this.containerPort = model.containerPort;
this.domain = model.domain;
this.path = model.path;
this.rewritePath = model.rewritePath;
this.ruleActions = model.ruleActions;
}
/**
* AppId.
*/
public Builder appId(String appId) {
this.appId = appId;
return this;
}
/**
* AppName.
*/
public Builder appName(String appName) {
this.appName = appName;
return this;
}
/**
* BackendProtocol.
*/
public Builder backendProtocol(String backendProtocol) {
this.backendProtocol = backendProtocol;
return this;
}
/**
* ContainerPort.
*/
public Builder containerPort(Integer containerPort) {
this.containerPort = containerPort;
return this;
}
/**
* Domain.
*/
public Builder domain(String domain) {
this.domain = domain;
return this;
}
/**
* Path.
*/
public Builder path(String path) {
this.path = path;
return this;
}
/**
* RewritePath.
*/
public Builder rewritePath(String rewritePath) {
this.rewritePath = rewritePath;
return this;
}
/**
* RuleActions.
*/
public Builder ruleActions(java.util.List<RuleActions> ruleActions) {
this.ruleActions = ruleActions;
return this;
}
public Rules build() {
return new Rules(this);
}
}
}
/**
*
* {@link ListIngressesResponseBody} extends {@link TeaModel}
*
* <p>ListIngressesResponseBody</p>
*/
public static class IngressList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CertId")
private String certId;
@com.aliyun.core.annotation.NameInMap("CertIds")
private String certIds;
@com.aliyun.core.annotation.NameInMap("CorsConfig")
private CorsConfig corsConfig;
@com.aliyun.core.annotation.NameInMap("CreateTime")
private Long createTime;
@com.aliyun.core.annotation.NameInMap("DefaultRule")
private DefaultRule defaultRule;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("Id")
private Long id;
@com.aliyun.core.annotation.NameInMap("IdleTimeout")
private Long idleTimeout;
@com.aliyun.core.annotation.NameInMap("ListenerPort")
private String listenerPort;
@com.aliyun.core.annotation.NameInMap("ListenerProtocol")
private String listenerProtocol;
@com.aliyun.core.annotation.NameInMap("LoadBalanceType")
private String loadBalanceType;
@com.aliyun.core.annotation.NameInMap("MseGatewayId")
private String mseGatewayId;
@com.aliyun.core.annotation.NameInMap("MseGatewayPort")
private String mseGatewayPort;
@com.aliyun.core.annotation.NameInMap("MseGatewayProtocol")
private String mseGatewayProtocol;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("NamespaceId")
private String namespaceId;
@com.aliyun.core.annotation.NameInMap("RequestTimeout")
private Long requestTimeout;
@com.aliyun.core.annotation.NameInMap("Rules")
private java.util.List<Rules> rules;
@com.aliyun.core.annotation.NameInMap("SlbId")
private String slbId;
@com.aliyun.core.annotation.NameInMap("SlbType")
private String slbType;
private IngressList(Builder builder) {
this.certId = builder.certId;
this.certIds = builder.certIds;
this.corsConfig = builder.corsConfig;
this.createTime = builder.createTime;
this.defaultRule = builder.defaultRule;
this.description = builder.description;
this.id = builder.id;
this.idleTimeout = builder.idleTimeout;
this.listenerPort = builder.listenerPort;
this.listenerProtocol = builder.listenerProtocol;
this.loadBalanceType = builder.loadBalanceType;
this.mseGatewayId = builder.mseGatewayId;
this.mseGatewayPort = builder.mseGatewayPort;
this.mseGatewayProtocol = builder.mseGatewayProtocol;
this.name = builder.name;
this.namespaceId = builder.namespaceId;
this.requestTimeout = builder.requestTimeout;
this.rules = builder.rules;
this.slbId = builder.slbId;
this.slbType = builder.slbType;
}
public static Builder builder() {
return new Builder();
}
public static IngressList create() {
return builder().build();
}
/**
* @return certId
*/
public String getCertId() {
return this.certId;
}
/**
* @return certIds
*/
public String getCertIds() {
return this.certIds;
}
/**
* @return corsConfig
*/
public CorsConfig getCorsConfig() {
return this.corsConfig;
}
/**
* @return createTime
*/
public Long getCreateTime() {
return this.createTime;
}
/**
* @return defaultRule
*/
public DefaultRule getDefaultRule() {
return this.defaultRule;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return id
*/
public Long getId() {
return this.id;
}
/**
* @return idleTimeout
*/
public Long getIdleTimeout() {
return this.idleTimeout;
}
/**
* @return listenerPort
*/
public String getListenerPort() {
return this.listenerPort;
}
/**
* @return listenerProtocol
*/
public String getListenerProtocol() {
return this.listenerProtocol;
}
/**
* @return loadBalanceType
*/
public String getLoadBalanceType() {
return this.loadBalanceType;
}
/**
* @return mseGatewayId
*/
public String getMseGatewayId() {
return this.mseGatewayId;
}
/**
* @return mseGatewayPort
*/
public String getMseGatewayPort() {
return this.mseGatewayPort;
}
/**
* @return mseGatewayProtocol
*/
public String getMseGatewayProtocol() {
return this.mseGatewayProtocol;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return namespaceId
*/
public String getNamespaceId() {
return this.namespaceId;
}
/**
* @return requestTimeout
*/
public Long getRequestTimeout() {
return this.requestTimeout;
}
/**
* @return rules
*/
public java.util.List<Rules> getRules() {
return this.rules;
}
/**
* @return slbId
*/
public String getSlbId() {
return this.slbId;
}
/**
* @return slbType
*/
public String getSlbType() {
return this.slbType;
}
public static final class Builder {
private String certId;
private String certIds;
private CorsConfig corsConfig;
private Long createTime;
private DefaultRule defaultRule;
private String description;
private Long id;
private Long idleTimeout;
private String listenerPort;
private String listenerProtocol;
private String loadBalanceType;
private String mseGatewayId;
private String mseGatewayPort;
private String mseGatewayProtocol;
private String name;
private String namespaceId;
private Long requestTimeout;
private java.util.List<Rules> rules;
private String slbId;
private String slbType;
private Builder() {
}
private Builder(IngressList model) {
this.certId = model.certId;
this.certIds = model.certIds;
this.corsConfig = model.corsConfig;
this.createTime = model.createTime;
this.defaultRule = model.defaultRule;
this.description = model.description;
this.id = model.id;
this.idleTimeout = model.idleTimeout;
this.listenerPort = model.listenerPort;
this.listenerProtocol = model.listenerProtocol;
this.loadBalanceType = model.loadBalanceType;
this.mseGatewayId = model.mseGatewayId;
this.mseGatewayPort = model.mseGatewayPort;
this.mseGatewayProtocol = model.mseGatewayProtocol;
this.name = model.name;
this.namespaceId = model.namespaceId;
this.requestTimeout = model.requestTimeout;
this.rules = model.rules;
this.slbId = model.slbId;
this.slbType = model.slbType;
}
/**
* <p>The ID of the certificate that is associated with a Classic Load Balancer (<strong>CLB</strong>) instance.</p>
*
* <strong>example:</strong>
* <p>13624*<strong><strong>73809_16f8e549a20_1175189789_12</strong></strong>3210</p>
*/
public Builder certId(String certId) {
this.certId = certId;
return this;
}
/**
* <p>The ID of the certificate that is associated with an Application Load Balancer <strong>ALB</strong> instance.</p>
*
* <strong>example:</strong>
* <p>87<em><strong>35-cn-hangzhou,812</strong></em>3-cn-hangzhou</p>
*/
public Builder certIds(String certIds) {
this.certIds = certIds;
return this;
}
/**
* CorsConfig.
*/
public Builder corsConfig(CorsConfig corsConfig) {
this.corsConfig = corsConfig;
return this;
}
/**
* CreateTime.
*/
public Builder createTime(Long createTime) {
this.createTime = createTime;
return this;
}
/**
* DefaultRule.
*/
public Builder defaultRule(DefaultRule defaultRule) {
this.defaultRule = defaultRule;
return this;
}
/**
* <p>The name of a routing rule.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The ID of a routing rule.</p>
*
* <strong>example:</strong>
* <p>18</p>
*/
public Builder id(Long id) {
this.id = id;
return this;
}
/**
* IdleTimeout.
*/
public Builder idleTimeout(Long idleTimeout) {
this.idleTimeout = idleTimeout;
return this;
}
/**
* <p>The listener ports for an SLB instance.</p>
*
* <strong>example:</strong>
* <p>80</p>
*/
public Builder listenerPort(String listenerPort) {
this.listenerPort = listenerPort;
return this;
}
/**
* <p>The protocol that is supported by SLB to forward requests. Valid values:</p>
* <ul>
* <li><strong>HTTP</strong>: HTTP is suitable for applications that need to identify the transmitted data.</li>
* <li><strong>HTTPS</strong>: HTTPS is suitable for applications that require encrypted data transmission.</li>
* </ul>
* <p>This parameter is optional in the <strong>CreateIngress</strong> and <strong>UpadateIngress</strong> operations. If you do not configure this parameter when you call the CreateIngress or UpdateIngress operation to create or update a gateway routing rule, this parameter is not returned for the corresponding response.</p>
*
* <strong>example:</strong>
* <p>HTTP</p>
*/
public Builder listenerProtocol(String listenerProtocol) {
this.listenerProtocol = listenerProtocol;
return this;
}
/**
* <p>The type of SLB instances. Valid values:</p>
* <ul>
* <li><strong>clb</strong>: Classic Load Balancer (formerly known as SLB).</li>
* <li><strong>alb</strong>: Application Load Balancer.</li>
* </ul>
*
* <strong>example:</strong>
* <p>clb</p>
*/
public Builder loadBalanceType(String loadBalanceType) {
this.loadBalanceType = loadBalanceType;
return this;
}
/**
* <p>The ID of an MSE cloud-native gateway.</p>
*
* <strong>example:</strong>
* <p>gw-d5df01a1bae748f1a7c4e325d2fd****</p>
*/
public Builder mseGatewayId(String mseGatewayId) {
this.mseGatewayId = mseGatewayId;
return this;
}
/**
* <p>The port of a service.</p>
*
* <strong>example:</strong>
* <p>80</p>
*/
public Builder mseGatewayPort(String mseGatewayPort) {
this.mseGatewayPort = mseGatewayPort;
return this;
}
/**
* <p>The protocol that is supported by an MSE cloud-native gateway to forward requests. Valid values:</p>
* <ul>
* <li><strong>HTTP</strong>: HTTP is suitable for applications that need to identify transmitted data.</li>
* <li><strong>HTTPS</strong>: HTTPS is suitable for applications that require encrypted data transmission.</li>
* </ul>
*
* <strong>example:</strong>
* <p>HTTP</p>
*/
public Builder mseGatewayProtocol(String mseGatewayProtocol) {
this.mseGatewayProtocol = mseGatewayProtocol;
return this;
}
/**
* <p>The name of a routing rule.</p>
*
* <strong>example:</strong>
* <p>lb-uf6jt0nu4z6ior943****-80-f5****</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The ID of a namespace.</p>
*
* <strong>example:</strong>
* <p>cn-shanghai</p>
*/
public Builder namespaceId(String namespaceId) {
this.namespaceId = namespaceId;
return this;
}
/**
* RequestTimeout.
*/
public Builder requestTimeout(Long requestTimeout) {
this.requestTimeout = requestTimeout;
return this;
}
/**
* Rules.
*/
public Builder rules(java.util.List<Rules> rules) {
this.rules = rules;
return this;
}
/**
* <p>The ID of a Server Load Balancer (SLB) instance.</p>
*
* <strong>example:</strong>
* <p>lb-uf62****6d13tq2u5</p>
*/
public Builder slbId(String slbId) {
this.slbId = slbId;
return this;
}
/**
* <p>The type of SLB instances. Valid values:</p>
* <ul>
* <li><strong>internet</strong>: an Internet-facing SLB instance</li>
* <li><strong>intranet</strong>: an Intranet-facing SLB instance</li>
* </ul>
*
* <strong>example:</strong>
* <p>internet</p>
*/
public Builder slbType(String slbType) {
this.slbType = slbType;
return this;
}
public IngressList build() {
return new IngressList(this);
}
}
}
/**
*
* {@link ListIngressesResponseBody} extends {@link TeaModel}
*
* <p>ListIngressesResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("IngressList")
private java.util.List<IngressList> ingressList;
private Data(Builder builder) {
this.ingressList = builder.ingressList;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return ingressList
*/
public java.util.List<IngressList> getIngressList() {
return this.ingressList;
}
public static final class Builder {
private java.util.List<IngressList> ingressList;
private Builder() {
}
private Builder(Data model) {
this.ingressList = model.ingressList;
}
/**
* <p>The list of routing rules.</p>
*/
public Builder ingressList(java.util.List<IngressList> ingressList) {
this.ingressList = ingressList;
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/ListInstancesMetricsOutput.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 ListInstancesMetricsOutput} extends {@link TeaModel}
*
* <p>ListInstancesMetricsOutput</p>
*/
public class ListInstancesMetricsOutput extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("metricsList")
private java.util.List<InstanceMetricInfo> metricsList;
@com.aliyun.core.annotation.NameInMap("pageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("pageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("totalCount")
private Integer totalCount;
private ListInstancesMetricsOutput(Builder builder) {
this.requestId = builder.requestId;
this.metricsList = builder.metricsList;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static ListInstancesMetricsOutput create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return metricsList
*/
public java.util.List<InstanceMetricInfo> getMetricsList() {
return this.metricsList;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private String requestId;
private java.util.List<InstanceMetricInfo> metricsList;
private Integer pageNumber;
private Integer pageSize;
private Integer totalCount;
private Builder() {
}
private Builder(ListInstancesMetricsOutput model) {
this.requestId = model.requestId;
this.metricsList = model.metricsList;
this.pageNumber = model.pageNumber;
this.pageSize = model.pageSize;
this.totalCount = model.totalCount;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* metricsList.
*/
public Builder metricsList(java.util.List<InstanceMetricInfo> metricsList) {
this.metricsList = metricsList;
return this;
}
/**
* pageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* pageSize.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* totalCount.
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public ListInstancesMetricsOutput build() {
return new ListInstancesMetricsOutput(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/ListInstancesOutput.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 ListInstancesOutput} extends {@link TeaModel}
*
* <p>ListInstancesOutput</p>
*/
public class ListInstancesOutput extends TeaModel {
@com.aliyun.core.annotation.NameInMap("currentError")
private String currentError;
@com.aliyun.core.annotation.NameInMap("instances")
private java.util.List<InstanceInfo> instances;
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("versionStatus")
private java.util.Map<String, VersionStatus> versionStatus;
private ListInstancesOutput(Builder builder) {
this.currentError = builder.currentError;
this.instances = builder.instances;
this.requestId = builder.requestId;
this.versionStatus = builder.versionStatus;
}
public static Builder builder() {
return new Builder();
}
public static ListInstancesOutput create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return currentError
*/
public String getCurrentError() {
return this.currentError;
}
/**
* @return instances
*/
public java.util.List<InstanceInfo> getInstances() {
return this.instances;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return versionStatus
*/
public java.util.Map<String, VersionStatus> getVersionStatus() {
return this.versionStatus;
}
public static final class Builder {
private String currentError;
private java.util.List<InstanceInfo> instances;
private String requestId;
private java.util.Map<String, VersionStatus> versionStatus;
private Builder() {
}
private Builder(ListInstancesOutput model) {
this.currentError = model.currentError;
this.instances = model.instances;
this.requestId = model.requestId;
this.versionStatus = model.versionStatus;
}
/**
* currentError.
*/
public Builder currentError(String currentError) {
this.currentError = currentError;
return this;
}
/**
* instances.
*/
public Builder instances(java.util.List<InstanceInfo> instances) {
this.instances = instances;
return this;
}
/**
* requestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* versionStatus.
*/
public Builder versionStatus(java.util.Map<String, VersionStatus> versionStatus) {
this.versionStatus = versionStatus;
return this;
}
public ListInstancesOutput build() {
return new ListInstancesOutput(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/ListJobsRequest.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 ListJobsRequest} extends {@link RequestModel}
*
* <p>ListJobsRequest</p>
*/
public class ListJobsRequest 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("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;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Workload")
private String workload;
private ListJobsRequest(Builder builder) {
super(builder);
this.appName = builder.appName;
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;
this.workload = builder.workload;
}
public static Builder builder() {
return new Builder();
}
public static ListJobsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @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;
}
/**
* @return workload
*/
public String getWorkload() {
return this.workload;
}
public static final class Builder extends Request.Builder<ListJobsRequest, Builder> {
private String appName;
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 String workload;
private Builder() {
super();
}
private Builder(ListJobsRequest request) {
super(request);
this.appName = request.appName;
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;
this.workload = request.workload;
}
/**
* <p>The name of the job template.</p>
*
* <strong>example:</strong>
* <p>demo-app</p>
*/
public Builder appName(String appName) {
this.putQueryParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>The number of the page to return. The parameter value is a positive integer that is greater than or equal to 1.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder currentPage(Integer currentPage) {
this.putQueryParameter("CurrentPage", currentPage);
this.currentPage = currentPage;
return this;
}
/**
* <p>The dimension by which applications are filtered. Valid values:</p>
* <ul>
* <li><strong>appName</strong>: Applications are filtered by job template name.</li>
* <li><strong>appIds</strong>: Applications are filtered by job template ID.</li>
* </ul>
*
* <strong>example:</strong>
* <p>appName</p>
*/
public Builder fieldType(String fieldType) {
this.putQueryParameter("FieldType", fieldType);
this.fieldType = fieldType;
return this;
}
/**
* <p>Enter the name and ID of the job template.</p>
*
* <strong>example:</strong>
* <p>demo-app</p>
*/
public Builder fieldValue(String fieldValue) {
this.putQueryParameter("FieldValue", fieldValue);
this.fieldValue = fieldValue;
return this;
}
/**
* <p>The namespace ID.</p>
*
* <strong>example:</strong>
* <p>cn-beijing:demo</p>
*/
public Builder namespaceId(String namespaceId) {
this.putQueryParameter("NamespaceId", namespaceId);
this.namespaceId = namespaceId;
return this;
}
/**
* <p>Specifies how applications are sorted. Valid values:</p>
* <ul>
* <li><strong>running</strong>: The applications are sorted based on the number of running instances.</li>
* <li><strong>instances</strong>: The applications are sorted based on the number of destination instances.</li>
* </ul>
*
* <strong>example:</strong>
* <p>running</p>
*/
public Builder orderBy(String orderBy) {
this.putQueryParameter("OrderBy", orderBy);
this.orderBy = orderBy;
return this;
}
/**
* <p>The number of entries to return on each page. Valid value: 0 to 200.</p>
*
* <strong>example:</strong>
* <p>20</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* <p>Specifies whether to sort the field names that are passed by <strong>OrderBy</strong> in ascending order. Valid values:</p>
* <ul>
* <li><strong>true</strong>: in ascending order</li>
* <li><strong>false</strong>: in descending order</li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder reverse(Boolean reverse) {
this.putQueryParameter("Reverse", reverse);
this.reverse = reverse;
return this;
}
/**
* <p>The tags that are displayed in a JSON string. Valid values:</p>
* <ul>
* <li><strong>key</strong>: the tag key</li>
* <li><strong>value</strong>: the tag value</li>
* </ul>
*
* <strong>example:</strong>
* <p>[{"key":"key","value":"value"}]</p>
*/
public Builder tags(String tags) {
this.putQueryParameter("Tags", tags);
this.tags = tags;
return this;
}
/**
* <p>Set the value to <code>job</code>.</p>
*
* <strong>example:</strong>
* <p>job</p>
*/
public Builder workload(String workload) {
this.putQueryParameter("Workload", workload);
this.workload = workload;
return this;
}
@Override
public ListJobsRequest build() {
return new ListJobsRequest(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/ListJobsResponse.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 ListJobsResponse} extends {@link TeaModel}
*
* <p>ListJobsResponse</p>
*/
public class ListJobsResponse 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 ListJobsResponseBody body;
private ListJobsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListJobsResponse 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 ListJobsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListJobsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListJobsResponseBody body);
@Override
ListJobsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListJobsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListJobsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListJobsResponse 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(ListJobsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListJobsResponse build() {
return new ListJobsResponse(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/ListJobsResponseBody.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 ListJobsResponseBody} extends {@link TeaModel}
*
* <p>ListJobsResponseBody</p>
*/
public class ListJobsResponseBody 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 ListJobsResponseBody(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 ListJobsResponseBody 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(ListJobsResponseBody 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>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 page number of the returned page.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder currentPage(Integer currentPage) {
this.currentPage = currentPage;
return this;
}
/**
* <p>The job templates.</p>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* <p>The error code returned. Take note of the following rules:</p>
* <ul>
* <li>If the call is successful, <strong>ErrorCode</strong> is not returned.</li>
* <li>If the call fails, <strong>ErrorCode</strong> is returned. For more information, see the "<strong>Error codes</strong>" section in this topic.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Null</p>
*/
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 number of entries returned on each page.</p>
*
* <strong>example:</strong>
* <p>20</p>
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
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 applications were obtained. Valid values:</p>
* <ul>
* <li><strong>true</strong></li>
* <li><strong>false</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
/**
* <p>The total number of job templates.</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder totalSize(Integer totalSize) {
this.totalSize = totalSize;
return this;
}
public ListJobsResponseBody build() {
return new ListJobsResponseBody(this);
}
}
/**
*
* {@link ListJobsResponseBody} extends {@link TeaModel}
*
* <p>ListJobsResponseBody</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;
}
/**
* <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 Tags build() {
return new Tags(this);
}
}
}
/**
*
* {@link ListJobsResponseBody} extends {@link TeaModel}
*
* <p>ListJobsResponseBody</p>
*/
public static class Applications extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Active")
private Long active;
@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("CompletionTime")
private Long completionTime;
@com.aliyun.core.annotation.NameInMap("Cpu")
private Integer cpu;
@com.aliyun.core.annotation.NameInMap("Failed")
private Long failed;
@com.aliyun.core.annotation.NameInMap("LastChangeorderState")
private String lastChangeorderState;
@com.aliyun.core.annotation.NameInMap("LastJobState")
private String lastJobState;
@com.aliyun.core.annotation.NameInMap("LastStartTime")
private Long lastStartTime;
@com.aliyun.core.annotation.NameInMap("Mem")
private Integer mem;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("NamespaceId")
private String namespaceId;
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("Succeeded")
private Long succeeded;
@com.aliyun.core.annotation.NameInMap("Suspend")
private Boolean suspend;
@com.aliyun.core.annotation.NameInMap("Tags")
private java.util.List<Tags> tags;
@com.aliyun.core.annotation.NameInMap("TriggerConfig")
private String triggerConfig;
private Applications(Builder builder) {
this.active = builder.active;
this.appDescription = builder.appDescription;
this.appId = builder.appId;
this.appName = builder.appName;
this.completionTime = builder.completionTime;
this.cpu = builder.cpu;
this.failed = builder.failed;
this.lastChangeorderState = builder.lastChangeorderState;
this.lastJobState = builder.lastJobState;
this.lastStartTime = builder.lastStartTime;
this.mem = builder.mem;
this.message = builder.message;
this.namespaceId = builder.namespaceId;
this.regionId = builder.regionId;
this.succeeded = builder.succeeded;
this.suspend = builder.suspend;
this.tags = builder.tags;
this.triggerConfig = builder.triggerConfig;
}
public static Builder builder() {
return new Builder();
}
public static Applications create() {
return builder().build();
}
/**
* @return active
*/
public Long getActive() {
return this.active;
}
/**
* @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 completionTime
*/
public Long getCompletionTime() {
return this.completionTime;
}
/**
* @return cpu
*/
public Integer getCpu() {
return this.cpu;
}
/**
* @return failed
*/
public Long getFailed() {
return this.failed;
}
/**
* @return lastChangeorderState
*/
public String getLastChangeorderState() {
return this.lastChangeorderState;
}
/**
* @return lastJobState
*/
public String getLastJobState() {
return this.lastJobState;
}
/**
* @return lastStartTime
*/
public Long getLastStartTime() {
return this.lastStartTime;
}
/**
* @return mem
*/
public Integer getMem() {
return this.mem;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return namespaceId
*/
public String getNamespaceId() {
return this.namespaceId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return succeeded
*/
public Long getSucceeded() {
return this.succeeded;
}
/**
* @return suspend
*/
public Boolean getSuspend() {
return this.suspend;
}
/**
* @return tags
*/
public java.util.List<Tags> getTags() {
return this.tags;
}
/**
* @return triggerConfig
*/
public String getTriggerConfig() {
return this.triggerConfig;
}
public static final class Builder {
private Long active;
private String appDescription;
private String appId;
private String appName;
private Long completionTime;
private Integer cpu;
private Long failed;
private String lastChangeorderState;
private String lastJobState;
private Long lastStartTime;
private Integer mem;
private String message;
private String namespaceId;
private String regionId;
private Long succeeded;
private Boolean suspend;
private java.util.List<Tags> tags;
private String triggerConfig;
private Builder() {
}
private Builder(Applications model) {
this.active = model.active;
this.appDescription = model.appDescription;
this.appId = model.appId;
this.appName = model.appName;
this.completionTime = model.completionTime;
this.cpu = model.cpu;
this.failed = model.failed;
this.lastChangeorderState = model.lastChangeorderState;
this.lastJobState = model.lastJobState;
this.lastStartTime = model.lastStartTime;
this.mem = model.mem;
this.message = model.message;
this.namespaceId = model.namespaceId;
this.regionId = model.regionId;
this.succeeded = model.succeeded;
this.suspend = model.suspend;
this.tags = model.tags;
this.triggerConfig = model.triggerConfig;
}
/**
* <p>The number of running instances.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder active(Long active) {
this.active = active;
return this;
}
/**
* <p>The description of the job template.</p>
*
* <strong>example:</strong>
* <p>description</p>
*/
public Builder appDescription(String appDescription) {
this.appDescription = appDescription;
return this;
}
/**
* <p>The ID of the job template.</p>
*
* <strong>example:</strong>
* <p>f7730764-d88f-4b9a-8d8e-cd8efbfe****</p>
*/
public Builder appId(String appId) {
this.appId = appId;
return this;
}
/**
* <p>The name of the job template.</p>
*
* <strong>example:</strong>
* <p>demo-app</p>
*/
public Builder appName(String appName) {
this.appName = appName;
return this;
}
/**
* <p>The time when the job was last completed.</p>
*
* <strong>example:</strong>
* <p>1657522839</p>
*/
public Builder completionTime(Long completionTime) {
this.completionTime = completionTime;
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>500</p>
*/
public Builder cpu(Integer cpu) {
this.cpu = cpu;
return this;
}
/**
* <p>The number of instances that failed to run.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder failed(Long failed) {
this.failed = failed;
return this;
}
/**
* <p>Indicates whether the latest change order was executed. Valid values:</p>
* <ul>
* <li><strong>0</strong>: The latest change order failed to be executed.</li>
* <li><strong>1</strong>: The latest change order was executed.</li>
* </ul>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder lastChangeorderState(String lastChangeorderState) {
this.lastChangeorderState = lastChangeorderState;
return this;
}
/**
* <p>The status of the latest job. Valid values:</p>
* <ul>
* <li><strong>0</strong>: The job is not executed.</li>
* <li><strong>1</strong>: The job was executed.</li>
* <li><strong>2</strong>: The job failed to be executed.</li>
* <li><strong>3</strong>: The job is being executed.</li>
* </ul>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder lastJobState(String lastJobState) {
this.lastJobState = lastJobState;
return this;
}
/**
* <p>The time when the job was last started.</p>
*
* <strong>example:</strong>
* <p>1657522800</p>
*/
public Builder lastStartTime(Long lastStartTime) {
this.lastStartTime = lastStartTime;
return this;
}
/**
* <p>The size of memory 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;
}
/**
* <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 namespace.</p>
*
* <strong>example:</strong>
* <p>cn-beijing:demo</p>
*/
public Builder namespaceId(String namespaceId) {
this.namespaceId = namespaceId;
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 instances that were successfully run.</p>
*
* <strong>example:</strong>
* <p>3</p>
*/
public Builder succeeded(Long succeeded) {
this.succeeded = succeeded;
return this;
}
/**
* <p>Indicates whether the job template is suspended.</p>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder suspend(Boolean suspend) {
this.suspend = suspend;
return this;
}
/**
* <p>The tags of the job template.</p>
*/
public Builder tags(java.util.List<Tags> tags) {
this.tags = tags;
return this;
}
/**
* TriggerConfig.
*/
public Builder triggerConfig(String triggerConfig) {
this.triggerConfig = triggerConfig;
return this;
}
public Applications build() {
return new Applications(this);
}
}
}
/**
*
* {@link ListJobsResponseBody} extends {@link TeaModel}
*
* <p>ListJobsResponseBody</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 job templates.</p>
*/
public Builder applications(java.util.List<Applications> applications) {
this.applications = applications;
return this;
}
/**
* <p>The page 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 on each page.</p>
*
* <strong>example:</strong>
* <p>20</p>
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <p>The total number of job templates.</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/ListLogConfigsRequest.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 ListLogConfigsRequest} extends {@link RequestModel}
*
* <p>ListLogConfigsRequest</p>
*/
public class ListLogConfigsRequest 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("CurrentPage")
@com.aliyun.core.annotation.Validation(required = true)
private Integer currentPage;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
@com.aliyun.core.annotation.Validation(required = true)
private Integer pageSize;
private ListLogConfigsRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
this.currentPage = builder.currentPage;
this.pageSize = builder.pageSize;
}
public static Builder builder() {
return new Builder();
}
public static ListLogConfigsRequest 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 pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
public static final class Builder extends Request.Builder<ListLogConfigsRequest, Builder> {
private String appId;
private Integer currentPage;
private Integer pageSize;
private Builder() {
super();
}
private Builder(ListLogConfigsRequest request) {
super(request);
this.appId = request.appId;
this.currentPage = request.currentPage;
this.pageSize = request.pageSize;
}
/**
* <p>10</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>56f77b65-788d-442a-9885-7f20d91f****</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>1</p>
*/
public Builder currentPage(Integer currentPage) {
this.putQueryParameter("CurrentPage", currentPage);
this.currentPage = currentPage;
return this;
}
/**
* <p>1</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
@Override
public ListLogConfigsRequest build() {
return new ListLogConfigsRequest(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/ListLogConfigsResponse.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 ListLogConfigsResponse} extends {@link TeaModel}
*
* <p>ListLogConfigsResponse</p>
*/
public class ListLogConfigsResponse 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 ListLogConfigsResponseBody body;
private ListLogConfigsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListLogConfigsResponse 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 ListLogConfigsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListLogConfigsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListLogConfigsResponseBody body);
@Override
ListLogConfigsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListLogConfigsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListLogConfigsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListLogConfigsResponse 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(ListLogConfigsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListLogConfigsResponse build() {
return new ListLogConfigsResponse(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/ListLogConfigsResponseBody.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 ListLogConfigsResponseBody} extends {@link TeaModel}
*
* <p>ListLogConfigsResponseBody</p>
*/
public class ListLogConfigsResponseBody 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 ListLogConfigsResponseBody(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 ListLogConfigsResponseBody 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(ListLogConfigsResponseBody 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 logging configurations of an application were obtained. Valid values:</p>
* <ul>
* <li><strong>true</strong>: indicates that the configurations were obtained.</li>
* <li><strong>false</strong>: indicates that the configurations could not be obtained.</li>
* </ul>
*
* <strong>example:</strong>
* <p>200</p>
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* <p>The logging configurations.</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 can be 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>
* <ul>
* <li><strong>success</strong> is returned when the request succeeds.</li>
* <li>An error code is returned when the request fails.</li>
* </ul>
*
* <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;
}
/**
* <p>The logging configurations.</p>
*
* <strong>example:</strong>
* <p>ac1d5e2c15671581252413581d****</p>
*/
public Builder traceId(String traceId) {
this.traceId = traceId;
return this;
}
public ListLogConfigsResponseBody build() {
return new ListLogConfigsResponseBody(this);
}
}
/**
*
* {@link ListLogConfigsResponseBody} extends {@link TeaModel}
*
* <p>ListLogConfigsResponseBody</p>
*/
public static class LogConfigs extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ConfigName")
private String configName;
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("LogDir")
private String logDir;
@com.aliyun.core.annotation.NameInMap("LogType")
private String logType;
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("SlsLogStore")
private String slsLogStore;
@com.aliyun.core.annotation.NameInMap("SlsProject")
private String slsProject;
@com.aliyun.core.annotation.NameInMap("StoreType")
private String storeType;
private LogConfigs(Builder builder) {
this.configName = builder.configName;
this.createTime = builder.createTime;
this.logDir = builder.logDir;
this.logType = builder.logType;
this.regionId = builder.regionId;
this.slsLogStore = builder.slsLogStore;
this.slsProject = builder.slsProject;
this.storeType = builder.storeType;
}
public static Builder builder() {
return new Builder();
}
public static LogConfigs create() {
return builder().build();
}
/**
* @return configName
*/
public String getConfigName() {
return this.configName;
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return logDir
*/
public String getLogDir() {
return this.logDir;
}
/**
* @return logType
*/
public String getLogType() {
return this.logType;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return slsLogStore
*/
public String getSlsLogStore() {
return this.slsLogStore;
}
/**
* @return slsProject
*/
public String getSlsProject() {
return this.slsProject;
}
/**
* @return storeType
*/
public String getStoreType() {
return this.storeType;
}
public static final class Builder {
private String configName;
private String createTime;
private String logDir;
private String logType;
private String regionId;
private String slsLogStore;
private String slsProject;
private String storeType;
private Builder() {
}
private Builder(LogConfigs model) {
this.configName = model.configName;
this.createTime = model.createTime;
this.logDir = model.logDir;
this.logType = model.logType;
this.regionId = model.regionId;
this.slsLogStore = model.slsLogStore;
this.slsProject = model.slsProject;
this.storeType = model.storeType;
}
/**
* <p>The path of logs.</p>
*
* <strong>example:</strong>
* <p>sae-1f240907a6faf58c653f09e81b7e****</p>
*/
public Builder configName(String configName) {
this.configName = configName;
return this;
}
/**
* <p>The storage type of logs.</p>
*
* <strong>example:</strong>
* <p>2019-08-29 17:18:00</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The path of the log file (log source).</p>
*
* <strong>example:</strong>
* <p>/root/logs/hsf/hsf.log</p>
*/
public Builder logDir(String logDir) {
this.logDir = logDir;
return this;
}
/**
* <p>The ID of the region.</p>
*
* <strong>example:</strong>
* <p>file_log</p>
*/
public Builder logType(String logType) {
this.logType = logType;
return this;
}
/**
* <p>The number of the returned page.</p>
*
* <strong>example:</strong>
* <p>cn-beijing</p>
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* <p>The time when the configuration was created.</p>
*
* <strong>example:</strong>
* <p>sae-1f240907a6faf58c653f09e81b7e****</p>
*/
public Builder slsLogStore(String slsLogStore) {
this.slsLogStore = slsLogStore;
return this;
}
/**
* <p>The type of the log. Set this value to <strong>file_log</strong>.</p>
*
* <strong>example:</strong>
* <p>sae-56f77b65-788d-442a-9885-7f20d91f****</p>
*/
public Builder slsProject(String slsProject) {
this.slsProject = slsProject;
return this;
}
/**
* <p>The ID of the Log Service project.</p>
*
* <strong>example:</strong>
* <p>sls</p>
*/
public Builder storeType(String storeType) {
this.storeType = storeType;
return this;
}
public LogConfigs build() {
return new LogConfigs(this);
}
}
}
/**
*
* {@link ListLogConfigsResponseBody} extends {@link TeaModel}
*
* <p>ListLogConfigsResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CurrentPage")
private Integer currentPage;
@com.aliyun.core.annotation.NameInMap("LogConfigs")
private java.util.List<LogConfigs> logConfigs;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("TotalSize")
private Integer totalSize;
private Data(Builder builder) {
this.currentPage = builder.currentPage;
this.logConfigs = builder.logConfigs;
this.pageSize = builder.pageSize;
this.totalSize = builder.totalSize;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return currentPage
*/
public Integer getCurrentPage() {
return this.currentPage;
}
/**
* @return logConfigs
*/
public java.util.List<LogConfigs> getLogConfigs() {
return this.logConfigs;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return totalSize
*/
public Integer getTotalSize() {
return this.totalSize;
}
public static final class Builder {
private Integer currentPage;
private java.util.List<LogConfigs> logConfigs;
private Integer pageSize;
private Integer totalSize;
private Builder() {
}
private Builder(Data model) {
this.currentPage = model.currentPage;
this.logConfigs = model.logConfigs;
this.pageSize = model.pageSize;
this.totalSize = model.totalSize;
}
/**
* <p>The total number of returned entries.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder currentPage(Integer currentPage) {
this.currentPage = currentPage;
return this;
}
/**
* <p>The details of the logging configuration.</p>
*/
public Builder logConfigs(java.util.List<LogConfigs> logConfigs) {
this.logConfigs = logConfigs;
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>10</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>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/ListMetricsOutput.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 ListMetricsOutput} extends {@link TeaModel}
*
* <p>ListMetricsOutput</p>
*/
public class ListMetricsOutput extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("metrics")
private java.util.Map<String, java.util.List<MetricInfo>> metrics;
private ListMetricsOutput(Builder builder) {
this.requestId = builder.requestId;
this.metrics = builder.metrics;
}
public static Builder builder() {
return new Builder();
}
public static ListMetricsOutput create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return metrics
*/
public java.util.Map<String, java.util.List<MetricInfo>> getMetrics() {
return this.metrics;
}
public static final class Builder {
private String requestId;
private java.util.Map<String, java.util.List<MetricInfo>> metrics;
private Builder() {
}
private Builder(ListMetricsOutput model) {
this.requestId = model.requestId;
this.metrics = model.metrics;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* metrics.
*/
public Builder metrics(java.util.Map<String, java.util.List<MetricInfo>> metrics) {
this.metrics = metrics;
return this;
}
public ListMetricsOutput build() {
return new ListMetricsOutput(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/ListNamespaceChangeOrdersRequest.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 ListNamespaceChangeOrdersRequest} extends {@link RequestModel}
*
* <p>ListNamespaceChangeOrdersRequest</p>
*/
public class ListNamespaceChangeOrdersRequest extends Request {
@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("NamespaceId")
@com.aliyun.core.annotation.Validation(required = true)
private String namespaceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
private ListNamespaceChangeOrdersRequest(Builder builder) {
super(builder);
this.coStatus = builder.coStatus;
this.coType = builder.coType;
this.currentPage = builder.currentPage;
this.key = builder.key;
this.namespaceId = builder.namespaceId;
this.pageSize = builder.pageSize;
}
public static Builder builder() {
return new Builder();
}
public static ListNamespaceChangeOrdersRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @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 namespaceId
*/
public String getNamespaceId() {
return this.namespaceId;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
public static final class Builder extends Request.Builder<ListNamespaceChangeOrdersRequest, Builder> {
private String coStatus;
private String coType;
private Integer currentPage;
private String key;
private String namespaceId;
private Integer pageSize;
private Builder() {
super();
}
private Builder(ListNamespaceChangeOrdersRequest request) {
super(request);
this.coStatus = request.coStatus;
this.coType = request.coType;
this.currentPage = request.currentPage;
this.key = request.key;
this.namespaceId = request.namespaceId;
this.pageSize = request.pageSize;
}
/**
* <p>2</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder coStatus(String coStatus) {
this.putQueryParameter("CoStatus", coStatus);
this.coStatus = coStatus;
return this;
}
/**
* <p>CoBatchStartApplication</p>
*
* <strong>example:</strong>
* <p>CoBatchStartApplication</p>
*/
public Builder coType(String coType) {
this.putQueryParameter("CoType", coType);
this.coType = coType;
return this;
}
/**
* <p>1</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder currentPage(Integer currentPage) {
this.putQueryParameter("CurrentPage", currentPage);
this.currentPage = currentPage;
return this;
}
/**
* <p>test</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder key(String key) {
this.putQueryParameter("Key", key);
this.key = key;
return this;
}
/**
* <p>cn-shanghai:test</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-shanghai:test</p>
*/
public Builder namespaceId(String namespaceId) {
this.putQueryParameter("NamespaceId", namespaceId);
this.namespaceId = namespaceId;
return this;
}
/**
* <p>20</p>
*
* <strong>example:</strong>
* <p>20</p>
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
@Override
public ListNamespaceChangeOrdersRequest build() {
return new ListNamespaceChangeOrdersRequest(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/ListNamespaceChangeOrdersResponse.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 ListNamespaceChangeOrdersResponse} extends {@link TeaModel}
*
* <p>ListNamespaceChangeOrdersResponse</p>
*/
public class ListNamespaceChangeOrdersResponse 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 ListNamespaceChangeOrdersResponseBody body;
private ListNamespaceChangeOrdersResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListNamespaceChangeOrdersResponse 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 ListNamespaceChangeOrdersResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListNamespaceChangeOrdersResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListNamespaceChangeOrdersResponseBody body);
@Override
ListNamespaceChangeOrdersResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListNamespaceChangeOrdersResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListNamespaceChangeOrdersResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListNamespaceChangeOrdersResponse 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(ListNamespaceChangeOrdersResponseBody body) {
this.body = body;
return this;
}
@Override
public ListNamespaceChangeOrdersResponse build() {
return new ListNamespaceChangeOrdersResponse(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/ListNamespaceChangeOrdersResponseBody.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 ListNamespaceChangeOrdersResponseBody} extends {@link TeaModel}
*
* <p>ListNamespaceChangeOrdersResponseBody</p>
*/
public class ListNamespaceChangeOrdersResponseBody 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 ListNamespaceChangeOrdersResponseBody(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 ListNamespaceChangeOrdersResponseBody 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(ListNamespaceChangeOrdersResponseBody 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>: 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>200</p>
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* <p>The returned data.</p>
*/
public Builder data(Data data) {
this.data = data;
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>
*/
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>0bc3915638507554994370d****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <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>true</p>
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
/**
* <p>The ID of the trace. It is used to query the details of a request.</p>
*
* <strong>example:</strong>
* <p>0bc3915638507554994370d****</p>
*/
public Builder traceId(String traceId) {
this.traceId = traceId;
return this;
}
public ListNamespaceChangeOrdersResponseBody build() {
return new ListNamespaceChangeOrdersResponseBody(this);
}
}
/**
*
* {@link ListNamespaceChangeOrdersResponseBody} extends {@link TeaModel}
*
* <p>ListNamespaceChangeOrdersResponseBody</p>
*/
public static class ChangeOrderList extends TeaModel {
@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("NamespaceId")
private String namespaceId;
@com.aliyun.core.annotation.NameInMap("Pipelines")
private String pipelines;
@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.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.namespaceId = builder.namespaceId;
this.pipelines = builder.pipelines;
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 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 namespaceId
*/
public String getNamespaceId() {
return this.namespaceId;
}
/**
* @return pipelines
*/
public String getPipelines() {
return this.pipelines;
}
/**
* @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 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 namespaceId;
private String pipelines;
private String source;
private Integer status;
private String userId;
private Builder() {
}
private Builder(ChangeOrderList model) {
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.namespaceId = model.namespaceId;
this.pipelines = model.pipelines;
this.source = model.source;
this.status = model.status;
this.userId = model.userId;
}
/**
* <p>The number of release batches.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder batchCount(Integer batchCount) {
this.batchCount = batchCount;
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>
*/
public Builder batchType(String batchType) {
this.batchType = batchType;
return this;
}
/**
* <p>The ID of the change order.</p>
*
* <strong>example:</strong>
* <p>7fa5c0-9ebb-4bb4-b383-1f885447****</p>
*/
public Builder changeOrderId(String changeOrderId) {
this.changeOrderId = changeOrderId;
return this;
}
/**
* <p>The type of the change order, which corresponds the <strong>CoTypeCode</strong> parameter.</p>
*
* <strong>example:</strong>
* <p>msg.docker.app.actions.CoBatchStartApplication</p>
*/
public Builder coType(String coType) {
this.coType = coType;
return this;
}
/**
* <p>The code of the change order type. Valid values:</p>
* <ul>
* <li><strong>CoBatchStartApplication</strong>: starts multiple applications concurrently.</li>
* <li><strong>CoBatchStopApplication</strong>: stops multiple applications concurrently.</li>
* </ul>
*
* <strong>example:</strong>
* <p>CoBatchStartApplication</p>
*/
public Builder coTypeCode(String coTypeCode) {
this.coTypeCode = coTypeCode;
return this;
}
/**
* <p>The time when the change order was created.</p>
*
* <strong>example:</strong>
* <p>2019-07-11 15:54:49</p>
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The ID of the user who created the change order.</p>
*
* <strong>example:</strong>
* <p><a href="mailto:test@aliyun.com">test@aliyun.com</a></p>
*/
public Builder createUserId(String createUserId) {
this.createUserId = createUserId;
return this;
}
/**
* <p>The description of the change order.</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The time when the change order was completed.</p>
*
* <strong>example:</strong>
* <p>2019-07-11 20:12:58</p>
*/
public Builder finishTime(String finishTime) {
this.finishTime = finishTime;
return this;
}
/**
* <p>The ID of the group.</p>
*
* <strong>example:</strong>
* <p>c9ecd2-cf6c-46c3-9f20-525de202****</p>
*/
public Builder groupId(String groupId) {
this.groupId = groupId;
return this;
}
/**
* <p>The ID of the namespace.</p>
*
* <strong>example:</strong>
* <p>cn-shanghai:test</p>
*/
public Builder namespaceId(String namespaceId) {
this.namespaceId = namespaceId;
return this;
}
/**
* <p>The information about release batches.</p>
*
* <strong>example:</strong>
* <p>xxxx</p>
*/
public Builder pipelines(String pipelines) {
this.pipelines = pipelines;
return this;
}
/**
* <p>The source of the change order.</p>
*
* <strong>example:</strong>
* <p>console</p>
*/
public Builder source(String source) {
this.source = source;
return this;
}
/**
* <p>The status of the change order. Valid values:</p>
* <ul>
* <li><strong>0</strong>: The change order is being prepared.</li>
* <li><strong>1</strong>: The change order is being executed.</li>
* <li><strong>2</strong>: The change order was executed.</li>
* <li><strong>3</strong>: The change order could not be executed.</li>
* <li><strong>6</strong>: The change order was terminated.</li>
* <li><strong>10</strong>: The change order could not be executed due to a system exception.</li>
* </ul>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder status(Integer status) {
this.status = status;
return this;
}
/**
* <p>The ID of the user.</p>
*
* <strong>example:</strong>
* <p>test_sae</p>
*/
public Builder userId(String userId) {
this.userId = userId;
return this;
}
public ChangeOrderList build() {
return new ChangeOrderList(this);
}
}
}
/**
*
* {@link ListNamespaceChangeOrdersResponseBody} extends {@link TeaModel}
*
* <p>ListNamespaceChangeOrdersResponseBody</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 list of change orders.</p>
*/
public Builder changeOrderList(java.util.List<ChangeOrderList> changeOrderList) {
this.changeOrderList = changeOrderList;
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 on each page.</p>
*
* <strong>example:</strong>
* <p>20</p>
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <p>The total number of change orders.</p>
*
* <strong>example:</strong>
* <p>32</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/ListNamespacedConfigMapsRequest.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 ListNamespacedConfigMapsRequest} extends {@link RequestModel}
*
* <p>ListNamespacedConfigMapsRequest</p>
*/
public class ListNamespacedConfigMapsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NamespaceId")
@com.aliyun.core.annotation.Validation(required = true)
private String namespaceId;
private ListNamespacedConfigMapsRequest(Builder builder) {
super(builder);
this.namespaceId = builder.namespaceId;
}
public static Builder builder() {
return new Builder();
}
public static ListNamespacedConfigMapsRequest 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<ListNamespacedConfigMapsRequest, Builder> {
private String namespaceId;
private Builder() {
super();
}
private Builder(ListNamespacedConfigMapsRequest request) {
super(request);
this.namespaceId = request.namespaceId;
}
/**
* <p>cn-hangzhou</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder namespaceId(String namespaceId) {
this.putQueryParameter("NamespaceId", namespaceId);
this.namespaceId = namespaceId;
return this;
}
@Override
public ListNamespacedConfigMapsRequest build() {
return new ListNamespacedConfigMapsRequest(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/ListNamespacedConfigMapsResponse.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 ListNamespacedConfigMapsResponse} extends {@link TeaModel}
*
* <p>ListNamespacedConfigMapsResponse</p>
*/
public class ListNamespacedConfigMapsResponse 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 ListNamespacedConfigMapsResponseBody body;
private ListNamespacedConfigMapsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListNamespacedConfigMapsResponse 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 ListNamespacedConfigMapsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListNamespacedConfigMapsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListNamespacedConfigMapsResponseBody body);
@Override
ListNamespacedConfigMapsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListNamespacedConfigMapsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListNamespacedConfigMapsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListNamespacedConfigMapsResponse 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(ListNamespacedConfigMapsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListNamespacedConfigMapsResponse build() {
return new ListNamespacedConfigMapsResponse(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/ListNamespacedConfigMapsResponseBody.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 ListNamespacedConfigMapsResponseBody} extends {@link TeaModel}
*
* <p>ListNamespacedConfigMapsResponseBody</p>
*/
public class ListNamespacedConfigMapsResponseBody 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 ListNamespacedConfigMapsResponseBody(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 ListNamespacedConfigMapsResponseBody 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(ListNamespacedConfigMapsResponseBody 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>: indicates that the call was successful.</li>
* <li><strong>3xx</strong>: indicates that the call was redirected.</li>
* <li><strong>4xx</strong>: indicates that the call failed.</li>
* <li><strong>5xx</strong>: indicates that a server error occurred.</li>
* </ul>
*
* <strong>example:</strong>
* <p>200</p>
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* <p>The returned result.</p>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* <p>The returned 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 of this topic.</li>
* </ul>
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* <p>The returned information. Valid values:</p>
* <ul>
* <li>If the call is successful, <strong>success</strong> is returned.</li>
* <li>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>Indicates whether the ConfigMap instances were obtained. Valid values:</p>
* <ul>
* <li><strong>true</strong>: The instances were obtained.</li>
* <li><strong>false</strong>: The instances 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>0a98a02315955564772843261e****</p>
*/
public Builder traceId(String traceId) {
this.traceId = traceId;
return this;
}
public ListNamespacedConfigMapsResponseBody build() {
return new ListNamespacedConfigMapsResponseBody(this);
}
}
/**
*
* {@link ListNamespacedConfigMapsResponseBody} extends {@link TeaModel}
*
* <p>ListNamespacedConfigMapsResponseBody</p>
*/
public static class RelateApps extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppId")
private String appId;
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
private RelateApps(Builder builder) {
this.appId = builder.appId;
this.appName = builder.appName;
}
public static Builder builder() {
return new Builder();
}
public static RelateApps create() {
return builder().build();
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
public static final class Builder {
private String appId;
private String appName;
private Builder() {
}
private Builder(RelateApps model) {
this.appId = model.appId;
this.appName = model.appName;
}
/**
* <p>The ID of the application.</p>
*
* <strong>example:</strong>
* <p>f16b4000-9058-4c22-a49d-49a28f0b****</p>
*/
public Builder appId(String appId) {
this.appId = appId;
return this;
}
/**
* <p>The name of the application.</p>
*
* <strong>example:</strong>
* <p>test-app</p>
*/
public Builder appName(String appName) {
this.appName = appName;
return this;
}
public RelateApps build() {
return new RelateApps(this);
}
}
}
/**
*
* {@link ListNamespacedConfigMapsResponseBody} extends {@link TeaModel}
*
* <p>ListNamespacedConfigMapsResponseBody</p>
*/
public static class ConfigMaps extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ConfigMapId")
private Long configMapId;
@com.aliyun.core.annotation.NameInMap("CreateTime")
private Long createTime;
@com.aliyun.core.annotation.NameInMap("Data")
private java.util.Map<String, ?> data;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("NamespaceId")
private String namespaceId;
@com.aliyun.core.annotation.NameInMap("RelateApps")
private java.util.List<RelateApps> relateApps;
@com.aliyun.core.annotation.NameInMap("UpdateTime")
private Long updateTime;
private ConfigMaps(Builder builder) {
this.configMapId = builder.configMapId;
this.createTime = builder.createTime;
this.data = builder.data;
this.description = builder.description;
this.name = builder.name;
this.namespaceId = builder.namespaceId;
this.relateApps = builder.relateApps;
this.updateTime = builder.updateTime;
}
public static Builder builder() {
return new Builder();
}
public static ConfigMaps create() {
return builder().build();
}
/**
* @return configMapId
*/
public Long getConfigMapId() {
return this.configMapId;
}
/**
* @return createTime
*/
public Long getCreateTime() {
return this.createTime;
}
/**
* @return data
*/
public java.util.Map<String, ?> getData() {
return this.data;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return namespaceId
*/
public String getNamespaceId() {
return this.namespaceId;
}
/**
* @return relateApps
*/
public java.util.List<RelateApps> getRelateApps() {
return this.relateApps;
}
/**
* @return updateTime
*/
public Long getUpdateTime() {
return this.updateTime;
}
public static final class Builder {
private Long configMapId;
private Long createTime;
private java.util.Map<String, ?> data;
private String description;
private String name;
private String namespaceId;
private java.util.List<RelateApps> relateApps;
private Long updateTime;
private Builder() {
}
private Builder(ConfigMaps model) {
this.configMapId = model.configMapId;
this.createTime = model.createTime;
this.data = model.data;
this.description = model.description;
this.name = model.name;
this.namespaceId = model.namespaceId;
this.relateApps = model.relateApps;
this.updateTime = model.updateTime;
}
/**
* <p>The ID of the ConfigMap instance.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder configMapId(Long configMapId) {
this.configMapId = configMapId;
return this;
}
/**
* <p>The time when the instance was created.</p>
*
* <strong>example:</strong>
* <p>1593760185111</p>
*/
public Builder createTime(Long createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The data of ConfigMap key-value pairs. Format:</p>
* <p>{"k1":"v1", "k2":"v2"}</p>
* <p>k specifies a key and v specifies a value. For more information, see <a href="https://help.aliyun.com/document_detail/171326.html">Manage and use configurations</a>.</p>
*
* <strong>example:</strong>
* <p>{"k1":"v1","k2":"v2"}</p>
*/
public Builder data(java.util.Map<String, ?> data) {
this.data = data;
return this;
}
/**
* <p>The description of the instance.</p>
*
* <strong>example:</strong>
* <p>test-desc</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The name of the ConfigMap instance.</p>
*
* <strong>example:</strong>
* <p>test-name</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <p>The ID of the namespace.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder namespaceId(String namespaceId) {
this.namespaceId = namespaceId;
return this;
}
/**
* <p>The application that is associated with the instance.</p>
*/
public Builder relateApps(java.util.List<RelateApps> relateApps) {
this.relateApps = relateApps;
return this;
}
/**
* <p>The time when the instance was last modified.</p>
*
* <strong>example:</strong>
* <p>1593760185111</p>
*/
public Builder updateTime(Long updateTime) {
this.updateTime = updateTime;
return this;
}
public ConfigMaps build() {
return new ConfigMaps(this);
}
}
}
/**
*
* {@link ListNamespacedConfigMapsResponseBody} extends {@link TeaModel}
*
* <p>ListNamespacedConfigMapsResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ConfigMaps")
private java.util.List<ConfigMaps> configMaps;
private Data(Builder builder) {
this.configMaps = builder.configMaps;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return configMaps
*/
public java.util.List<ConfigMaps> getConfigMaps() {
return this.configMaps;
}
public static final class Builder {
private java.util.List<ConfigMaps> configMaps;
private Builder() {
}
private Builder(Data model) {
this.configMaps = model.configMaps;
}
/**
* <p>The ConfigMap instances.</p>
*/
public Builder configMaps(java.util.List<ConfigMaps> configMaps) {
this.configMaps = configMaps;
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/ListPublishedServicesRequest.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 ListPublishedServicesRequest} extends {@link RequestModel}
*
* <p>ListPublishedServicesRequest</p>
*/
public class ListPublishedServicesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppId")
@com.aliyun.core.annotation.Validation(required = true)
private String appId;
private ListPublishedServicesRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
}
public static Builder builder() {
return new Builder();
}
public static ListPublishedServicesRequest 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<ListPublishedServicesRequest, Builder> {
private String appId;
private Builder() {
super();
}
private Builder(ListPublishedServicesRequest 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 ListPublishedServicesRequest build() {
return new ListPublishedServicesRequest(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/ListPublishedServicesResponse.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 ListPublishedServicesResponse} extends {@link TeaModel}
*
* <p>ListPublishedServicesResponse</p>
*/
public class ListPublishedServicesResponse 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 ListPublishedServicesResponseBody body;
private ListPublishedServicesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListPublishedServicesResponse 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 ListPublishedServicesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListPublishedServicesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListPublishedServicesResponseBody body);
@Override
ListPublishedServicesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListPublishedServicesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListPublishedServicesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListPublishedServicesResponse 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(ListPublishedServicesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListPublishedServicesResponse build() {
return new ListPublishedServicesResponse(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/ListPublishedServicesResponseBody.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 ListPublishedServicesResponseBody} extends {@link TeaModel}
*
* <p>ListPublishedServicesResponseBody</p>
*/
public class ListPublishedServicesResponseBody 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 ListPublishedServicesResponseBody(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 ListPublishedServicesResponseBody 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(ListPublishedServicesResponseBody 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 ListPublishedServicesResponseBody build() {
return new ListPublishedServicesResponseBody(this);
}
}
/**
*
* {@link ListPublishedServicesResponseBody} extends {@link TeaModel}
*
* <p>ListPublishedServicesResponseBody</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>The reserved parameter. This parameter does not take effect.</p>
*
* <strong>example:</strong>
* <p>{}</p>
*/
public Builder group2Ip(String group2Ip) {
this.group2Ip = group2Ip;
return this;
}
/**
* <p>The service group that corresponds to the consumed service.</p>
*/
public Builder groups(java.util.List<String> groups) {
this.groups = groups;
return this;
}
/**
* <p>The addresses where 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 services.</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/ListSecretsRequest.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 ListSecretsRequest} extends {@link RequestModel}
*
* <p>ListSecretsRequest</p>
*/
public class ListSecretsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NamespaceId")
@com.aliyun.core.annotation.Validation(required = true)
private String namespaceId;
private ListSecretsRequest(Builder builder) {
super(builder);
this.namespaceId = builder.namespaceId;
}
public static Builder builder() {
return new Builder();
}
public static ListSecretsRequest 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<ListSecretsRequest, Builder> {
private String namespaceId;
private Builder() {
super();
}
private Builder(ListSecretsRequest request) {
super(request);
this.namespaceId = request.namespaceId;
}
/**
* <p>The ID of the namespace in which the Secrets reside. By default, the namespace ID is the same as the region ID.</p>
* <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;
}
@Override
public ListSecretsRequest build() {
return new ListSecretsRequest(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/ListSecretsResponse.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 ListSecretsResponse} extends {@link TeaModel}
*
* <p>ListSecretsResponse</p>
*/
public class ListSecretsResponse 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 ListSecretsResponseBody body;
private ListSecretsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListSecretsResponse 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 ListSecretsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListSecretsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListSecretsResponseBody body);
@Override
ListSecretsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListSecretsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListSecretsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListSecretsResponse 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(ListSecretsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListSecretsResponse build() {
return new ListSecretsResponse(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/ListSecretsResponseBody.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 ListSecretsResponseBody} extends {@link TeaModel}
*
* <p>ListSecretsResponseBody</p>
*/
public class ListSecretsResponseBody 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 ListSecretsResponseBody(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 ListSecretsResponseBody 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(ListSecretsResponseBody 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 data returned.</p>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* <p>The error code returned. 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 "<strong>Error codes</strong>" section in this topic.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Null</p>
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* <p>The returned message. Take note of the following rules:</p>
* <ul>
* <li>If the call is successful, <strong>success</strong> is returned.</li>
* <li>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 call is successful. Valid values:</p>
* <ul>
* <li><strong>true</strong></li>
* <li><strong>false</strong></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 ListSecretsResponseBody build() {
return new ListSecretsResponseBody(this);
}
}
/**
*
* {@link ListSecretsResponseBody} extends {@link TeaModel}
*
* <p>ListSecretsResponseBody</p>
*/
public static class RelateApps extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppId")
private String appId;
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
private RelateApps(Builder builder) {
this.appId = builder.appId;
this.appName = builder.appName;
}
public static Builder builder() {
return new Builder();
}
public static RelateApps create() {
return builder().build();
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
public static final class Builder {
private String appId;
private String appName;
private Builder() {
}
private Builder(RelateApps model) {
this.appId = model.appId;
this.appName = model.appName;
}
/**
* <p>The application ID.</p>
*
* <strong>example:</strong>
* <p>f16b4000-9058-4c22-a49d-49a28f0b****</p>
*/
public Builder appId(String appId) {
this.appId = appId;
return this;
}
/**
* <p>The application name.</p>
*
* <strong>example:</strong>
* <p>test-app</p>
*/
public Builder appName(String appName) {
this.appName = appName;
return this;
}
public RelateApps build() {
return new RelateApps(this);
}
}
}
/**
*
* {@link ListSecretsResponseBody} extends {@link TeaModel}
*
* <p>ListSecretsResponseBody</p>
*/
public static class Secrets extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateTime")
private Long createTime;
@com.aliyun.core.annotation.NameInMap("NamespaceId")
private String namespaceId;
@com.aliyun.core.annotation.NameInMap("RelateApps")
private java.util.List<RelateApps> relateApps;
@com.aliyun.core.annotation.NameInMap("SecretId")
private Long secretId;
@com.aliyun.core.annotation.NameInMap("SecretName")
private String secretName;
@com.aliyun.core.annotation.NameInMap("SecretType")
private String secretType;
@com.aliyun.core.annotation.NameInMap("UpdateTime")
private Long updateTime;
private Secrets(Builder builder) {
this.createTime = builder.createTime;
this.namespaceId = builder.namespaceId;
this.relateApps = builder.relateApps;
this.secretId = builder.secretId;
this.secretName = builder.secretName;
this.secretType = builder.secretType;
this.updateTime = builder.updateTime;
}
public static Builder builder() {
return new Builder();
}
public static Secrets create() {
return builder().build();
}
/**
* @return createTime
*/
public Long getCreateTime() {
return this.createTime;
}
/**
* @return namespaceId
*/
public String getNamespaceId() {
return this.namespaceId;
}
/**
* @return relateApps
*/
public java.util.List<RelateApps> getRelateApps() {
return this.relateApps;
}
/**
* @return secretId
*/
public Long getSecretId() {
return this.secretId;
}
/**
* @return secretName
*/
public String getSecretName() {
return this.secretName;
}
/**
* @return secretType
*/
public String getSecretType() {
return this.secretType;
}
/**
* @return updateTime
*/
public Long getUpdateTime() {
return this.updateTime;
}
public static final class Builder {
private Long createTime;
private String namespaceId;
private java.util.List<RelateApps> relateApps;
private Long secretId;
private String secretName;
private String secretType;
private Long updateTime;
private Builder() {
}
private Builder(Secrets model) {
this.createTime = model.createTime;
this.namespaceId = model.namespaceId;
this.relateApps = model.relateApps;
this.secretId = model.secretId;
this.secretName = model.secretName;
this.secretType = model.secretType;
this.updateTime = model.updateTime;
}
/**
* <p>The time when the Secret was created.</p>
*
* <strong>example:</strong>
* <p>1593760185111</p>
*/
public Builder createTime(Long createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The namespace ID.</p>
*
* <strong>example:</strong>
* <p>cn-beijing:test</p>
*/
public Builder namespaceId(String namespaceId) {
this.namespaceId = namespaceId;
return this;
}
/**
* <p>The associated applications.</p>
*/
public Builder relateApps(java.util.List<RelateApps> relateApps) {
this.relateApps = relateApps;
return this;
}
/**
* <p>The Secret ID.</p>
*
* <strong>example:</strong>
* <p>16</p>
*/
public Builder secretId(Long secretId) {
this.secretId = secretId;
return this;
}
/**
* <p>The Secret name.</p>
*
* <strong>example:</strong>
* <p>registry-auth</p>
*/
public Builder secretName(String secretName) {
this.secretName = secretName;
return this;
}
/**
* <p>The Secret type.</p>
* <p>Set the value to <strong>kubernetes.io/dockerconfigjson</strong>. The value indicates the secret for the username and password of the image repository and is used for authentication when images are pulled during application deployment.</p>
*
* <strong>example:</strong>
* <p>kubernetes.io/dockerconfigjson</p>
*/
public Builder secretType(String secretType) {
this.secretType = secretType;
return this;
}
/**
* <p>The time when the Secret was updated.</p>
*
* <strong>example:</strong>
* <p>1593760185111</p>
*/
public Builder updateTime(Long updateTime) {
this.updateTime = updateTime;
return this;
}
public Secrets build() {
return new Secrets(this);
}
}
}
/**
*
* {@link ListSecretsResponseBody} extends {@link TeaModel}
*
* <p>ListSecretsResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Secrets")
private java.util.List<Secrets> secrets;
private Data(Builder builder) {
this.secrets = builder.secrets;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return secrets
*/
public java.util.List<Secrets> getSecrets() {
return this.secrets;
}
public static final class Builder {
private java.util.List<Secrets> secrets;
private Builder() {
}
private Builder(Data model) {
this.secrets = model.secrets;
}
/**
* <p>The Secrets.</p>
*/
public Builder secrets(java.util.List<Secrets> secrets) {
this.secrets = secrets;
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/ListStaticsQueryResponse.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 ListStaticsQueryResponse} extends {@link TeaModel}
*
* <p>ListStaticsQueryResponse</p>
*/
public class ListStaticsQueryResponse extends Response {
@com.aliyun.core.annotation.NameInMap("length")
private Long length;
@com.aliyun.core.annotation.NameInMap("sort")
private String sort;
@com.aliyun.core.annotation.NameInMap("statics")
private java.util.List<StaticsInfo> statics;
private ListStaticsQueryResponse(BuilderImpl builder) {
super(builder);
this.length = builder.length;
this.sort = builder.sort;
this.statics = builder.statics;
}
public static ListStaticsQueryResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return length
*/
public Long getLength() {
return this.length;
}
/**
* @return sort
*/
public String getSort() {
return this.sort;
}
/**
* @return statics
*/
public java.util.List<StaticsInfo> getStatics() {
return this.statics;
}
public interface Builder extends Response.Builder<ListStaticsQueryResponse, Builder> {
Builder length(Long length);
Builder sort(String sort);
Builder statics(java.util.List<StaticsInfo> statics);
@Override
ListStaticsQueryResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListStaticsQueryResponse, Builder>
implements Builder {
private Long length;
private String sort;
private java.util.List<StaticsInfo> statics;
private BuilderImpl() {
super();
}
private BuilderImpl(ListStaticsQueryResponse response) {
super(response);
this.length = response.length;
this.sort = response.sort;
this.statics = response.statics;
}
/**
* length.
*/
@Override
public Builder length(Long length) {
this.length = length;
return this;
}
/**
* sort.
*/
@Override
public Builder sort(String sort) {
this.sort = sort;
return this;
}
/**
* statics.
*/
@Override
public Builder statics(java.util.List<StaticsInfo> statics) {
this.statics = statics;
return this;
}
@Override
public ListStaticsQueryResponse build() {
return new ListStaticsQueryResponse(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/ListSwimmingLaneGatewayRoutesRequest.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 ListSwimmingLaneGatewayRoutesRequest} extends {@link RequestModel}
*
* <p>ListSwimmingLaneGatewayRoutesRequest</p>
*/
public class ListSwimmingLaneGatewayRoutesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("GatewayUniqueId")
private String gatewayUniqueId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NamespaceId")
private String namespaceId;
private ListSwimmingLaneGatewayRoutesRequest(Builder builder) {
super(builder);
this.gatewayUniqueId = builder.gatewayUniqueId;
this.namespaceId = builder.namespaceId;
}
public static Builder builder() {
return new Builder();
}
public static ListSwimmingLaneGatewayRoutesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayUniqueId
*/
public String getGatewayUniqueId() {
return this.gatewayUniqueId;
}
/**
* @return namespaceId
*/
public String getNamespaceId() {
return this.namespaceId;
}
public static final class Builder extends Request.Builder<ListSwimmingLaneGatewayRoutesRequest, Builder> {
private String gatewayUniqueId;
private String namespaceId;
private Builder() {
super();
}
private Builder(ListSwimmingLaneGatewayRoutesRequest request) {
super(request);
this.gatewayUniqueId = request.gatewayUniqueId;
this.namespaceId = request.namespaceId;
}
/**
* GatewayUniqueId.
*/
public Builder gatewayUniqueId(String gatewayUniqueId) {
this.putQueryParameter("GatewayUniqueId", gatewayUniqueId);
this.gatewayUniqueId = gatewayUniqueId;
return this;
}
/**
* NamespaceId.
*/
public Builder namespaceId(String namespaceId) {
this.putQueryParameter("NamespaceId", namespaceId);
this.namespaceId = namespaceId;
return this;
}
@Override
public ListSwimmingLaneGatewayRoutesRequest build() {
return new ListSwimmingLaneGatewayRoutesRequest(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/ListSwimmingLaneGatewayRoutesResponse.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 ListSwimmingLaneGatewayRoutesResponse} extends {@link TeaModel}
*
* <p>ListSwimmingLaneGatewayRoutesResponse</p>
*/
public class ListSwimmingLaneGatewayRoutesResponse 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 ListSwimmingLaneGatewayRoutesResponseBody body;
private ListSwimmingLaneGatewayRoutesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListSwimmingLaneGatewayRoutesResponse 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 ListSwimmingLaneGatewayRoutesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListSwimmingLaneGatewayRoutesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListSwimmingLaneGatewayRoutesResponseBody body);
@Override
ListSwimmingLaneGatewayRoutesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListSwimmingLaneGatewayRoutesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListSwimmingLaneGatewayRoutesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListSwimmingLaneGatewayRoutesResponse 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(ListSwimmingLaneGatewayRoutesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListSwimmingLaneGatewayRoutesResponse build() {
return new ListSwimmingLaneGatewayRoutesResponse(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/ListSwimmingLaneGatewayRoutesResponseBody.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 ListSwimmingLaneGatewayRoutesResponseBody} extends {@link TeaModel}
*
* <p>ListSwimmingLaneGatewayRoutesResponseBody</p>
*/
public class ListSwimmingLaneGatewayRoutesResponseBody 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 ListSwimmingLaneGatewayRoutesResponseBody(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 ListSwimmingLaneGatewayRoutesResponseBody 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(ListSwimmingLaneGatewayRoutesResponseBody 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 ListSwimmingLaneGatewayRoutesResponseBody build() {
return new ListSwimmingLaneGatewayRoutesResponseBody(this);
}
}
/**
*
* {@link ListSwimmingLaneGatewayRoutesResponseBody} extends {@link TeaModel}
*
* <p>ListSwimmingLaneGatewayRoutesResponseBody</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 ListSwimmingLaneGatewayRoutesResponseBody} extends {@link TeaModel}
*
* <p>ListSwimmingLaneGatewayRoutesResponseBody</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 ListSwimmingLaneGatewayRoutesResponseBody} extends {@link TeaModel}
*
* <p>ListSwimmingLaneGatewayRoutesResponseBody</p>
*/
public static class Data 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 Data(Builder builder) {
this.routeId = builder.routeId;
this.routeName = builder.routeName;
this.routePredicate = builder.routePredicate;
}
public static Builder builder() {
return new Builder();
}
public static Data 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(Data 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 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/ListSwimmingLaneGroupTagsRequest.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 ListSwimmingLaneGroupTagsRequest} extends {@link RequestModel}
*
* <p>ListSwimmingLaneGroupTagsRequest</p>
*/
public class ListSwimmingLaneGroupTagsRequest 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 ListSwimmingLaneGroupTagsRequest(Builder builder) {
super(builder);
this.groupId = builder.groupId;
this.namespaceId = builder.namespaceId;
}
public static Builder builder() {
return new Builder();
}
public static ListSwimmingLaneGroupTagsRequest 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<ListSwimmingLaneGroupTagsRequest, Builder> {
private Long groupId;
private String namespaceId;
private Builder() {
super();
}
private Builder(ListSwimmingLaneGroupTagsRequest 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 ListSwimmingLaneGroupTagsRequest build() {
return new ListSwimmingLaneGroupTagsRequest(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/ListSwimmingLaneGroupTagsResponse.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 ListSwimmingLaneGroupTagsResponse} extends {@link TeaModel}
*
* <p>ListSwimmingLaneGroupTagsResponse</p>
*/
public class ListSwimmingLaneGroupTagsResponse 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 ListSwimmingLaneGroupTagsResponseBody body;
private ListSwimmingLaneGroupTagsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListSwimmingLaneGroupTagsResponse 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 ListSwimmingLaneGroupTagsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListSwimmingLaneGroupTagsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListSwimmingLaneGroupTagsResponseBody body);
@Override
ListSwimmingLaneGroupTagsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListSwimmingLaneGroupTagsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListSwimmingLaneGroupTagsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListSwimmingLaneGroupTagsResponse 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(ListSwimmingLaneGroupTagsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListSwimmingLaneGroupTagsResponse build() {
return new ListSwimmingLaneGroupTagsResponse(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/ListSwimmingLaneGroupTagsResponseBody.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 ListSwimmingLaneGroupTagsResponseBody} extends {@link TeaModel}
*
* <p>ListSwimmingLaneGroupTagsResponseBody</p>
*/
public class ListSwimmingLaneGroupTagsResponseBody 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 ListSwimmingLaneGroupTagsResponseBody(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 ListSwimmingLaneGroupTagsResponseBody 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(ListSwimmingLaneGroupTagsResponseBody 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 ListSwimmingLaneGroupTagsResponseBody build() {
return new ListSwimmingLaneGroupTagsResponseBody(this);
}
}
/**
*
* {@link ListSwimmingLaneGroupTagsResponseBody} extends {@link TeaModel}
*
* <p>ListSwimmingLaneGroupTagsResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Metadata")
private String metadata;
@com.aliyun.core.annotation.NameInMap("Tag")
private String tag;
private Data(Builder builder) {
this.metadata = builder.metadata;
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return metadata
*/
public String getMetadata() {
return this.metadata;
}
/**
* @return tag
*/
public String getTag() {
return this.tag;
}
public static final class Builder {
private String metadata;
private String tag;
private Builder() {
}
private Builder(Data model) {
this.metadata = model.metadata;
this.tag = model.tag;
}
/**
* Metadata.
*/
public Builder metadata(String metadata) {
this.metadata = metadata;
return this;
}
/**
* Tag.
*/
public Builder tag(String tag) {
this.tag = tag;
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/ListTagResourcesRequest.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 ListTagResourcesRequest} extends {@link RequestModel}
*
* <p>ListTagResourcesRequest</p>
*/
public class ListTagResourcesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@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("ResourceIds")
private String resourceIds;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceType")
@com.aliyun.core.annotation.Validation(required = true)
private String resourceType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Tags")
private String tags;
private ListTagResourcesRequest(Builder builder) {
super(builder);
this.nextToken = builder.nextToken;
this.regionId = builder.regionId;
this.resourceIds = builder.resourceIds;
this.resourceType = builder.resourceType;
this.tags = builder.tags;
}
public static Builder builder() {
return new Builder();
}
public static ListTagResourcesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceIds
*/
public String getResourceIds() {
return this.resourceIds;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return tags
*/
public String getTags() {
return this.tags;
}
public static final class Builder extends Request.Builder<ListTagResourcesRequest, Builder> {
private String nextToken;
private String regionId;
private String resourceIds;
private String resourceType;
private String tags;
private Builder() {
super();
}
private Builder(ListTagResourcesRequest request) {
super(request);
this.nextToken = request.nextToken;
this.regionId = request.regionId;
this.resourceIds = request.resourceIds;
this.resourceType = request.resourceType;
this.tags = request.tags;
}
/**
* <p>A maximum of 50 entries can be returned for a query. If a query generates more than 50 entries, the NextToken parameter is returned with the first 50 entries. You can use the NextToken parameter value to retrieve the subsequent entries that are not returned in the current query result.</p>
*
* <strong>example:</strong>
* <p>A2RN</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
/**
* <p>The region ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-beijing</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>The resource ID. Separate multiple resource IDs with comma (,). This parameter is required if you do not specify the <strong>Tags</strong> parameter.</p>
*
* <strong>example:</strong>
* <p>["d42921c4-5433-4abd-8075-0e536f8b****"]</p>
*/
public Builder resourceIds(String resourceIds) {
this.putQueryParameter("ResourceIds", resourceIds);
this.resourceIds = resourceIds;
return this;
}
/**
* <p>The type of the resource. Set the value to <code>application</code>.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>application</p>
*/
public Builder resourceType(String resourceType) {
this.putQueryParameter("ResourceType", resourceType);
this.resourceType = resourceType;
return this;
}
/**
* <p>The tag in the format of a key-value pair. This parameter is required if you do not specify the <strong>ResourceIds</strong> parameter. The following parameters are involved:</p>
* <ul>
* <li><strong>key</strong>: the tag key. It cannot exceed 128 characters in length.</li>
* <li><strong>value</strong>: the tag value. It cannot exceed 128 characters in length.</li>
* </ul>
* <p>Tag keys and tag values are case-sensitive. If you specify multiple tags, the system adds all the tags to the specified resources. Each tag key on a resource can have only one tag value. If you create a tag that has the same key as an existing tag, the value of the existing tag is overwritten.</p>
* <p>Tag keys and tag values cannot start with <code>aliyun</code> or <code>acs:</code>, and cannot contain <code>http://</code> or <code>https://</code>.</p>
*
* <strong>example:</strong>
* <p>[{"key":"k1","value":"v1"}]</p>
*/
public Builder tags(String tags) {
this.putQueryParameter("Tags", tags);
this.tags = tags;
return this;
}
@Override
public ListTagResourcesRequest build() {
return new ListTagResourcesRequest(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/ListTagResourcesResponse.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 ListTagResourcesResponse} extends {@link TeaModel}
*
* <p>ListTagResourcesResponse</p>
*/
public class ListTagResourcesResponse 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 ListTagResourcesResponseBody body;
private ListTagResourcesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListTagResourcesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListTagResourcesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListTagResourcesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListTagResourcesResponseBody body);
@Override
ListTagResourcesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListTagResourcesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListTagResourcesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListTagResourcesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListTagResourcesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListTagResourcesResponse build() {
return new ListTagResourcesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506 | java-sources/com/aliyun/alibabacloud-sae20190506/2.0.16/com/aliyun/sdk/service/sae20190506/models/ListTagResourcesResponseBody.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 ListTagResourcesResponseBody} extends {@link TeaModel}
*
* <p>ListTagResourcesResponseBody</p>
*/
public class ListTagResourcesResponseBody 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 ListTagResourcesResponseBody(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 ListTagResourcesResponseBody 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(ListTagResourcesResponseBody 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 returned data.</p>
*/
public Builder data(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>7414187F-4F59-4585-9BCF-5F0804E4****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Indicates whether the mapping relationships between applications and tags were queried. Valid values:</p>
* <ul>
* <li><strong>true</strong>: The mapping relationships were queried.</li>
* <li><strong>false</strong>: The mapping relationships 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>0bc5f84e15916043198032146d****</p>
*/
public Builder traceId(String traceId) {
this.traceId = traceId;
return this;
}
public ListTagResourcesResponseBody build() {
return new ListTagResourcesResponseBody(this);
}
}
/**
*
* {@link ListTagResourcesResponseBody} extends {@link TeaModel}
*
* <p>ListTagResourcesResponseBody</p>
*/
public static class TagResources extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ResourceId")
private String resourceId;
@com.aliyun.core.annotation.NameInMap("ResourceType")
private String resourceType;
@com.aliyun.core.annotation.NameInMap("TagKey")
private String tagKey;
@com.aliyun.core.annotation.NameInMap("TagValue")
private String tagValue;
private TagResources(Builder builder) {
this.resourceId = builder.resourceId;
this.resourceType = builder.resourceType;
this.tagKey = builder.tagKey;
this.tagValue = builder.tagValue;
}
public static Builder builder() {
return new Builder();
}
public static TagResources create() {
return builder().build();
}
/**
* @return resourceId
*/
public String getResourceId() {
return this.resourceId;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return tagKey
*/
public String getTagKey() {
return this.tagKey;
}
/**
* @return tagValue
*/
public String getTagValue() {
return this.tagValue;
}
public static final class Builder {
private String resourceId;
private String resourceType;
private String tagKey;
private String tagValue;
private Builder() {
}
private Builder(TagResources model) {
this.resourceId = model.resourceId;
this.resourceType = model.resourceType;
this.tagKey = model.tagKey;
this.tagValue = model.tagValue;
}
/**
* <p>The ID of the application.</p>
*
* <strong>example:</strong>
* <p>d42921c4-5433-4abd-8075-0e536f8b****</p>
*/
public Builder resourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}
/**
* <p>The type of the resource. Valid value: <code>application</code>.</p>
*
* <strong>example:</strong>
* <p>ALIYUN::SAE::APPLICATION</p>
*/
public Builder resourceType(String resourceType) {
this.resourceType = resourceType;
return this;
}
/**
* <p>The key of the tag.</p>
*
* <strong>example:</strong>
* <p>k1</p>
*/
public Builder tagKey(String tagKey) {
this.tagKey = tagKey;
return this;
}
/**
* <p>The value of the tag.</p>
*
* <strong>example:</strong>
* <p>v1</p>
*/
public Builder tagValue(String tagValue) {
this.tagValue = tagValue;
return this;
}
public TagResources build() {
return new TagResources(this);
}
}
}
/**
*
* {@link ListTagResourcesResponseBody} extends {@link TeaModel}
*
* <p>ListTagResourcesResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.NameInMap("TagResources")
private java.util.List<TagResources> tagResources;
private Data(Builder builder) {
this.nextToken = builder.nextToken;
this.tagResources = builder.tagResources;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return tagResources
*/
public java.util.List<TagResources> getTagResources() {
return this.tagResources;
}
public static final class Builder {
private String nextToken;
private java.util.List<TagResources> tagResources;
private Builder() {
}
private Builder(Data model) {
this.nextToken = model.nextToken;
this.tagResources = model.tagResources;
}
/**
* <p>A maximum of 50 entries can be returned for a query. If a query generates more than 50 entries, the NextToken parameter is returned with the first 50 entries. You can use the NextToken parameter value to retrieve the subsequent entries that are not returned in the current query result.</p>
*
* <strong>example:</strong>
* <p>""</p>
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* <p>The mapping relationships between applications and tags.</p>
*/
public Builder tagResources(java.util.List<TagResources> tagResources) {
this.tagResources = tagResources;
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/ListWebApplicationInstancesBody.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 ListWebApplicationInstancesBody} extends {@link TeaModel}
*
* <p>ListWebApplicationInstancesBody</p>
*/
public class ListWebApplicationInstancesBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private ListWebInstancesOutput 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 ListWebApplicationInstancesBody(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 ListWebApplicationInstancesBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public ListWebInstancesOutput 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 Integer code;
private ListWebInstancesOutput data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(ListWebApplicationInstancesBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(ListWebInstancesOutput data) {
this.data = data;
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 ListWebApplicationInstancesBody build() {
return new ListWebApplicationInstancesBody(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/ListWebApplicationInstancesRequest.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 ListWebApplicationInstancesRequest} extends {@link RequestModel}
*
* <p>ListWebApplicationInstancesRequest</p>
*/
public class ListWebApplicationInstancesRequest 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.Query
@com.aliyun.core.annotation.NameInMap("EndTime")
private Long endTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InstanceIds")
private java.util.List<String> instanceIds;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Limit")
private String limit;
@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("StartTime")
private Long startTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Statuses")
private java.util.List<String> statuses;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VersionIds")
private java.util.List<String> versionIds;
private ListWebApplicationInstancesRequest(Builder builder) {
super(builder);
this.applicationId = builder.applicationId;
this.endTime = builder.endTime;
this.instanceIds = builder.instanceIds;
this.limit = builder.limit;
this.namespaceId = builder.namespaceId;
this.startTime = builder.startTime;
this.statuses = builder.statuses;
this.versionIds = builder.versionIds;
}
public static Builder builder() {
return new Builder();
}
public static ListWebApplicationInstancesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return applicationId
*/
public String getApplicationId() {
return this.applicationId;
}
/**
* @return endTime
*/
public Long getEndTime() {
return this.endTime;
}
/**
* @return instanceIds
*/
public java.util.List<String> getInstanceIds() {
return this.instanceIds;
}
/**
* @return limit
*/
public String getLimit() {
return this.limit;
}
/**
* @return namespaceId
*/
public String getNamespaceId() {
return this.namespaceId;
}
/**
* @return startTime
*/
public Long getStartTime() {
return this.startTime;
}
/**
* @return statuses
*/
public java.util.List<String> getStatuses() {
return this.statuses;
}
/**
* @return versionIds
*/
public java.util.List<String> getVersionIds() {
return this.versionIds;
}
public static final class Builder extends Request.Builder<ListWebApplicationInstancesRequest, Builder> {
private String applicationId;
private Long endTime;
private java.util.List<String> instanceIds;
private String limit;
private String namespaceId;
private Long startTime;
private java.util.List<String> statuses;
private java.util.List<String> versionIds;
private Builder() {
super();
}
private Builder(ListWebApplicationInstancesRequest request) {
super(request);
this.applicationId = request.applicationId;
this.endTime = request.endTime;
this.instanceIds = request.instanceIds;
this.limit = request.limit;
this.namespaceId = request.namespaceId;
this.startTime = request.startTime;
this.statuses = request.statuses;
this.versionIds = request.versionIds;
}
/**
* <p>The application ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>614a6500-fddb-464d-a549-408a07******</p>
*/
public Builder applicationId(String applicationId) {
this.putPathParameter("ApplicationId", applicationId);
this.applicationId = applicationId;
return this;
}
/**
* <p>The time when the operation ended.</p>
*
* <strong>example:</strong>
* <p>1715567192</p>
*/
public Builder endTime(Long endTime) {
this.putQueryParameter("EndTime", endTime);
this.endTime = endTime;
return this;
}
/**
* <p>The instance ID.</p>
*
* <strong>example:</strong>
* <p>c-667d143a-17b4e0fa-46d3a2******</p>
*/
public Builder instanceIds(java.util.List<String> instanceIds) {
String instanceIdsShrink = shrink(instanceIds, "InstanceIds", "json");
this.putQueryParameter("InstanceIds", instanceIdsShrink);
this.instanceIds = instanceIds;
return this;
}
/**
* <p>The number of application instances returned.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder limit(String limit) {
this.putQueryParameter("Limit", limit);
this.limit = limit;
return this;
}
/**
* <p>The namespace ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder namespaceId(String namespaceId) {
this.putQueryParameter("NamespaceId", namespaceId);
this.namespaceId = namespaceId;
return this;
}
/**
* <p>The time when the task was created.</p>
*
* <strong>example:</strong>
* <p>1562831689704</p>
*/
public Builder startTime(Long startTime) {
this.putQueryParameter("StartTime", startTime);
this.startTime = startTime;
return this;
}
/**
* <p>The status of the application instance.</p>
*/
public Builder statuses(java.util.List<String> statuses) {
String statusesShrink = shrink(statuses, "Statuses", "json");
this.putQueryParameter("Statuses", statusesShrink);
this.statuses = statuses;
return this;
}
/**
* <p>The ID of the application version.</p>
*
* <strong>example:</strong>
* <p>001</p>
*/
public Builder versionIds(java.util.List<String> versionIds) {
String versionIdsShrink = shrink(versionIds, "VersionIds", "json");
this.putQueryParameter("VersionIds", versionIdsShrink);
this.versionIds = versionIds;
return this;
}
@Override
public ListWebApplicationInstancesRequest build() {
return new ListWebApplicationInstancesRequest(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/ListWebApplicationInstancesResponse.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 ListWebApplicationInstancesResponse} extends {@link TeaModel}
*
* <p>ListWebApplicationInstancesResponse</p>
*/
public class ListWebApplicationInstancesResponse 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 ListWebApplicationInstancesBody body;
private ListWebApplicationInstancesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListWebApplicationInstancesResponse 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 ListWebApplicationInstancesBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListWebApplicationInstancesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListWebApplicationInstancesBody body);
@Override
ListWebApplicationInstancesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListWebApplicationInstancesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListWebApplicationInstancesBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListWebApplicationInstancesResponse 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(ListWebApplicationInstancesBody body) {
this.body = body;
return this;
}
@Override
public ListWebApplicationInstancesResponse build() {
return new ListWebApplicationInstancesResponse(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/ListWebApplicationRevisionsBody.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 ListWebApplicationRevisionsBody} extends {@link TeaModel}
*
* <p>ListWebApplicationRevisionsBody</p>
*/
public class ListWebApplicationRevisionsBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private ListWebApplicationRevisionsOutput 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 ListWebApplicationRevisionsBody(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 ListWebApplicationRevisionsBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public ListWebApplicationRevisionsOutput 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 Integer code;
private ListWebApplicationRevisionsOutput data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(ListWebApplicationRevisionsBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(ListWebApplicationRevisionsOutput data) {
this.data = data;
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 ListWebApplicationRevisionsBody build() {
return new ListWebApplicationRevisionsBody(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/ListWebApplicationRevisionsOutput.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 ListWebApplicationRevisionsOutput} extends {@link TeaModel}
*
* <p>ListWebApplicationRevisionsOutput</p>
*/
public class ListWebApplicationRevisionsOutput extends TeaModel {
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.NameInMap("Revisions")
private java.util.List<Revision> revisions;
private ListWebApplicationRevisionsOutput(Builder builder) {
this.nextToken = builder.nextToken;
this.revisions = builder.revisions;
}
public static Builder builder() {
return new Builder();
}
public static ListWebApplicationRevisionsOutput create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return revisions
*/
public java.util.List<Revision> getRevisions() {
return this.revisions;
}
public static final class Builder {
private String nextToken;
private java.util.List<Revision> revisions;
private Builder() {
}
private Builder(ListWebApplicationRevisionsOutput model) {
this.nextToken = model.nextToken;
this.revisions = model.revisions;
}
/**
* NextToken.
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* Revisions.
*/
public Builder revisions(java.util.List<Revision> revisions) {
this.revisions = revisions;
return this;
}
public ListWebApplicationRevisionsOutput build() {
return new ListWebApplicationRevisionsOutput(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/ListWebApplicationRevisionsRequest.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 ListWebApplicationRevisionsRequest} extends {@link RequestModel}
*
* <p>ListWebApplicationRevisionsRequest</p>
*/
public class ListWebApplicationRevisionsRequest 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.Query
@com.aliyun.core.annotation.NameInMap("Limit")
private Integer limit;
@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("NextToken")
private String nextToken;
private ListWebApplicationRevisionsRequest(Builder builder) {
super(builder);
this.applicationId = builder.applicationId;
this.limit = builder.limit;
this.namespaceId = builder.namespaceId;
this.nextToken = builder.nextToken;
}
public static Builder builder() {
return new Builder();
}
public static ListWebApplicationRevisionsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return applicationId
*/
public String getApplicationId() {
return this.applicationId;
}
/**
* @return limit
*/
public Integer getLimit() {
return this.limit;
}
/**
* @return namespaceId
*/
public String getNamespaceId() {
return this.namespaceId;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
public static final class Builder extends Request.Builder<ListWebApplicationRevisionsRequest, Builder> {
private String applicationId;
private Integer limit;
private String namespaceId;
private String nextToken;
private Builder() {
super();
}
private Builder(ListWebApplicationRevisionsRequest request) {
super(request);
this.applicationId = request.applicationId;
this.limit = request.limit;
this.namespaceId = request.namespaceId;
this.nextToken = request.nextToken;
}
/**
* <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 number of applications returned.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder limit(Integer limit) {
this.putQueryParameter("Limit", limit);
this.limit = limit;
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;
}
/**
* <p>The pagination token.</p>
*
* <strong>example:</strong>
* <p>A2RN</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
@Override
public ListWebApplicationRevisionsRequest build() {
return new ListWebApplicationRevisionsRequest(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/ListWebApplicationRevisionsResponse.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 ListWebApplicationRevisionsResponse} extends {@link TeaModel}
*
* <p>ListWebApplicationRevisionsResponse</p>
*/
public class ListWebApplicationRevisionsResponse 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 ListWebApplicationRevisionsBody body;
private ListWebApplicationRevisionsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListWebApplicationRevisionsResponse 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 ListWebApplicationRevisionsBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListWebApplicationRevisionsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListWebApplicationRevisionsBody body);
@Override
ListWebApplicationRevisionsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListWebApplicationRevisionsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListWebApplicationRevisionsBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListWebApplicationRevisionsResponse 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(ListWebApplicationRevisionsBody body) {
this.body = body;
return this;
}
@Override
public ListWebApplicationRevisionsResponse build() {
return new ListWebApplicationRevisionsResponse(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/ListWebApplicationsBody.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 ListWebApplicationsBody} extends {@link TeaModel}
*
* <p>ListWebApplicationsBody</p>
*/
public class ListWebApplicationsBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private ListWebApplicationsOutput 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 ListWebApplicationsBody(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 ListWebApplicationsBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public ListWebApplicationsOutput 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 Integer code;
private ListWebApplicationsOutput data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(ListWebApplicationsBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(ListWebApplicationsOutput data) {
this.data = data;
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 ListWebApplicationsBody build() {
return new ListWebApplicationsBody(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/ListWebApplicationsOutput.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 ListWebApplicationsOutput} extends {@link TeaModel}
*
* <p>ListWebApplicationsOutput</p>
*/
public class ListWebApplicationsOutput extends TeaModel {
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.NameInMap("WebApplicationWithInstanceCount")
private java.util.List<WebApplicationWithInstanceCount> webApplicationWithInstanceCount;
private ListWebApplicationsOutput(Builder builder) {
this.nextToken = builder.nextToken;
this.webApplicationWithInstanceCount = builder.webApplicationWithInstanceCount;
}
public static Builder builder() {
return new Builder();
}
public static ListWebApplicationsOutput create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return webApplicationWithInstanceCount
*/
public java.util.List<WebApplicationWithInstanceCount> getWebApplicationWithInstanceCount() {
return this.webApplicationWithInstanceCount;
}
public static final class Builder {
private String nextToken;
private java.util.List<WebApplicationWithInstanceCount> webApplicationWithInstanceCount;
private Builder() {
}
private Builder(ListWebApplicationsOutput model) {
this.nextToken = model.nextToken;
this.webApplicationWithInstanceCount = model.webApplicationWithInstanceCount;
}
/**
* NextToken.
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* WebApplicationWithInstanceCount.
*/
public Builder webApplicationWithInstanceCount(java.util.List<WebApplicationWithInstanceCount> webApplicationWithInstanceCount) {
this.webApplicationWithInstanceCount = webApplicationWithInstanceCount;
return this;
}
public ListWebApplicationsOutput build() {
return new ListWebApplicationsOutput(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/ListWebApplicationsRequest.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 ListWebApplicationsRequest} extends {@link RequestModel}
*
* <p>ListWebApplicationsRequest</p>
*/
public class ListWebApplicationsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Limit")
private Integer limit;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NamespaceId")
private String namespaceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Prefix")
private String prefix;
private ListWebApplicationsRequest(Builder builder) {
super(builder);
this.limit = builder.limit;
this.namespaceId = builder.namespaceId;
this.nextToken = builder.nextToken;
this.prefix = builder.prefix;
}
public static Builder builder() {
return new Builder();
}
public static ListWebApplicationsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return limit
*/
public Integer getLimit() {
return this.limit;
}
/**
* @return namespaceId
*/
public String getNamespaceId() {
return this.namespaceId;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return prefix
*/
public String getPrefix() {
return this.prefix;
}
public static final class Builder extends Request.Builder<ListWebApplicationsRequest, Builder> {
private Integer limit;
private String namespaceId;
private String nextToken;
private String prefix;
private Builder() {
super();
}
private Builder(ListWebApplicationsRequest request) {
super(request);
this.limit = request.limit;
this.namespaceId = request.namespaceId;
this.nextToken = request.nextToken;
this.prefix = request.prefix;
}
/**
* <p>The number of applications returned.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder limit(Integer limit) {
this.putQueryParameter("Limit", limit);
this.limit = limit;
return this;
}
/**
* <p>The namespace 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 pagination token.</p>
*
* <strong>example:</strong>
* <p>MTIzNCNhYmM</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
/**
* <p>The prefix of the application name.</p>
*
* <strong>example:</strong>
* <p>my-application</p>
*/
public Builder prefix(String prefix) {
this.putQueryParameter("Prefix", prefix);
this.prefix = prefix;
return this;
}
@Override
public ListWebApplicationsRequest build() {
return new ListWebApplicationsRequest(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/ListWebApplicationsResponse.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 ListWebApplicationsResponse} extends {@link TeaModel}
*
* <p>ListWebApplicationsResponse</p>
*/
public class ListWebApplicationsResponse 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 ListWebApplicationsBody body;
private ListWebApplicationsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListWebApplicationsResponse 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 ListWebApplicationsBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListWebApplicationsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListWebApplicationsBody body);
@Override
ListWebApplicationsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListWebApplicationsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListWebApplicationsBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListWebApplicationsResponse 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(ListWebApplicationsBody body) {
this.body = body;
return this;
}
@Override
public ListWebApplicationsResponse build() {
return new ListWebApplicationsResponse(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/ListWebCustomDomainBody.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 ListWebCustomDomainBody} extends {@link TeaModel}
*
* <p>ListWebCustomDomainBody</p>
*/
public class ListWebCustomDomainBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private ListWebCustomDomainOutput 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 ListWebCustomDomainBody(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 ListWebCustomDomainBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public ListWebCustomDomainOutput 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 Integer code;
private ListWebCustomDomainOutput data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(ListWebCustomDomainBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(ListWebCustomDomainOutput data) {
this.data = data;
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 ListWebCustomDomainBody build() {
return new ListWebCustomDomainBody(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/ListWebCustomDomainOutput.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 ListWebCustomDomainOutput} extends {@link TeaModel}
*
* <p>ListWebCustomDomainOutput</p>
*/
public class ListWebCustomDomainOutput extends TeaModel {
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.NameInMap("WebCustomDomains")
private java.util.List<WebCustomDomain> webCustomDomains;
private ListWebCustomDomainOutput(Builder builder) {
this.nextToken = builder.nextToken;
this.webCustomDomains = builder.webCustomDomains;
}
public static Builder builder() {
return new Builder();
}
public static ListWebCustomDomainOutput create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return webCustomDomains
*/
public java.util.List<WebCustomDomain> getWebCustomDomains() {
return this.webCustomDomains;
}
public static final class Builder {
private String nextToken;
private java.util.List<WebCustomDomain> webCustomDomains;
private Builder() {
}
private Builder(ListWebCustomDomainOutput model) {
this.nextToken = model.nextToken;
this.webCustomDomains = model.webCustomDomains;
}
/**
* NextToken.
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* WebCustomDomains.
*/
public Builder webCustomDomains(java.util.List<WebCustomDomain> webCustomDomains) {
this.webCustomDomains = webCustomDomains;
return this;
}
public ListWebCustomDomainOutput build() {
return new ListWebCustomDomainOutput(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/ListWebCustomDomainsRequest.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 ListWebCustomDomainsRequest} extends {@link RequestModel}
*
* <p>ListWebCustomDomainsRequest</p>
*/
public class ListWebCustomDomainsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ApplicationId")
private String applicationId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Limit")
private Integer limit;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NamespaceId")
private String namespaceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Prefix")
private String prefix;
private ListWebCustomDomainsRequest(Builder builder) {
super(builder);
this.applicationId = builder.applicationId;
this.limit = builder.limit;
this.namespaceId = builder.namespaceId;
this.nextToken = builder.nextToken;
this.prefix = builder.prefix;
}
public static Builder builder() {
return new Builder();
}
public static ListWebCustomDomainsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return applicationId
*/
public String getApplicationId() {
return this.applicationId;
}
/**
* @return limit
*/
public Integer getLimit() {
return this.limit;
}
/**
* @return namespaceId
*/
public String getNamespaceId() {
return this.namespaceId;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return prefix
*/
public String getPrefix() {
return this.prefix;
}
public static final class Builder extends Request.Builder<ListWebCustomDomainsRequest, Builder> {
private String applicationId;
private Integer limit;
private String namespaceId;
private String nextToken;
private String prefix;
private Builder() {
super();
}
private Builder(ListWebCustomDomainsRequest request) {
super(request);
this.applicationId = request.applicationId;
this.limit = request.limit;
this.namespaceId = request.namespaceId;
this.nextToken = request.nextToken;
this.prefix = request.prefix;
}
/**
* <p>The application ID.</p>
*
* <strong>example:</strong>
* <p>7e41aff0-9eca-45c9-ac48-675e09******</p>
*/
public Builder applicationId(String applicationId) {
this.putQueryParameter("ApplicationId", applicationId);
this.applicationId = applicationId;
return this;
}
/**
* <p>The number of custom domain names returned.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder limit(Integer limit) {
this.putQueryParameter("Limit", limit);
this.limit = limit;
return this;
}
/**
* <p>The namespace ID.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder namespaceId(String namespaceId) {
this.putQueryParameter("NamespaceId", namespaceId);
this.namespaceId = namespaceId;
return this;
}
/**
* <p>The pagination token.</p>
*
* <strong>example:</strong>
* <p>A2RN</p>
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
/**
* <p>The prefix of the custom domain name that you want to query.</p>
*
* <strong>example:</strong>
* <p>remoteresult</p>
*/
public Builder prefix(String prefix) {
this.putQueryParameter("Prefix", prefix);
this.prefix = prefix;
return this;
}
@Override
public ListWebCustomDomainsRequest build() {
return new ListWebCustomDomainsRequest(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/ListWebCustomDomainsResponse.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 ListWebCustomDomainsResponse} extends {@link TeaModel}
*
* <p>ListWebCustomDomainsResponse</p>
*/
public class ListWebCustomDomainsResponse 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 ListWebCustomDomainBody body;
private ListWebCustomDomainsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListWebCustomDomainsResponse 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 ListWebCustomDomainBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListWebCustomDomainsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListWebCustomDomainBody body);
@Override
ListWebCustomDomainsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListWebCustomDomainsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListWebCustomDomainBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListWebCustomDomainsResponse 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(ListWebCustomDomainBody body) {
this.body = body;
return this;
}
@Override
public ListWebCustomDomainsResponse build() {
return new ListWebCustomDomainsResponse(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/ListWebInstancesOutput.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 ListWebInstancesOutput} extends {@link TeaModel}
*
* <p>ListWebInstancesOutput</p>
*/
public class ListWebInstancesOutput extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CurrentError")
private String currentError;
@com.aliyun.core.annotation.NameInMap("WebInstances")
private java.util.List<WebInstanceInfo> webInstances;
@com.aliyun.core.annotation.NameInMap("WebVersionStatus")
private java.util.Map<String, WebVersionStatus> webVersionStatus;
private ListWebInstancesOutput(Builder builder) {
this.currentError = builder.currentError;
this.webInstances = builder.webInstances;
this.webVersionStatus = builder.webVersionStatus;
}
public static Builder builder() {
return new Builder();
}
public static ListWebInstancesOutput create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return currentError
*/
public String getCurrentError() {
return this.currentError;
}
/**
* @return webInstances
*/
public java.util.List<WebInstanceInfo> getWebInstances() {
return this.webInstances;
}
/**
* @return webVersionStatus
*/
public java.util.Map<String, WebVersionStatus> getWebVersionStatus() {
return this.webVersionStatus;
}
public static final class Builder {
private String currentError;
private java.util.List<WebInstanceInfo> webInstances;
private java.util.Map<String, WebVersionStatus> webVersionStatus;
private Builder() {
}
private Builder(ListWebInstancesOutput model) {
this.currentError = model.currentError;
this.webInstances = model.webInstances;
this.webVersionStatus = model.webVersionStatus;
}
/**
* CurrentError.
*/
public Builder currentError(String currentError) {
this.currentError = currentError;
return this;
}
/**
* WebInstances.
*/
public Builder webInstances(java.util.List<WebInstanceInfo> webInstances) {
this.webInstances = webInstances;
return this;
}
/**
* WebVersionStatus.
*/
public Builder webVersionStatus(java.util.Map<String, WebVersionStatus> webVersionStatus) {
this.webVersionStatus = webVersionStatus;
return this;
}
public ListWebInstancesOutput build() {
return new ListWebInstancesOutput(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/LogConfig.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 LogConfig} extends {@link TeaModel}
*
* <p>LogConfig</p>
*/
public class LogConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("enableInstanceMetrics")
private Boolean enableInstanceMetrics;
@com.aliyun.core.annotation.NameInMap("enableRequestMetrics")
private Boolean enableRequestMetrics;
@com.aliyun.core.annotation.NameInMap("logBeginRule")
private String logBeginRule;
@com.aliyun.core.annotation.NameInMap("logstore")
@com.aliyun.core.annotation.Validation(maxLength = 63)
private String logstore;
@com.aliyun.core.annotation.NameInMap("project")
@com.aliyun.core.annotation.Validation(maxLength = 63)
private String project;
@com.aliyun.core.annotation.NameInMap("pushToUserSLS")
private Boolean pushToUserSLS;
private LogConfig(Builder builder) {
this.enableInstanceMetrics = builder.enableInstanceMetrics;
this.enableRequestMetrics = builder.enableRequestMetrics;
this.logBeginRule = builder.logBeginRule;
this.logstore = builder.logstore;
this.project = builder.project;
this.pushToUserSLS = builder.pushToUserSLS;
}
public static Builder builder() {
return new Builder();
}
public static LogConfig create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return enableInstanceMetrics
*/
public Boolean getEnableInstanceMetrics() {
return this.enableInstanceMetrics;
}
/**
* @return enableRequestMetrics
*/
public Boolean getEnableRequestMetrics() {
return this.enableRequestMetrics;
}
/**
* @return logBeginRule
*/
public String getLogBeginRule() {
return this.logBeginRule;
}
/**
* @return logstore
*/
public String getLogstore() {
return this.logstore;
}
/**
* @return project
*/
public String getProject() {
return this.project;
}
/**
* @return pushToUserSLS
*/
public Boolean getPushToUserSLS() {
return this.pushToUserSLS;
}
public static final class Builder {
private Boolean enableInstanceMetrics;
private Boolean enableRequestMetrics;
private String logBeginRule;
private String logstore;
private String project;
private Boolean pushToUserSLS;
private Builder() {
}
private Builder(LogConfig model) {
this.enableInstanceMetrics = model.enableInstanceMetrics;
this.enableRequestMetrics = model.enableRequestMetrics;
this.logBeginRule = model.logBeginRule;
this.logstore = model.logstore;
this.project = model.project;
this.pushToUserSLS = model.pushToUserSLS;
}
/**
* enableInstanceMetrics.
*/
public Builder enableInstanceMetrics(Boolean enableInstanceMetrics) {
this.enableInstanceMetrics = enableInstanceMetrics;
return this;
}
/**
* enableRequestMetrics.
*/
public Builder enableRequestMetrics(Boolean enableRequestMetrics) {
this.enableRequestMetrics = enableRequestMetrics;
return this;
}
/**
* logBeginRule.
*/
public Builder logBeginRule(String logBeginRule) {
this.logBeginRule = logBeginRule;
return this;
}
/**
* logstore.
*/
public Builder logstore(String logstore) {
this.logstore = logstore;
return this;
}
/**
* project.
*/
public Builder project(String project) {
this.project = project;
return this;
}
/**
* pushToUserSLS.
*/
public Builder pushToUserSLS(Boolean pushToUserSLS) {
this.pushToUserSLS = pushToUserSLS;
return this;
}
public LogConfig build() {
return new LogConfig(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/LogEntry.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 LogEntry} extends {@link TeaModel}
*
* <p>LogEntry</p>
*/
public class LogEntry extends TeaModel {
@com.aliyun.core.annotation.NameInMap("instanceID")
private String instanceID;
@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("qualifier")
private String qualifier;
@com.aliyun.core.annotation.NameInMap("timestamp")
private Integer timestamp;
@com.aliyun.core.annotation.NameInMap("versionID")
private String versionID;
private LogEntry(Builder builder) {
this.instanceID = builder.instanceID;
this.message = builder.message;
this.offset = builder.offset;
this.packID = builder.packID;
this.packMeta = builder.packMeta;
this.qualifier = builder.qualifier;
this.timestamp = builder.timestamp;
this.versionID = builder.versionID;
}
public static Builder builder() {
return new Builder();
}
public static LogEntry create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceID
*/
public String getInstanceID() {
return this.instanceID;
}
/**
* @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 qualifier
*/
public String getQualifier() {
return this.qualifier;
}
/**
* @return timestamp
*/
public Integer getTimestamp() {
return this.timestamp;
}
/**
* @return versionID
*/
public String getVersionID() {
return this.versionID;
}
public static final class Builder {
private String instanceID;
private String message;
private Long offset;
private String packID;
private String packMeta;
private String qualifier;
private Integer timestamp;
private String versionID;
private Builder() {
}
private Builder(LogEntry model) {
this.instanceID = model.instanceID;
this.message = model.message;
this.offset = model.offset;
this.packID = model.packID;
this.packMeta = model.packMeta;
this.qualifier = model.qualifier;
this.timestamp = model.timestamp;
this.versionID = model.versionID;
}
/**
* instanceID.
*/
public Builder instanceID(String instanceID) {
this.instanceID = instanceID;
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;
}
/**
* qualifier.
*/
public Builder qualifier(String qualifier) {
this.qualifier = qualifier;
return this;
}
/**
* timestamp.
*/
public Builder timestamp(Integer timestamp) {
this.timestamp = timestamp;
return this;
}
/**
* versionID.
*/
public Builder versionID(String versionID) {
this.versionID = versionID;
return this;
}
public LogEntry build() {
return new LogEntry(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/MetricInfo.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 MetricInfo} extends {@link TeaModel}
*
* <p>MetricInfo</p>
*/
public class MetricInfo extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Average")
private Float average;
@com.aliyun.core.annotation.NameInMap("Count")
private Float count;
@com.aliyun.core.annotation.NameInMap("Maximum")
private Float maximum;
@com.aliyun.core.annotation.NameInMap("Minimum")
private Float minimum;
@com.aliyun.core.annotation.NameInMap("Sum")
private Float sum;
@com.aliyun.core.annotation.NameInMap("timestamp")
private Long timestamp;
@com.aliyun.core.annotation.NameInMap("value")
private Float value;
private MetricInfo(Builder builder) {
this.average = builder.average;
this.count = builder.count;
this.maximum = builder.maximum;
this.minimum = builder.minimum;
this.sum = builder.sum;
this.timestamp = builder.timestamp;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static MetricInfo create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return average
*/
public Float getAverage() {
return this.average;
}
/**
* @return count
*/
public Float getCount() {
return this.count;
}
/**
* @return maximum
*/
public Float getMaximum() {
return this.maximum;
}
/**
* @return minimum
*/
public Float getMinimum() {
return this.minimum;
}
/**
* @return sum
*/
public Float getSum() {
return this.sum;
}
/**
* @return timestamp
*/
public Long getTimestamp() {
return this.timestamp;
}
/**
* @return value
*/
public Float getValue() {
return this.value;
}
public static final class Builder {
private Float average;
private Float count;
private Float maximum;
private Float minimum;
private Float sum;
private Long timestamp;
private Float value;
private Builder() {
}
private Builder(MetricInfo model) {
this.average = model.average;
this.count = model.count;
this.maximum = model.maximum;
this.minimum = model.minimum;
this.sum = model.sum;
this.timestamp = model.timestamp;
this.value = model.value;
}
/**
* Average.
*/
public Builder average(Float average) {
this.average = average;
return this;
}
/**
* Count.
*/
public Builder count(Float count) {
this.count = count;
return this;
}
/**
* Maximum.
*/
public Builder maximum(Float maximum) {
this.maximum = maximum;
return this;
}
/**
* Minimum.
*/
public Builder minimum(Float minimum) {
this.minimum = minimum;
return this;
}
/**
* Sum.
*/
public Builder sum(Float sum) {
this.sum = sum;
return this;
}
/**
* timestamp.
*/
public Builder timestamp(Long timestamp) {
this.timestamp = timestamp;
return this;
}
/**
* value.
*/
public Builder value(Float value) {
this.value = value;
return this;
}
public MetricInfo build() {
return new MetricInfo(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/MetricsCollectConfig.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 MetricsCollectConfig} extends {@link TeaModel}
*
* <p>MetricsCollectConfig</p>
*/
public class MetricsCollectConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("EnablePushToUserSLS")
private Boolean enablePushToUserSLS;
@com.aliyun.core.annotation.NameInMap("LogstoreName")
@com.aliyun.core.annotation.Validation(maxLength = 63)
private String logstoreName;
@com.aliyun.core.annotation.NameInMap("ProjectName")
@com.aliyun.core.annotation.Validation(maxLength = 63)
private String projectName;
private MetricsCollectConfig(Builder builder) {
this.enablePushToUserSLS = builder.enablePushToUserSLS;
this.logstoreName = builder.logstoreName;
this.projectName = builder.projectName;
}
public static Builder builder() {
return new Builder();
}
public static MetricsCollectConfig create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return enablePushToUserSLS
*/
public Boolean getEnablePushToUserSLS() {
return this.enablePushToUserSLS;
}
/**
* @return logstoreName
*/
public String getLogstoreName() {
return this.logstoreName;
}
/**
* @return projectName
*/
public String getProjectName() {
return this.projectName;
}
public static final class Builder {
private Boolean enablePushToUserSLS;
private String logstoreName;
private String projectName;
private Builder() {
}
private Builder(MetricsCollectConfig model) {
this.enablePushToUserSLS = model.enablePushToUserSLS;
this.logstoreName = model.logstoreName;
this.projectName = model.projectName;
}
/**
* EnablePushToUserSLS.
*/
public Builder enablePushToUserSLS(Boolean enablePushToUserSLS) {
this.enablePushToUserSLS = enablePushToUserSLS;
return this;
}
/**
* LogstoreName.
*/
public Builder logstoreName(String logstoreName) {
this.logstoreName = logstoreName;
return this;
}
/**
* ProjectName.
*/
public Builder projectName(String projectName) {
this.projectName = projectName;
return this;
}
public MetricsCollectConfig build() {
return new MetricsCollectConfig(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/NASConfig.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 NASConfig} extends {@link TeaModel}
*
* <p>NASConfig</p>
*/
public class NASConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("mountPoints")
private java.util.List<NASMountConfig> mountPoints;
private NASConfig(Builder builder) {
this.mountPoints = builder.mountPoints;
}
public static Builder builder() {
return new Builder();
}
public static NASConfig create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return mountPoints
*/
public java.util.List<NASMountConfig> getMountPoints() {
return this.mountPoints;
}
public static final class Builder {
private java.util.List<NASMountConfig> mountPoints;
private Builder() {
}
private Builder(NASConfig model) {
this.mountPoints = model.mountPoints;
}
/**
* mountPoints.
*/
public Builder mountPoints(java.util.List<NASMountConfig> mountPoints) {
this.mountPoints = mountPoints;
return this;
}
public NASConfig build() {
return new NASConfig(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/NASMountConfig.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 NASMountConfig} extends {@link TeaModel}
*
* <p>NASMountConfig</p>
*/
public class NASMountConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("enableTLS")
private Boolean enableTLS;
@com.aliyun.core.annotation.NameInMap("mountDir")
@com.aliyun.core.annotation.Validation(maxLength = 64)
private String mountDir;
@com.aliyun.core.annotation.NameInMap("serverAddr")
@com.aliyun.core.annotation.Validation(maxLength = 128)
private String serverAddr;
private NASMountConfig(Builder builder) {
this.enableTLS = builder.enableTLS;
this.mountDir = builder.mountDir;
this.serverAddr = builder.serverAddr;
}
public static Builder builder() {
return new Builder();
}
public static NASMountConfig create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return enableTLS
*/
public Boolean getEnableTLS() {
return this.enableTLS;
}
/**
* @return mountDir
*/
public String getMountDir() {
return this.mountDir;
}
/**
* @return serverAddr
*/
public String getServerAddr() {
return this.serverAddr;
}
public static final class Builder {
private Boolean enableTLS;
private String mountDir;
private String serverAddr;
private Builder() {
}
private Builder(NASMountConfig model) {
this.enableTLS = model.enableTLS;
this.mountDir = model.mountDir;
this.serverAddr = model.serverAddr;
}
/**
* enableTLS.
*/
public Builder enableTLS(Boolean enableTLS) {
this.enableTLS = enableTLS;
return this;
}
/**
* mountDir.
*/
public Builder mountDir(String mountDir) {
this.mountDir = mountDir;
return this;
}
/**
* serverAddr.
*/
public Builder serverAddr(String serverAddr) {
this.serverAddr = serverAddr;
return this;
}
public NASMountConfig build() {
return new NASMountConfig(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/OSSMountConfig.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 OSSMountConfig} extends {@link TeaModel}
*
* <p>OSSMountConfig</p>
*/
public class OSSMountConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("mountPoints")
private java.util.List<OSSMountPoint> mountPoints;
private OSSMountConfig(Builder builder) {
this.mountPoints = builder.mountPoints;
}
public static Builder builder() {
return new Builder();
}
public static OSSMountConfig create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return mountPoints
*/
public java.util.List<OSSMountPoint> getMountPoints() {
return this.mountPoints;
}
public static final class Builder {
private java.util.List<OSSMountPoint> mountPoints;
private Builder() {
}
private Builder(OSSMountConfig model) {
this.mountPoints = model.mountPoints;
}
/**
* mountPoints.
*/
public Builder mountPoints(java.util.List<OSSMountPoint> mountPoints) {
this.mountPoints = mountPoints;
return this;
}
public OSSMountConfig build() {
return new OSSMountConfig(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/OSSMountPoint.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 OSSMountPoint} extends {@link TeaModel}
*
* <p>OSSMountPoint</p>
*/
public class OSSMountPoint extends TeaModel {
@com.aliyun.core.annotation.NameInMap("bucketName")
@com.aliyun.core.annotation.Validation(maxLength = 64, minLength = 3)
private String bucketName;
@com.aliyun.core.annotation.NameInMap("bucketPath")
@com.aliyun.core.annotation.Validation(maxLength = 128)
private String bucketPath;
@com.aliyun.core.annotation.NameInMap("mountDir")
@com.aliyun.core.annotation.Validation(maxLength = 64, minLength = 2)
private String mountDir;
@com.aliyun.core.annotation.NameInMap("readOnly")
private Boolean readOnly;
private OSSMountPoint(Builder builder) {
this.bucketName = builder.bucketName;
this.bucketPath = builder.bucketPath;
this.mountDir = builder.mountDir;
this.readOnly = builder.readOnly;
}
public static Builder builder() {
return new Builder();
}
public static OSSMountPoint create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return bucketName
*/
public String getBucketName() {
return this.bucketName;
}
/**
* @return bucketPath
*/
public String getBucketPath() {
return this.bucketPath;
}
/**
* @return mountDir
*/
public String getMountDir() {
return this.mountDir;
}
/**
* @return readOnly
*/
public Boolean getReadOnly() {
return this.readOnly;
}
public static final class Builder {
private String bucketName;
private String bucketPath;
private String mountDir;
private Boolean readOnly;
private Builder() {
}
private Builder(OSSMountPoint model) {
this.bucketName = model.bucketName;
this.bucketPath = model.bucketPath;
this.mountDir = model.mountDir;
this.readOnly = model.readOnly;
}
/**
* bucketName.
*/
public Builder bucketName(String bucketName) {
this.bucketName = bucketName;
return this;
}
/**
* bucketPath.
*/
public Builder bucketPath(String bucketPath) {
this.bucketPath = bucketPath;
return this;
}
/**
* mountDir.
*/
public Builder mountDir(String mountDir) {
this.mountDir = mountDir;
return this;
}
/**
* readOnly.
*/
public Builder readOnly(Boolean readOnly) {
this.readOnly = readOnly;
return this;
}
public OSSMountPoint build() {
return new OSSMountPoint(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/OpenSaeServiceRequest.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 OpenSaeServiceRequest} extends {@link RequestModel}
*
* <p>OpenSaeServiceRequest</p>
*/
public class OpenSaeServiceRequest extends Request {
private OpenSaeServiceRequest(Builder builder) {
super(builder);
}
public static Builder builder() {
return new Builder();
}
public static OpenSaeServiceRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
public static final class Builder extends Request.Builder<OpenSaeServiceRequest, Builder> {
private Builder() {
super();
}
private Builder(OpenSaeServiceRequest request) {
super(request);
}
@Override
public OpenSaeServiceRequest build() {
return new OpenSaeServiceRequest(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/OpenSaeServiceResponse.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 OpenSaeServiceResponse} extends {@link TeaModel}
*
* <p>OpenSaeServiceResponse</p>
*/
public class OpenSaeServiceResponse 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 OpenSaeServiceResponseBody body;
private OpenSaeServiceResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static OpenSaeServiceResponse 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 OpenSaeServiceResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<OpenSaeServiceResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(OpenSaeServiceResponseBody body);
@Override
OpenSaeServiceResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<OpenSaeServiceResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private OpenSaeServiceResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(OpenSaeServiceResponse 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(OpenSaeServiceResponseBody body) {
this.body = body;
return this;
}
@Override
public OpenSaeServiceResponse build() {
return new OpenSaeServiceResponse(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/OpenSaeServiceResponseBody.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 OpenSaeServiceResponseBody} extends {@link TeaModel}
*
* <p>OpenSaeServiceResponseBody</p>
*/
public class OpenSaeServiceResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("OrderId")
private String orderId;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private OpenSaeServiceResponseBody(Builder builder) {
this.orderId = builder.orderId;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static OpenSaeServiceResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return orderId
*/
public String getOrderId() {
return this.orderId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String orderId;
private String requestId;
private Builder() {
}
private Builder(OpenSaeServiceResponseBody model) {
this.orderId = model.orderId;
this.requestId = model.requestId;
}
/**
* <p>The ID of the order.</p>
*
* <strong>example:</strong>
* <p>20485646575****</p>
*/
public Builder orderId(String orderId) {
this.orderId = orderId;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>559B4247-C41C-4D9E-B866-B55D378B****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public OpenSaeServiceResponseBody build() {
return new OpenSaeServiceResponseBody(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/PathConfig.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 PathConfig} extends {@link TeaModel}
*
* <p>PathConfig</p>
*/
public class PathConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("applicationName")
private String applicationName;
@com.aliyun.core.annotation.NameInMap("path")
private String path;
private PathConfig(Builder builder) {
this.applicationName = builder.applicationName;
this.path = builder.path;
}
public static Builder builder() {
return new Builder();
}
public static PathConfig create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return applicationName
*/
public String getApplicationName() {
return this.applicationName;
}
/**
* @return path
*/
public String getPath() {
return this.path;
}
public static final class Builder {
private String applicationName;
private String path;
private Builder() {
}
private Builder(PathConfig model) {
this.applicationName = model.applicationName;
this.path = model.path;
}
/**
* applicationName.
*/
public Builder applicationName(String applicationName) {
this.applicationName = applicationName;
return this;
}
/**
* path.
*/
public Builder path(String path) {
this.path = path;
return this;
}
public PathConfig build() {
return new PathConfig(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/PermissionAssistantApi.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 PermissionAssistantApi} extends {@link TeaModel}
*
* <p>PermissionAssistantApi</p>
*/
public class PermissionAssistantApi extends TeaModel {
@com.aliyun.core.annotation.NameInMap("createTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("id")
private Long id;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("resourceType")
private String resourceType;
@com.aliyun.core.annotation.NameInMap("updateTime")
private String updateTime;
private PermissionAssistantApi(Builder builder) {
this.createTime = builder.createTime;
this.id = builder.id;
this.name = builder.name;
this.resourceType = builder.resourceType;
this.updateTime = builder.updateTime;
}
public static Builder builder() {
return new Builder();
}
public static PermissionAssistantApi create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return id
*/
public Long getId() {
return this.id;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
/**
* @return updateTime
*/
public String getUpdateTime() {
return this.updateTime;
}
public static final class Builder {
private String createTime;
private Long id;
private String name;
private String resourceType;
private String updateTime;
private Builder() {
}
private Builder(PermissionAssistantApi model) {
this.createTime = model.createTime;
this.id = model.id;
this.name = model.name;
this.resourceType = model.resourceType;
this.updateTime = model.updateTime;
}
/**
* createTime.
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* id.
*/
public Builder id(Long id) {
this.id = id;
return this;
}
/**
* name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* resourceType.
*/
public Builder resourceType(String resourceType) {
this.resourceType = resourceType;
return this;
}
/**
* updateTime.
*/
public Builder updateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}
public PermissionAssistantApi build() {
return new PermissionAssistantApi(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/PolicyItem.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 PolicyItem} extends {@link TeaModel}
*
* <p>PolicyItem</p>
*/
public class PolicyItem extends TeaModel {
@com.aliyun.core.annotation.NameInMap("key")
private String key;
@com.aliyun.core.annotation.NameInMap("operator")
private String operator;
@com.aliyun.core.annotation.NameInMap("type")
private String type;
@com.aliyun.core.annotation.NameInMap("value")
private String value;
private PolicyItem(Builder builder) {
this.key = builder.key;
this.operator = builder.operator;
this.type = builder.type;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static PolicyItem create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return operator
*/
public String getOperator() {
return this.operator;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String operator;
private String type;
private String value;
private Builder() {
}
private Builder(PolicyItem model) {
this.key = model.key;
this.operator = model.operator;
this.type = model.type;
this.value = model.value;
}
/**
* key.
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* operator.
*/
public Builder operator(String operator) {
this.operator = operator;
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 PolicyItem build() {
return new PolicyItem(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/PriceEstimateFeature.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 PriceEstimateFeature} extends {@link TeaModel}
*
* <p>PriceEstimateFeature</p>
*/
public class PriceEstimateFeature extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppCount")
private Long appCount;
@com.aliyun.core.annotation.NameInMap("AppType")
@com.aliyun.core.annotation.Validation(required = true)
private String appType;
@com.aliyun.core.annotation.NameInMap("CpuCore")
@com.aliyun.core.annotation.Validation(required = true)
private Float cpuCore;
@com.aliyun.core.annotation.NameInMap("CpuStrategy")
@com.aliyun.core.annotation.Validation(required = true)
private String cpuStrategy;
@com.aliyun.core.annotation.NameInMap("CpuUtilLevel")
private String cpuUtilLevel;
@com.aliyun.core.annotation.NameInMap("CpuUtilMetrics")
private java.util.List<Float> cpuUtilMetrics;
@com.aliyun.core.annotation.NameInMap("EnableCpuIdle")
private Boolean enableCpuIdle;
@com.aliyun.core.annotation.NameInMap("EnvType")
@com.aliyun.core.annotation.Validation(required = true)
private String envType;
@com.aliyun.core.annotation.NameInMap("EphemeralStorageGiB")
private Long ephemeralStorageGiB;
@com.aliyun.core.annotation.NameInMap("HighLoadInstanceCount")
private Long highLoadInstanceCount;
@com.aliyun.core.annotation.NameInMap("HighLoadQps")
private Float highLoadQps;
@com.aliyun.core.annotation.NameInMap("HighLoadSeconds")
private Long highLoadSeconds;
@com.aliyun.core.annotation.NameInMap("InstanceQps")
private Float instanceQps;
@com.aliyun.core.annotation.NameInMap("InternetOutboundGiB")
private Float internetOutboundGiB;
@com.aliyun.core.annotation.NameInMap("LowLoadInstanceCount")
private Long lowLoadInstanceCount;
@com.aliyun.core.annotation.NameInMap("LowLoadQps")
private Float lowLoadQps;
@com.aliyun.core.annotation.NameInMap("LowLoadSeconds")
private Long lowLoadSeconds;
@com.aliyun.core.annotation.NameInMap("MaxInstanceCount")
private Long maxInstanceCount;
@com.aliyun.core.annotation.NameInMap("MemoryGiB")
@com.aliyun.core.annotation.Validation(required = true)
private Float memoryGiB;
@com.aliyun.core.annotation.NameInMap("MinInstanceCount")
private Long minInstanceCount;
@com.aliyun.core.annotation.NameInMap("NewSaeVersion")
private String newSaeVersion;
@com.aliyun.core.annotation.NameInMap("NoneLoadInstanceCount")
private Long noneLoadInstanceCount;
@com.aliyun.core.annotation.NameInMap("NoneLoadSeconds")
private Long noneLoadSeconds;
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.NameInMap("ResourceType")
private String resourceType;
private PriceEstimateFeature(Builder builder) {
this.appCount = builder.appCount;
this.appType = builder.appType;
this.cpuCore = builder.cpuCore;
this.cpuStrategy = builder.cpuStrategy;
this.cpuUtilLevel = builder.cpuUtilLevel;
this.cpuUtilMetrics = builder.cpuUtilMetrics;
this.enableCpuIdle = builder.enableCpuIdle;
this.envType = builder.envType;
this.ephemeralStorageGiB = builder.ephemeralStorageGiB;
this.highLoadInstanceCount = builder.highLoadInstanceCount;
this.highLoadQps = builder.highLoadQps;
this.highLoadSeconds = builder.highLoadSeconds;
this.instanceQps = builder.instanceQps;
this.internetOutboundGiB = builder.internetOutboundGiB;
this.lowLoadInstanceCount = builder.lowLoadInstanceCount;
this.lowLoadQps = builder.lowLoadQps;
this.lowLoadSeconds = builder.lowLoadSeconds;
this.maxInstanceCount = builder.maxInstanceCount;
this.memoryGiB = builder.memoryGiB;
this.minInstanceCount = builder.minInstanceCount;
this.newSaeVersion = builder.newSaeVersion;
this.noneLoadInstanceCount = builder.noneLoadInstanceCount;
this.noneLoadSeconds = builder.noneLoadSeconds;
this.regionId = builder.regionId;
this.resourceType = builder.resourceType;
}
public static Builder builder() {
return new Builder();
}
public static PriceEstimateFeature create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appCount
*/
public Long getAppCount() {
return this.appCount;
}
/**
* @return appType
*/
public String getAppType() {
return this.appType;
}
/**
* @return cpuCore
*/
public Float getCpuCore() {
return this.cpuCore;
}
/**
* @return cpuStrategy
*/
public String getCpuStrategy() {
return this.cpuStrategy;
}
/**
* @return cpuUtilLevel
*/
public String getCpuUtilLevel() {
return this.cpuUtilLevel;
}
/**
* @return cpuUtilMetrics
*/
public java.util.List<Float> getCpuUtilMetrics() {
return this.cpuUtilMetrics;
}
/**
* @return enableCpuIdle
*/
public Boolean getEnableCpuIdle() {
return this.enableCpuIdle;
}
/**
* @return envType
*/
public String getEnvType() {
return this.envType;
}
/**
* @return ephemeralStorageGiB
*/
public Long getEphemeralStorageGiB() {
return this.ephemeralStorageGiB;
}
/**
* @return highLoadInstanceCount
*/
public Long getHighLoadInstanceCount() {
return this.highLoadInstanceCount;
}
/**
* @return highLoadQps
*/
public Float getHighLoadQps() {
return this.highLoadQps;
}
/**
* @return highLoadSeconds
*/
public Long getHighLoadSeconds() {
return this.highLoadSeconds;
}
/**
* @return instanceQps
*/
public Float getInstanceQps() {
return this.instanceQps;
}
/**
* @return internetOutboundGiB
*/
public Float getInternetOutboundGiB() {
return this.internetOutboundGiB;
}
/**
* @return lowLoadInstanceCount
*/
public Long getLowLoadInstanceCount() {
return this.lowLoadInstanceCount;
}
/**
* @return lowLoadQps
*/
public Float getLowLoadQps() {
return this.lowLoadQps;
}
/**
* @return lowLoadSeconds
*/
public Long getLowLoadSeconds() {
return this.lowLoadSeconds;
}
/**
* @return maxInstanceCount
*/
public Long getMaxInstanceCount() {
return this.maxInstanceCount;
}
/**
* @return memoryGiB
*/
public Float getMemoryGiB() {
return this.memoryGiB;
}
/**
* @return minInstanceCount
*/
public Long getMinInstanceCount() {
return this.minInstanceCount;
}
/**
* @return newSaeVersion
*/
public String getNewSaeVersion() {
return this.newSaeVersion;
}
/**
* @return noneLoadInstanceCount
*/
public Long getNoneLoadInstanceCount() {
return this.noneLoadInstanceCount;
}
/**
* @return noneLoadSeconds
*/
public Long getNoneLoadSeconds() {
return this.noneLoadSeconds;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceType
*/
public String getResourceType() {
return this.resourceType;
}
public static final class Builder {
private Long appCount;
private String appType;
private Float cpuCore;
private String cpuStrategy;
private String cpuUtilLevel;
private java.util.List<Float> cpuUtilMetrics;
private Boolean enableCpuIdle;
private String envType;
private Long ephemeralStorageGiB;
private Long highLoadInstanceCount;
private Float highLoadQps;
private Long highLoadSeconds;
private Float instanceQps;
private Float internetOutboundGiB;
private Long lowLoadInstanceCount;
private Float lowLoadQps;
private Long lowLoadSeconds;
private Long maxInstanceCount;
private Float memoryGiB;
private Long minInstanceCount;
private String newSaeVersion;
private Long noneLoadInstanceCount;
private Long noneLoadSeconds;
private String regionId;
private String resourceType;
private Builder() {
}
private Builder(PriceEstimateFeature model) {
this.appCount = model.appCount;
this.appType = model.appType;
this.cpuCore = model.cpuCore;
this.cpuStrategy = model.cpuStrategy;
this.cpuUtilLevel = model.cpuUtilLevel;
this.cpuUtilMetrics = model.cpuUtilMetrics;
this.enableCpuIdle = model.enableCpuIdle;
this.envType = model.envType;
this.ephemeralStorageGiB = model.ephemeralStorageGiB;
this.highLoadInstanceCount = model.highLoadInstanceCount;
this.highLoadQps = model.highLoadQps;
this.highLoadSeconds = model.highLoadSeconds;
this.instanceQps = model.instanceQps;
this.internetOutboundGiB = model.internetOutboundGiB;
this.lowLoadInstanceCount = model.lowLoadInstanceCount;
this.lowLoadQps = model.lowLoadQps;
this.lowLoadSeconds = model.lowLoadSeconds;
this.maxInstanceCount = model.maxInstanceCount;
this.memoryGiB = model.memoryGiB;
this.minInstanceCount = model.minInstanceCount;
this.newSaeVersion = model.newSaeVersion;
this.noneLoadInstanceCount = model.noneLoadInstanceCount;
this.noneLoadSeconds = model.noneLoadSeconds;
this.regionId = model.regionId;
this.resourceType = model.resourceType;
}
/**
* AppCount.
*/
public Builder appCount(Long appCount) {
this.appCount = appCount;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Web/MicroService</p>
*/
public Builder appType(String appType) {
this.appType = appType;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder cpuCore(Float cpuCore) {
this.cpuCore = cpuCore;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Request/Always</p>
*/
public Builder cpuStrategy(String cpuStrategy) {
this.cpuStrategy = cpuStrategy;
return this;
}
/**
* CpuUtilLevel.
*/
public Builder cpuUtilLevel(String cpuUtilLevel) {
this.cpuUtilLevel = cpuUtilLevel;
return this;
}
/**
* CpuUtilMetrics.
*/
public Builder cpuUtilMetrics(java.util.List<Float> cpuUtilMetrics) {
this.cpuUtilMetrics = cpuUtilMetrics;
return this;
}
/**
* EnableCpuIdle.
*/
public Builder enableCpuIdle(Boolean enableCpuIdle) {
this.enableCpuIdle = enableCpuIdle;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Test/Production</p>
*/
public Builder envType(String envType) {
this.envType = envType;
return this;
}
/**
* EphemeralStorageGiB.
*/
public Builder ephemeralStorageGiB(Long ephemeralStorageGiB) {
this.ephemeralStorageGiB = ephemeralStorageGiB;
return this;
}
/**
* HighLoadInstanceCount.
*/
public Builder highLoadInstanceCount(Long highLoadInstanceCount) {
this.highLoadInstanceCount = highLoadInstanceCount;
return this;
}
/**
* HighLoadQps.
*/
public Builder highLoadQps(Float highLoadQps) {
this.highLoadQps = highLoadQps;
return this;
}
/**
* HighLoadSeconds.
*/
public Builder highLoadSeconds(Long highLoadSeconds) {
this.highLoadSeconds = highLoadSeconds;
return this;
}
/**
* InstanceQps.
*/
public Builder instanceQps(Float instanceQps) {
this.instanceQps = instanceQps;
return this;
}
/**
* InternetOutboundGiB.
*/
public Builder internetOutboundGiB(Float internetOutboundGiB) {
this.internetOutboundGiB = internetOutboundGiB;
return this;
}
/**
* LowLoadInstanceCount.
*/
public Builder lowLoadInstanceCount(Long lowLoadInstanceCount) {
this.lowLoadInstanceCount = lowLoadInstanceCount;
return this;
}
/**
* LowLoadQps.
*/
public Builder lowLoadQps(Float lowLoadQps) {
this.lowLoadQps = lowLoadQps;
return this;
}
/**
* LowLoadSeconds.
*/
public Builder lowLoadSeconds(Long lowLoadSeconds) {
this.lowLoadSeconds = lowLoadSeconds;
return this;
}
/**
* MaxInstanceCount.
*/
public Builder maxInstanceCount(Long maxInstanceCount) {
this.maxInstanceCount = maxInstanceCount;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder memoryGiB(Float memoryGiB) {
this.memoryGiB = memoryGiB;
return this;
}
/**
* MinInstanceCount.
*/
public Builder minInstanceCount(Long minInstanceCount) {
this.minInstanceCount = minInstanceCount;
return this;
}
/**
* NewSaeVersion.
*/
public Builder newSaeVersion(String newSaeVersion) {
this.newSaeVersion = newSaeVersion;
return this;
}
/**
* NoneLoadInstanceCount.
*/
public Builder noneLoadInstanceCount(Long noneLoadInstanceCount) {
this.noneLoadInstanceCount = noneLoadInstanceCount;
return this;
}
/**
* NoneLoadSeconds.
*/
public Builder noneLoadSeconds(Long noneLoadSeconds) {
this.noneLoadSeconds = noneLoadSeconds;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* ResourceType.
*/
public Builder resourceType(String resourceType) {
this.resourceType = resourceType;
return this;
}
public PriceEstimateFeature build() {
return new PriceEstimateFeature(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/PriceEstimateOutput.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 PriceEstimateOutput} extends {@link TeaModel}
*
* <p>PriceEstimateOutput</p>
*/
public class PriceEstimateOutput extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Apps")
private java.util.List<Apps> apps;
@com.aliyun.core.annotation.NameInMap("Items")
private java.util.List<Items> items;
@com.aliyun.core.annotation.NameInMap("PostPayItems")
private java.util.List<PostPayItems> postPayItems;
@com.aliyun.core.annotation.NameInMap("PostPayTotalPrice")
private Float postPayTotalPrice;
@com.aliyun.core.annotation.NameInMap("TotalPrice")
private Float totalPrice;
private PriceEstimateOutput(Builder builder) {
this.apps = builder.apps;
this.items = builder.items;
this.postPayItems = builder.postPayItems;
this.postPayTotalPrice = builder.postPayTotalPrice;
this.totalPrice = builder.totalPrice;
}
public static Builder builder() {
return new Builder();
}
public static PriceEstimateOutput create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return apps
*/
public java.util.List<Apps> getApps() {
return this.apps;
}
/**
* @return items
*/
public java.util.List<Items> getItems() {
return this.items;
}
/**
* @return postPayItems
*/
public java.util.List<PostPayItems> getPostPayItems() {
return this.postPayItems;
}
/**
* @return postPayTotalPrice
*/
public Float getPostPayTotalPrice() {
return this.postPayTotalPrice;
}
/**
* @return totalPrice
*/
public Float getTotalPrice() {
return this.totalPrice;
}
public static final class Builder {
private java.util.List<Apps> apps;
private java.util.List<Items> items;
private java.util.List<PostPayItems> postPayItems;
private Float postPayTotalPrice;
private Float totalPrice;
private Builder() {
}
private Builder(PriceEstimateOutput model) {
this.apps = model.apps;
this.items = model.items;
this.postPayItems = model.postPayItems;
this.postPayTotalPrice = model.postPayTotalPrice;
this.totalPrice = model.totalPrice;
}
/**
* Apps.
*/
public Builder apps(java.util.List<Apps> apps) {
this.apps = apps;
return this;
}
/**
* Items.
*/
public Builder items(java.util.List<Items> items) {
this.items = items;
return this;
}
/**
* PostPayItems.
*/
public Builder postPayItems(java.util.List<PostPayItems> postPayItems) {
this.postPayItems = postPayItems;
return this;
}
/**
* PostPayTotalPrice.
*/
public Builder postPayTotalPrice(Float postPayTotalPrice) {
this.postPayTotalPrice = postPayTotalPrice;
return this;
}
/**
* TotalPrice.
*/
public Builder totalPrice(Float totalPrice) {
this.totalPrice = totalPrice;
return this;
}
public PriceEstimateOutput build() {
return new PriceEstimateOutput(this);
}
}
/**
*
* {@link PriceEstimateOutput} extends {@link TeaModel}
*
* <p>PriceEstimateOutput</p>
*/
public static class Usages extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Amount")
private Float amount;
@com.aliyun.core.annotation.NameInMap("Id")
private String id;
@com.aliyun.core.annotation.NameInMap("Unit")
private String unit;
private Usages(Builder builder) {
this.amount = builder.amount;
this.id = builder.id;
this.unit = builder.unit;
}
public static Builder builder() {
return new Builder();
}
public static Usages create() {
return builder().build();
}
/**
* @return amount
*/
public Float getAmount() {
return this.amount;
}
/**
* @return id
*/
public String getId() {
return this.id;
}
/**
* @return unit
*/
public String getUnit() {
return this.unit;
}
public static final class Builder {
private Float amount;
private String id;
private String unit;
private Builder() {
}
private Builder(Usages model) {
this.amount = model.amount;
this.id = model.id;
this.unit = model.unit;
}
/**
* Amount.
*/
public Builder amount(Float amount) {
this.amount = amount;
return this;
}
/**
* Id.
*/
public Builder id(String id) {
this.id = id;
return this;
}
/**
* Unit.
*/
public Builder unit(String unit) {
this.unit = unit;
return this;
}
public Usages build() {
return new Usages(this);
}
}
}
/**
*
* {@link PriceEstimateOutput} extends {@link TeaModel}
*
* <p>PriceEstimateOutput</p>
*/
public static class Apps extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Feature")
private PriceEstimateFeature feature;
@com.aliyun.core.annotation.NameInMap("Id")
private Long id;
@com.aliyun.core.annotation.NameInMap("Usages")
private java.util.List<Usages> usages;
private Apps(Builder builder) {
this.feature = builder.feature;
this.id = builder.id;
this.usages = builder.usages;
}
public static Builder builder() {
return new Builder();
}
public static Apps create() {
return builder().build();
}
/**
* @return feature
*/
public PriceEstimateFeature getFeature() {
return this.feature;
}
/**
* @return id
*/
public Long getId() {
return this.id;
}
/**
* @return usages
*/
public java.util.List<Usages> getUsages() {
return this.usages;
}
public static final class Builder {
private PriceEstimateFeature feature;
private Long id;
private java.util.List<Usages> usages;
private Builder() {
}
private Builder(Apps model) {
this.feature = model.feature;
this.id = model.id;
this.usages = model.usages;
}
/**
* Feature.
*/
public Builder feature(PriceEstimateFeature feature) {
this.feature = feature;
return this;
}
/**
* Id.
*/
public Builder id(Long id) {
this.id = id;
return this;
}
/**
* Usages.
*/
public Builder usages(java.util.List<Usages> usages) {
this.usages = usages;
return this;
}
public Apps build() {
return new Apps(this);
}
}
}
/**
*
* {@link PriceEstimateOutput} extends {@link TeaModel}
*
* <p>PriceEstimateOutput</p>
*/
public static class Steps extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Begin")
private Long begin;
@com.aliyun.core.annotation.NameInMap("End")
private Long end;
@com.aliyun.core.annotation.NameInMap("Price")
private Float price;
@com.aliyun.core.annotation.NameInMap("RegionIds")
private java.util.List<String> regionIds;
@com.aliyun.core.annotation.NameInMap("Unit")
private String unit;
private Steps(Builder builder) {
this.begin = builder.begin;
this.end = builder.end;
this.price = builder.price;
this.regionIds = builder.regionIds;
this.unit = builder.unit;
}
public static Builder builder() {
return new Builder();
}
public static Steps create() {
return builder().build();
}
/**
* @return begin
*/
public Long getBegin() {
return this.begin;
}
/**
* @return end
*/
public Long getEnd() {
return this.end;
}
/**
* @return price
*/
public Float getPrice() {
return this.price;
}
/**
* @return regionIds
*/
public java.util.List<String> getRegionIds() {
return this.regionIds;
}
/**
* @return unit
*/
public String getUnit() {
return this.unit;
}
public static final class Builder {
private Long begin;
private Long end;
private Float price;
private java.util.List<String> regionIds;
private String unit;
private Builder() {
}
private Builder(Steps model) {
this.begin = model.begin;
this.end = model.end;
this.price = model.price;
this.regionIds = model.regionIds;
this.unit = model.unit;
}
/**
* Begin.
*/
public Builder begin(Long begin) {
this.begin = begin;
return this;
}
/**
* End.
*/
public Builder end(Long end) {
this.end = end;
return this;
}
/**
* Price.
*/
public Builder price(Float price) {
this.price = price;
return this;
}
/**
* RegionIds.
*/
public Builder regionIds(java.util.List<String> regionIds) {
this.regionIds = regionIds;
return this;
}
/**
* Unit.
*/
public Builder unit(String unit) {
this.unit = unit;
return this;
}
public Steps build() {
return new Steps(this);
}
}
}
/**
*
* {@link PriceEstimateOutput} extends {@link TeaModel}
*
* <p>PriceEstimateOutput</p>
*/
public static class Items extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Amount")
private Float amount;
@com.aliyun.core.annotation.NameInMap("Count")
private Long count;
@com.aliyun.core.annotation.NameInMap("Id")
private String id;
@com.aliyun.core.annotation.NameInMap("Price")
private Float price;
@com.aliyun.core.annotation.NameInMap("Steps")
private java.util.List<Steps> steps;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
@com.aliyun.core.annotation.NameInMap("Unit")
private String unit;
private Items(Builder builder) {
this.amount = builder.amount;
this.count = builder.count;
this.id = builder.id;
this.price = builder.price;
this.steps = builder.steps;
this.type = builder.type;
this.unit = builder.unit;
}
public static Builder builder() {
return new Builder();
}
public static Items create() {
return builder().build();
}
/**
* @return amount
*/
public Float getAmount() {
return this.amount;
}
/**
* @return count
*/
public Long getCount() {
return this.count;
}
/**
* @return id
*/
public String getId() {
return this.id;
}
/**
* @return price
*/
public Float getPrice() {
return this.price;
}
/**
* @return steps
*/
public java.util.List<Steps> getSteps() {
return this.steps;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return unit
*/
public String getUnit() {
return this.unit;
}
public static final class Builder {
private Float amount;
private Long count;
private String id;
private Float price;
private java.util.List<Steps> steps;
private String type;
private String unit;
private Builder() {
}
private Builder(Items model) {
this.amount = model.amount;
this.count = model.count;
this.id = model.id;
this.price = model.price;
this.steps = model.steps;
this.type = model.type;
this.unit = model.unit;
}
/**
* Amount.
*/
public Builder amount(Float amount) {
this.amount = amount;
return this;
}
/**
* Count.
*/
public Builder count(Long count) {
this.count = count;
return this;
}
/**
* Id.
*/
public Builder id(String id) {
this.id = id;
return this;
}
/**
* Price.
*/
public Builder price(Float price) {
this.price = price;
return this;
}
/**
* Steps.
*/
public Builder steps(java.util.List<Steps> steps) {
this.steps = steps;
return this;
}
/**
* Type.
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* Unit.
*/
public Builder unit(String unit) {
this.unit = unit;
return this;
}
public Items build() {
return new Items(this);
}
}
}
/**
*
* {@link PriceEstimateOutput} extends {@link TeaModel}
*
* <p>PriceEstimateOutput</p>
*/
public static class PostPayItemsSteps extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Begin")
private Long begin;
@com.aliyun.core.annotation.NameInMap("End")
private Long end;
@com.aliyun.core.annotation.NameInMap("Price")
private Float price;
@com.aliyun.core.annotation.NameInMap("RegionIds")
private java.util.List<String> regionIds;
@com.aliyun.core.annotation.NameInMap("Unit")
private String unit;
private PostPayItemsSteps(Builder builder) {
this.begin = builder.begin;
this.end = builder.end;
this.price = builder.price;
this.regionIds = builder.regionIds;
this.unit = builder.unit;
}
public static Builder builder() {
return new Builder();
}
public static PostPayItemsSteps create() {
return builder().build();
}
/**
* @return begin
*/
public Long getBegin() {
return this.begin;
}
/**
* @return end
*/
public Long getEnd() {
return this.end;
}
/**
* @return price
*/
public Float getPrice() {
return this.price;
}
/**
* @return regionIds
*/
public java.util.List<String> getRegionIds() {
return this.regionIds;
}
/**
* @return unit
*/
public String getUnit() {
return this.unit;
}
public static final class Builder {
private Long begin;
private Long end;
private Float price;
private java.util.List<String> regionIds;
private String unit;
private Builder() {
}
private Builder(PostPayItemsSteps model) {
this.begin = model.begin;
this.end = model.end;
this.price = model.price;
this.regionIds = model.regionIds;
this.unit = model.unit;
}
/**
* Begin.
*/
public Builder begin(Long begin) {
this.begin = begin;
return this;
}
/**
* End.
*/
public Builder end(Long end) {
this.end = end;
return this;
}
/**
* Price.
*/
public Builder price(Float price) {
this.price = price;
return this;
}
/**
* RegionIds.
*/
public Builder regionIds(java.util.List<String> regionIds) {
this.regionIds = regionIds;
return this;
}
/**
* Unit.
*/
public Builder unit(String unit) {
this.unit = unit;
return this;
}
public PostPayItemsSteps build() {
return new PostPayItemsSteps(this);
}
}
}
/**
*
* {@link PriceEstimateOutput} extends {@link TeaModel}
*
* <p>PriceEstimateOutput</p>
*/
public static class PostPayItems extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Amount")
private Float amount;
@com.aliyun.core.annotation.NameInMap("Count")
private Long count;
@com.aliyun.core.annotation.NameInMap("Id")
private String id;
@com.aliyun.core.annotation.NameInMap("Price")
private Float price;
@com.aliyun.core.annotation.NameInMap("Steps")
private java.util.List<PostPayItemsSteps> steps;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
@com.aliyun.core.annotation.NameInMap("Unit")
private String unit;
private PostPayItems(Builder builder) {
this.amount = builder.amount;
this.count = builder.count;
this.id = builder.id;
this.price = builder.price;
this.steps = builder.steps;
this.type = builder.type;
this.unit = builder.unit;
}
public static Builder builder() {
return new Builder();
}
public static PostPayItems create() {
return builder().build();
}
/**
* @return amount
*/
public Float getAmount() {
return this.amount;
}
/**
* @return count
*/
public Long getCount() {
return this.count;
}
/**
* @return id
*/
public String getId() {
return this.id;
}
/**
* @return price
*/
public Float getPrice() {
return this.price;
}
/**
* @return steps
*/
public java.util.List<PostPayItemsSteps> getSteps() {
return this.steps;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return unit
*/
public String getUnit() {
return this.unit;
}
public static final class Builder {
private Float amount;
private Long count;
private String id;
private Float price;
private java.util.List<PostPayItemsSteps> steps;
private String type;
private String unit;
private Builder() {
}
private Builder(PostPayItems model) {
this.amount = model.amount;
this.count = model.count;
this.id = model.id;
this.price = model.price;
this.steps = model.steps;
this.type = model.type;
this.unit = model.unit;
}
/**
* Amount.
*/
public Builder amount(Float amount) {
this.amount = amount;
return this;
}
/**
* Count.
*/
public Builder count(Long count) {
this.count = count;
return this;
}
/**
* Id.
*/
public Builder id(String id) {
this.id = id;
return this;
}
/**
* Price.
*/
public Builder price(Float price) {
this.price = price;
return this;
}
/**
* Steps.
*/
public Builder steps(java.util.List<PostPayItemsSteps> steps) {
this.steps = steps;
return this;
}
/**
* Type.
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* Unit.
*/
public Builder unit(String unit) {
this.unit = unit;
return this;
}
public PostPayItems build() {
return new PostPayItems(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/Probe.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 Probe} extends {@link TeaModel}
*
* <p>Probe</p>
*/
public class Probe extends TeaModel {
@com.aliyun.core.annotation.NameInMap("failureThreshold")
private Integer failureThreshold;
@com.aliyun.core.annotation.NameInMap("initialDelaySeconds")
private Integer initialDelaySeconds;
@com.aliyun.core.annotation.NameInMap("periodSeconds")
private Integer periodSeconds;
@com.aliyun.core.annotation.NameInMap("probeHandler")
private ProbeHandler probeHandler;
@com.aliyun.core.annotation.NameInMap("timeoutSeconds")
private Integer timeoutSeconds;
private Probe(Builder builder) {
this.failureThreshold = builder.failureThreshold;
this.initialDelaySeconds = builder.initialDelaySeconds;
this.periodSeconds = builder.periodSeconds;
this.probeHandler = builder.probeHandler;
this.timeoutSeconds = builder.timeoutSeconds;
}
public static Builder builder() {
return new Builder();
}
public static Probe create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return failureThreshold
*/
public Integer getFailureThreshold() {
return this.failureThreshold;
}
/**
* @return initialDelaySeconds
*/
public Integer getInitialDelaySeconds() {
return this.initialDelaySeconds;
}
/**
* @return periodSeconds
*/
public Integer getPeriodSeconds() {
return this.periodSeconds;
}
/**
* @return probeHandler
*/
public ProbeHandler getProbeHandler() {
return this.probeHandler;
}
/**
* @return timeoutSeconds
*/
public Integer getTimeoutSeconds() {
return this.timeoutSeconds;
}
public static final class Builder {
private Integer failureThreshold;
private Integer initialDelaySeconds;
private Integer periodSeconds;
private ProbeHandler probeHandler;
private Integer timeoutSeconds;
private Builder() {
}
private Builder(Probe model) {
this.failureThreshold = model.failureThreshold;
this.initialDelaySeconds = model.initialDelaySeconds;
this.periodSeconds = model.periodSeconds;
this.probeHandler = model.probeHandler;
this.timeoutSeconds = model.timeoutSeconds;
}
/**
* failureThreshold.
*/
public Builder failureThreshold(Integer failureThreshold) {
this.failureThreshold = failureThreshold;
return this;
}
/**
* initialDelaySeconds.
*/
public Builder initialDelaySeconds(Integer initialDelaySeconds) {
this.initialDelaySeconds = initialDelaySeconds;
return this;
}
/**
* periodSeconds.
*/
public Builder periodSeconds(Integer periodSeconds) {
this.periodSeconds = periodSeconds;
return this;
}
/**
* probeHandler.
*/
public Builder probeHandler(ProbeHandler probeHandler) {
this.probeHandler = probeHandler;
return this;
}
/**
* timeoutSeconds.
*/
public Builder timeoutSeconds(Integer timeoutSeconds) {
this.timeoutSeconds = timeoutSeconds;
return this;
}
public Probe build() {
return new Probe(this);
}
}
/**
*
* {@link Probe} extends {@link TeaModel}
*
* <p>Probe</p>
*/
public static class HttpHeaders extends TeaModel {
@com.aliyun.core.annotation.NameInMap("name")
private String name;
@com.aliyun.core.annotation.NameInMap("value")
private String value;
private HttpHeaders(Builder builder) {
this.name = builder.name;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static HttpHeaders create() {
return builder().build();
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String name;
private String value;
private Builder() {
}
private Builder(HttpHeaders 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 HttpHeaders build() {
return new HttpHeaders(this);
}
}
}
/**
*
* {@link Probe} extends {@link TeaModel}
*
* <p>Probe</p>
*/
public static class HttpGet extends TeaModel {
@com.aliyun.core.annotation.NameInMap("httpHeaders")
private java.util.List<HttpHeaders> httpHeaders;
@com.aliyun.core.annotation.NameInMap("path")
private String path;
@com.aliyun.core.annotation.NameInMap("port")
private Integer port;
private HttpGet(Builder builder) {
this.httpHeaders = builder.httpHeaders;
this.path = builder.path;
this.port = builder.port;
}
public static Builder builder() {
return new Builder();
}
public static HttpGet create() {
return builder().build();
}
/**
* @return httpHeaders
*/
public java.util.List<HttpHeaders> getHttpHeaders() {
return this.httpHeaders;
}
/**
* @return path
*/
public String getPath() {
return this.path;
}
/**
* @return port
*/
public Integer getPort() {
return this.port;
}
public static final class Builder {
private java.util.List<HttpHeaders> httpHeaders;
private String path;
private Integer port;
private Builder() {
}
private Builder(HttpGet model) {
this.httpHeaders = model.httpHeaders;
this.path = model.path;
this.port = model.port;
}
/**
* httpHeaders.
*/
public Builder httpHeaders(java.util.List<HttpHeaders> 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;
}
public HttpGet build() {
return new HttpGet(this);
}
}
}
/**
*
* {@link Probe} extends {@link TeaModel}
*
* <p>Probe</p>
*/
public static class TcpSocket extends TeaModel {
@com.aliyun.core.annotation.NameInMap("port")
private Integer port;
private TcpSocket(Builder builder) {
this.port = builder.port;
}
public static Builder builder() {
return new Builder();
}
public static TcpSocket create() {
return builder().build();
}
/**
* @return port
*/
public Integer getPort() {
return this.port;
}
public static final class Builder {
private Integer port;
private Builder() {
}
private Builder(TcpSocket model) {
this.port = model.port;
}
/**
* port.
*/
public Builder port(Integer port) {
this.port = port;
return this;
}
public TcpSocket build() {
return new TcpSocket(this);
}
}
}
/**
*
* {@link Probe} extends {@link TeaModel}
*
* <p>Probe</p>
*/
public static class ProbeHandler extends TeaModel {
@com.aliyun.core.annotation.NameInMap("httpGet")
private HttpGet httpGet;
@com.aliyun.core.annotation.NameInMap("tcpSocket")
private TcpSocket tcpSocket;
private ProbeHandler(Builder builder) {
this.httpGet = builder.httpGet;
this.tcpSocket = builder.tcpSocket;
}
public static Builder builder() {
return new Builder();
}
public static ProbeHandler create() {
return builder().build();
}
/**
* @return httpGet
*/
public HttpGet getHttpGet() {
return this.httpGet;
}
/**
* @return tcpSocket
*/
public TcpSocket getTcpSocket() {
return this.tcpSocket;
}
public static final class Builder {
private HttpGet httpGet;
private TcpSocket tcpSocket;
private Builder() {
}
private Builder(ProbeHandler model) {
this.httpGet = model.httpGet;
this.tcpSocket = model.tcpSocket;
}
/**
* httpGet.
*/
public Builder httpGet(HttpGet httpGet) {
this.httpGet = httpGet;
return this;
}
/**
* tcpSocket.
*/
public Builder tcpSocket(TcpSocket tcpSocket) {
this.tcpSocket = tcpSocket;
return this;
}
public ProbeHandler build() {
return new ProbeHandler(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/ProbeHandler.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 ProbeHandler} extends {@link TeaModel}
*
* <p>ProbeHandler</p>
*/
public class ProbeHandler extends TeaModel {
@com.aliyun.core.annotation.NameInMap("HttpGet")
private HTTPGetAction httpGet;
@com.aliyun.core.annotation.NameInMap("TcpSocket")
private TCPSocketAction tcpSocket;
private ProbeHandler(Builder builder) {
this.httpGet = builder.httpGet;
this.tcpSocket = builder.tcpSocket;
}
public static Builder builder() {
return new Builder();
}
public static ProbeHandler create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return httpGet
*/
public HTTPGetAction getHttpGet() {
return this.httpGet;
}
/**
* @return tcpSocket
*/
public TCPSocketAction getTcpSocket() {
return this.tcpSocket;
}
public static final class Builder {
private HTTPGetAction httpGet;
private TCPSocketAction tcpSocket;
private Builder() {
}
private Builder(ProbeHandler model) {
this.httpGet = model.httpGet;
this.tcpSocket = model.tcpSocket;
}
/**
* HttpGet.
*/
public Builder httpGet(HTTPGetAction httpGet) {
this.httpGet = httpGet;
return this;
}
/**
* TcpSocket.
*/
public Builder tcpSocket(TCPSocketAction tcpSocket) {
this.tcpSocket = tcpSocket;
return this;
}
public ProbeHandler build() {
return new ProbeHandler(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/PublishApplicationVersionInput.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 PublishApplicationVersionInput} extends {@link TeaModel}
*
* <p>PublishApplicationVersionInput</p>
*/
public class PublishApplicationVersionInput extends TeaModel {
@com.aliyun.core.annotation.NameInMap("description")
@com.aliyun.core.annotation.Validation(maxLength = 256)
private String description;
private PublishApplicationVersionInput(Builder builder) {
this.description = builder.description;
}
public static Builder builder() {
return new Builder();
}
public static PublishApplicationVersionInput create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
public static final class Builder {
private String description;
private Builder() {
}
private Builder(PublishApplicationVersionInput model) {
this.description = model.description;
}
/**
* description.
*/
public Builder description(String description) {
this.description = description;
return this;
}
public PublishApplicationVersionInput build() {
return new PublishApplicationVersionInput(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/PublishWebApplicationRevisionInput.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 PublishWebApplicationRevisionInput} extends {@link TeaModel}
*
* <p>PublishWebApplicationRevisionInput</p>
*/
public class PublishWebApplicationRevisionInput extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Containers")
@com.aliyun.core.annotation.Validation(required = true)
private java.util.List<Container> containers;
@com.aliyun.core.annotation.NameInMap("Description")
@com.aliyun.core.annotation.Validation(maxLength = 256)
private String description;
@com.aliyun.core.annotation.NameInMap("EnableArmsMetrics")
private Boolean enableArmsMetrics;
@com.aliyun.core.annotation.NameInMap("TakeEffect")
private Boolean takeEffect;
private PublishWebApplicationRevisionInput(Builder builder) {
this.containers = builder.containers;
this.description = builder.description;
this.enableArmsMetrics = builder.enableArmsMetrics;
this.takeEffect = builder.takeEffect;
}
public static Builder builder() {
return new Builder();
}
public static PublishWebApplicationRevisionInput create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return containers
*/
public java.util.List<Container> getContainers() {
return this.containers;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return enableArmsMetrics
*/
public Boolean getEnableArmsMetrics() {
return this.enableArmsMetrics;
}
/**
* @return takeEffect
*/
public Boolean getTakeEffect() {
return this.takeEffect;
}
public static final class Builder {
private java.util.List<Container> containers;
private String description;
private Boolean enableArmsMetrics;
private Boolean takeEffect;
private Builder() {
}
private Builder(PublishWebApplicationRevisionInput model) {
this.containers = model.containers;
this.description = model.description;
this.enableArmsMetrics = model.enableArmsMetrics;
this.takeEffect = model.takeEffect;
}
/**
* <p>This parameter is required.</p>
*/
public Builder containers(java.util.List<Container> containers) {
this.containers = containers;
return this;
}
/**
* Description.
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* EnableArmsMetrics.
*/
public Builder enableArmsMetrics(Boolean enableArmsMetrics) {
this.enableArmsMetrics = enableArmsMetrics;
return this;
}
/**
* TakeEffect.
*/
public Builder takeEffect(Boolean takeEffect) {
this.takeEffect = takeEffect;
return this;
}
public PublishWebApplicationRevisionInput build() {
return new PublishWebApplicationRevisionInput(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/PublishWebApplicationRevisionRequest.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 PublishWebApplicationRevisionRequest} extends {@link RequestModel}
*
* <p>PublishWebApplicationRevisionRequest</p>
*/
public class PublishWebApplicationRevisionRequest 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.Query
@com.aliyun.core.annotation.NameInMap("NamespaceId")
@com.aliyun.core.annotation.Validation(required = true)
private String namespaceId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("body")
@com.aliyun.core.annotation.Validation(required = true)
private PublishWebApplicationRevisionInput body;
private PublishWebApplicationRevisionRequest(Builder builder) {
super(builder);
this.applicationId = builder.applicationId;
this.namespaceId = builder.namespaceId;
this.body = builder.body;
}
public static Builder builder() {
return new Builder();
}
public static PublishWebApplicationRevisionRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return applicationId
*/
public String getApplicationId() {
return this.applicationId;
}
/**
* @return namespaceId
*/
public String getNamespaceId() {
return this.namespaceId;
}
/**
* @return body
*/
public PublishWebApplicationRevisionInput getBody() {
return this.body;
}
public static final class Builder extends Request.Builder<PublishWebApplicationRevisionRequest, Builder> {
private String applicationId;
private String namespaceId;
private PublishWebApplicationRevisionInput body;
private Builder() {
super();
}
private Builder(PublishWebApplicationRevisionRequest request) {
super(request);
this.applicationId = request.applicationId;
this.namespaceId = request.namespaceId;
this.body = request.body;
}
/**
* <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 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;
}
/**
* <p>The configurations of the version.</p>
* <p>This parameter is required.</p>
*/
public Builder body(PublishWebApplicationRevisionInput body) {
this.putBodyParameter("body", body);
this.body = body;
return this;
}
@Override
public PublishWebApplicationRevisionRequest build() {
return new PublishWebApplicationRevisionRequest(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/PublishWebApplicationRevisionResponse.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 PublishWebApplicationRevisionResponse} extends {@link TeaModel}
*
* <p>PublishWebApplicationRevisionResponse</p>
*/
public class PublishWebApplicationRevisionResponse 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 WebApplicationRevisionBody body;
private PublishWebApplicationRevisionResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static PublishWebApplicationRevisionResponse 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 WebApplicationRevisionBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<PublishWebApplicationRevisionResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(WebApplicationRevisionBody body);
@Override
PublishWebApplicationRevisionResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<PublishWebApplicationRevisionResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private WebApplicationRevisionBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(PublishWebApplicationRevisionResponse 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(WebApplicationRevisionBody body) {
this.body = body;
return this;
}
@Override
public PublishWebApplicationRevisionResponse build() {
return new PublishWebApplicationRevisionResponse(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/QueryResourceStaticsRequest.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 QueryResourceStaticsRequest} extends {@link RequestModel}
*
* <p>QueryResourceStaticsRequest</p>
*/
public class QueryResourceStaticsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppId")
@com.aliyun.core.annotation.Validation(required = true)
private String appId;
private QueryResourceStaticsRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
}
public static Builder builder() {
return new Builder();
}
public static QueryResourceStaticsRequest 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<QueryResourceStaticsRequest, Builder> {
private String appId;
private Builder() {
super();
}
private Builder(QueryResourceStaticsRequest 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 QueryResourceStaticsRequest build() {
return new QueryResourceStaticsRequest(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/QueryResourceStaticsResponse.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 QueryResourceStaticsResponse} extends {@link TeaModel}
*
* <p>QueryResourceStaticsResponse</p>
*/
public class QueryResourceStaticsResponse 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 QueryResourceStaticsResponseBody body;
private QueryResourceStaticsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static QueryResourceStaticsResponse 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 QueryResourceStaticsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<QueryResourceStaticsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(QueryResourceStaticsResponseBody body);
@Override
QueryResourceStaticsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<QueryResourceStaticsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private QueryResourceStaticsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(QueryResourceStaticsResponse 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(QueryResourceStaticsResponseBody body) {
this.body = body;
return this;
}
@Override
public QueryResourceStaticsResponse build() {
return new QueryResourceStaticsResponse(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/QueryResourceStaticsResponseBody.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 QueryResourceStaticsResponseBody} extends {@link TeaModel}
*
* <p>QueryResourceStaticsResponseBody</p>
*/
public class QueryResourceStaticsResponseBody 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 QueryResourceStaticsResponseBody(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 QueryResourceStaticsResponseBody 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(QueryResourceStaticsResponseBody 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>: 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>200</p>
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* <p>The resource usage.</p>
*/
public Builder data(Data data) {
this.data = data;
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>
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* <p>The returned message.</p>
* <ul>
* <li><strong>success</strong> is returned when the request succeeds.</li>
* <li>An error code is returned when the request fails.</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>7CCF7092-72CA-4431-90D6-C7D98752****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Indicates whether the resource usage of an application was obtained. Valid values:</p>
* <ul>
* <li><strong>true</strong>: indicates that the resource usage was obtained.</li>
* <li><strong>false</strong>: indicates that the resource usage could not 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. It can be used to query the details of a request.</p>
*
* <strong>example:</strong>
* <p>ac1a08a015623098794277264e****</p>
*/
public Builder traceId(String traceId) {
this.traceId = traceId;
return this;
}
public QueryResourceStaticsResponseBody build() {
return new QueryResourceStaticsResponseBody(this);
}
}
/**
*
* {@link QueryResourceStaticsResponseBody} extends {@link TeaModel}
*
* <p>QueryResourceStaticsResponseBody</p>
*/
public static class RealTimeRes extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Cpu")
private Float cpu;
@com.aliyun.core.annotation.NameInMap("EphemeralStorage")
private Float ephemeralStorage;
@com.aliyun.core.annotation.NameInMap("Memory")
private Float memory;
private RealTimeRes(Builder builder) {
this.cpu = builder.cpu;
this.ephemeralStorage = builder.ephemeralStorage;
this.memory = builder.memory;
}
public static Builder builder() {
return new Builder();
}
public static RealTimeRes create() {
return builder().build();
}
/**
* @return cpu
*/
public Float getCpu() {
return this.cpu;
}
/**
* @return ephemeralStorage
*/
public Float getEphemeralStorage() {
return this.ephemeralStorage;
}
/**
* @return memory
*/
public Float getMemory() {
return this.memory;
}
public static final class Builder {
private Float cpu;
private Float ephemeralStorage;
private Float memory;
private Builder() {
}
private Builder(RealTimeRes model) {
this.cpu = model.cpu;
this.ephemeralStorage = model.ephemeralStorage;
this.memory = model.memory;
}
/**
* <p>The CPU usage. Unit: core per minute.</p>
*
* <strong>example:</strong>
* <p>13</p>
*/
public Builder cpu(Float cpu) {
this.cpu = cpu;
return this;
}
/**
* EphemeralStorage.
*/
public Builder ephemeralStorage(Float ephemeralStorage) {
this.ephemeralStorage = ephemeralStorage;
return this;
}
/**
* <p>The memory usage. Unit: GiB per minute.</p>
*
* <strong>example:</strong>
* <p>26</p>
*/
public Builder memory(Float memory) {
this.memory = memory;
return this;
}
public RealTimeRes build() {
return new RealTimeRes(this);
}
}
}
/**
*
* {@link QueryResourceStaticsResponseBody} extends {@link TeaModel}
*
* <p>QueryResourceStaticsResponseBody</p>
*/
public static class Summary extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ActiveCpu")
private Float activeCpu;
@com.aliyun.core.annotation.NameInMap("Cpu")
private Float cpu;
@com.aliyun.core.annotation.NameInMap("Cu")
private Float cu;
@com.aliyun.core.annotation.NameInMap("EphemeralStorage")
private Float ephemeralStorage;
@com.aliyun.core.annotation.NameInMap("GpuA10")
private Float gpuA10;
@com.aliyun.core.annotation.NameInMap("GpuPpu810e")
private Float gpuPpu810e;
@com.aliyun.core.annotation.NameInMap("IdleCpu")
private Float idleCpu;
@com.aliyun.core.annotation.NameInMap("Memory")
private Float memory;
private Summary(Builder builder) {
this.activeCpu = builder.activeCpu;
this.cpu = builder.cpu;
this.cu = builder.cu;
this.ephemeralStorage = builder.ephemeralStorage;
this.gpuA10 = builder.gpuA10;
this.gpuPpu810e = builder.gpuPpu810e;
this.idleCpu = builder.idleCpu;
this.memory = builder.memory;
}
public static Builder builder() {
return new Builder();
}
public static Summary create() {
return builder().build();
}
/**
* @return activeCpu
*/
public Float getActiveCpu() {
return this.activeCpu;
}
/**
* @return cpu
*/
public Float getCpu() {
return this.cpu;
}
/**
* @return cu
*/
public Float getCu() {
return this.cu;
}
/**
* @return ephemeralStorage
*/
public Float getEphemeralStorage() {
return this.ephemeralStorage;
}
/**
* @return gpuA10
*/
public Float getGpuA10() {
return this.gpuA10;
}
/**
* @return gpuPpu810e
*/
public Float getGpuPpu810e() {
return this.gpuPpu810e;
}
/**
* @return idleCpu
*/
public Float getIdleCpu() {
return this.idleCpu;
}
/**
* @return memory
*/
public Float getMemory() {
return this.memory;
}
public static final class Builder {
private Float activeCpu;
private Float cpu;
private Float cu;
private Float ephemeralStorage;
private Float gpuA10;
private Float gpuPpu810e;
private Float idleCpu;
private Float memory;
private Builder() {
}
private Builder(Summary model) {
this.activeCpu = model.activeCpu;
this.cpu = model.cpu;
this.cu = model.cu;
this.ephemeralStorage = model.ephemeralStorage;
this.gpuA10 = model.gpuA10;
this.gpuPpu810e = model.gpuPpu810e;
this.idleCpu = model.idleCpu;
this.memory = model.memory;
}
/**
* ActiveCpu.
*/
public Builder activeCpu(Float activeCpu) {
this.activeCpu = activeCpu;
return this;
}
/**
* <p>The CPU usage. Unit: core per minute.</p>
*
* <strong>example:</strong>
* <p>3354</p>
*/
public Builder cpu(Float cpu) {
this.cpu = cpu;
return this;
}
/**
* Cu.
*/
public Builder cu(Float cu) {
this.cu = cu;
return this;
}
/**
* EphemeralStorage.
*/
public Builder ephemeralStorage(Float ephemeralStorage) {
this.ephemeralStorage = ephemeralStorage;
return this;
}
/**
* GpuA10.
*/
public Builder gpuA10(Float gpuA10) {
this.gpuA10 = gpuA10;
return this;
}
/**
* GpuPpu810e.
*/
public Builder gpuPpu810e(Float gpuPpu810e) {
this.gpuPpu810e = gpuPpu810e;
return this;
}
/**
* IdleCpu.
*/
public Builder idleCpu(Float idleCpu) {
this.idleCpu = idleCpu;
return this;
}
/**
* <p>The memory usage. Unit: GiB per minute.</p>
*
* <strong>example:</strong>
* <p>6708</p>
*/
public Builder memory(Float memory) {
this.memory = memory;
return this;
}
public Summary build() {
return new Summary(this);
}
}
}
/**
*
* {@link QueryResourceStaticsResponseBody} extends {@link TeaModel}
*
* <p>QueryResourceStaticsResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RealTimeRes")
private RealTimeRes realTimeRes;
@com.aliyun.core.annotation.NameInMap("Summary")
private Summary summary;
private Data(Builder builder) {
this.realTimeRes = builder.realTimeRes;
this.summary = builder.summary;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return realTimeRes
*/
public RealTimeRes getRealTimeRes() {
return this.realTimeRes;
}
/**
* @return summary
*/
public Summary getSummary() {
return this.summary;
}
public static final class Builder {
private RealTimeRes realTimeRes;
private Summary summary;
private Builder() {
}
private Builder(Data model) {
this.realTimeRes = model.realTimeRes;
this.summary = model.summary;
}
/**
* <p>The real-time resource usage.</p>
*/
public Builder realTimeRes(RealTimeRes realTimeRes) {
this.realTimeRes = realTimeRes;
return this;
}
/**
* <p>The resource usage of the current month.</p>
*/
public Builder summary(Summary summary) {
this.summary = summary;
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/ReduceApplicationCapacityByInstanceIdsRequest.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 ReduceApplicationCapacityByInstanceIdsRequest} extends {@link RequestModel}
*
* <p>ReduceApplicationCapacityByInstanceIdsRequest</p>
*/
public class ReduceApplicationCapacityByInstanceIdsRequest 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("InstanceIds")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceIds;
private ReduceApplicationCapacityByInstanceIdsRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
this.instanceIds = builder.instanceIds;
}
public static Builder builder() {
return new Builder();
}
public static ReduceApplicationCapacityByInstanceIdsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return instanceIds
*/
public String getInstanceIds() {
return this.instanceIds;
}
public static final class Builder extends Request.Builder<ReduceApplicationCapacityByInstanceIdsRequest, Builder> {
private String appId;
private String instanceIds;
private Builder() {
super();
}
private Builder(ReduceApplicationCapacityByInstanceIdsRequest request) {
super(request);
this.appId = request.appId;
this.instanceIds = request.instanceIds;
}
/**
* <p>The ID of the application.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>0099b7be-5f5b-4512-a7fc-56049ef1****</p>
*/
public Builder appId(String appId) {
this.putQueryParameter("AppId", appId);
this.appId = appId;
return this;
}
/**
* <p>The ID of the instance. Separate multiple instances with commas (,).</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>b2a8a925-477a-4ed7-b825-d5e22500****</p>
*/
public Builder instanceIds(String instanceIds) {
this.putQueryParameter("InstanceIds", instanceIds);
this.instanceIds = instanceIds;
return this;
}
@Override
public ReduceApplicationCapacityByInstanceIdsRequest build() {
return new ReduceApplicationCapacityByInstanceIdsRequest(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/ReduceApplicationCapacityByInstanceIdsResponse.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 ReduceApplicationCapacityByInstanceIdsResponse} extends {@link TeaModel}
*
* <p>ReduceApplicationCapacityByInstanceIdsResponse</p>
*/
public class ReduceApplicationCapacityByInstanceIdsResponse 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 ReduceApplicationCapacityByInstanceIdsResponseBody body;
private ReduceApplicationCapacityByInstanceIdsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ReduceApplicationCapacityByInstanceIdsResponse 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 ReduceApplicationCapacityByInstanceIdsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ReduceApplicationCapacityByInstanceIdsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ReduceApplicationCapacityByInstanceIdsResponseBody body);
@Override
ReduceApplicationCapacityByInstanceIdsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ReduceApplicationCapacityByInstanceIdsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ReduceApplicationCapacityByInstanceIdsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ReduceApplicationCapacityByInstanceIdsResponse 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(ReduceApplicationCapacityByInstanceIdsResponseBody body) {
this.body = body;
return this;
}
@Override
public ReduceApplicationCapacityByInstanceIdsResponse build() {
return new ReduceApplicationCapacityByInstanceIdsResponse(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/ReduceApplicationCapacityByInstanceIdsResponseBody.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 ReduceApplicationCapacityByInstanceIdsResponseBody} extends {@link TeaModel}
*
* <p>ReduceApplicationCapacityByInstanceIdsResponseBody</p>
*/
public class ReduceApplicationCapacityByInstanceIdsResponseBody 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 ReduceApplicationCapacityByInstanceIdsResponseBody(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 ReduceApplicationCapacityByInstanceIdsResponseBody 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(ReduceApplicationCapacityByInstanceIdsResponseBody 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.</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 information about the change process.</p>
*/
public Builder data(Data data) {
this.data = data;
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 "<strong>Error codes</strong>" 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-9A8E-2F6EAE6D****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Indicates whether the information of the change order was queried. Take note of the following rules:</p>
* <ul>
* <li><strong>true</strong>: The information was queried.</li>
* <li><strong>false</strong>: The image failed to be found.</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 ReduceApplicationCapacityByInstanceIdsResponseBody build() {
return new ReduceApplicationCapacityByInstanceIdsResponseBody(this);
}
}
/**
*
* {@link ReduceApplicationCapacityByInstanceIdsResponseBody} extends {@link TeaModel}
*
* <p>ReduceApplicationCapacityByInstanceIdsResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ChangeOrderId")
private String changeOrderId;
private Data(Builder builder) {
this.changeOrderId = builder.changeOrderId;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return changeOrderId
*/
public String getChangeOrderId() {
return this.changeOrderId;
}
public static final class Builder {
private String changeOrderId;
private Builder() {
}
private Builder(Data model) {
this.changeOrderId = model.changeOrderId;
}
/**
* <p>The ID of the change process.</p>
*
* <strong>example:</strong>
* <p>76fa5c0-9ebb-4bb4-b383-1f885447****</p>
*/
public Builder changeOrderId(String changeOrderId) {
this.changeOrderId = changeOrderId;
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/RegistryAuthConfig.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 RegistryAuthConfig} extends {@link TeaModel}
*
* <p>RegistryAuthConfig</p>
*/
public class RegistryAuthConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("password")
private String password;
@com.aliyun.core.annotation.NameInMap("role")
private String role;
@com.aliyun.core.annotation.NameInMap("userName")
private String userName;
private RegistryAuthConfig(Builder builder) {
this.password = builder.password;
this.role = builder.role;
this.userName = builder.userName;
}
public static Builder builder() {
return new Builder();
}
public static RegistryAuthConfig create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return password
*/
public String getPassword() {
return this.password;
}
/**
* @return role
*/
public String getRole() {
return this.role;
}
/**
* @return userName
*/
public String getUserName() {
return this.userName;
}
public static final class Builder {
private String password;
private String role;
private String userName;
private Builder() {
}
private Builder(RegistryAuthConfig model) {
this.password = model.password;
this.role = model.role;
this.userName = model.userName;
}
/**
* password.
*/
public Builder password(String password) {
this.password = password;
return this;
}
/**
* role.
*/
public Builder role(String role) {
this.role = role;
return this;
}
/**
* userName.
*/
public Builder userName(String userName) {
this.userName = userName;
return this;
}
public RegistryAuthConfig build() {
return new RegistryAuthConfig(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/RegistryAuthenticationConfig.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 RegistryAuthenticationConfig} extends {@link TeaModel}
*
* <p>RegistryAuthenticationConfig</p>
*/
public class RegistryAuthenticationConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Password")
private String password;
@com.aliyun.core.annotation.NameInMap("UserName")
private String userName;
private RegistryAuthenticationConfig(Builder builder) {
this.password = builder.password;
this.userName = builder.userName;
}
public static Builder builder() {
return new Builder();
}
public static RegistryAuthenticationConfig create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return password
*/
public String getPassword() {
return this.password;
}
/**
* @return userName
*/
public String getUserName() {
return this.userName;
}
public static final class Builder {
private String password;
private String userName;
private Builder() {
}
private Builder(RegistryAuthenticationConfig model) {
this.password = model.password;
this.userName = model.userName;
}
/**
* Password.
*/
public Builder password(String password) {
this.password = password;
return this;
}
/**
* UserName.
*/
public Builder userName(String userName) {
this.userName = userName;
return this;
}
public RegistryAuthenticationConfig build() {
return new RegistryAuthenticationConfig(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/RegistryCertConfig.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 RegistryCertConfig} extends {@link TeaModel}
*
* <p>RegistryCertConfig</p>
*/
public class RegistryCertConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("insecure")
private Boolean insecure;
@com.aliyun.core.annotation.NameInMap("rootCaCertBase64")
private String rootCaCertBase64;
private RegistryCertConfig(Builder builder) {
this.insecure = builder.insecure;
this.rootCaCertBase64 = builder.rootCaCertBase64;
}
public static Builder builder() {
return new Builder();
}
public static RegistryCertConfig create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return insecure
*/
public Boolean getInsecure() {
return this.insecure;
}
/**
* @return rootCaCertBase64
*/
public String getRootCaCertBase64() {
return this.rootCaCertBase64;
}
public static final class Builder {
private Boolean insecure;
private String rootCaCertBase64;
private Builder() {
}
private Builder(RegistryCertConfig model) {
this.insecure = model.insecure;
this.rootCaCertBase64 = model.rootCaCertBase64;
}
/**
* insecure.
*/
public Builder insecure(Boolean insecure) {
this.insecure = insecure;
return this;
}
/**
* rootCaCertBase64.
*/
public Builder rootCaCertBase64(String rootCaCertBase64) {
this.rootCaCertBase64 = rootCaCertBase64;
return this;
}
public RegistryCertConfig build() {
return new RegistryCertConfig(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/RegistryCertificateConfig.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 RegistryCertificateConfig} extends {@link TeaModel}
*
* <p>RegistryCertificateConfig</p>
*/
public class RegistryCertificateConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CertBase64")
private String certBase64;
@com.aliyun.core.annotation.NameInMap("Insecure")
private Boolean insecure;
private RegistryCertificateConfig(Builder builder) {
this.certBase64 = builder.certBase64;
this.insecure = builder.insecure;
}
public static Builder builder() {
return new Builder();
}
public static RegistryCertificateConfig create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return certBase64
*/
public String getCertBase64() {
return this.certBase64;
}
/**
* @return insecure
*/
public Boolean getInsecure() {
return this.insecure;
}
public static final class Builder {
private String certBase64;
private Boolean insecure;
private Builder() {
}
private Builder(RegistryCertificateConfig model) {
this.certBase64 = model.certBase64;
this.insecure = model.insecure;
}
/**
* CertBase64.
*/
public Builder certBase64(String certBase64) {
this.certBase64 = certBase64;
return this;
}
/**
* Insecure.
*/
public Builder insecure(Boolean insecure) {
this.insecure = insecure;
return this;
}
public RegistryCertificateConfig build() {
return new RegistryCertificateConfig(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/RegistryConfig.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 RegistryConfig} extends {@link TeaModel}
*
* <p>RegistryConfig</p>
*/
public class RegistryConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("authConfig")
private RegistryAuthConfig authConfig;
@com.aliyun.core.annotation.NameInMap("certConfig")
private RegistryCertConfig certConfig;
private RegistryConfig(Builder builder) {
this.authConfig = builder.authConfig;
this.certConfig = builder.certConfig;
}
public static Builder builder() {
return new Builder();
}
public static RegistryConfig create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return authConfig
*/
public RegistryAuthConfig getAuthConfig() {
return this.authConfig;
}
/**
* @return certConfig
*/
public RegistryCertConfig getCertConfig() {
return this.certConfig;
}
public static final class Builder {
private RegistryAuthConfig authConfig;
private RegistryCertConfig certConfig;
private Builder() {
}
private Builder(RegistryConfig model) {
this.authConfig = model.authConfig;
this.certConfig = model.certConfig;
}
/**
* authConfig.
*/
public Builder authConfig(RegistryAuthConfig authConfig) {
this.authConfig = authConfig;
return this;
}
/**
* certConfig.
*/
public Builder certConfig(RegistryCertConfig certConfig) {
this.certConfig = certConfig;
return this;
}
public RegistryConfig build() {
return new RegistryConfig(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/RescaleApplicationRequest.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 RescaleApplicationRequest} extends {@link RequestModel}
*
* <p>RescaleApplicationRequest</p>
*/
public class RescaleApplicationRequest 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("AutoEnableApplicationScalingRule")
private Boolean autoEnableApplicationScalingRule;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MinReadyInstanceRatio")
private Integer minReadyInstanceRatio;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MinReadyInstances")
private Integer minReadyInstances;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Replicas")
@com.aliyun.core.annotation.Validation(required = true)
private Integer replicas;
private RescaleApplicationRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
this.autoEnableApplicationScalingRule = builder.autoEnableApplicationScalingRule;
this.minReadyInstanceRatio = builder.minReadyInstanceRatio;
this.minReadyInstances = builder.minReadyInstances;
this.replicas = builder.replicas;
}
public static Builder builder() {
return new Builder();
}
public static RescaleApplicationRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return autoEnableApplicationScalingRule
*/
public Boolean getAutoEnableApplicationScalingRule() {
return this.autoEnableApplicationScalingRule;
}
/**
* @return minReadyInstanceRatio
*/
public Integer getMinReadyInstanceRatio() {
return this.minReadyInstanceRatio;
}
/**
* @return minReadyInstances
*/
public Integer getMinReadyInstances() {
return this.minReadyInstances;
}
/**
* @return replicas
*/
public Integer getReplicas() {
return this.replicas;
}
public static final class Builder extends Request.Builder<RescaleApplicationRequest, Builder> {
private String appId;
private Boolean autoEnableApplicationScalingRule;
private Integer minReadyInstanceRatio;
private Integer minReadyInstances;
private Integer replicas;
private Builder() {
super();
}
private Builder(RescaleApplicationRequest request) {
super(request);
this.appId = request.appId;
this.autoEnableApplicationScalingRule = request.autoEnableApplicationScalingRule;
this.minReadyInstanceRatio = request.minReadyInstanceRatio;
this.minReadyInstances = request.minReadyInstances;
this.replicas = request.replicas;
}
/**
* <p>The ID of the application.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>0099b7be-5f5b-4512-a7fc-56049ef1****</p>
*/
public Builder appId(String appId) {
this.putQueryParameter("AppId", appId);
this.appId = appId;
return this;
}
/**
* <p>Specifies whether to automatically enable an auto scaling policy for the application. Take note of the following rules:</p>
* <ul>
* <li><strong>true</strong>: turns on Logon-free Sharing</li>
* <li><strong>false</strong>: turns off Logon-free Sharing</li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder autoEnableApplicationScalingRule(Boolean autoEnableApplicationScalingRule) {
this.putQueryParameter("AutoEnableApplicationScalingRule", autoEnableApplicationScalingRule);
this.autoEnableApplicationScalingRule = autoEnableApplicationScalingRule;
return this;
}
/**
* <p>The percentage of the minimum number of available instances. Take note of the following rules:</p>
* <ul>
* <li>If you set the value to <strong>-1</strong>, the minimum number of available instances is not determined based on this parameter. Default value: -1.</li>
* <li>If you set the value to a number <strong>from 0 to 100</strong>, the minimum number of available instances is calculated by using the following formula: Current number of instances × (Value of MinReadyInstanceRatio × 100%). The value is the nearest integer rounded up from the calculated result. For example, if the percentage is set to <strong>50</strong>% and five instances are available, the minimum number of available instances is 3.</li>
* </ul>
* <blockquote>
* <p>When <strong>MinReadyInstance</strong> and <strong>MinReadyInstanceRatio</strong> are specified and <strong>MinReadyInstanceRatio</strong> is set to a number from 0 to 100, the value of MinReadyInstanceRatio** takes precedence.**** For example, if <strong>MinReadyInstances</strong> is set to **5, and <strong>MinReadyInstanceRatio</strong> is set to <strong>50</strong>, the minimum number of available instances is set to the nearest integer rounded up from the calculated result of the following formula: Current number of instances × <strong>50%</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>-1</p>
*/
public Builder minReadyInstanceRatio(Integer minReadyInstanceRatio) {
this.putQueryParameter("MinReadyInstanceRatio", minReadyInstanceRatio);
this.minReadyInstanceRatio = minReadyInstanceRatio;
return this;
}
/**
* <p>The minimum number of available instances. Special values:</p>
* <ul>
* <li>If you set the value to <strong>0</strong>, business interruptions occur when the application is updated.</li>
* <li>If you set the value to **-1**, the minimum number of available instances is automatically set to a system-recommended value. The value is the nearest integer to which the calculated result of the following formula is rounded up: Current number of instances × 25%. For example, if five instances are available, the minimum number of available instances is calculated by using the following formula: 5 × 25% = 1.25. In this case, the minimum number of available instances is 2.</li>
* </ul>
* <blockquote>
* <p>Make sure that at least one instance is available during application deployment and rollback to prevent business interruptions.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder minReadyInstances(Integer minReadyInstances) {
this.putQueryParameter("MinReadyInstances", minReadyInstances);
this.minReadyInstances = minReadyInstances;
return this;
}
/**
* <p>The expected number of instances.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>5</p>
*/
public Builder replicas(Integer replicas) {
this.putQueryParameter("Replicas", replicas);
this.replicas = replicas;
return this;
}
@Override
public RescaleApplicationRequest build() {
return new RescaleApplicationRequest(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/RescaleApplicationResponse.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 RescaleApplicationResponse} extends {@link TeaModel}
*
* <p>RescaleApplicationResponse</p>
*/
public class RescaleApplicationResponse 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 RescaleApplicationResponseBody body;
private RescaleApplicationResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static RescaleApplicationResponse 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 RescaleApplicationResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<RescaleApplicationResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(RescaleApplicationResponseBody body);
@Override
RescaleApplicationResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<RescaleApplicationResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private RescaleApplicationResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(RescaleApplicationResponse 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(RescaleApplicationResponseBody body) {
this.body = body;
return this;
}
@Override
public RescaleApplicationResponse build() {
return new RescaleApplicationResponse(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/RescaleApplicationResponseBody.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 RescaleApplicationResponseBody} extends {@link TeaModel}
*
* <p>RescaleApplicationResponseBody</p>
*/
public class RescaleApplicationResponseBody 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 RescaleApplicationResponseBody(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 RescaleApplicationResponseBody 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(RescaleApplicationResponseBody 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. 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 response.</p>
*/
public Builder data(Data data) {
this.data = data;
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 "<strong>Error codes</strong>" section of this topic.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Null</p>
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* <p>The message returned for the operation.</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>91F93257-7A4A-4BD3-9A7E-2F6EAE6D****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Indicates whether the application is successfully scaled. Take note of the following rules:</p>
* <ul>
* <li><strong>true</strong></li>
* <li><strong>false</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public RescaleApplicationResponseBody build() {
return new RescaleApplicationResponseBody(this);
}
}
/**
*
* {@link RescaleApplicationResponseBody} extends {@link TeaModel}
*
* <p>RescaleApplicationResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ChangeOrderId")
private String changeOrderId;
private Data(Builder builder) {
this.changeOrderId = builder.changeOrderId;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return changeOrderId
*/
public String getChangeOrderId() {
return this.changeOrderId;
}
public static final class Builder {
private String changeOrderId;
private Builder() {
}
private Builder(Data model) {
this.changeOrderId = model.changeOrderId;
}
/**
* <p>The ID of the change order.</p>
*
* <strong>example:</strong>
* <p>0e09829f-4914-4612-bc88-6f52fd81****</p>
*/
public Builder changeOrderId(String changeOrderId) {
this.changeOrderId = changeOrderId;
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/RescaleApplicationVerticallyRequest.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 RescaleApplicationVerticallyRequest} extends {@link RequestModel}
*
* <p>RescaleApplicationVerticallyRequest</p>
*/
public class RescaleApplicationVerticallyRequest 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("Cpu")
@com.aliyun.core.annotation.Validation(required = true)
private String cpu;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DiskSize")
private String diskSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Memory")
@com.aliyun.core.annotation.Validation(required = true)
private String memory;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("autoEnableApplicationScalingRule")
private Boolean autoEnableApplicationScalingRule;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("minReadyInstanceRatio")
private Integer minReadyInstanceRatio;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("minReadyInstances")
private Integer minReadyInstances;
private RescaleApplicationVerticallyRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
this.cpu = builder.cpu;
this.diskSize = builder.diskSize;
this.memory = builder.memory;
this.autoEnableApplicationScalingRule = builder.autoEnableApplicationScalingRule;
this.minReadyInstanceRatio = builder.minReadyInstanceRatio;
this.minReadyInstances = builder.minReadyInstances;
}
public static Builder builder() {
return new Builder();
}
public static RescaleApplicationVerticallyRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return cpu
*/
public String getCpu() {
return this.cpu;
}
/**
* @return diskSize
*/
public String getDiskSize() {
return this.diskSize;
}
/**
* @return memory
*/
public String getMemory() {
return this.memory;
}
/**
* @return autoEnableApplicationScalingRule
*/
public Boolean getAutoEnableApplicationScalingRule() {
return this.autoEnableApplicationScalingRule;
}
/**
* @return minReadyInstanceRatio
*/
public Integer getMinReadyInstanceRatio() {
return this.minReadyInstanceRatio;
}
/**
* @return minReadyInstances
*/
public Integer getMinReadyInstances() {
return this.minReadyInstances;
}
public static final class Builder extends Request.Builder<RescaleApplicationVerticallyRequest, Builder> {
private String appId;
private String cpu;
private String diskSize;
private String memory;
private Boolean autoEnableApplicationScalingRule;
private Integer minReadyInstanceRatio;
private Integer minReadyInstances;
private Builder() {
super();
}
private Builder(RescaleApplicationVerticallyRequest request) {
super(request);
this.appId = request.appId;
this.cpu = request.cpu;
this.diskSize = request.diskSize;
this.memory = request.memory;
this.autoEnableApplicationScalingRule = request.autoEnableApplicationScalingRule;
this.minReadyInstanceRatio = request.minReadyInstanceRatio;
this.minReadyInstances = request.minReadyInstances;
}
/**
* <p>The application ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>0099b7be-5f5b-4512-a7fc-56049ef1****</p>
*/
public Builder appId(String appId) {
this.putQueryParameter("AppId", appId);
this.appId = appId;
return this;
}
/**
* <p>The destination CPU specification. Unit: millicore.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1000</p>
*/
public Builder cpu(String cpu) {
this.putQueryParameter("Cpu", cpu);
this.cpu = cpu;
return this;
}
/**
* DiskSize.
*/
public Builder diskSize(String diskSize) {
this.putQueryParameter("DiskSize", diskSize);
this.diskSize = diskSize;
return this;
}
/**
* <p>The destination memory size. Unit: MB.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>2048</p>
*/
public Builder memory(String memory) {
this.putQueryParameter("Memory", memory);
this.memory = memory;
return this;
}
/**
* autoEnableApplicationScalingRule.
*/
public Builder autoEnableApplicationScalingRule(Boolean autoEnableApplicationScalingRule) {
this.putQueryParameter("autoEnableApplicationScalingRule", autoEnableApplicationScalingRule);
this.autoEnableApplicationScalingRule = autoEnableApplicationScalingRule;
return this;
}
/**
* minReadyInstanceRatio.
*/
public Builder minReadyInstanceRatio(Integer minReadyInstanceRatio) {
this.putQueryParameter("minReadyInstanceRatio", minReadyInstanceRatio);
this.minReadyInstanceRatio = minReadyInstanceRatio;
return this;
}
/**
* minReadyInstances.
*/
public Builder minReadyInstances(Integer minReadyInstances) {
this.putQueryParameter("minReadyInstances", minReadyInstances);
this.minReadyInstances = minReadyInstances;
return this;
}
@Override
public RescaleApplicationVerticallyRequest build() {
return new RescaleApplicationVerticallyRequest(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/RescaleApplicationVerticallyResponse.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 RescaleApplicationVerticallyResponse} extends {@link TeaModel}
*
* <p>RescaleApplicationVerticallyResponse</p>
*/
public class RescaleApplicationVerticallyResponse 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 RescaleApplicationVerticallyResponseBody body;
private RescaleApplicationVerticallyResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static RescaleApplicationVerticallyResponse 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 RescaleApplicationVerticallyResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<RescaleApplicationVerticallyResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(RescaleApplicationVerticallyResponseBody body);
@Override
RescaleApplicationVerticallyResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<RescaleApplicationVerticallyResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private RescaleApplicationVerticallyResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(RescaleApplicationVerticallyResponse 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(RescaleApplicationVerticallyResponseBody body) {
this.body = body;
return this;
}
@Override
public RescaleApplicationVerticallyResponse build() {
return new RescaleApplicationVerticallyResponse(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/RescaleApplicationVerticallyResponseBody.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 RescaleApplicationVerticallyResponseBody} extends {@link TeaModel}
*
* <p>RescaleApplicationVerticallyResponseBody</p>
*/
public class RescaleApplicationVerticallyResponseBody 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 RescaleApplicationVerticallyResponseBody(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 RescaleApplicationVerticallyResponseBody 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(RescaleApplicationVerticallyResponseBody 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. 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 response.</p>
*/
public Builder data(Data data) {
this.data = data;
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>The <strong>ErrorCode</strong> parameter is returned if the request fails. For more information, see the <strong>Error codes</strong> section in this topic.</li>
* </ul>
*
* <strong>example:</strong>
* <p>Null</p>
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* <p>The message returned for the operation.</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>AB521DBB-FA78-42E6-803F-A862EA4F****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Indicates whether the instance specifications are changed. Take note of the following rules:</p>
* <ul>
* <li><strong>true</strong></li>
* <li><strong>false</strong></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>0bc3b6f315637273629117900d****</p>
*/
public Builder traceId(String traceId) {
this.traceId = traceId;
return this;
}
public RescaleApplicationVerticallyResponseBody build() {
return new RescaleApplicationVerticallyResponseBody(this);
}
}
/**
*
* {@link RescaleApplicationVerticallyResponseBody} extends {@link TeaModel}
*
* <p>RescaleApplicationVerticallyResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ChangeOrderId")
private String changeOrderId;
private Data(Builder builder) {
this.changeOrderId = builder.changeOrderId;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return changeOrderId
*/
public String getChangeOrderId() {
return this.changeOrderId;
}
public static final class Builder {
private String changeOrderId;
private Builder() {
}
private Builder(Data model) {
this.changeOrderId = model.changeOrderId;
}
/**
* <p>The ID of the change order.</p>
*
* <strong>example:</strong>
* <p>ffd8cd45-2b5f-415d-b4d0-1003e80b****</p>
*/
public Builder changeOrderId(String changeOrderId) {
this.changeOrderId = changeOrderId;
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/RestartApplicationRequest.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 RestartApplicationRequest} extends {@link RequestModel}
*
* <p>RestartApplicationRequest</p>
*/
public class RestartApplicationRequest 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("AutoEnableApplicationScalingRule")
private Boolean autoEnableApplicationScalingRule;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MinReadyInstanceRatio")
private Integer minReadyInstanceRatio;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MinReadyInstances")
private Integer minReadyInstances;
private RestartApplicationRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
this.autoEnableApplicationScalingRule = builder.autoEnableApplicationScalingRule;
this.minReadyInstanceRatio = builder.minReadyInstanceRatio;
this.minReadyInstances = builder.minReadyInstances;
}
public static Builder builder() {
return new Builder();
}
public static RestartApplicationRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return autoEnableApplicationScalingRule
*/
public Boolean getAutoEnableApplicationScalingRule() {
return this.autoEnableApplicationScalingRule;
}
/**
* @return minReadyInstanceRatio
*/
public Integer getMinReadyInstanceRatio() {
return this.minReadyInstanceRatio;
}
/**
* @return minReadyInstances
*/
public Integer getMinReadyInstances() {
return this.minReadyInstances;
}
public static final class Builder extends Request.Builder<RestartApplicationRequest, Builder> {
private String appId;
private Boolean autoEnableApplicationScalingRule;
private Integer minReadyInstanceRatio;
private Integer minReadyInstances;
private Builder() {
super();
}
private Builder(RestartApplicationRequest request) {
super(request);
this.appId = request.appId;
this.autoEnableApplicationScalingRule = request.autoEnableApplicationScalingRule;
this.minReadyInstanceRatio = request.minReadyInstanceRatio;
this.minReadyInstances = request.minReadyInstances;
}
/**
* <p>The ID of the application.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>0099b7be-5f5b-4512-a7fc-56049ef1****</p>
*/
public Builder appId(String appId) {
this.putQueryParameter("AppId", appId);
this.appId = appId;
return this;
}
/**
* AutoEnableApplicationScalingRule.
*/
public Builder autoEnableApplicationScalingRule(Boolean autoEnableApplicationScalingRule) {
this.putQueryParameter("AutoEnableApplicationScalingRule", autoEnableApplicationScalingRule);
this.autoEnableApplicationScalingRule = autoEnableApplicationScalingRule;
return this;
}
/**
* <p>The percentage of the minimum number of available instances. Take note of the following rules:</p>
* <ul>
* <li>If you set the value to <strong>-1</strong>, the minimum number of available instances is not determined based on this parameter. Default value: -1.</li>
* <li>If you set the value to a number <strong>from 0 to 100</strong>, the minimum number of available instances is calculated by using the following formula: Current number of instances × (Value of MinReadyInstanceRatio × 100%). The value is the nearest integer rounded up from the calculated result. For example, if the percentage is set to <strong>50</strong>% and five instances are available, the minimum number of available instances is 3.</li>
* </ul>
* <blockquote>
* <p>When <strong>MinReadyInstance</strong> and <strong>MinReadyInstanceRatio</strong> are specified and <strong>MinReadyInstanceRatio</strong> is set to a number from 0 to 100, the value of **MinReadyInstanceRatio** takes precedence.**** For example, if <strong>MinReadyInstances</strong> is set to **5**, and <strong>MinReadyInstanceRatio</strong> is set to <strong>50</strong>, the minimum number of available instances is set to the nearest integer rounded up from the calculated result of the following formula: Current number of instances × <strong>50%</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>-1</p>
*/
public Builder minReadyInstanceRatio(Integer minReadyInstanceRatio) {
this.putQueryParameter("MinReadyInstanceRatio", minReadyInstanceRatio);
this.minReadyInstanceRatio = minReadyInstanceRatio;
return this;
}
/**
* <p>The minimum number of available instances. Special values:</p>
* <ul>
* <li>If you set the value to <strong>0</strong>, business interruptions occur when the application is updated.</li>
* <li>If you set the value to **-1**, the minimum number of available instances is automatically set to a system-recommended value. The value is the nearest integer to which the calculated result of the following formula is rounded up: Current number of instances × 25%. For example, if five instances are available, the minimum number of available instances is calculated by using the following formula: 5 × 25% = 1.25. In this case, the minimum number of available instances is 2.</li>
* </ul>
* <blockquote>
* <p>Make sure that at least one instance is available during application deployment and rollback to prevent business interruptions.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder minReadyInstances(Integer minReadyInstances) {
this.putQueryParameter("MinReadyInstances", minReadyInstances);
this.minReadyInstances = minReadyInstances;
return this;
}
@Override
public RestartApplicationRequest build() {
return new RestartApplicationRequest(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/RestartApplicationResponse.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 RestartApplicationResponse} extends {@link TeaModel}
*
* <p>RestartApplicationResponse</p>
*/
public class RestartApplicationResponse 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 RestartApplicationResponseBody body;
private RestartApplicationResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static RestartApplicationResponse 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 RestartApplicationResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<RestartApplicationResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(RestartApplicationResponseBody body);
@Override
RestartApplicationResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<RestartApplicationResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private RestartApplicationResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(RestartApplicationResponse 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(RestartApplicationResponseBody body) {
this.body = body;
return this;
}
@Override
public RestartApplicationResponse build() {
return new RestartApplicationResponse(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/RestartApplicationResponseBody.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 RestartApplicationResponseBody} extends {@link TeaModel}
*
* <p>RestartApplicationResponseBody</p>
*/
public class RestartApplicationResponseBody 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 RestartApplicationResponseBody(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 RestartApplicationResponseBody 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(RestartApplicationResponseBody 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. 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 response.</p>
*/
public Builder data(Data data) {
this.data = data;
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 "<strong>Error codes</strong>" 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>Indicates whether the instance is successfully restarted. Take note of the following rules:</p>
* <ul>
* <li><strong>true</strong></li>
* <li><strong>false</strong></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 RestartApplicationResponseBody build() {
return new RestartApplicationResponseBody(this);
}
}
/**
*
* {@link RestartApplicationResponseBody} extends {@link TeaModel}
*
* <p>RestartApplicationResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ChangeOrderId")
private String changeOrderId;
private Data(Builder builder) {
this.changeOrderId = builder.changeOrderId;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return changeOrderId
*/
public String getChangeOrderId() {
return this.changeOrderId;
}
public static final class Builder {
private String changeOrderId;
private Builder() {
}
private Builder(Data model) {
this.changeOrderId = model.changeOrderId;
}
/**
* <p>The ID of the change process.</p>
*
* <strong>example:</strong>
* <p>4a815998-b468-4bea-b7d8-59f52a44****</p>
*/
public Builder changeOrderId(String changeOrderId) {
this.changeOrderId = changeOrderId;
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/RestartInstancesRequest.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 RestartInstancesRequest} extends {@link RequestModel}
*
* <p>RestartInstancesRequest</p>
*/
public class RestartInstancesRequest 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("InstanceIds")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceIds;
private RestartInstancesRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
this.instanceIds = builder.instanceIds;
}
public static Builder builder() {
return new Builder();
}
public static RestartInstancesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return instanceIds
*/
public String getInstanceIds() {
return this.instanceIds;
}
public static final class Builder extends Request.Builder<RestartInstancesRequest, Builder> {
private String appId;
private String instanceIds;
private Builder() {
super();
}
private Builder(RestartInstancesRequest request) {
super(request);
this.appId = request.appId;
this.instanceIds = request.instanceIds;
}
/**
* <p>The application ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1daa7236-3844-4f36-b39a-605b0cc0****</p>
*/
public Builder appId(String appId) {
this.putQueryParameter("AppId", appId);
this.appId = appId;
return this;
}
/**
* <p>The ID of the instance to be restarted. Separate multiple instance IDs with commas (,).</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>mysae-1daa7236-3844-4f36-b39a-605b0cc0caa6-*****</p>
*/
public Builder instanceIds(String instanceIds) {
this.putQueryParameter("InstanceIds", instanceIds);
this.instanceIds = instanceIds;
return this;
}
@Override
public RestartInstancesRequest build() {
return new RestartInstancesRequest(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/RestartInstancesResponse.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 RestartInstancesResponse} extends {@link TeaModel}
*
* <p>RestartInstancesResponse</p>
*/
public class RestartInstancesResponse 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 RestartInstancesResponseBody body;
private RestartInstancesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static RestartInstancesResponse 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 RestartInstancesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<RestartInstancesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(RestartInstancesResponseBody body);
@Override
RestartInstancesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<RestartInstancesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private RestartInstancesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(RestartInstancesResponse 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(RestartInstancesResponseBody body) {
this.body = body;
return this;
}
@Override
public RestartInstancesResponse build() {
return new RestartInstancesResponse(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/RestartInstancesResponseBody.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 RestartInstancesResponseBody} extends {@link TeaModel}
*
* <p>RestartInstancesResponseBody</p>
*/
public class RestartInstancesResponseBody 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 RestartInstancesResponseBody(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 RestartInstancesResponseBody 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(RestartInstancesResponseBody 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. 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 details of the application.</p>
*/
public Builder data(Data data) {
this.data = data;
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 "<strong>Error codes</strong>" 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 request ID.</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></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 RestartInstancesResponseBody build() {
return new RestartInstancesResponseBody(this);
}
}
/**
*
* {@link RestartInstancesResponseBody} extends {@link TeaModel}
*
* <p>RestartInstancesResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ChangeOrderId")
private String changeOrderId;
private Data(Builder builder) {
this.changeOrderId = builder.changeOrderId;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return changeOrderId
*/
public String getChangeOrderId() {
return this.changeOrderId;
}
public static final class Builder {
private String changeOrderId;
private Builder() {
}
private Builder(Data model) {
this.changeOrderId = model.changeOrderId;
}
/**
* <p>The ID of the change order.</p>
*
* <strong>example:</strong>
* <p>5afa5b98-0c64-4637-983f-15eaa888****</p>
*/
public Builder changeOrderId(String changeOrderId) {
this.changeOrderId = changeOrderId;
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/Revision.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 Revision} extends {@link TeaModel}
*
* <p>Revision</p>
*/
public class Revision extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreatedTime")
private String createdTime;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("RevisionConfig")
private RevisionConfig revisionConfig;
@com.aliyun.core.annotation.NameInMap("RevisionId")
private String revisionId;
@com.aliyun.core.annotation.NameInMap("Weight")
private Float weight;
private Revision(Builder builder) {
this.createdTime = builder.createdTime;
this.description = builder.description;
this.revisionConfig = builder.revisionConfig;
this.revisionId = builder.revisionId;
this.weight = builder.weight;
}
public static Builder builder() {
return new Builder();
}
public static Revision create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return createdTime
*/
public String getCreatedTime() {
return this.createdTime;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return revisionConfig
*/
public RevisionConfig getRevisionConfig() {
return this.revisionConfig;
}
/**
* @return revisionId
*/
public String getRevisionId() {
return this.revisionId;
}
/**
* @return weight
*/
public Float getWeight() {
return this.weight;
}
public static final class Builder {
private String createdTime;
private String description;
private RevisionConfig revisionConfig;
private String revisionId;
private Float weight;
private Builder() {
}
private Builder(Revision model) {
this.createdTime = model.createdTime;
this.description = model.description;
this.revisionConfig = model.revisionConfig;
this.revisionId = model.revisionId;
this.weight = model.weight;
}
/**
* CreatedTime.
*/
public Builder createdTime(String createdTime) {
this.createdTime = createdTime;
return this;
}
/**
* Description.
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* RevisionConfig.
*/
public Builder revisionConfig(RevisionConfig revisionConfig) {
this.revisionConfig = revisionConfig;
return this;
}
/**
* RevisionId.
*/
public Builder revisionId(String revisionId) {
this.revisionId = revisionId;
return this;
}
/**
* Weight.
*/
public Builder weight(Float weight) {
this.weight = weight;
return this;
}
public Revision build() {
return new Revision(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/RevisionConfig.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 RevisionConfig} extends {@link TeaModel}
*
* <p>RevisionConfig</p>
*/
public class RevisionConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Containers")
@com.aliyun.core.annotation.Validation(required = true)
private java.util.List<Container> containers;
@com.aliyun.core.annotation.NameInMap("EnableArmsMetrics")
private Boolean enableArmsMetrics;
@com.aliyun.core.annotation.NameInMap("WebNetworkConfig")
private WebNetworkConfig webNetworkConfig;
private RevisionConfig(Builder builder) {
this.containers = builder.containers;
this.enableArmsMetrics = builder.enableArmsMetrics;
this.webNetworkConfig = builder.webNetworkConfig;
}
public static Builder builder() {
return new Builder();
}
public static RevisionConfig create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return containers
*/
public java.util.List<Container> getContainers() {
return this.containers;
}
/**
* @return enableArmsMetrics
*/
public Boolean getEnableArmsMetrics() {
return this.enableArmsMetrics;
}
/**
* @return webNetworkConfig
*/
public WebNetworkConfig getWebNetworkConfig() {
return this.webNetworkConfig;
}
public static final class Builder {
private java.util.List<Container> containers;
private Boolean enableArmsMetrics;
private WebNetworkConfig webNetworkConfig;
private Builder() {
}
private Builder(RevisionConfig model) {
this.containers = model.containers;
this.enableArmsMetrics = model.enableArmsMetrics;
this.webNetworkConfig = model.webNetworkConfig;
}
/**
* <p>This parameter is required.</p>
*/
public Builder containers(java.util.List<Container> containers) {
this.containers = containers;
return this;
}
/**
* EnableArmsMetrics.
*/
public Builder enableArmsMetrics(Boolean enableArmsMetrics) {
this.enableArmsMetrics = enableArmsMetrics;
return this;
}
/**
* WebNetworkConfig.
*/
public Builder webNetworkConfig(WebNetworkConfig webNetworkConfig) {
this.webNetworkConfig = webNetworkConfig;
return this;
}
public RevisionConfig build() {
return new RevisionConfig(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/RollbackApplicationRequest.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 RollbackApplicationRequest} extends {@link RequestModel}
*
* <p>RollbackApplicationRequest</p>
*/
public class RollbackApplicationRequest 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("AutoEnableApplicationScalingRule")
private String autoEnableApplicationScalingRule;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BatchWaitTime")
private Integer batchWaitTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MinReadyInstanceRatio")
private Integer minReadyInstanceRatio;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MinReadyInstances")
private Integer minReadyInstances;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("UpdateStrategy")
private String updateStrategy;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VersionId")
@com.aliyun.core.annotation.Validation(required = true)
private String versionId;
private RollbackApplicationRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
this.autoEnableApplicationScalingRule = builder.autoEnableApplicationScalingRule;
this.batchWaitTime = builder.batchWaitTime;
this.minReadyInstanceRatio = builder.minReadyInstanceRatio;
this.minReadyInstances = builder.minReadyInstances;
this.updateStrategy = builder.updateStrategy;
this.versionId = builder.versionId;
}
public static Builder builder() {
return new Builder();
}
public static RollbackApplicationRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return autoEnableApplicationScalingRule
*/
public String getAutoEnableApplicationScalingRule() {
return this.autoEnableApplicationScalingRule;
}
/**
* @return batchWaitTime
*/
public Integer getBatchWaitTime() {
return this.batchWaitTime;
}
/**
* @return minReadyInstanceRatio
*/
public Integer getMinReadyInstanceRatio() {
return this.minReadyInstanceRatio;
}
/**
* @return minReadyInstances
*/
public Integer getMinReadyInstances() {
return this.minReadyInstances;
}
/**
* @return updateStrategy
*/
public String getUpdateStrategy() {
return this.updateStrategy;
}
/**
* @return versionId
*/
public String getVersionId() {
return this.versionId;
}
public static final class Builder extends Request.Builder<RollbackApplicationRequest, Builder> {
private String appId;
private String autoEnableApplicationScalingRule;
private Integer batchWaitTime;
private Integer minReadyInstanceRatio;
private Integer minReadyInstances;
private String updateStrategy;
private String versionId;
private Builder() {
super();
}
private Builder(RollbackApplicationRequest request) {
super(request);
this.appId = request.appId;
this.autoEnableApplicationScalingRule = request.autoEnableApplicationScalingRule;
this.batchWaitTime = request.batchWaitTime;
this.minReadyInstanceRatio = request.minReadyInstanceRatio;
this.minReadyInstances = request.minReadyInstances;
this.updateStrategy = request.updateStrategy;
this.versionId = request.versionId;
}
/**
* <p>The ID of the application.</p>
* <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>Specifies whether to automatically enable an auto scaling policy for the application. Take note of the following rules:</p>
* <ul>
* <li><strong>true</strong>: turns on Logon-free Sharing</li>
* <li><strong>false</strong>: turns off Logon-free Sharing</li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder autoEnableApplicationScalingRule(String autoEnableApplicationScalingRule) {
this.putQueryParameter("AutoEnableApplicationScalingRule", autoEnableApplicationScalingRule);
this.autoEnableApplicationScalingRule = autoEnableApplicationScalingRule;
return this;
}
/**
* <p>The wait time between batches. Unit: seconds.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder batchWaitTime(Integer batchWaitTime) {
this.putQueryParameter("BatchWaitTime", batchWaitTime);
this.batchWaitTime = batchWaitTime;
return this;
}
/**
* <p>The percentage of the minimum number of available instances. Take note of the following rules:</p>
* <ul>
* <li>If you set the value to <strong>-1</strong>, the minimum number of available instances is not determined based on this parameter. Default value: -1.</li>
* <li>If you set the value to a number <strong>from 0 to 100</strong>, the minimum number of available instances is calculated by using the following formula: Current number of instances × (Value of MinReadyInstanceRatio × 100%). The value is the nearest integer rounded up from the calculated result. For example, if the percentage is set to <strong>50</strong>% and five instances are available, the minimum number of available instances is 3.</li>
* </ul>
* <blockquote>
* <p>When both <strong>MinReadyInstance</strong> and <strong>MinReadyInstanceRatio</strong> are specified and <strong>MinReadyInstanceRatio</strong> is set to a number from 0 to 100, the value of <strong>MinReadyInstanceRatio</strong> takes precedence.** For example, if <strong>MinReadyInstances</strong> is set to **5, and <strong>MinReadyInstanceRatio</strong> is set to <strong>50</strong>, the minimum number of available instances is set to the nearest integer rounded up from the calculated result of the following formula: Current number of instances × <strong>50%</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>-1</p>
*/
public Builder minReadyInstanceRatio(Integer minReadyInstanceRatio) {
this.putQueryParameter("MinReadyInstanceRatio", minReadyInstanceRatio);
this.minReadyInstanceRatio = minReadyInstanceRatio;
return this;
}
/**
* <p>The minimum number of available instances. Take note of the following rules:</p>
* <ul>
* <li>If you set the value to <strong>0</strong>, business interruptions occur when the application is updated.</li>
* <li>If you set the value to **-1**, the minimum number of available instances is automatically set to a system-recommended value. The value is the nearest integer to which the calculated result of the following formula is rounded up: Current number of instances × 25%. For example, if five instances are available, the minimum number of available instances is calculated by using the following formula: 5 × 25% = 1.25. In this case, the minimum number of available instances is 2.</li>
* </ul>
* <blockquote>
* <p>Make sure that at least one instance is available during application deployment and rollback to prevent business interruptions.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder minReadyInstances(Integer minReadyInstances) {
this.putQueryParameter("MinReadyInstances", minReadyInstances);
this.minReadyInstances = minReadyInstances;
return this;
}
/**
* <p>The deployment policy. If the minimum number of available instances is 1, the value of the <strong>UpdateStrategy</strong> parameter is an empty string (""). If the minimum number of available instances is larger than 1, specify this parameter based on your requirements. Examples:</p>
* <ul>
* <li><p>Perform canary release for one instance and release the remaining instances in two batches automatically with a one-minute interval between the deployment of each instance:</p>
* <p><code>{"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":1},"grayUpdate":{"gray":1}}</code></p>
* </li>
* <li><p>Perform canary release for one instance and release the remaining instances in two batches manually:</p>
* <p><code>{"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"manual"},"grayUpdate":{"gray":1}}</code></p>
* </li>
* <li><p>Release the instances in two batches automatically with no interval between the deployment of each instance:</p>
* <p><code>{"type":"BatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":0}}</code></p>
* </li>
* </ul>
* <p>The following table describes the parameters that are used in the preceding statements.</p>
* <ul>
* <li><p><strong>type</strong>: the type of the release policy. Valid values: <strong>GrayBatchUpdate</strong> and <strong>BatchUpdate</strong>.</p>
* </li>
* <li><p><strong>batchUpdate</strong>: the phased release policy.</p>
* <ul>
* <li><strong>batch</strong>: the number of release batches.</li>
* <li><strong>releaseType</strong>: the processing method for the batches. Valid values: <strong>auto</strong> and <strong>manual</strong>.</li>
* <li><strong>batchWaitTime</strong>: the interval between release batches. Unit: seconds.</li>
* </ul>
* </li>
* <li><p><strong>grayUpdate</strong>: the number of release batches in the phased release after a canary release. This parameter is returned only if the <strong>type</strong> parameter is set to <strong>GrayBatchUpdate</strong>.</p>
* </li>
* </ul>
*
* <strong>example:</strong>
* <p>{"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":1},"grayUpdate":{"gray":1}}</p>
*/
public Builder updateStrategy(String updateStrategy) {
this.putQueryParameter("UpdateStrategy", updateStrategy);
this.updateStrategy = updateStrategy;
return this;
}
/**
* <p>The ID of the application version. Call the <a href="https://help.aliyun.com/document_detail/162054.html">ListAppVersions</a> operation to obtain the version ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>0026ff7f-2b57-4127-bdd0-9bf202bb9****</p>
*/
public Builder versionId(String versionId) {
this.putQueryParameter("VersionId", versionId);
this.versionId = versionId;
return this;
}
@Override
public RollbackApplicationRequest build() {
return new RollbackApplicationRequest(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/RollbackApplicationResponse.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 RollbackApplicationResponse} extends {@link TeaModel}
*
* <p>RollbackApplicationResponse</p>
*/
public class RollbackApplicationResponse 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 RollbackApplicationResponseBody body;
private RollbackApplicationResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static RollbackApplicationResponse 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 RollbackApplicationResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<RollbackApplicationResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(RollbackApplicationResponseBody body);
@Override
RollbackApplicationResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<RollbackApplicationResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private RollbackApplicationResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(RollbackApplicationResponse 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(RollbackApplicationResponseBody body) {
this.body = body;
return this;
}
@Override
public RollbackApplicationResponse build() {
return new RollbackApplicationResponse(this);
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.