index int64 | repo_id string | file_path string | content string |
|---|---|---|---|
0 | java-sources/com/aliyun/alibabacloud-sgw20180511/1.0.0/com/aliyun/sdk/service/sgw20180511 | java-sources/com/aliyun/alibabacloud-sgw20180511/1.0.0/com/aliyun/sdk/service/sgw20180511/models/ValidateExpressSyncConfigResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sgw20180511.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link ValidateExpressSyncConfigResponseBody} extends {@link TeaModel}
*
* <p>ValidateExpressSyncConfigResponseBody</p>
*/
public class ValidateExpressSyncConfigResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("IsValid")
private Boolean isValid;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
@NameInMap("ValidateMessage")
private String validateMessage;
private ValidateExpressSyncConfigResponseBody(Builder builder) {
this.code = builder.code;
this.isValid = builder.isValid;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
this.validateMessage = builder.validateMessage;
}
public static Builder builder() {
return new Builder();
}
public static ValidateExpressSyncConfigResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return isValid
*/
public Boolean getIsValid() {
return this.isValid;
}
/**
* @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 validateMessage
*/
public String getValidateMessage() {
return this.validateMessage;
}
public static final class Builder {
private String code;
private Boolean isValid;
private String message;
private String requestId;
private Boolean success;
private String validateMessage;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* IsValid.
*/
public Builder isValid(Boolean isValid) {
this.isValid = isValid;
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;
}
/**
* ValidateMessage.
*/
public Builder validateMessage(String validateMessage) {
this.validateMessage = validateMessage;
return this;
}
public ValidateExpressSyncConfigResponseBody build() {
return new ValidateExpressSyncConfigResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sgw20180511/1.0.0/com/aliyun/sdk/service/sgw20180511 | java-sources/com/aliyun/alibabacloud-sgw20180511/1.0.0/com/aliyun/sdk/service/sgw20180511/models/ValidateGatewayNameRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sgw20180511.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link ValidateGatewayNameRequest} extends {@link RequestModel}
*
* <p>ValidateGatewayNameRequest</p>
*/
public class ValidateGatewayNameRequest extends Request {
@Query
@NameInMap("Name")
private String name;
@Query
@NameInMap("StorageBundleId")
private String storageBundleId;
private ValidateGatewayNameRequest(Builder builder) {
super(builder);
this.name = builder.name;
this.storageBundleId = builder.storageBundleId;
}
public static Builder builder() {
return new Builder();
}
public static ValidateGatewayNameRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return storageBundleId
*/
public String getStorageBundleId() {
return this.storageBundleId;
}
public static final class Builder extends Request.Builder<ValidateGatewayNameRequest, Builder> {
private String name;
private String storageBundleId;
private Builder() {
super();
}
private Builder(ValidateGatewayNameRequest request) {
super(request);
this.name = request.name;
this.storageBundleId = request.storageBundleId;
}
/**
* Name.
*/
public Builder name(String name) {
this.putQueryParameter("Name", name);
this.name = name;
return this;
}
/**
* StorageBundleId.
*/
public Builder storageBundleId(String storageBundleId) {
this.putQueryParameter("StorageBundleId", storageBundleId);
this.storageBundleId = storageBundleId;
return this;
}
@Override
public ValidateGatewayNameRequest build() {
return new ValidateGatewayNameRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sgw20180511/1.0.0/com/aliyun/sdk/service/sgw20180511 | java-sources/com/aliyun/alibabacloud-sgw20180511/1.0.0/com/aliyun/sdk/service/sgw20180511/models/ValidateGatewayNameResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sgw20180511.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link ValidateGatewayNameResponse} extends {@link TeaModel}
*
* <p>ValidateGatewayNameResponse</p>
*/
public class ValidateGatewayNameResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private ValidateGatewayNameResponseBody body;
private ValidateGatewayNameResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ValidateGatewayNameResponse 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 ValidateGatewayNameResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ValidateGatewayNameResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(ValidateGatewayNameResponseBody body);
@Override
ValidateGatewayNameResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ValidateGatewayNameResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private ValidateGatewayNameResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ValidateGatewayNameResponse 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(ValidateGatewayNameResponseBody body) {
this.body = body;
return this;
}
@Override
public ValidateGatewayNameResponse build() {
return new ValidateGatewayNameResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sgw20180511/1.0.0/com/aliyun/sdk/service/sgw20180511 | java-sources/com/aliyun/alibabacloud-sgw20180511/1.0.0/com/aliyun/sdk/service/sgw20180511/models/ValidateGatewayNameResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sgw20180511.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link ValidateGatewayNameResponseBody} extends {@link TeaModel}
*
* <p>ValidateGatewayNameResponseBody</p>
*/
public class ValidateGatewayNameResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("IsValid")
private Boolean isValid;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private ValidateGatewayNameResponseBody(Builder builder) {
this.code = builder.code;
this.isValid = builder.isValid;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static ValidateGatewayNameResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return isValid
*/
public Boolean getIsValid() {
return this.isValid;
}
/**
* @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 Boolean isValid;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* IsValid.
*/
public Builder isValid(Boolean isValid) {
this.isValid = isValid;
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 ValidateGatewayNameResponseBody build() {
return new ValidateGatewayNameResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726/AsyncClient.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sgx_dcap_server20200726;
import com.aliyun.core.utils.SdkAutoCloseable;
import com.aliyun.sdk.service.sgx_dcap_server20200726.models.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import java.util.concurrent.CompletableFuture;
public interface AsyncClient extends SdkAutoCloseable {
static DefaultAsyncClientBuilder builder() {
return new DefaultAsyncClientBuilder();
}
static AsyncClient create() {
return builder().build();
}
CompletableFuture<GetQeIdentityResponse> getQeIdentity(GetQeIdentityRequest request);
CompletableFuture<GetQveIdentityResponse> getQveIdentity(GetQveIdentityRequest request);
CompletableFuture<GetTcbInfoResponse> getTcbInfo(GetTcbInfoRequest request);
CompletableFuture<PckCrlResponse> pckCrl(PckCrlRequest request);
CompletableFuture<RootCaCrlResponse> rootCaCrl(RootCaCrlRequest request);
CompletableFuture<SimplePackagePckCertResponse> simplePackagePckCert(SimplePackagePckCertRequest request);
}
|
0 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726/DefaultAsyncClient.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sgx_dcap_server20200726;
import com.aliyun.core.http.*;
import com.aliyun.sdk.service.sgx_dcap_server20200726.models.*;
import darabonba.core.utils.*;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import java.util.concurrent.CompletableFuture;
/**
* <p>Main client.</p>
*/
public final class DefaultAsyncClient implements AsyncClient {
protected final String product;
protected final String version;
protected final String endpointRule;
protected final java.util.Map<String, String> endpointMap;
protected final TeaRequest REQUEST;
protected final TeaAsyncHandler handler;
protected DefaultAsyncClient(ClientConfiguration configuration) {
this.handler = new TeaAsyncHandler(configuration);
this.product = "sgx-dcap-server";
this.version = "2020-07-26";
this.endpointRule = "";
this.endpointMap = new java.util.HashMap<>();
this.REQUEST = TeaRequest.create().setProduct(product).setEndpointRule(endpointRule).setEndpointMap(endpointMap).setVersion(version);
}
@Override
public void close() {
this.handler.close();
}
@Override
public CompletableFuture<GetQeIdentityResponse> getQeIdentity(GetQeIdentityRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetQeIdentity").setMethod(HttpMethod.GET).setPathRegex("/sgx/certification/v3/qe/identity").setBodyType(BodyType.STRING).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetQeIdentityResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetQeIdentityResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<GetQveIdentityResponse> getQveIdentity(GetQveIdentityRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetQveIdentity").setMethod(HttpMethod.GET).setPathRegex("/sgx/certification/v3/qve/identity").setBodyType(BodyType.STRING).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetQveIdentityResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetQveIdentityResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<GetTcbInfoResponse> getTcbInfo(GetTcbInfoRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("GetTcbInfo").setMethod(HttpMethod.GET).setPathRegex("/sgx/certification/v3/tcb").setBodyType(BodyType.STRING).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetTcbInfoResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<GetTcbInfoResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<PckCrlResponse> pckCrl(PckCrlRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("PckCrl").setMethod(HttpMethod.GET).setPathRegex("/sgx/certification/v3/pckcrl").setBodyType(BodyType.STRING).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(PckCrlResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<PckCrlResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<RootCaCrlResponse> rootCaCrl(RootCaCrlRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("RootCaCrl").setMethod(HttpMethod.GET).setPathRegex("/sgx/certification/v3/rootcacrl").setBodyType(BodyType.STRING).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RootCaCrlResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RootCaCrlResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
@Override
public CompletableFuture<SimplePackagePckCertResponse> simplePackagePckCert(SimplePackagePckCertRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RESTFUL).setAction("SimplePackagePckCert").setMethod(HttpMethod.GET).setPathRegex("/sgx/certification/v3/pckcert").setBodyType(BodyType.STRING).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SimplePackagePckCertResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SimplePackagePckCertResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726/DefaultAsyncClientBuilder.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sgx_dcap_server20200726;
import com.aliyun.sdk.gateway.pop.BaseClientBuilder;
public final class DefaultAsyncClientBuilder extends BaseClientBuilder<DefaultAsyncClientBuilder, AsyncClient> {
@Override
protected String serviceName() {
return "sgx_dcap_server20200726";
}
@Override
protected final AsyncClient buildClient() {
return new DefaultAsyncClient(super.applyClientConfiguration());
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726/models/GetQeIdentityRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sgx_dcap_server20200726.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetQeIdentityRequest} extends {@link RequestModel}
*
* <p>GetQeIdentityRequest</p>
*/
public class GetQeIdentityRequest extends Request {
@Host
@NameInMap("RegionId")
private String regionId;
@Query
@NameInMap("AcsHost")
private String acsHost;
@Query
@NameInMap("ClientVpcId")
private String clientVpcId;
private GetQeIdentityRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.acsHost = builder.acsHost;
this.clientVpcId = builder.clientVpcId;
}
public static Builder builder() {
return new Builder();
}
public static GetQeIdentityRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return acsHost
*/
public String getAcsHost() {
return this.acsHost;
}
/**
* @return clientVpcId
*/
public String getClientVpcId() {
return this.clientVpcId;
}
public static final class Builder extends Request.Builder<GetQeIdentityRequest, Builder> {
private String regionId;
private String acsHost;
private String clientVpcId;
private Builder() {
super();
}
private Builder(GetQeIdentityRequest request) {
super(request);
this.regionId = request.regionId;
this.acsHost = request.acsHost;
this.clientVpcId = request.clientVpcId;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* AcsHost.
*/
public Builder acsHost(String acsHost) {
this.putQueryParameter("AcsHost", acsHost);
this.acsHost = acsHost;
return this;
}
/**
* ClientVpcId.
*/
public Builder clientVpcId(String clientVpcId) {
this.putQueryParameter("ClientVpcId", clientVpcId);
this.clientVpcId = clientVpcId;
return this;
}
@Override
public GetQeIdentityRequest build() {
return new GetQeIdentityRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726/models/GetQeIdentityResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sgx_dcap_server20200726.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetQeIdentityResponse} extends {@link TeaModel}
*
* <p>GetQeIdentityResponse</p>
*/
public class GetQeIdentityResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private String body;
private GetQeIdentityResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetQeIdentityResponse 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 String getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetQeIdentityResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(String body);
@Override
GetQeIdentityResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetQeIdentityResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private String body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetQeIdentityResponse 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(String body) {
this.body = body;
return this;
}
@Override
public GetQeIdentityResponse build() {
return new GetQeIdentityResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726/models/GetQveIdentityRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sgx_dcap_server20200726.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetQveIdentityRequest} extends {@link RequestModel}
*
* <p>GetQveIdentityRequest</p>
*/
public class GetQveIdentityRequest extends Request {
@Host
@NameInMap("RegionId")
private String regionId;
@Query
@NameInMap("AcsHost")
private String acsHost;
@Query
@NameInMap("ClientVpcId")
private String clientVpcId;
private GetQveIdentityRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.acsHost = builder.acsHost;
this.clientVpcId = builder.clientVpcId;
}
public static Builder builder() {
return new Builder();
}
public static GetQveIdentityRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return acsHost
*/
public String getAcsHost() {
return this.acsHost;
}
/**
* @return clientVpcId
*/
public String getClientVpcId() {
return this.clientVpcId;
}
public static final class Builder extends Request.Builder<GetQveIdentityRequest, Builder> {
private String regionId;
private String acsHost;
private String clientVpcId;
private Builder() {
super();
}
private Builder(GetQveIdentityRequest request) {
super(request);
this.regionId = request.regionId;
this.acsHost = request.acsHost;
this.clientVpcId = request.clientVpcId;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* AcsHost.
*/
public Builder acsHost(String acsHost) {
this.putQueryParameter("AcsHost", acsHost);
this.acsHost = acsHost;
return this;
}
/**
* ClientVpcId.
*/
public Builder clientVpcId(String clientVpcId) {
this.putQueryParameter("ClientVpcId", clientVpcId);
this.clientVpcId = clientVpcId;
return this;
}
@Override
public GetQveIdentityRequest build() {
return new GetQveIdentityRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726/models/GetQveIdentityResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sgx_dcap_server20200726.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetQveIdentityResponse} extends {@link TeaModel}
*
* <p>GetQveIdentityResponse</p>
*/
public class GetQveIdentityResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private String body;
private GetQveIdentityResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetQveIdentityResponse 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 String getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetQveIdentityResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(String body);
@Override
GetQveIdentityResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetQveIdentityResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private String body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetQveIdentityResponse 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(String body) {
this.body = body;
return this;
}
@Override
public GetQveIdentityResponse build() {
return new GetQveIdentityResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726/models/GetTcbInfoRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sgx_dcap_server20200726.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetTcbInfoRequest} extends {@link RequestModel}
*
* <p>GetTcbInfoRequest</p>
*/
public class GetTcbInfoRequest extends Request {
@Host
@NameInMap("RegionId")
private String regionId;
@Query
@NameInMap("AcsHost")
private String acsHost;
@Query
@NameInMap("ClientVpcId")
private String clientVpcId;
@Query
@NameInMap("fmspc")
@Validation(required = true)
private String fmspc;
private GetTcbInfoRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.acsHost = builder.acsHost;
this.clientVpcId = builder.clientVpcId;
this.fmspc = builder.fmspc;
}
public static Builder builder() {
return new Builder();
}
public static GetTcbInfoRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return acsHost
*/
public String getAcsHost() {
return this.acsHost;
}
/**
* @return clientVpcId
*/
public String getClientVpcId() {
return this.clientVpcId;
}
/**
* @return fmspc
*/
public String getFmspc() {
return this.fmspc;
}
public static final class Builder extends Request.Builder<GetTcbInfoRequest, Builder> {
private String regionId;
private String acsHost;
private String clientVpcId;
private String fmspc;
private Builder() {
super();
}
private Builder(GetTcbInfoRequest request) {
super(request);
this.regionId = request.regionId;
this.acsHost = request.acsHost;
this.clientVpcId = request.clientVpcId;
this.fmspc = request.fmspc;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* AcsHost.
*/
public Builder acsHost(String acsHost) {
this.putQueryParameter("AcsHost", acsHost);
this.acsHost = acsHost;
return this;
}
/**
* ClientVpcId.
*/
public Builder clientVpcId(String clientVpcId) {
this.putQueryParameter("ClientVpcId", clientVpcId);
this.clientVpcId = clientVpcId;
return this;
}
/**
* fmspc.
*/
public Builder fmspc(String fmspc) {
this.putQueryParameter("fmspc", fmspc);
this.fmspc = fmspc;
return this;
}
@Override
public GetTcbInfoRequest build() {
return new GetTcbInfoRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726/models/GetTcbInfoResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sgx_dcap_server20200726.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetTcbInfoResponse} extends {@link TeaModel}
*
* <p>GetTcbInfoResponse</p>
*/
public class GetTcbInfoResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private String body;
private GetTcbInfoResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetTcbInfoResponse 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 String getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetTcbInfoResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(String body);
@Override
GetTcbInfoResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetTcbInfoResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private String body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetTcbInfoResponse 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(String body) {
this.body = body;
return this;
}
@Override
public GetTcbInfoResponse build() {
return new GetTcbInfoResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726/models/PckCrlRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sgx_dcap_server20200726.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link PckCrlRequest} extends {@link RequestModel}
*
* <p>PckCrlRequest</p>
*/
public class PckCrlRequest extends Request {
@Host
@NameInMap("RegionId")
private String regionId;
@Query
@NameInMap("AcsHost")
private String acsHost;
@Query
@NameInMap("ClientVpcId")
private String clientVpcId;
@Query
@NameInMap("ca")
@Validation(required = true)
private String ca;
private PckCrlRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.acsHost = builder.acsHost;
this.clientVpcId = builder.clientVpcId;
this.ca = builder.ca;
}
public static Builder builder() {
return new Builder();
}
public static PckCrlRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return acsHost
*/
public String getAcsHost() {
return this.acsHost;
}
/**
* @return clientVpcId
*/
public String getClientVpcId() {
return this.clientVpcId;
}
/**
* @return ca
*/
public String getCa() {
return this.ca;
}
public static final class Builder extends Request.Builder<PckCrlRequest, Builder> {
private String regionId;
private String acsHost;
private String clientVpcId;
private String ca;
private Builder() {
super();
}
private Builder(PckCrlRequest request) {
super(request);
this.regionId = request.regionId;
this.acsHost = request.acsHost;
this.clientVpcId = request.clientVpcId;
this.ca = request.ca;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* AcsHost.
*/
public Builder acsHost(String acsHost) {
this.putQueryParameter("AcsHost", acsHost);
this.acsHost = acsHost;
return this;
}
/**
* ClientVpcId.
*/
public Builder clientVpcId(String clientVpcId) {
this.putQueryParameter("ClientVpcId", clientVpcId);
this.clientVpcId = clientVpcId;
return this;
}
/**
* ca.
*/
public Builder ca(String ca) {
this.putQueryParameter("ca", ca);
this.ca = ca;
return this;
}
@Override
public PckCrlRequest build() {
return new PckCrlRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726/models/PckCrlResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sgx_dcap_server20200726.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link PckCrlResponse} extends {@link TeaModel}
*
* <p>PckCrlResponse</p>
*/
public class PckCrlResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private String body;
private PckCrlResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static PckCrlResponse 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 String getBody() {
return this.body;
}
public interface Builder extends Response.Builder<PckCrlResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(String body);
@Override
PckCrlResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<PckCrlResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private String body;
private BuilderImpl() {
super();
}
private BuilderImpl(PckCrlResponse 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(String body) {
this.body = body;
return this;
}
@Override
public PckCrlResponse build() {
return new PckCrlResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726/models/RootCaCrlRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sgx_dcap_server20200726.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link RootCaCrlRequest} extends {@link RequestModel}
*
* <p>RootCaCrlRequest</p>
*/
public class RootCaCrlRequest extends Request {
@Host
@NameInMap("RegionId")
private String regionId;
@Query
@NameInMap("AcsHost")
private String acsHost;
@Query
@NameInMap("ClientVpcId")
private String clientVpcId;
private RootCaCrlRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.acsHost = builder.acsHost;
this.clientVpcId = builder.clientVpcId;
}
public static Builder builder() {
return new Builder();
}
public static RootCaCrlRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return acsHost
*/
public String getAcsHost() {
return this.acsHost;
}
/**
* @return clientVpcId
*/
public String getClientVpcId() {
return this.clientVpcId;
}
public static final class Builder extends Request.Builder<RootCaCrlRequest, Builder> {
private String regionId;
private String acsHost;
private String clientVpcId;
private Builder() {
super();
}
private Builder(RootCaCrlRequest request) {
super(request);
this.regionId = request.regionId;
this.acsHost = request.acsHost;
this.clientVpcId = request.clientVpcId;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* AcsHost.
*/
public Builder acsHost(String acsHost) {
this.putQueryParameter("AcsHost", acsHost);
this.acsHost = acsHost;
return this;
}
/**
* ClientVpcId.
*/
public Builder clientVpcId(String clientVpcId) {
this.putQueryParameter("ClientVpcId", clientVpcId);
this.clientVpcId = clientVpcId;
return this;
}
@Override
public RootCaCrlRequest build() {
return new RootCaCrlRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726/models/RootCaCrlResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sgx_dcap_server20200726.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link RootCaCrlResponse} extends {@link TeaModel}
*
* <p>RootCaCrlResponse</p>
*/
public class RootCaCrlResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private String body;
private RootCaCrlResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static RootCaCrlResponse 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 String getBody() {
return this.body;
}
public interface Builder extends Response.Builder<RootCaCrlResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(String body);
@Override
RootCaCrlResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<RootCaCrlResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private String body;
private BuilderImpl() {
super();
}
private BuilderImpl(RootCaCrlResponse 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(String body) {
this.body = body;
return this;
}
@Override
public RootCaCrlResponse build() {
return new RootCaCrlResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726/models/SimplePackagePckCertRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sgx_dcap_server20200726.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link SimplePackagePckCertRequest} extends {@link RequestModel}
*
* <p>SimplePackagePckCertRequest</p>
*/
public class SimplePackagePckCertRequest extends Request {
@Host
@NameInMap("RegionId")
private String regionId;
@Query
@NameInMap("AcsHost")
private String acsHost;
@Query
@NameInMap("ClientVpcId")
private String clientVpcId;
@Query
@NameInMap("cpusvn")
@Validation(required = true)
private String cpusvn;
@Query
@NameInMap("encrypted_ppid")
private String encryptedPpid;
@Query
@NameInMap("pceid")
@Validation(required = true)
private String pceid;
@Query
@NameInMap("pcesvn")
@Validation(required = true)
private String pcesvn;
@Query
@NameInMap("qeid")
@Validation(required = true)
private String qeid;
private SimplePackagePckCertRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.acsHost = builder.acsHost;
this.clientVpcId = builder.clientVpcId;
this.cpusvn = builder.cpusvn;
this.encryptedPpid = builder.encryptedPpid;
this.pceid = builder.pceid;
this.pcesvn = builder.pcesvn;
this.qeid = builder.qeid;
}
public static Builder builder() {
return new Builder();
}
public static SimplePackagePckCertRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return acsHost
*/
public String getAcsHost() {
return this.acsHost;
}
/**
* @return clientVpcId
*/
public String getClientVpcId() {
return this.clientVpcId;
}
/**
* @return cpusvn
*/
public String getCpusvn() {
return this.cpusvn;
}
/**
* @return encryptedPpid
*/
public String getEncryptedPpid() {
return this.encryptedPpid;
}
/**
* @return pceid
*/
public String getPceid() {
return this.pceid;
}
/**
* @return pcesvn
*/
public String getPcesvn() {
return this.pcesvn;
}
/**
* @return qeid
*/
public String getQeid() {
return this.qeid;
}
public static final class Builder extends Request.Builder<SimplePackagePckCertRequest, Builder> {
private String regionId;
private String acsHost;
private String clientVpcId;
private String cpusvn;
private String encryptedPpid;
private String pceid;
private String pcesvn;
private String qeid;
private Builder() {
super();
}
private Builder(SimplePackagePckCertRequest request) {
super(request);
this.regionId = request.regionId;
this.acsHost = request.acsHost;
this.clientVpcId = request.clientVpcId;
this.cpusvn = request.cpusvn;
this.encryptedPpid = request.encryptedPpid;
this.pceid = request.pceid;
this.pcesvn = request.pcesvn;
this.qeid = request.qeid;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* AcsHost.
*/
public Builder acsHost(String acsHost) {
this.putQueryParameter("AcsHost", acsHost);
this.acsHost = acsHost;
return this;
}
/**
* ClientVpcId.
*/
public Builder clientVpcId(String clientVpcId) {
this.putQueryParameter("ClientVpcId", clientVpcId);
this.clientVpcId = clientVpcId;
return this;
}
/**
* cpusvn.
*/
public Builder cpusvn(String cpusvn) {
this.putQueryParameter("cpusvn", cpusvn);
this.cpusvn = cpusvn;
return this;
}
/**
* encrypted_ppid.
*/
public Builder encryptedPpid(String encryptedPpid) {
this.putQueryParameter("encrypted_ppid", encryptedPpid);
this.encryptedPpid = encryptedPpid;
return this;
}
/**
* pceid.
*/
public Builder pceid(String pceid) {
this.putQueryParameter("pceid", pceid);
this.pceid = pceid;
return this;
}
/**
* pcesvn.
*/
public Builder pcesvn(String pcesvn) {
this.putQueryParameter("pcesvn", pcesvn);
this.pcesvn = pcesvn;
return this;
}
/**
* qeid.
*/
public Builder qeid(String qeid) {
this.putQueryParameter("qeid", qeid);
this.qeid = qeid;
return this;
}
@Override
public SimplePackagePckCertRequest build() {
return new SimplePackagePckCertRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726 | java-sources/com/aliyun/alibabacloud-sgx_dcap_server20200726/1.0.1/com/aliyun/sdk/service/sgx_dcap_server20200726/models/SimplePackagePckCertResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.sgx_dcap_server20200726.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link SimplePackagePckCertResponse} extends {@link TeaModel}
*
* <p>SimplePackagePckCertResponse</p>
*/
public class SimplePackagePckCertResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private String body;
private SimplePackagePckCertResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static SimplePackagePckCertResponse 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 String getBody() {
return this.body;
}
public interface Builder extends Response.Builder<SimplePackagePckCertResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(String body);
@Override
SimplePackagePckCertResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<SimplePackagePckCertResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private String body;
private BuilderImpl() {
super();
}
private BuilderImpl(SimplePackagePckCertResponse 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(String body) {
this.body = body;
return this;
}
@Override
public SimplePackagePckCertResponse build() {
return new SimplePackagePckCertResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/AsyncClient.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515;
import com.aliyun.core.utils.SdkAutoCloseable;
import com.aliyun.sdk.service.slb20140515.models.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import java.util.concurrent.CompletableFuture;
public interface AsyncClient extends SdkAutoCloseable {
static DefaultAsyncClientBuilder builder() {
return new DefaultAsyncClientBuilder();
}
static AsyncClient create() {
return builder().build();
}
/**
* <b>description</b> :
* <p>Each network ACL can contain one or more IP addresses or CIDR blocks. Take note of the following limits on network ACLs:</p>
* <ul>
* <li>The number of IP entries that can be added to a network ACL with each Alibaba Cloud account at a time: 50</li>
* <li>The maximum number of IP entries that each network ACL can contain: 300</li>
* </ul>
*
* @param request the request parameters of AddAccessControlListEntry AddAccessControlListEntryRequest
* @return AddAccessControlListEntryResponse
*/
CompletableFuture<AddAccessControlListEntryResponse> addAccessControlListEntry(AddAccessControlListEntryRequest request);
/**
* <b>description</b> :
* <blockquote>
* <p> If multiple identical Elastic Compute Service (ECS) instances are specified in a request, only the first ECS instance is added. The other ECS instances are ignored. If the backend server that you add is the same as one of the existing backend servers that are already associated with the listener, an error message is returned.</p>
* </blockquote>
*
* @param request the request parameters of AddBackendServers AddBackendServersRequest
* @return AddBackendServersResponse
*/
CompletableFuture<AddBackendServersResponse> addBackendServers(AddBackendServersRequest request);
/**
* @param request the request parameters of AddListenerWhiteListItem AddListenerWhiteListItemRequest
* @return AddListenerWhiteListItemResponse
*/
CompletableFuture<AddListenerWhiteListItemResponse> addListenerWhiteListItem(AddListenerWhiteListItemRequest request);
/**
* <b>description</b> :
* <h1>Limits</h1>
* <p>Before you call this API, note the following limits:</p>
* <ul>
* <li>You can add up to 10 tags to each SLB instance.</li>
* <li>You can add up to five pairs of tags at a time.</li>
* <li>All the tags and keys added to an SLB instance must be unique.</li>
* <li>If you add a tag of which the key is the same as that of an existing tag, but the value is different, the new tag overwrites the existing one.</li>
* </ul>
*
* @param request the request parameters of AddTags AddTagsRequest
* @return AddTagsResponse
*/
CompletableFuture<AddTagsResponse> addTags(AddTagsRequest request);
/**
* @param request the request parameters of AddVServerGroupBackendServers AddVServerGroupBackendServersRequest
* @return AddVServerGroupBackendServersResponse
*/
CompletableFuture<AddVServerGroupBackendServersResponse> addVServerGroupBackendServers(AddVServerGroupBackendServersRequest request);
/**
* <b>description</b> :
* <p>You can create multiple ACLs. Each ACL can contain one or more IP addresses or CIDR blocks. Before you create an ACL, take note of the following limits:</p>
* <ul>
* <li>An account can have a maximum of 50 ACLs in each region.</li>
* <li>You can add a maximum of 50 IP addresses or CIDR blocks at a time within an account.</li>
* <li>Each ACL can contain a maximum of 300 IP addresses or CIDR blocks.</li>
* </ul>
*
* @param request the request parameters of CreateAccessControlList CreateAccessControlListRequest
* @return CreateAccessControlListResponse
*/
CompletableFuture<CreateAccessControlListResponse> createAccessControlList(CreateAccessControlListRequest request);
/**
* @param request the request parameters of CreateDomainExtension CreateDomainExtensionRequest
* @return CreateDomainExtensionResponse
*/
CompletableFuture<CreateDomainExtensionResponse> createDomainExtension(CreateDomainExtensionRequest request);
/**
* <b>description</b> :
* <p> Before you create a CLB instance, call the <a href="~~DescribeAvailableResource~~">DescribeAvailableResource</a> operation to query the resources available for purchase in the region where you want to create the CLB instance.</p>
* <ul>
* <li>After a CLB instance is created, you are charged for using the CLB instance.</li>
* <li>The pay-as-you-go billing method supports the pay-by-specification and pay-by-LCU metering methods.</li>
* </ul>
*
* @param request the request parameters of CreateLoadBalancer CreateLoadBalancerRequest
* @return CreateLoadBalancerResponse
*/
CompletableFuture<CreateLoadBalancerResponse> createLoadBalancer(CreateLoadBalancerRequest request);
/**
* <b>description</b> :
* <p>A newly created listener is in the <strong>stopped</strong> state. After a listener is created, you can call the <a href="~~StartLoadBalancerListener~~">StartLoadBalancerListener</a> operation to start the listener. After the listener is started, the listener can forward traffic to backend servers.</p>
* <h2>Prerequisites</h2>
* <p>A Classic Load Balancer (CLB) instance is created. For more information, see <a href="~~StartLoadBalancerListener~~">CreateLoadBalancer</a>.</p>
*
* @param request the request parameters of CreateLoadBalancerHTTPListener CreateLoadBalancerHTTPListenerRequest
* @return CreateLoadBalancerHTTPListenerResponse
*/
CompletableFuture<CreateLoadBalancerHTTPListenerResponse> createLoadBalancerHTTPListener(CreateLoadBalancerHTTPListenerRequest request);
/**
* <b>description</b> :
* <p>A newly created listener is in the <strong>stopped</strong> state. After a listener is created, you can call the <a href="https://help.aliyun.com/document_detail/27597.html">StartLoadBalancerListener</a> operation to start the listener. After the listener is started, the listener can forward traffic to backend servers.</p>
* <h2>Prerequisites</h2>
* <p>A Classic Load Balancer (CLB) instance is created. For more information, see <a href="https://www.alibabacloud.com/help/en/server-load-balancer/latest/createloadbalancer-2">CreateLoadBalancer</a>.</p>
*
* @param request the request parameters of CreateLoadBalancerHTTPSListener CreateLoadBalancerHTTPSListenerRequest
* @return CreateLoadBalancerHTTPSListenerResponse
*/
CompletableFuture<CreateLoadBalancerHTTPSListenerResponse> createLoadBalancerHTTPSListener(CreateLoadBalancerHTTPSListenerRequest request);
/**
* <b>description</b> :
* <blockquote>
* <p> A newly created listener is in the <strong>stopped</strong> state. After a listener is created, you can call the <a href="https://help.aliyun.com/document_detail/27597.html">StartLoadBalancerListener</a> operation to enable the listener to forward traffic to backend servers.</p>
* </blockquote>
*
* @param request the request parameters of CreateLoadBalancerTCPListener CreateLoadBalancerTCPListenerRequest
* @return CreateLoadBalancerTCPListenerResponse
*/
CompletableFuture<CreateLoadBalancerTCPListenerResponse> createLoadBalancerTCPListener(CreateLoadBalancerTCPListenerRequest request);
/**
* <b>description</b> :
* <p>UDP listeners of Classic Load Balancer (CLB) instances in a classic network cannot pass client IP addresses to backend servers.</p>
* <blockquote>
* <p> A newly created listener is in the <strong>stopped</strong> state. After a listener is created, you can call the <a href="https://help.aliyun.com/document_detail/27597.html">StartLoadBalancerListener</a> operation to enable the listener to forward traffic to backend servers.</p>
* </blockquote>
*
* @param request the request parameters of CreateLoadBalancerUDPListener CreateLoadBalancerUDPListenerRequest
* @return CreateLoadBalancerUDPListenerResponse
*/
CompletableFuture<CreateLoadBalancerUDPListenerResponse> createLoadBalancerUDPListener(CreateLoadBalancerUDPListenerRequest request);
/**
* @param request the request parameters of CreateMasterSlaveServerGroup CreateMasterSlaveServerGroupRequest
* @return CreateMasterSlaveServerGroupResponse
*/
CompletableFuture<CreateMasterSlaveServerGroupResponse> createMasterSlaveServerGroup(CreateMasterSlaveServerGroupRequest request);
/**
* @param request the request parameters of CreateRules CreateRulesRequest
* @return CreateRulesResponse
*/
CompletableFuture<CreateRulesResponse> createRules(CreateRulesRequest request);
/**
* @param request the request parameters of CreateTLSCipherPolicy CreateTLSCipherPolicyRequest
* @return CreateTLSCipherPolicyResponse
*/
CompletableFuture<CreateTLSCipherPolicyResponse> createTLSCipherPolicy(CreateTLSCipherPolicyRequest request);
/**
* @param request the request parameters of CreateVServerGroup CreateVServerGroupRequest
* @return CreateVServerGroupResponse
*/
CompletableFuture<CreateVServerGroupResponse> createVServerGroup(CreateVServerGroupRequest request);
/**
* <b>description</b> :
* <p>You can delete an ACL only if it is not associated with a listener.</p>
*
* @param request the request parameters of DeleteAccessControlList DeleteAccessControlListRequest
* @return DeleteAccessControlListResponse
*/
CompletableFuture<DeleteAccessControlListResponse> deleteAccessControlList(DeleteAccessControlListRequest request);
/**
* @param request the request parameters of DeleteAccessLogsDownloadAttribute DeleteAccessLogsDownloadAttributeRequest
* @return DeleteAccessLogsDownloadAttributeResponse
*/
CompletableFuture<DeleteAccessLogsDownloadAttributeResponse> deleteAccessLogsDownloadAttribute(DeleteAccessLogsDownloadAttributeRequest request);
/**
* <b>description</b> :
* <p>You cannot delete a CA certificate that is in use.</p>
*
* @param request the request parameters of DeleteCACertificate DeleteCACertificateRequest
* @return DeleteCACertificateResponse
*/
CompletableFuture<DeleteCACertificateResponse> deleteCACertificate(DeleteCACertificateRequest request);
/**
* @param request the request parameters of DeleteDomainExtension DeleteDomainExtensionRequest
* @return DeleteDomainExtensionResponse
*/
CompletableFuture<DeleteDomainExtensionResponse> deleteDomainExtension(DeleteDomainExtensionRequest request);
/**
* <b>description</b> :
* <blockquote>
* <p>The listeners and tags of the SLB instance are deleted along with the SLB instance.</p>
* </blockquote>
*
* @param request the request parameters of DeleteLoadBalancer DeleteLoadBalancerRequest
* @return DeleteLoadBalancerResponse
*/
CompletableFuture<DeleteLoadBalancerResponse> deleteLoadBalancer(DeleteLoadBalancerRequest request);
/**
* <b>description</b> :
* <blockquote>
* <p> You can delete only listeners that are in the <strong>stopped</strong> or <strong>running</strong> state.</p>
* </blockquote>
*
* @param request the request parameters of DeleteLoadBalancerListener DeleteLoadBalancerListenerRequest
* @return DeleteLoadBalancerListenerResponse
*/
CompletableFuture<DeleteLoadBalancerListenerResponse> deleteLoadBalancerListener(DeleteLoadBalancerListenerRequest request);
/**
* @param request the request parameters of DeleteMasterSlaveServerGroup DeleteMasterSlaveServerGroupRequest
* @return DeleteMasterSlaveServerGroupResponse
*/
CompletableFuture<DeleteMasterSlaveServerGroupResponse> deleteMasterSlaveServerGroup(DeleteMasterSlaveServerGroupRequest request);
/**
* <b>description</b> :
* <h2>Limits</h2>
* <p>The RuleIds parameter is required. You can specify up to 10 forwarding rules in each request.</p>
*
* @param request the request parameters of DeleteRules DeleteRulesRequest
* @return DeleteRulesResponse
*/
CompletableFuture<DeleteRulesResponse> deleteRules(DeleteRulesRequest request);
/**
* <b>description</b> :
* <blockquote>
* <p> You cannot delete server certificates that are in use.</p>
* </blockquote>
*
* @param request the request parameters of DeleteServerCertificate DeleteServerCertificateRequest
* @return DeleteServerCertificateResponse
*/
CompletableFuture<DeleteServerCertificateResponse> deleteServerCertificate(DeleteServerCertificateRequest request);
/**
* <b>description</b> :
* <h2>Debugging</h2>
* <p><a href="https://api.aliyun.com/#product=Slb%5C&api=DeleteTLSCipherPolicy%5C&type=RPC%5C&version=2014-05-15">OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.</a></p>
*
* @param request the request parameters of DeleteTLSCipherPolicy DeleteTLSCipherPolicyRequest
* @return DeleteTLSCipherPolicyResponse
*/
CompletableFuture<DeleteTLSCipherPolicyResponse> deleteTLSCipherPolicy(DeleteTLSCipherPolicyRequest request);
/**
* @param request the request parameters of DeleteVServerGroup DeleteVServerGroupRequest
* @return DeleteVServerGroupResponse
*/
CompletableFuture<DeleteVServerGroupResponse> deleteVServerGroup(DeleteVServerGroupRequest request);
/**
* @param request the request parameters of DescribeAccessControlListAttribute DescribeAccessControlListAttributeRequest
* @return DescribeAccessControlListAttributeResponse
*/
CompletableFuture<DescribeAccessControlListAttributeResponse> describeAccessControlListAttribute(DescribeAccessControlListAttributeRequest request);
/**
* @param request the request parameters of DescribeAccessControlLists DescribeAccessControlListsRequest
* @return DescribeAccessControlListsResponse
*/
CompletableFuture<DescribeAccessControlListsResponse> describeAccessControlLists(DescribeAccessControlListsRequest request);
/**
* @param request the request parameters of DescribeAccessLogsDownloadAttribute DescribeAccessLogsDownloadAttributeRequest
* @return DescribeAccessLogsDownloadAttributeResponse
*/
CompletableFuture<DescribeAccessLogsDownloadAttributeResponse> describeAccessLogsDownloadAttribute(DescribeAccessLogsDownloadAttributeRequest request);
/**
* <b>description</b> :
* <blockquote>
* <p>Only the available resources and zones are returned.</p>
* </blockquote>
*
* @param request the request parameters of DescribeAvailableResource DescribeAvailableResourceRequest
* @return DescribeAvailableResourceResponse
*/
CompletableFuture<DescribeAvailableResourceResponse> describeAvailableResource(DescribeAvailableResourceRequest request);
/**
* <b>description</b> :
* <blockquote>
* <p>To ensure data confidentiality, only the certificate fingerprint and name are returned. The certificate content is not returned.</p>
* </blockquote>
*
* @param request the request parameters of DescribeCACertificates DescribeCACertificatesRequest
* @return DescribeCACertificatesResponse
*/
CompletableFuture<DescribeCACertificatesResponse> describeCACertificates(DescribeCACertificatesRequest request);
/**
* @param request the request parameters of DescribeDomainExtensionAttribute DescribeDomainExtensionAttributeRequest
* @return DescribeDomainExtensionAttributeResponse
*/
CompletableFuture<DescribeDomainExtensionAttributeResponse> describeDomainExtensionAttribute(DescribeDomainExtensionAttributeRequest request);
/**
* @param request the request parameters of DescribeDomainExtensions DescribeDomainExtensionsRequest
* @return DescribeDomainExtensionsResponse
*/
CompletableFuture<DescribeDomainExtensionsResponse> describeDomainExtensions(DescribeDomainExtensionsRequest request);
/**
* @param request the request parameters of DescribeHealthStatus DescribeHealthStatusRequest
* @return DescribeHealthStatusResponse
*/
CompletableFuture<DescribeHealthStatusResponse> describeHealthStatus(DescribeHealthStatusRequest request);
/**
* @param request the request parameters of DescribeHighDefinationMonitor DescribeHighDefinationMonitorRequest
* @return DescribeHighDefinationMonitorResponse
*/
CompletableFuture<DescribeHighDefinationMonitorResponse> describeHighDefinationMonitor(DescribeHighDefinationMonitorRequest request);
/**
* @param request the request parameters of DescribeListenerAccessControlAttribute DescribeListenerAccessControlAttributeRequest
* @return DescribeListenerAccessControlAttributeResponse
*/
CompletableFuture<DescribeListenerAccessControlAttributeResponse> describeListenerAccessControlAttribute(DescribeListenerAccessControlAttributeRequest request);
/**
* <b>description</b> :
* <blockquote>
* <p> If backend servers are deployed in a vServer group, you can call the <a href="https://help.aliyun.com/document_detail/35224.html">DescribeVServerGroupAttribute</a> operation to query the backend servers.</p>
* </blockquote>
*
* @param request the request parameters of DescribeLoadBalancerAttribute DescribeLoadBalancerAttributeRequest
* @return DescribeLoadBalancerAttributeResponse
*/
CompletableFuture<DescribeLoadBalancerAttributeResponse> describeLoadBalancerAttribute(DescribeLoadBalancerAttributeRequest request);
/**
* <b>description</b> :
* <p> A Classic Load Balancer (CLB) instance is created. For more information, see <a href="https://help.aliyun.com/document_detail/27577.html">CreateLoadBalancer</a>.</p>
* <ul>
* <li>An HTTP listener is created. For more information about how to create an HTTP listener, see <a href="https://help.aliyun.com/document_detail/27592.html">CreateLoadBalancerHTTPListener</a>.</li>
* </ul>
*
* @param request the request parameters of DescribeLoadBalancerHTTPListenerAttribute DescribeLoadBalancerHTTPListenerAttributeRequest
* @return DescribeLoadBalancerHTTPListenerAttributeResponse
*/
CompletableFuture<DescribeLoadBalancerHTTPListenerAttributeResponse> describeLoadBalancerHTTPListenerAttribute(DescribeLoadBalancerHTTPListenerAttributeRequest request);
/**
* <b>description</b> :
* <p> A Classic Load Balancer (CLB) instance is created. For more information, see <a href="https://help.aliyun.com/document_detail/27577.html">CreateLoadBalancer</a>.</p>
* <ul>
* <li>An HTTPS listener is created. For more information about how to create an HTTPS listener, see <a href="https://help.aliyun.com/document_detail/27593.html">CreateLoadBalancerHTTPSListener</a>.</li>
* </ul>
*
* @param request the request parameters of DescribeLoadBalancerHTTPSListenerAttribute DescribeLoadBalancerHTTPSListenerAttributeRequest
* @return DescribeLoadBalancerHTTPSListenerAttributeResponse
*/
CompletableFuture<DescribeLoadBalancerHTTPSListenerAttributeResponse> describeLoadBalancerHTTPSListenerAttribute(DescribeLoadBalancerHTTPSListenerAttributeRequest request);
/**
* <b>description</b> :
* <p> A CLB instance is created. For more information, see <a href="https://help.aliyun.com/document_detail/2401685.html">CreateLoadBalancer</a>.</p>
* <ul>
* <li>One or more listeners are added to the CLB instance. For more information, see the following topics:<ul>
* <li><a href="~~CreateLoadBalancerUDPListener~~">CreateLoadBalancerUDPListener</a></li>
* <li><a href="~~CreateLoadBalancerTCPListener~~">CreateLoadBalancerTCPListener</a></li>
* <li><a href="~~CreateLoadBalancerHTTPListener~~">CreateLoadBalancerHTTPListener</a></li>
* <li><a href="~~CreateLoadBalancerHTTPSListener~~">CreateLoadBalancerHTTPSListener</a></li>
* </ul>
* </li>
* </ul>
*
* @param request the request parameters of DescribeLoadBalancerListeners DescribeLoadBalancerListenersRequest
* @return DescribeLoadBalancerListenersResponse
*/
CompletableFuture<DescribeLoadBalancerListenersResponse> describeLoadBalancerListeners(DescribeLoadBalancerListenersRequest request);
/**
* @param request the request parameters of DescribeLoadBalancerTCPListenerAttribute DescribeLoadBalancerTCPListenerAttributeRequest
* @return DescribeLoadBalancerTCPListenerAttributeResponse
*/
CompletableFuture<DescribeLoadBalancerTCPListenerAttributeResponse> describeLoadBalancerTCPListenerAttribute(DescribeLoadBalancerTCPListenerAttributeRequest request);
/**
* @param request the request parameters of DescribeLoadBalancerUDPListenerAttribute DescribeLoadBalancerUDPListenerAttributeRequest
* @return DescribeLoadBalancerUDPListenerAttributeResponse
*/
CompletableFuture<DescribeLoadBalancerUDPListenerAttributeResponse> describeLoadBalancerUDPListenerAttribute(DescribeLoadBalancerUDPListenerAttributeRequest request);
/**
* @param request the request parameters of DescribeLoadBalancers DescribeLoadBalancersRequest
* @return DescribeLoadBalancersResponse
*/
CompletableFuture<DescribeLoadBalancersResponse> describeLoadBalancers(DescribeLoadBalancersRequest request);
/**
* @param request the request parameters of DescribeMasterSlaveServerGroupAttribute DescribeMasterSlaveServerGroupAttributeRequest
* @return DescribeMasterSlaveServerGroupAttributeResponse
*/
CompletableFuture<DescribeMasterSlaveServerGroupAttributeResponse> describeMasterSlaveServerGroupAttribute(DescribeMasterSlaveServerGroupAttributeRequest request);
/**
* @param request the request parameters of DescribeMasterSlaveServerGroups DescribeMasterSlaveServerGroupsRequest
* @return DescribeMasterSlaveServerGroupsResponse
*/
CompletableFuture<DescribeMasterSlaveServerGroupsResponse> describeMasterSlaveServerGroups(DescribeMasterSlaveServerGroupsRequest request);
/**
* @param request the request parameters of DescribeRegions DescribeRegionsRequest
* @return DescribeRegionsResponse
*/
CompletableFuture<DescribeRegionsResponse> describeRegions(DescribeRegionsRequest request);
/**
* @param request the request parameters of DescribeRuleAttribute DescribeRuleAttributeRequest
* @return DescribeRuleAttributeResponse
*/
CompletableFuture<DescribeRuleAttributeResponse> describeRuleAttribute(DescribeRuleAttributeRequest request);
/**
* @param request the request parameters of DescribeRules DescribeRulesRequest
* @return DescribeRulesResponse
*/
CompletableFuture<DescribeRulesResponse> describeRules(DescribeRulesRequest request);
/**
* <b>description</b> :
* <blockquote>
* <p> For security reasons, only the fingerprints and names of server certificates are returned. The content of server certificates and private keys is not returned.</p>
* </blockquote>
*
* @param request the request parameters of DescribeServerCertificates DescribeServerCertificatesRequest
* @return DescribeServerCertificatesResponse
*/
CompletableFuture<DescribeServerCertificatesResponse> describeServerCertificates(DescribeServerCertificatesRequest request);
/**
* <b>description</b> :
* <p>Take note of the following items:</p>
* <ul>
* <li>The system queries tags based on the instance ID, tag key, and tag value specified by you.</li>
* <li>If the logical relationship among the specified conditions is AND, only tags that match all the specified conditions are returned.</li>
* <li>If the Tagkey parameter is specified and but Tagvalue parameter is not specified, all tags that contain the specified tag key are returned.</li>
* <li>If you specify the Tagvalue parameter in a request, you must also specify the Tagkey parameter in the request.</li>
* <li>If you specify both the Tagkey and Tagvalue parameters, only tags that contain the specified keys and values are returned.</li>
* </ul>
*
* @param request the request parameters of DescribeTags DescribeTagsRequest
* @return DescribeTagsResponse
*/
CompletableFuture<DescribeTagsResponse> describeTags(DescribeTagsRequest request);
/**
* @param request the request parameters of DescribeVServerGroupAttribute DescribeVServerGroupAttributeRequest
* @return DescribeVServerGroupAttributeResponse
*/
CompletableFuture<DescribeVServerGroupAttributeResponse> describeVServerGroupAttribute(DescribeVServerGroupAttributeRequest request);
/**
* @param request the request parameters of DescribeVServerGroups DescribeVServerGroupsRequest
* @return DescribeVServerGroupsResponse
*/
CompletableFuture<DescribeVServerGroupsResponse> describeVServerGroups(DescribeVServerGroupsRequest request);
/**
* @param request the request parameters of DescribeZones DescribeZonesRequest
* @return DescribeZonesResponse
*/
CompletableFuture<DescribeZonesResponse> describeZones(DescribeZonesRequest request);
/**
* @param request the request parameters of EnableHighDefinationMonitor EnableHighDefinationMonitorRequest
* @return EnableHighDefinationMonitorResponse
*/
CompletableFuture<EnableHighDefinationMonitorResponse> enableHighDefinationMonitor(EnableHighDefinationMonitorRequest request);
/**
* @param request the request parameters of ListTLSCipherPolicies ListTLSCipherPoliciesRequest
* @return ListTLSCipherPoliciesResponse
*/
CompletableFuture<ListTLSCipherPoliciesResponse> listTLSCipherPolicies(ListTLSCipherPoliciesRequest request);
/**
* <b>description</b> :
* <p> Set <strong>ResourceId.N</strong> or <strong>Tag.N</strong> that consists of <strong>Tag.N.Key</strong> and <strong>Tag.N.Value</strong> in the request to specify the object to be queried.</p>
* <ul>
* <li><strong>Tag.N</strong> is a resource tag that consists of a key-value pair. If you set only <strong>Tag.N.Key</strong>, all tag values that are associated with the specified tag key are returned. If you set only <strong>Tag.N.Value</strong>, an error message is returned.</li>
* <li>If you set <strong>Tag.N</strong> and <strong>ResourceId.N</strong> to filter tags, <strong>ResourceId.N</strong> must match all specified key-value pairs.</li>
* <li>If you specify multiple key-value pairs, resources that contain these key-value pairs are returned.</li>
* </ul>
*
* @param request the request parameters of ListTagResources ListTagResourcesRequest
* @return ListTagResourcesResponse
*/
CompletableFuture<ListTagResourcesResponse> listTagResources(ListTagResourcesRequest request);
/**
* @param request the request parameters of ModifyHighDefinationMonitor ModifyHighDefinationMonitorRequest
* @return ModifyHighDefinationMonitorResponse
*/
CompletableFuture<ModifyHighDefinationMonitorResponse> modifyHighDefinationMonitor(ModifyHighDefinationMonitorRequest request);
/**
* <b>description</b> :
* <blockquote>
* <ul>
* <li>For pay-as-you-go CLB instances, you can only change the metering method from pay-by-specification to pay-by-LCU. You cannot change the metering method from pay-by-LCU to pay-by-specification.</li>
* <li>This operation can change the metering method of only one instance at a time.</li>
* </ul>
* </blockquote>
*
* @param request the request parameters of ModifyLoadBalancerInstanceChargeType ModifyLoadBalancerInstanceChargeTypeRequest
* @return ModifyLoadBalancerInstanceChargeTypeResponse
*/
CompletableFuture<ModifyLoadBalancerInstanceChargeTypeResponse> modifyLoadBalancerInstanceChargeType(ModifyLoadBalancerInstanceChargeTypeRequest request);
/**
* @param request the request parameters of ModifyLoadBalancerInstanceSpec ModifyLoadBalancerInstanceSpecRequest
* @return ModifyLoadBalancerInstanceSpecResponse
*/
CompletableFuture<ModifyLoadBalancerInstanceSpecResponse> modifyLoadBalancerInstanceSpec(ModifyLoadBalancerInstanceSpecRequest request);
/**
* <b>description</b> :
* <h2>Description</h2>
* <ul>
* <li>If you modify only the maximum bandwidth of a pay-by-bandwidth CLB instance, the new bandwidth immediately takes effect.</li>
* <li>If you modify the metering method (for example, switch from pay-by-bandwidth to pay-by-data-transfer), the new metering method and the other changes specified in the operation take effect at 00:00:00 the next day.</li>
* </ul>
*
* @param request the request parameters of ModifyLoadBalancerInternetSpec ModifyLoadBalancerInternetSpecRequest
* @return ModifyLoadBalancerInternetSpecResponse
*/
CompletableFuture<ModifyLoadBalancerInternetSpecResponse> modifyLoadBalancerInternetSpec(ModifyLoadBalancerInternetSpecRequest request);
/**
* @deprecated OpenAPI ModifyLoadBalancerPayType is deprecated * @param request the request parameters of ModifyLoadBalancerPayType ModifyLoadBalancerPayTypeRequest
* @return ModifyLoadBalancerPayTypeResponse
*/
@Deprecated
CompletableFuture<ModifyLoadBalancerPayTypeResponse> modifyLoadBalancerPayType(ModifyLoadBalancerPayTypeRequest request);
/**
* <b>description</b> :
* <p>This operation can be used only to replace backend servers in a vServer group. To modify the attributes of backend servers, such as weights, call the <a href="https://help.aliyun.com/document_detail/35217.html">SetVServerGroupAttribute</a> operation.</p>
*
* @param request the request parameters of ModifyVServerGroupBackendServers ModifyVServerGroupBackendServersRequest
* @return ModifyVServerGroupBackendServersResponse
*/
CompletableFuture<ModifyVServerGroupBackendServersResponse> modifyVServerGroupBackendServers(ModifyVServerGroupBackendServersRequest request);
/**
* @param request the request parameters of MoveResourceGroup MoveResourceGroupRequest
* @return MoveResourceGroupResponse
*/
CompletableFuture<MoveResourceGroupResponse> moveResourceGroup(MoveResourceGroupRequest request);
/**
* @param request the request parameters of RemoveAccessControlListEntry RemoveAccessControlListEntryRequest
* @return RemoveAccessControlListEntryResponse
*/
CompletableFuture<RemoveAccessControlListEntryResponse> removeAccessControlListEntry(RemoveAccessControlListEntryRequest request);
/**
* <b>description</b> :
* <blockquote>
* <p> If the backend servers that you want to remove are not in the server list of the Classic Load Balancer (CLB) instance, the request fails. However, the system does not report an error.</p>
* </blockquote>
*
* @param request the request parameters of RemoveBackendServers RemoveBackendServersRequest
* @return RemoveBackendServersResponse
*/
CompletableFuture<RemoveBackendServersResponse> removeBackendServers(RemoveBackendServersRequest request);
/**
* @param request the request parameters of RemoveListenerWhiteListItem RemoveListenerWhiteListItemRequest
* @return RemoveListenerWhiteListItemResponse
*/
CompletableFuture<RemoveListenerWhiteListItemResponse> removeListenerWhiteListItem(RemoveListenerWhiteListItemRequest request);
/**
* @param request the request parameters of RemoveTags RemoveTagsRequest
* @return RemoveTagsResponse
*/
CompletableFuture<RemoveTagsResponse> removeTags(RemoveTagsRequest request);
/**
* <b>description</b> :
* <blockquote>
* <p> If the backend servers specified by the <strong>BackendServers</strong> parameter do not exist in the vServer group, the backend servers are ignored. No error message is returned.</p>
* </blockquote>
*
* @param request the request parameters of RemoveVServerGroupBackendServers RemoveVServerGroupBackendServersRequest
* @return RemoveVServerGroupBackendServersResponse
*/
CompletableFuture<RemoveVServerGroupBackendServersResponse> removeVServerGroupBackendServers(RemoveVServerGroupBackendServersRequest request);
/**
* @param request the request parameters of SetAccessControlListAttribute SetAccessControlListAttributeRequest
* @return SetAccessControlListAttributeResponse
*/
CompletableFuture<SetAccessControlListAttributeResponse> setAccessControlListAttribute(SetAccessControlListAttributeRequest request);
/**
* @param request the request parameters of SetAccessLogsDownloadAttribute SetAccessLogsDownloadAttributeRequest
* @return SetAccessLogsDownloadAttributeResponse
*/
CompletableFuture<SetAccessLogsDownloadAttributeResponse> setAccessLogsDownloadAttribute(SetAccessLogsDownloadAttributeRequest request);
/**
* @param request the request parameters of SetBackendServers SetBackendServersRequest
* @return SetBackendServersResponse
*/
CompletableFuture<SetBackendServersResponse> setBackendServers(SetBackendServersRequest request);
/**
* @param request the request parameters of SetCACertificateName SetCACertificateNameRequest
* @return SetCACertificateNameResponse
*/
CompletableFuture<SetCACertificateNameResponse> setCACertificateName(SetCACertificateNameRequest request);
/**
* <b>description</b> :
* <blockquote>
* <p> You cannot replace an additional certificate for a listener that is added to a shared-resource Server Load Balancer (SLB) instance.</p>
* </blockquote>
*
* @param request the request parameters of SetDomainExtensionAttribute SetDomainExtensionAttributeRequest
* @return SetDomainExtensionAttributeResponse
*/
CompletableFuture<SetDomainExtensionAttributeResponse> setDomainExtensionAttribute(SetDomainExtensionAttributeRequest request);
/**
* @param request the request parameters of SetListenerAccessControlStatus SetListenerAccessControlStatusRequest
* @return SetListenerAccessControlStatusResponse
*/
CompletableFuture<SetListenerAccessControlStatusResponse> setListenerAccessControlStatus(SetListenerAccessControlStatusRequest request);
/**
* @param request the request parameters of SetLoadBalancerDeleteProtection SetLoadBalancerDeleteProtectionRequest
* @return SetLoadBalancerDeleteProtectionResponse
*/
CompletableFuture<SetLoadBalancerDeleteProtectionResponse> setLoadBalancerDeleteProtection(SetLoadBalancerDeleteProtectionRequest request);
/**
* <b>description</b> :
* <h3>Prerequisites</h3>
* <ul>
* <li>A Classic Load Balancer (CLB) instance is created. For more information, see <a href="https://help.aliyun.com/document_detail/27577.html">CreateLoadBalancer</a>.</li>
* <li>An HTTP listener is created. For more information about how to create an HTTP listener, see <a href="https://help.aliyun.com/document_detail/27592.html">CreateLoadBalancerHTTPListener</a>.</li>
* </ul>
*
* @param request the request parameters of SetLoadBalancerHTTPListenerAttribute SetLoadBalancerHTTPListenerAttributeRequest
* @return SetLoadBalancerHTTPListenerAttributeResponse
*/
CompletableFuture<SetLoadBalancerHTTPListenerAttributeResponse> setLoadBalancerHTTPListenerAttribute(SetLoadBalancerHTTPListenerAttributeRequest request);
/**
* <b>description</b> :
* <p> A Classic Load Balancer (CLB) instance is created. For more information, see <a href="https://help.aliyun.com/document_detail/27577.html">CreateLoadBalancer</a>.</p>
* <ul>
* <li>An HTTPS listener is created. For more information about how to create an HTTPS listener, see <a href="https://help.aliyun.com/document_detail/27593.html">CreateLoadBalancerHTTPSListener</a>.</li>
* </ul>
*
* @param request the request parameters of SetLoadBalancerHTTPSListenerAttribute SetLoadBalancerHTTPSListenerAttributeRequest
* @return SetLoadBalancerHTTPSListenerAttributeResponse
*/
CompletableFuture<SetLoadBalancerHTTPSListenerAttributeResponse> setLoadBalancerHTTPSListenerAttribute(SetLoadBalancerHTTPSListenerAttributeRequest request);
/**
* @param request the request parameters of SetLoadBalancerModificationProtection SetLoadBalancerModificationProtectionRequest
* @return SetLoadBalancerModificationProtectionResponse
*/
CompletableFuture<SetLoadBalancerModificationProtectionResponse> setLoadBalancerModificationProtection(SetLoadBalancerModificationProtectionRequest request);
/**
* @param request the request parameters of SetLoadBalancerName SetLoadBalancerNameRequest
* @return SetLoadBalancerNameResponse
*/
CompletableFuture<SetLoadBalancerNameResponse> setLoadBalancerName(SetLoadBalancerNameRequest request);
/**
* @param request the request parameters of SetLoadBalancerStatus SetLoadBalancerStatusRequest
* @return SetLoadBalancerStatusResponse
*/
CompletableFuture<SetLoadBalancerStatusResponse> setLoadBalancerStatus(SetLoadBalancerStatusRequest request);
/**
* <b>description</b> :
* <p> A CLB instance is created. For more information, see <a href="https://help.aliyun.com/document_detail/2401685.html">CreateLoadBalancer</a>.</p>
* <ul>
* <li>A TCP listener is created. For more information, see <a href="~~CreateLoadBalancerTCPListener~~">CreateLoadBalancerTCPListener</a>.</li>
* </ul>
*
* @param request the request parameters of SetLoadBalancerTCPListenerAttribute SetLoadBalancerTCPListenerAttributeRequest
* @return SetLoadBalancerTCPListenerAttributeResponse
*/
CompletableFuture<SetLoadBalancerTCPListenerAttributeResponse> setLoadBalancerTCPListenerAttribute(SetLoadBalancerTCPListenerAttributeRequest request);
/**
* <b>description</b> :
* <p> A Classic Load Balancer (CLB) instance is created. For more information, see <a href="https://help.aliyun.com/document_detail/27577.html">CreateLoadBalancer</a>.</p>
* <ul>
* <li>A UDP listener is created. For more information, see <a href="https://help.aliyun.com/document_detail/27595.html">CreateLoadBalancerUDPListener</a>.</li>
* </ul>
*
* @param request the request parameters of SetLoadBalancerUDPListenerAttribute SetLoadBalancerUDPListenerAttributeRequest
* @return SetLoadBalancerUDPListenerAttributeResponse
*/
CompletableFuture<SetLoadBalancerUDPListenerAttributeResponse> setLoadBalancerUDPListenerAttribute(SetLoadBalancerUDPListenerAttributeRequest request);
/**
* @param request the request parameters of SetRule SetRuleRequest
* @return SetRuleResponse
*/
CompletableFuture<SetRuleResponse> setRule(SetRuleRequest request);
/**
* @param request the request parameters of SetServerCertificateName SetServerCertificateNameRequest
* @return SetServerCertificateNameResponse
*/
CompletableFuture<SetServerCertificateNameResponse> setServerCertificateName(SetServerCertificateNameRequest request);
/**
* @param request the request parameters of SetTLSCipherPolicyAttribute SetTLSCipherPolicyAttributeRequest
* @return SetTLSCipherPolicyAttributeResponse
*/
CompletableFuture<SetTLSCipherPolicyAttributeResponse> setTLSCipherPolicyAttribute(SetTLSCipherPolicyAttributeRequest request);
/**
* <b>description</b> :
* <p>This operation can be used to modify the weights of backend servers and names of vServer groups.</p>
* <ul>
* <li>If you want to modify backend servers in a specified vServer group, call the <a href="https://help.aliyun.com/document_detail/35220.html">ModifyVServerGroupBackendServers</a> operation.</li>
* <li>If you want to add backend servers to a specified vServer group, call the <a href="https://help.aliyun.com/document_detail/35218.html">AddVServerGroupBackendServers</a> operation.</li>
* </ul>
*
* @param request the request parameters of SetVServerGroupAttribute SetVServerGroupAttributeRequest
* @return SetVServerGroupAttributeResponse
*/
CompletableFuture<SetVServerGroupAttributeResponse> setVServerGroupAttribute(SetVServerGroupAttributeRequest request);
/**
* <b>description</b> :
* <p>When you call this operation, take note of the following items:</p>
* <ul>
* <li>You can call the operation only when the listener is in the Stopped state.</li>
* <li>If the operation is successful, the listener switches to the Starting state.</li>
* <li>You cannot perform this operation when the Classic Load Balancer (CLB) instance to which the listener belongs is in the Locked state.</li>
* </ul>
*
* @param request the request parameters of StartLoadBalancerListener StartLoadBalancerListenerRequest
* @return StartLoadBalancerListenerResponse
*/
CompletableFuture<StartLoadBalancerListenerResponse> startLoadBalancerListener(StartLoadBalancerListenerRequest request);
/**
* <b>description</b> :
* <p>Before you make this API call, note the following:</p>
* <ul>
* <li>After the API call is successfully made, the listener enters the stopped state.</li>
* <li>If the Server Load Balancer (SLB) instance to which the listener to be stopped belongs is in the locked state, this API call cannot be made.<blockquote>
* <p> If you stop the listener, your services will be disrupted. Exercise caution when you perform this action.</p>
* </blockquote>
* </li>
* </ul>
*
* @param request the request parameters of StopLoadBalancerListener StopLoadBalancerListenerRequest
* @return StopLoadBalancerListenerResponse
*/
CompletableFuture<StopLoadBalancerListenerResponse> stopLoadBalancerListener(StopLoadBalancerListenerRequest request);
/**
* <b>description</b> :
* <blockquote>
* <p> You can add at most 20 tags to each instance. Before you add tags to a resource, Alibaba Cloud checks the number of existing tags of the resource. If the maximum number is reached, an error message is returned.</p>
* </blockquote>
*
* @param request the request parameters of TagResources TagResourcesRequest
* @return TagResourcesResponse
*/
CompletableFuture<TagResourcesResponse> tagResources(TagResourcesRequest request);
/**
* @param request the request parameters of UntagResources UntagResourcesRequest
* @return UntagResourcesResponse
*/
CompletableFuture<UntagResourcesResponse> untagResources(UntagResourcesRequest request);
/**
* <b>description</b> :
* <p>You can upload only one CA certificate at a time. After a CA certificate is uploaded, the certificate ID, name, and fingerprint are returned.</p>
*
* @param request the request parameters of UploadCACertificate UploadCACertificateRequest
* @return UploadCACertificateResponse
*/
CompletableFuture<UploadCACertificateResponse> uploadCACertificate(UploadCACertificateRequest request);
/**
* <b>description</b> :
* <p> You can upload only one server certificate and its private key in each call.</p>
* <ul>
* <li>After a server certificate and its private key are uploaded, the fingerprints of all server certificates that belong to your Alibaba Cloud account are returned.</li>
* </ul>
*
* @param request the request parameters of UploadServerCertificate UploadServerCertificateRequest
* @return UploadServerCertificateResponse
*/
CompletableFuture<UploadServerCertificateResponse> uploadServerCertificate(UploadServerCertificateRequest request);
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/DefaultAsyncClient.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515;
import com.aliyun.core.http.*;
import com.aliyun.sdk.service.slb20140515.models.*;
import darabonba.core.utils.*;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import java.util.concurrent.CompletableFuture;
/**
* <p>Main client.</p>
*/
public final class DefaultAsyncClient implements AsyncClient {
protected final String product;
protected final String version;
protected final String endpointRule;
protected final java.util.Map<String, String> endpointMap;
protected final TeaRequest REQUEST;
protected final TeaAsyncHandler handler;
protected DefaultAsyncClient(ClientConfiguration configuration) {
this.handler = new TeaAsyncHandler(configuration);
this.product = "Slb";
this.version = "2014-05-15";
this.endpointRule = "regional";
this.endpointMap = CommonUtil.buildMap(
new TeaPair("cn-qingdao", "slb.aliyuncs.com"),
new TeaPair("cn-beijing", "slb.aliyuncs.com"),
new TeaPair("cn-hangzhou", "slb.aliyuncs.com"),
new TeaPair("cn-shanghai", "slb.aliyuncs.com"),
new TeaPair("cn-shenzhen", "slb.aliyuncs.com"),
new TeaPair("cn-hongkong", "slb.aliyuncs.com"),
new TeaPair("ap-southeast-1", "slb.aliyuncs.com"),
new TeaPair("us-east-1", "slb.aliyuncs.com"),
new TeaPair("us-west-1", "slb.aliyuncs.com"),
new TeaPair("cn-shanghai-finance-1", "slb.aliyuncs.com"),
new TeaPair("cn-shenzhen-finance-1", "slb.aliyuncs.com"),
new TeaPair("cn-north-2-gov-1", "slb.aliyuncs.com"),
new TeaPair("ap-northeast-2-pop", "slb.aliyuncs.com"),
new TeaPair("cn-beijing-finance-pop", "slb.aliyuncs.com"),
new TeaPair("cn-beijing-gov-1", "slb.aliyuncs.com"),
new TeaPair("cn-beijing-nu16-b01", "slb.aliyuncs.com"),
new TeaPair("cn-edge-1", "slb.aliyuncs.com"),
new TeaPair("cn-fujian", "slb.aliyuncs.com"),
new TeaPair("cn-haidian-cm12-c01", "slb.aliyuncs.com"),
new TeaPair("cn-hangzhou-bj-b01", "slb.aliyuncs.com"),
new TeaPair("cn-hangzhou-finance", "slb.aliyuncs.com"),
new TeaPair("cn-hangzhou-internal-prod-1", "slb.aliyuncs.com"),
new TeaPair("cn-hangzhou-internal-test-1", "slb.aliyuncs.com"),
new TeaPair("cn-hangzhou-internal-test-2", "slb.aliyuncs.com"),
new TeaPair("cn-hangzhou-internal-test-3", "slb.aliyuncs.com"),
new TeaPair("cn-hangzhou-test-306", "slb.aliyuncs.com"),
new TeaPair("cn-hongkong-finance-pop", "slb.aliyuncs.com"),
new TeaPair("cn-huhehaote-nebula-1", "slb-api.cn-qingdao-nebula.aliyuncs.com"),
new TeaPair("cn-shanghai-et15-b01", "slb.aliyuncs.com"),
new TeaPair("cn-shanghai-et2-b01", "slb.aliyuncs.com"),
new TeaPair("cn-shanghai-inner", "slb.aliyuncs.com"),
new TeaPair("cn-shanghai-internal-test-1", "slb.aliyuncs.com"),
new TeaPair("cn-shenzhen-inner", "slb.aliyuncs.com"),
new TeaPair("cn-shenzhen-st4-d01", "slb.aliyuncs.com"),
new TeaPair("cn-shenzhen-su18-b01", "slb.aliyuncs.com"),
new TeaPair("cn-wuhan", "slb.aliyuncs.com"),
new TeaPair("cn-yushanfang", "slb.aliyuncs.com"),
new TeaPair("cn-zhangbei", "slb.aliyuncs.com"),
new TeaPair("cn-zhangbei-na61-b01", "slb.aliyuncs.com"),
new TeaPair("cn-zhangjiakou-na62-a01", "slb.aliyuncs.com"),
new TeaPair("cn-zhengzhou-nebula-1", "slb.aliyuncs.com"),
new TeaPair("eu-west-1-oxs", "slb.aliyuncs.com"),
new TeaPair("rus-west-1-pop", "slb.aliyuncs.com")
);
this.REQUEST = TeaRequest.create().setProduct(product).setEndpointRule(endpointRule).setEndpointMap(endpointMap).setVersion(version);
}
@Override
public void close() {
this.handler.close();
}
/**
* <b>description</b> :
* <p>Each network ACL can contain one or more IP addresses or CIDR blocks. Take note of the following limits on network ACLs:</p>
* <ul>
* <li>The number of IP entries that can be added to a network ACL with each Alibaba Cloud account at a time: 50</li>
* <li>The maximum number of IP entries that each network ACL can contain: 300</li>
* </ul>
*
* @param request the request parameters of AddAccessControlListEntry AddAccessControlListEntryRequest
* @return AddAccessControlListEntryResponse
*/
@Override
public CompletableFuture<AddAccessControlListEntryResponse> addAccessControlListEntry(AddAccessControlListEntryRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("AddAccessControlListEntry").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(AddAccessControlListEntryResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<AddAccessControlListEntryResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <blockquote>
* <p> If multiple identical Elastic Compute Service (ECS) instances are specified in a request, only the first ECS instance is added. The other ECS instances are ignored. If the backend server that you add is the same as one of the existing backend servers that are already associated with the listener, an error message is returned.</p>
* </blockquote>
*
* @param request the request parameters of AddBackendServers AddBackendServersRequest
* @return AddBackendServersResponse
*/
@Override
public CompletableFuture<AddBackendServersResponse> addBackendServers(AddBackendServersRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("AddBackendServers").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(AddBackendServersResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<AddBackendServersResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of AddListenerWhiteListItem AddListenerWhiteListItemRequest
* @return AddListenerWhiteListItemResponse
*/
@Override
public CompletableFuture<AddListenerWhiteListItemResponse> addListenerWhiteListItem(AddListenerWhiteListItemRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("AddListenerWhiteListItem").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(AddListenerWhiteListItemResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<AddListenerWhiteListItemResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h1>Limits</h1>
* <p>Before you call this API, note the following limits:</p>
* <ul>
* <li>You can add up to 10 tags to each SLB instance.</li>
* <li>You can add up to five pairs of tags at a time.</li>
* <li>All the tags and keys added to an SLB instance must be unique.</li>
* <li>If you add a tag of which the key is the same as that of an existing tag, but the value is different, the new tag overwrites the existing one.</li>
* </ul>
*
* @param request the request parameters of AddTags AddTagsRequest
* @return AddTagsResponse
*/
@Override
public CompletableFuture<AddTagsResponse> addTags(AddTagsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("AddTags").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(AddTagsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<AddTagsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of AddVServerGroupBackendServers AddVServerGroupBackendServersRequest
* @return AddVServerGroupBackendServersResponse
*/
@Override
public CompletableFuture<AddVServerGroupBackendServersResponse> addVServerGroupBackendServers(AddVServerGroupBackendServersRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("AddVServerGroupBackendServers").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(AddVServerGroupBackendServersResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<AddVServerGroupBackendServersResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>You can create multiple ACLs. Each ACL can contain one or more IP addresses or CIDR blocks. Before you create an ACL, take note of the following limits:</p>
* <ul>
* <li>An account can have a maximum of 50 ACLs in each region.</li>
* <li>You can add a maximum of 50 IP addresses or CIDR blocks at a time within an account.</li>
* <li>Each ACL can contain a maximum of 300 IP addresses or CIDR blocks.</li>
* </ul>
*
* @param request the request parameters of CreateAccessControlList CreateAccessControlListRequest
* @return CreateAccessControlListResponse
*/
@Override
public CompletableFuture<CreateAccessControlListResponse> createAccessControlList(CreateAccessControlListRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateAccessControlList").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateAccessControlListResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateAccessControlListResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of CreateDomainExtension CreateDomainExtensionRequest
* @return CreateDomainExtensionResponse
*/
@Override
public CompletableFuture<CreateDomainExtensionResponse> createDomainExtension(CreateDomainExtensionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateDomainExtension").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateDomainExtensionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateDomainExtensionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p> Before you create a CLB instance, call the <a href="~~DescribeAvailableResource~~">DescribeAvailableResource</a> operation to query the resources available for purchase in the region where you want to create the CLB instance.</p>
* <ul>
* <li>After a CLB instance is created, you are charged for using the CLB instance.</li>
* <li>The pay-as-you-go billing method supports the pay-by-specification and pay-by-LCU metering methods.</li>
* </ul>
*
* @param request the request parameters of CreateLoadBalancer CreateLoadBalancerRequest
* @return CreateLoadBalancerResponse
*/
@Override
public CompletableFuture<CreateLoadBalancerResponse> createLoadBalancer(CreateLoadBalancerRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateLoadBalancer").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateLoadBalancerResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateLoadBalancerResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>A newly created listener is in the <strong>stopped</strong> state. After a listener is created, you can call the <a href="~~StartLoadBalancerListener~~">StartLoadBalancerListener</a> operation to start the listener. After the listener is started, the listener can forward traffic to backend servers.</p>
* <h2>Prerequisites</h2>
* <p>A Classic Load Balancer (CLB) instance is created. For more information, see <a href="~~StartLoadBalancerListener~~">CreateLoadBalancer</a>.</p>
*
* @param request the request parameters of CreateLoadBalancerHTTPListener CreateLoadBalancerHTTPListenerRequest
* @return CreateLoadBalancerHTTPListenerResponse
*/
@Override
public CompletableFuture<CreateLoadBalancerHTTPListenerResponse> createLoadBalancerHTTPListener(CreateLoadBalancerHTTPListenerRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateLoadBalancerHTTPListener").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateLoadBalancerHTTPListenerResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateLoadBalancerHTTPListenerResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>A newly created listener is in the <strong>stopped</strong> state. After a listener is created, you can call the <a href="https://help.aliyun.com/document_detail/27597.html">StartLoadBalancerListener</a> operation to start the listener. After the listener is started, the listener can forward traffic to backend servers.</p>
* <h2>Prerequisites</h2>
* <p>A Classic Load Balancer (CLB) instance is created. For more information, see <a href="https://www.alibabacloud.com/help/en/server-load-balancer/latest/createloadbalancer-2">CreateLoadBalancer</a>.</p>
*
* @param request the request parameters of CreateLoadBalancerHTTPSListener CreateLoadBalancerHTTPSListenerRequest
* @return CreateLoadBalancerHTTPSListenerResponse
*/
@Override
public CompletableFuture<CreateLoadBalancerHTTPSListenerResponse> createLoadBalancerHTTPSListener(CreateLoadBalancerHTTPSListenerRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateLoadBalancerHTTPSListener").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateLoadBalancerHTTPSListenerResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateLoadBalancerHTTPSListenerResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <blockquote>
* <p> A newly created listener is in the <strong>stopped</strong> state. After a listener is created, you can call the <a href="https://help.aliyun.com/document_detail/27597.html">StartLoadBalancerListener</a> operation to enable the listener to forward traffic to backend servers.</p>
* </blockquote>
*
* @param request the request parameters of CreateLoadBalancerTCPListener CreateLoadBalancerTCPListenerRequest
* @return CreateLoadBalancerTCPListenerResponse
*/
@Override
public CompletableFuture<CreateLoadBalancerTCPListenerResponse> createLoadBalancerTCPListener(CreateLoadBalancerTCPListenerRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateLoadBalancerTCPListener").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateLoadBalancerTCPListenerResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateLoadBalancerTCPListenerResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>UDP listeners of Classic Load Balancer (CLB) instances in a classic network cannot pass client IP addresses to backend servers.</p>
* <blockquote>
* <p> A newly created listener is in the <strong>stopped</strong> state. After a listener is created, you can call the <a href="https://help.aliyun.com/document_detail/27597.html">StartLoadBalancerListener</a> operation to enable the listener to forward traffic to backend servers.</p>
* </blockquote>
*
* @param request the request parameters of CreateLoadBalancerUDPListener CreateLoadBalancerUDPListenerRequest
* @return CreateLoadBalancerUDPListenerResponse
*/
@Override
public CompletableFuture<CreateLoadBalancerUDPListenerResponse> createLoadBalancerUDPListener(CreateLoadBalancerUDPListenerRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateLoadBalancerUDPListener").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateLoadBalancerUDPListenerResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateLoadBalancerUDPListenerResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of CreateMasterSlaveServerGroup CreateMasterSlaveServerGroupRequest
* @return CreateMasterSlaveServerGroupResponse
*/
@Override
public CompletableFuture<CreateMasterSlaveServerGroupResponse> createMasterSlaveServerGroup(CreateMasterSlaveServerGroupRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateMasterSlaveServerGroup").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateMasterSlaveServerGroupResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateMasterSlaveServerGroupResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of CreateRules CreateRulesRequest
* @return CreateRulesResponse
*/
@Override
public CompletableFuture<CreateRulesResponse> createRules(CreateRulesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateRules").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateRulesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateRulesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of CreateTLSCipherPolicy CreateTLSCipherPolicyRequest
* @return CreateTLSCipherPolicyResponse
*/
@Override
public CompletableFuture<CreateTLSCipherPolicyResponse> createTLSCipherPolicy(CreateTLSCipherPolicyRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateTLSCipherPolicy").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateTLSCipherPolicyResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateTLSCipherPolicyResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of CreateVServerGroup CreateVServerGroupRequest
* @return CreateVServerGroupResponse
*/
@Override
public CompletableFuture<CreateVServerGroupResponse> createVServerGroup(CreateVServerGroupRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateVServerGroup").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateVServerGroupResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<CreateVServerGroupResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>You can delete an ACL only if it is not associated with a listener.</p>
*
* @param request the request parameters of DeleteAccessControlList DeleteAccessControlListRequest
* @return DeleteAccessControlListResponse
*/
@Override
public CompletableFuture<DeleteAccessControlListResponse> deleteAccessControlList(DeleteAccessControlListRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteAccessControlList").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteAccessControlListResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteAccessControlListResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeleteAccessLogsDownloadAttribute DeleteAccessLogsDownloadAttributeRequest
* @return DeleteAccessLogsDownloadAttributeResponse
*/
@Override
public CompletableFuture<DeleteAccessLogsDownloadAttributeResponse> deleteAccessLogsDownloadAttribute(DeleteAccessLogsDownloadAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteAccessLogsDownloadAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteAccessLogsDownloadAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteAccessLogsDownloadAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>You cannot delete a CA certificate that is in use.</p>
*
* @param request the request parameters of DeleteCACertificate DeleteCACertificateRequest
* @return DeleteCACertificateResponse
*/
@Override
public CompletableFuture<DeleteCACertificateResponse> deleteCACertificate(DeleteCACertificateRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteCACertificate").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteCACertificateResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteCACertificateResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeleteDomainExtension DeleteDomainExtensionRequest
* @return DeleteDomainExtensionResponse
*/
@Override
public CompletableFuture<DeleteDomainExtensionResponse> deleteDomainExtension(DeleteDomainExtensionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteDomainExtension").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteDomainExtensionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteDomainExtensionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <blockquote>
* <p>The listeners and tags of the SLB instance are deleted along with the SLB instance.</p>
* </blockquote>
*
* @param request the request parameters of DeleteLoadBalancer DeleteLoadBalancerRequest
* @return DeleteLoadBalancerResponse
*/
@Override
public CompletableFuture<DeleteLoadBalancerResponse> deleteLoadBalancer(DeleteLoadBalancerRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteLoadBalancer").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteLoadBalancerResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteLoadBalancerResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <blockquote>
* <p> You can delete only listeners that are in the <strong>stopped</strong> or <strong>running</strong> state.</p>
* </blockquote>
*
* @param request the request parameters of DeleteLoadBalancerListener DeleteLoadBalancerListenerRequest
* @return DeleteLoadBalancerListenerResponse
*/
@Override
public CompletableFuture<DeleteLoadBalancerListenerResponse> deleteLoadBalancerListener(DeleteLoadBalancerListenerRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteLoadBalancerListener").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteLoadBalancerListenerResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteLoadBalancerListenerResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeleteMasterSlaveServerGroup DeleteMasterSlaveServerGroupRequest
* @return DeleteMasterSlaveServerGroupResponse
*/
@Override
public CompletableFuture<DeleteMasterSlaveServerGroupResponse> deleteMasterSlaveServerGroup(DeleteMasterSlaveServerGroupRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteMasterSlaveServerGroup").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteMasterSlaveServerGroupResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteMasterSlaveServerGroupResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h2>Limits</h2>
* <p>The RuleIds parameter is required. You can specify up to 10 forwarding rules in each request.</p>
*
* @param request the request parameters of DeleteRules DeleteRulesRequest
* @return DeleteRulesResponse
*/
@Override
public CompletableFuture<DeleteRulesResponse> deleteRules(DeleteRulesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteRules").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteRulesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteRulesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <blockquote>
* <p> You cannot delete server certificates that are in use.</p>
* </blockquote>
*
* @param request the request parameters of DeleteServerCertificate DeleteServerCertificateRequest
* @return DeleteServerCertificateResponse
*/
@Override
public CompletableFuture<DeleteServerCertificateResponse> deleteServerCertificate(DeleteServerCertificateRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteServerCertificate").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteServerCertificateResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteServerCertificateResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h2>Debugging</h2>
* <p><a href="https://api.aliyun.com/#product=Slb%5C&api=DeleteTLSCipherPolicy%5C&type=RPC%5C&version=2014-05-15">OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.</a></p>
*
* @param request the request parameters of DeleteTLSCipherPolicy DeleteTLSCipherPolicyRequest
* @return DeleteTLSCipherPolicyResponse
*/
@Override
public CompletableFuture<DeleteTLSCipherPolicyResponse> deleteTLSCipherPolicy(DeleteTLSCipherPolicyRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteTLSCipherPolicy").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteTLSCipherPolicyResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteTLSCipherPolicyResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DeleteVServerGroup DeleteVServerGroupRequest
* @return DeleteVServerGroupResponse
*/
@Override
public CompletableFuture<DeleteVServerGroupResponse> deleteVServerGroup(DeleteVServerGroupRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteVServerGroup").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteVServerGroupResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DeleteVServerGroupResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeAccessControlListAttribute DescribeAccessControlListAttributeRequest
* @return DescribeAccessControlListAttributeResponse
*/
@Override
public CompletableFuture<DescribeAccessControlListAttributeResponse> describeAccessControlListAttribute(DescribeAccessControlListAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeAccessControlListAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeAccessControlListAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeAccessControlListAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeAccessControlLists DescribeAccessControlListsRequest
* @return DescribeAccessControlListsResponse
*/
@Override
public CompletableFuture<DescribeAccessControlListsResponse> describeAccessControlLists(DescribeAccessControlListsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeAccessControlLists").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeAccessControlListsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeAccessControlListsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeAccessLogsDownloadAttribute DescribeAccessLogsDownloadAttributeRequest
* @return DescribeAccessLogsDownloadAttributeResponse
*/
@Override
public CompletableFuture<DescribeAccessLogsDownloadAttributeResponse> describeAccessLogsDownloadAttribute(DescribeAccessLogsDownloadAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeAccessLogsDownloadAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeAccessLogsDownloadAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeAccessLogsDownloadAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <blockquote>
* <p>Only the available resources and zones are returned.</p>
* </blockquote>
*
* @param request the request parameters of DescribeAvailableResource DescribeAvailableResourceRequest
* @return DescribeAvailableResourceResponse
*/
@Override
public CompletableFuture<DescribeAvailableResourceResponse> describeAvailableResource(DescribeAvailableResourceRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeAvailableResource").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeAvailableResourceResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeAvailableResourceResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <blockquote>
* <p>To ensure data confidentiality, only the certificate fingerprint and name are returned. The certificate content is not returned.</p>
* </blockquote>
*
* @param request the request parameters of DescribeCACertificates DescribeCACertificatesRequest
* @return DescribeCACertificatesResponse
*/
@Override
public CompletableFuture<DescribeCACertificatesResponse> describeCACertificates(DescribeCACertificatesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeCACertificates").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeCACertificatesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeCACertificatesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeDomainExtensionAttribute DescribeDomainExtensionAttributeRequest
* @return DescribeDomainExtensionAttributeResponse
*/
@Override
public CompletableFuture<DescribeDomainExtensionAttributeResponse> describeDomainExtensionAttribute(DescribeDomainExtensionAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDomainExtensionAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDomainExtensionAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDomainExtensionAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeDomainExtensions DescribeDomainExtensionsRequest
* @return DescribeDomainExtensionsResponse
*/
@Override
public CompletableFuture<DescribeDomainExtensionsResponse> describeDomainExtensions(DescribeDomainExtensionsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeDomainExtensions").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeDomainExtensionsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeDomainExtensionsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeHealthStatus DescribeHealthStatusRequest
* @return DescribeHealthStatusResponse
*/
@Override
public CompletableFuture<DescribeHealthStatusResponse> describeHealthStatus(DescribeHealthStatusRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeHealthStatus").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeHealthStatusResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeHealthStatusResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeHighDefinationMonitor DescribeHighDefinationMonitorRequest
* @return DescribeHighDefinationMonitorResponse
*/
@Override
public CompletableFuture<DescribeHighDefinationMonitorResponse> describeHighDefinationMonitor(DescribeHighDefinationMonitorRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeHighDefinationMonitor").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeHighDefinationMonitorResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeHighDefinationMonitorResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeListenerAccessControlAttribute DescribeListenerAccessControlAttributeRequest
* @return DescribeListenerAccessControlAttributeResponse
*/
@Override
public CompletableFuture<DescribeListenerAccessControlAttributeResponse> describeListenerAccessControlAttribute(DescribeListenerAccessControlAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeListenerAccessControlAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeListenerAccessControlAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeListenerAccessControlAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <blockquote>
* <p> If backend servers are deployed in a vServer group, you can call the <a href="https://help.aliyun.com/document_detail/35224.html">DescribeVServerGroupAttribute</a> operation to query the backend servers.</p>
* </blockquote>
*
* @param request the request parameters of DescribeLoadBalancerAttribute DescribeLoadBalancerAttributeRequest
* @return DescribeLoadBalancerAttributeResponse
*/
@Override
public CompletableFuture<DescribeLoadBalancerAttributeResponse> describeLoadBalancerAttribute(DescribeLoadBalancerAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeLoadBalancerAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeLoadBalancerAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeLoadBalancerAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p> A Classic Load Balancer (CLB) instance is created. For more information, see <a href="https://help.aliyun.com/document_detail/27577.html">CreateLoadBalancer</a>.</p>
* <ul>
* <li>An HTTP listener is created. For more information about how to create an HTTP listener, see <a href="https://help.aliyun.com/document_detail/27592.html">CreateLoadBalancerHTTPListener</a>.</li>
* </ul>
*
* @param request the request parameters of DescribeLoadBalancerHTTPListenerAttribute DescribeLoadBalancerHTTPListenerAttributeRequest
* @return DescribeLoadBalancerHTTPListenerAttributeResponse
*/
@Override
public CompletableFuture<DescribeLoadBalancerHTTPListenerAttributeResponse> describeLoadBalancerHTTPListenerAttribute(DescribeLoadBalancerHTTPListenerAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeLoadBalancerHTTPListenerAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeLoadBalancerHTTPListenerAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeLoadBalancerHTTPListenerAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p> A Classic Load Balancer (CLB) instance is created. For more information, see <a href="https://help.aliyun.com/document_detail/27577.html">CreateLoadBalancer</a>.</p>
* <ul>
* <li>An HTTPS listener is created. For more information about how to create an HTTPS listener, see <a href="https://help.aliyun.com/document_detail/27593.html">CreateLoadBalancerHTTPSListener</a>.</li>
* </ul>
*
* @param request the request parameters of DescribeLoadBalancerHTTPSListenerAttribute DescribeLoadBalancerHTTPSListenerAttributeRequest
* @return DescribeLoadBalancerHTTPSListenerAttributeResponse
*/
@Override
public CompletableFuture<DescribeLoadBalancerHTTPSListenerAttributeResponse> describeLoadBalancerHTTPSListenerAttribute(DescribeLoadBalancerHTTPSListenerAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeLoadBalancerHTTPSListenerAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeLoadBalancerHTTPSListenerAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeLoadBalancerHTTPSListenerAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p> A CLB instance is created. For more information, see <a href="https://help.aliyun.com/document_detail/2401685.html">CreateLoadBalancer</a>.</p>
* <ul>
* <li>One or more listeners are added to the CLB instance. For more information, see the following topics:<ul>
* <li><a href="~~CreateLoadBalancerUDPListener~~">CreateLoadBalancerUDPListener</a></li>
* <li><a href="~~CreateLoadBalancerTCPListener~~">CreateLoadBalancerTCPListener</a></li>
* <li><a href="~~CreateLoadBalancerHTTPListener~~">CreateLoadBalancerHTTPListener</a></li>
* <li><a href="~~CreateLoadBalancerHTTPSListener~~">CreateLoadBalancerHTTPSListener</a></li>
* </ul>
* </li>
* </ul>
*
* @param request the request parameters of DescribeLoadBalancerListeners DescribeLoadBalancerListenersRequest
* @return DescribeLoadBalancerListenersResponse
*/
@Override
public CompletableFuture<DescribeLoadBalancerListenersResponse> describeLoadBalancerListeners(DescribeLoadBalancerListenersRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeLoadBalancerListeners").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeLoadBalancerListenersResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeLoadBalancerListenersResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeLoadBalancerTCPListenerAttribute DescribeLoadBalancerTCPListenerAttributeRequest
* @return DescribeLoadBalancerTCPListenerAttributeResponse
*/
@Override
public CompletableFuture<DescribeLoadBalancerTCPListenerAttributeResponse> describeLoadBalancerTCPListenerAttribute(DescribeLoadBalancerTCPListenerAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeLoadBalancerTCPListenerAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeLoadBalancerTCPListenerAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeLoadBalancerTCPListenerAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeLoadBalancerUDPListenerAttribute DescribeLoadBalancerUDPListenerAttributeRequest
* @return DescribeLoadBalancerUDPListenerAttributeResponse
*/
@Override
public CompletableFuture<DescribeLoadBalancerUDPListenerAttributeResponse> describeLoadBalancerUDPListenerAttribute(DescribeLoadBalancerUDPListenerAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeLoadBalancerUDPListenerAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeLoadBalancerUDPListenerAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeLoadBalancerUDPListenerAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeLoadBalancers DescribeLoadBalancersRequest
* @return DescribeLoadBalancersResponse
*/
@Override
public CompletableFuture<DescribeLoadBalancersResponse> describeLoadBalancers(DescribeLoadBalancersRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeLoadBalancers").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeLoadBalancersResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeLoadBalancersResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeMasterSlaveServerGroupAttribute DescribeMasterSlaveServerGroupAttributeRequest
* @return DescribeMasterSlaveServerGroupAttributeResponse
*/
@Override
public CompletableFuture<DescribeMasterSlaveServerGroupAttributeResponse> describeMasterSlaveServerGroupAttribute(DescribeMasterSlaveServerGroupAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeMasterSlaveServerGroupAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeMasterSlaveServerGroupAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeMasterSlaveServerGroupAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeMasterSlaveServerGroups DescribeMasterSlaveServerGroupsRequest
* @return DescribeMasterSlaveServerGroupsResponse
*/
@Override
public CompletableFuture<DescribeMasterSlaveServerGroupsResponse> describeMasterSlaveServerGroups(DescribeMasterSlaveServerGroupsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeMasterSlaveServerGroups").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeMasterSlaveServerGroupsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeMasterSlaveServerGroupsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeRegions DescribeRegionsRequest
* @return DescribeRegionsResponse
*/
@Override
public CompletableFuture<DescribeRegionsResponse> describeRegions(DescribeRegionsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRegions").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRegionsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRegionsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeRuleAttribute DescribeRuleAttributeRequest
* @return DescribeRuleAttributeResponse
*/
@Override
public CompletableFuture<DescribeRuleAttributeResponse> describeRuleAttribute(DescribeRuleAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRuleAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRuleAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRuleAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeRules DescribeRulesRequest
* @return DescribeRulesResponse
*/
@Override
public CompletableFuture<DescribeRulesResponse> describeRules(DescribeRulesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeRules").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeRulesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeRulesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <blockquote>
* <p> For security reasons, only the fingerprints and names of server certificates are returned. The content of server certificates and private keys is not returned.</p>
* </blockquote>
*
* @param request the request parameters of DescribeServerCertificates DescribeServerCertificatesRequest
* @return DescribeServerCertificatesResponse
*/
@Override
public CompletableFuture<DescribeServerCertificatesResponse> describeServerCertificates(DescribeServerCertificatesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeServerCertificates").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeServerCertificatesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeServerCertificatesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>Take note of the following items:</p>
* <ul>
* <li>The system queries tags based on the instance ID, tag key, and tag value specified by you.</li>
* <li>If the logical relationship among the specified conditions is AND, only tags that match all the specified conditions are returned.</li>
* <li>If the Tagkey parameter is specified and but Tagvalue parameter is not specified, all tags that contain the specified tag key are returned.</li>
* <li>If you specify the Tagvalue parameter in a request, you must also specify the Tagkey parameter in the request.</li>
* <li>If you specify both the Tagkey and Tagvalue parameters, only tags that contain the specified keys and values are returned.</li>
* </ul>
*
* @param request the request parameters of DescribeTags DescribeTagsRequest
* @return DescribeTagsResponse
*/
@Override
public CompletableFuture<DescribeTagsResponse> describeTags(DescribeTagsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeTags").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeTagsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeTagsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeVServerGroupAttribute DescribeVServerGroupAttributeRequest
* @return DescribeVServerGroupAttributeResponse
*/
@Override
public CompletableFuture<DescribeVServerGroupAttributeResponse> describeVServerGroupAttribute(DescribeVServerGroupAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeVServerGroupAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeVServerGroupAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeVServerGroupAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeVServerGroups DescribeVServerGroupsRequest
* @return DescribeVServerGroupsResponse
*/
@Override
public CompletableFuture<DescribeVServerGroupsResponse> describeVServerGroups(DescribeVServerGroupsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeVServerGroups").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeVServerGroupsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeVServerGroupsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of DescribeZones DescribeZonesRequest
* @return DescribeZonesResponse
*/
@Override
public CompletableFuture<DescribeZonesResponse> describeZones(DescribeZonesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DescribeZones").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DescribeZonesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<DescribeZonesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of EnableHighDefinationMonitor EnableHighDefinationMonitorRequest
* @return EnableHighDefinationMonitorResponse
*/
@Override
public CompletableFuture<EnableHighDefinationMonitorResponse> enableHighDefinationMonitor(EnableHighDefinationMonitorRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("EnableHighDefinationMonitor").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(EnableHighDefinationMonitorResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<EnableHighDefinationMonitorResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ListTLSCipherPolicies ListTLSCipherPoliciesRequest
* @return ListTLSCipherPoliciesResponse
*/
@Override
public CompletableFuture<ListTLSCipherPoliciesResponse> listTLSCipherPolicies(ListTLSCipherPoliciesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListTLSCipherPolicies").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListTLSCipherPoliciesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ListTLSCipherPoliciesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p> Set <strong>ResourceId.N</strong> or <strong>Tag.N</strong> that consists of <strong>Tag.N.Key</strong> and <strong>Tag.N.Value</strong> in the request to specify the object to be queried.</p>
* <ul>
* <li><strong>Tag.N</strong> is a resource tag that consists of a key-value pair. If you set only <strong>Tag.N.Key</strong>, all tag values that are associated with the specified tag key are returned. If you set only <strong>Tag.N.Value</strong>, an error message is returned.</li>
* <li>If you set <strong>Tag.N</strong> and <strong>ResourceId.N</strong> to filter tags, <strong>ResourceId.N</strong> must match all specified key-value pairs.</li>
* <li>If you specify multiple key-value pairs, resources that contain these key-value pairs are returned.</li>
* </ul>
*
* @param request the request parameters of ListTagResources ListTagResourcesRequest
* @return ListTagResourcesResponse
*/
@Override
public CompletableFuture<ListTagResourcesResponse> listTagResources(ListTagResourcesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListTagResources").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListTagResourcesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ListTagResourcesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ModifyHighDefinationMonitor ModifyHighDefinationMonitorRequest
* @return ModifyHighDefinationMonitorResponse
*/
@Override
public CompletableFuture<ModifyHighDefinationMonitorResponse> modifyHighDefinationMonitor(ModifyHighDefinationMonitorRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyHighDefinationMonitor").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyHighDefinationMonitorResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyHighDefinationMonitorResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <blockquote>
* <ul>
* <li>For pay-as-you-go CLB instances, you can only change the metering method from pay-by-specification to pay-by-LCU. You cannot change the metering method from pay-by-LCU to pay-by-specification.</li>
* <li>This operation can change the metering method of only one instance at a time.</li>
* </ul>
* </blockquote>
*
* @param request the request parameters of ModifyLoadBalancerInstanceChargeType ModifyLoadBalancerInstanceChargeTypeRequest
* @return ModifyLoadBalancerInstanceChargeTypeResponse
*/
@Override
public CompletableFuture<ModifyLoadBalancerInstanceChargeTypeResponse> modifyLoadBalancerInstanceChargeType(ModifyLoadBalancerInstanceChargeTypeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyLoadBalancerInstanceChargeType").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyLoadBalancerInstanceChargeTypeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyLoadBalancerInstanceChargeTypeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of ModifyLoadBalancerInstanceSpec ModifyLoadBalancerInstanceSpecRequest
* @return ModifyLoadBalancerInstanceSpecResponse
*/
@Override
public CompletableFuture<ModifyLoadBalancerInstanceSpecResponse> modifyLoadBalancerInstanceSpec(ModifyLoadBalancerInstanceSpecRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyLoadBalancerInstanceSpec").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyLoadBalancerInstanceSpecResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyLoadBalancerInstanceSpecResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h2>Description</h2>
* <ul>
* <li>If you modify only the maximum bandwidth of a pay-by-bandwidth CLB instance, the new bandwidth immediately takes effect.</li>
* <li>If you modify the metering method (for example, switch from pay-by-bandwidth to pay-by-data-transfer), the new metering method and the other changes specified in the operation take effect at 00:00:00 the next day.</li>
* </ul>
*
* @param request the request parameters of ModifyLoadBalancerInternetSpec ModifyLoadBalancerInternetSpecRequest
* @return ModifyLoadBalancerInternetSpecResponse
*/
@Override
public CompletableFuture<ModifyLoadBalancerInternetSpecResponse> modifyLoadBalancerInternetSpec(ModifyLoadBalancerInternetSpecRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyLoadBalancerInternetSpec").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyLoadBalancerInternetSpecResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyLoadBalancerInternetSpecResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @deprecated OpenAPI ModifyLoadBalancerPayType is deprecated * @param request the request parameters of ModifyLoadBalancerPayType ModifyLoadBalancerPayTypeRequest
* @return ModifyLoadBalancerPayTypeResponse
*/
@Deprecated
@Override
public CompletableFuture<ModifyLoadBalancerPayTypeResponse> modifyLoadBalancerPayType(ModifyLoadBalancerPayTypeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyLoadBalancerPayType").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyLoadBalancerPayTypeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyLoadBalancerPayTypeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>This operation can be used only to replace backend servers in a vServer group. To modify the attributes of backend servers, such as weights, call the <a href="https://help.aliyun.com/document_detail/35217.html">SetVServerGroupAttribute</a> operation.</p>
*
* @param request the request parameters of ModifyVServerGroupBackendServers ModifyVServerGroupBackendServersRequest
* @return ModifyVServerGroupBackendServersResponse
*/
@Override
public CompletableFuture<ModifyVServerGroupBackendServersResponse> modifyVServerGroupBackendServers(ModifyVServerGroupBackendServersRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyVServerGroupBackendServers").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyVServerGroupBackendServersResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<ModifyVServerGroupBackendServersResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of MoveResourceGroup MoveResourceGroupRequest
* @return MoveResourceGroupResponse
*/
@Override
public CompletableFuture<MoveResourceGroupResponse> moveResourceGroup(MoveResourceGroupRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("MoveResourceGroup").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(MoveResourceGroupResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<MoveResourceGroupResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of RemoveAccessControlListEntry RemoveAccessControlListEntryRequest
* @return RemoveAccessControlListEntryResponse
*/
@Override
public CompletableFuture<RemoveAccessControlListEntryResponse> removeAccessControlListEntry(RemoveAccessControlListEntryRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RemoveAccessControlListEntry").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RemoveAccessControlListEntryResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RemoveAccessControlListEntryResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <blockquote>
* <p> If the backend servers that you want to remove are not in the server list of the Classic Load Balancer (CLB) instance, the request fails. However, the system does not report an error.</p>
* </blockquote>
*
* @param request the request parameters of RemoveBackendServers RemoveBackendServersRequest
* @return RemoveBackendServersResponse
*/
@Override
public CompletableFuture<RemoveBackendServersResponse> removeBackendServers(RemoveBackendServersRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RemoveBackendServers").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RemoveBackendServersResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RemoveBackendServersResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of RemoveListenerWhiteListItem RemoveListenerWhiteListItemRequest
* @return RemoveListenerWhiteListItemResponse
*/
@Override
public CompletableFuture<RemoveListenerWhiteListItemResponse> removeListenerWhiteListItem(RemoveListenerWhiteListItemRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RemoveListenerWhiteListItem").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RemoveListenerWhiteListItemResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RemoveListenerWhiteListItemResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of RemoveTags RemoveTagsRequest
* @return RemoveTagsResponse
*/
@Override
public CompletableFuture<RemoveTagsResponse> removeTags(RemoveTagsRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RemoveTags").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RemoveTagsResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RemoveTagsResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <blockquote>
* <p> If the backend servers specified by the <strong>BackendServers</strong> parameter do not exist in the vServer group, the backend servers are ignored. No error message is returned.</p>
* </blockquote>
*
* @param request the request parameters of RemoveVServerGroupBackendServers RemoveVServerGroupBackendServersRequest
* @return RemoveVServerGroupBackendServersResponse
*/
@Override
public CompletableFuture<RemoveVServerGroupBackendServersResponse> removeVServerGroupBackendServers(RemoveVServerGroupBackendServersRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("RemoveVServerGroupBackendServers").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(RemoveVServerGroupBackendServersResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<RemoveVServerGroupBackendServersResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of SetAccessControlListAttribute SetAccessControlListAttributeRequest
* @return SetAccessControlListAttributeResponse
*/
@Override
public CompletableFuture<SetAccessControlListAttributeResponse> setAccessControlListAttribute(SetAccessControlListAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SetAccessControlListAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SetAccessControlListAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SetAccessControlListAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of SetAccessLogsDownloadAttribute SetAccessLogsDownloadAttributeRequest
* @return SetAccessLogsDownloadAttributeResponse
*/
@Override
public CompletableFuture<SetAccessLogsDownloadAttributeResponse> setAccessLogsDownloadAttribute(SetAccessLogsDownloadAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SetAccessLogsDownloadAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SetAccessLogsDownloadAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SetAccessLogsDownloadAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of SetBackendServers SetBackendServersRequest
* @return SetBackendServersResponse
*/
@Override
public CompletableFuture<SetBackendServersResponse> setBackendServers(SetBackendServersRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SetBackendServers").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SetBackendServersResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SetBackendServersResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of SetCACertificateName SetCACertificateNameRequest
* @return SetCACertificateNameResponse
*/
@Override
public CompletableFuture<SetCACertificateNameResponse> setCACertificateName(SetCACertificateNameRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SetCACertificateName").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SetCACertificateNameResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SetCACertificateNameResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <blockquote>
* <p> You cannot replace an additional certificate for a listener that is added to a shared-resource Server Load Balancer (SLB) instance.</p>
* </blockquote>
*
* @param request the request parameters of SetDomainExtensionAttribute SetDomainExtensionAttributeRequest
* @return SetDomainExtensionAttributeResponse
*/
@Override
public CompletableFuture<SetDomainExtensionAttributeResponse> setDomainExtensionAttribute(SetDomainExtensionAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SetDomainExtensionAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SetDomainExtensionAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SetDomainExtensionAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of SetListenerAccessControlStatus SetListenerAccessControlStatusRequest
* @return SetListenerAccessControlStatusResponse
*/
@Override
public CompletableFuture<SetListenerAccessControlStatusResponse> setListenerAccessControlStatus(SetListenerAccessControlStatusRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SetListenerAccessControlStatus").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SetListenerAccessControlStatusResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SetListenerAccessControlStatusResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of SetLoadBalancerDeleteProtection SetLoadBalancerDeleteProtectionRequest
* @return SetLoadBalancerDeleteProtectionResponse
*/
@Override
public CompletableFuture<SetLoadBalancerDeleteProtectionResponse> setLoadBalancerDeleteProtection(SetLoadBalancerDeleteProtectionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SetLoadBalancerDeleteProtection").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SetLoadBalancerDeleteProtectionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SetLoadBalancerDeleteProtectionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <h3>Prerequisites</h3>
* <ul>
* <li>A Classic Load Balancer (CLB) instance is created. For more information, see <a href="https://help.aliyun.com/document_detail/27577.html">CreateLoadBalancer</a>.</li>
* <li>An HTTP listener is created. For more information about how to create an HTTP listener, see <a href="https://help.aliyun.com/document_detail/27592.html">CreateLoadBalancerHTTPListener</a>.</li>
* </ul>
*
* @param request the request parameters of SetLoadBalancerHTTPListenerAttribute SetLoadBalancerHTTPListenerAttributeRequest
* @return SetLoadBalancerHTTPListenerAttributeResponse
*/
@Override
public CompletableFuture<SetLoadBalancerHTTPListenerAttributeResponse> setLoadBalancerHTTPListenerAttribute(SetLoadBalancerHTTPListenerAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SetLoadBalancerHTTPListenerAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SetLoadBalancerHTTPListenerAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SetLoadBalancerHTTPListenerAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p> A Classic Load Balancer (CLB) instance is created. For more information, see <a href="https://help.aliyun.com/document_detail/27577.html">CreateLoadBalancer</a>.</p>
* <ul>
* <li>An HTTPS listener is created. For more information about how to create an HTTPS listener, see <a href="https://help.aliyun.com/document_detail/27593.html">CreateLoadBalancerHTTPSListener</a>.</li>
* </ul>
*
* @param request the request parameters of SetLoadBalancerHTTPSListenerAttribute SetLoadBalancerHTTPSListenerAttributeRequest
* @return SetLoadBalancerHTTPSListenerAttributeResponse
*/
@Override
public CompletableFuture<SetLoadBalancerHTTPSListenerAttributeResponse> setLoadBalancerHTTPSListenerAttribute(SetLoadBalancerHTTPSListenerAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SetLoadBalancerHTTPSListenerAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SetLoadBalancerHTTPSListenerAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SetLoadBalancerHTTPSListenerAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of SetLoadBalancerModificationProtection SetLoadBalancerModificationProtectionRequest
* @return SetLoadBalancerModificationProtectionResponse
*/
@Override
public CompletableFuture<SetLoadBalancerModificationProtectionResponse> setLoadBalancerModificationProtection(SetLoadBalancerModificationProtectionRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SetLoadBalancerModificationProtection").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SetLoadBalancerModificationProtectionResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SetLoadBalancerModificationProtectionResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of SetLoadBalancerName SetLoadBalancerNameRequest
* @return SetLoadBalancerNameResponse
*/
@Override
public CompletableFuture<SetLoadBalancerNameResponse> setLoadBalancerName(SetLoadBalancerNameRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SetLoadBalancerName").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SetLoadBalancerNameResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SetLoadBalancerNameResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of SetLoadBalancerStatus SetLoadBalancerStatusRequest
* @return SetLoadBalancerStatusResponse
*/
@Override
public CompletableFuture<SetLoadBalancerStatusResponse> setLoadBalancerStatus(SetLoadBalancerStatusRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SetLoadBalancerStatus").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SetLoadBalancerStatusResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SetLoadBalancerStatusResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p> A CLB instance is created. For more information, see <a href="https://help.aliyun.com/document_detail/2401685.html">CreateLoadBalancer</a>.</p>
* <ul>
* <li>A TCP listener is created. For more information, see <a href="~~CreateLoadBalancerTCPListener~~">CreateLoadBalancerTCPListener</a>.</li>
* </ul>
*
* @param request the request parameters of SetLoadBalancerTCPListenerAttribute SetLoadBalancerTCPListenerAttributeRequest
* @return SetLoadBalancerTCPListenerAttributeResponse
*/
@Override
public CompletableFuture<SetLoadBalancerTCPListenerAttributeResponse> setLoadBalancerTCPListenerAttribute(SetLoadBalancerTCPListenerAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SetLoadBalancerTCPListenerAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SetLoadBalancerTCPListenerAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SetLoadBalancerTCPListenerAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p> A Classic Load Balancer (CLB) instance is created. For more information, see <a href="https://help.aliyun.com/document_detail/27577.html">CreateLoadBalancer</a>.</p>
* <ul>
* <li>A UDP listener is created. For more information, see <a href="https://help.aliyun.com/document_detail/27595.html">CreateLoadBalancerUDPListener</a>.</li>
* </ul>
*
* @param request the request parameters of SetLoadBalancerUDPListenerAttribute SetLoadBalancerUDPListenerAttributeRequest
* @return SetLoadBalancerUDPListenerAttributeResponse
*/
@Override
public CompletableFuture<SetLoadBalancerUDPListenerAttributeResponse> setLoadBalancerUDPListenerAttribute(SetLoadBalancerUDPListenerAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SetLoadBalancerUDPListenerAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SetLoadBalancerUDPListenerAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SetLoadBalancerUDPListenerAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of SetRule SetRuleRequest
* @return SetRuleResponse
*/
@Override
public CompletableFuture<SetRuleResponse> setRule(SetRuleRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SetRule").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SetRuleResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SetRuleResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of SetServerCertificateName SetServerCertificateNameRequest
* @return SetServerCertificateNameResponse
*/
@Override
public CompletableFuture<SetServerCertificateNameResponse> setServerCertificateName(SetServerCertificateNameRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SetServerCertificateName").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SetServerCertificateNameResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SetServerCertificateNameResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of SetTLSCipherPolicyAttribute SetTLSCipherPolicyAttributeRequest
* @return SetTLSCipherPolicyAttributeResponse
*/
@Override
public CompletableFuture<SetTLSCipherPolicyAttributeResponse> setTLSCipherPolicyAttribute(SetTLSCipherPolicyAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SetTLSCipherPolicyAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SetTLSCipherPolicyAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SetTLSCipherPolicyAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>This operation can be used to modify the weights of backend servers and names of vServer groups.</p>
* <ul>
* <li>If you want to modify backend servers in a specified vServer group, call the <a href="https://help.aliyun.com/document_detail/35220.html">ModifyVServerGroupBackendServers</a> operation.</li>
* <li>If you want to add backend servers to a specified vServer group, call the <a href="https://help.aliyun.com/document_detail/35218.html">AddVServerGroupBackendServers</a> operation.</li>
* </ul>
*
* @param request the request parameters of SetVServerGroupAttribute SetVServerGroupAttributeRequest
* @return SetVServerGroupAttributeResponse
*/
@Override
public CompletableFuture<SetVServerGroupAttributeResponse> setVServerGroupAttribute(SetVServerGroupAttributeRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SetVServerGroupAttribute").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SetVServerGroupAttributeResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<SetVServerGroupAttributeResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>When you call this operation, take note of the following items:</p>
* <ul>
* <li>You can call the operation only when the listener is in the Stopped state.</li>
* <li>If the operation is successful, the listener switches to the Starting state.</li>
* <li>You cannot perform this operation when the Classic Load Balancer (CLB) instance to which the listener belongs is in the Locked state.</li>
* </ul>
*
* @param request the request parameters of StartLoadBalancerListener StartLoadBalancerListenerRequest
* @return StartLoadBalancerListenerResponse
*/
@Override
public CompletableFuture<StartLoadBalancerListenerResponse> startLoadBalancerListener(StartLoadBalancerListenerRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("StartLoadBalancerListener").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(StartLoadBalancerListenerResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<StartLoadBalancerListenerResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>Before you make this API call, note the following:</p>
* <ul>
* <li>After the API call is successfully made, the listener enters the stopped state.</li>
* <li>If the Server Load Balancer (SLB) instance to which the listener to be stopped belongs is in the locked state, this API call cannot be made.<blockquote>
* <p> If you stop the listener, your services will be disrupted. Exercise caution when you perform this action.</p>
* </blockquote>
* </li>
* </ul>
*
* @param request the request parameters of StopLoadBalancerListener StopLoadBalancerListenerRequest
* @return StopLoadBalancerListenerResponse
*/
@Override
public CompletableFuture<StopLoadBalancerListenerResponse> stopLoadBalancerListener(StopLoadBalancerListenerRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("StopLoadBalancerListener").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(StopLoadBalancerListenerResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<StopLoadBalancerListenerResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <blockquote>
* <p> You can add at most 20 tags to each instance. Before you add tags to a resource, Alibaba Cloud checks the number of existing tags of the resource. If the maximum number is reached, an error message is returned.</p>
* </blockquote>
*
* @param request the request parameters of TagResources TagResourcesRequest
* @return TagResourcesResponse
*/
@Override
public CompletableFuture<TagResourcesResponse> tagResources(TagResourcesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("TagResources").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(TagResourcesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<TagResourcesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* @param request the request parameters of UntagResources UntagResourcesRequest
* @return UntagResourcesResponse
*/
@Override
public CompletableFuture<UntagResourcesResponse> untagResources(UntagResourcesRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UntagResources").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UntagResourcesResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UntagResourcesResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p>You can upload only one CA certificate at a time. After a CA certificate is uploaded, the certificate ID, name, and fingerprint are returned.</p>
*
* @param request the request parameters of UploadCACertificate UploadCACertificateRequest
* @return UploadCACertificateResponse
*/
@Override
public CompletableFuture<UploadCACertificateResponse> uploadCACertificate(UploadCACertificateRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UploadCACertificate").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UploadCACertificateResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UploadCACertificateResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
/**
* <b>description</b> :
* <p> You can upload only one server certificate and its private key in each call.</p>
* <ul>
* <li>After a server certificate and its private key are uploaded, the fingerprints of all server certificates that belong to your Alibaba Cloud account are returned.</li>
* </ul>
*
* @param request the request parameters of UploadServerCertificate UploadServerCertificateRequest
* @return UploadServerCertificateResponse
*/
@Override
public CompletableFuture<UploadServerCertificateResponse> uploadServerCertificate(UploadServerCertificateRequest request) {
try {
this.handler.validateRequestModel(request);
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UploadServerCertificate").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UploadServerCertificateResponse.create());
return this.handler.execute(params);
} catch (Exception e) {
CompletableFuture<UploadServerCertificateResponse> future = new CompletableFuture<>();
future.completeExceptionally(e);
return future;
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/DefaultAsyncClientBuilder.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515;
import com.aliyun.sdk.gateway.pop.BaseClientBuilder;
public final class DefaultAsyncClientBuilder extends BaseClientBuilder<DefaultAsyncClientBuilder, AsyncClient> {
@Override
protected String serviceName() {
return "slb20140515";
}
@Override
protected final AsyncClient buildClient() {
return new DefaultAsyncClient(super.applyClientConfiguration());
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/AddAccessControlListEntryRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 AddAccessControlListEntryRequest} extends {@link RequestModel}
*
* <p>AddAccessControlListEntryRequest</p>
*/
public class AddAccessControlListEntryRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AclEntrys")
private String aclEntrys;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AclId")
private String aclId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@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("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private AddAccessControlListEntryRequest(Builder builder) {
super(builder);
this.aclEntrys = builder.aclEntrys;
this.aclId = builder.aclId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static AddAccessControlListEntryRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return aclEntrys
*/
public String getAclEntrys() {
return this.aclEntrys;
}
/**
* @return aclId
*/
public String getAclId() {
return this.aclId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<AddAccessControlListEntryRequest, Builder> {
private String aclEntrys;
private String aclId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(AddAccessControlListEntryRequest request) {
super(request);
this.aclEntrys = request.aclEntrys;
this.aclId = request.aclId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The configuration of the network ACL. Valid values:</p>
* <ul>
* <li><strong>entry</strong>: the IP entries that you want to add to the network ACL. You can add CIDR blocks. Separate multiple CIDR blocks with commas (,).</li>
* <li><strong>comment</strong>: the comment on the network ACL.</li>
* </ul>
* <blockquote>
* <p>You can add at most 50 IP entries to a network ACL in each call. If the IP entry that you want to add to a network ACL already exists, the IP entry is not added. The IP entries that you add must be CIDR blocks.</p>
* </blockquote>
*/
public Builder aclEntrys(String aclEntrys) {
this.putQueryParameter("AclEntrys", aclEntrys);
this.aclEntrys = aclEntrys;
return this;
}
/**
* <p>The ID of the network ACL.</p>
*
* <strong>example:</strong>
* <p>acl-bp1l0kk4gxce43kze*****</p>
*/
public Builder aclId(String aclId) {
this.putQueryParameter("AclId", aclId);
this.aclId = aclId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the network ACL.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public AddAccessControlListEntryRequest build() {
return new AddAccessControlListEntryRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/AddAccessControlListEntryResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 AddAccessControlListEntryResponse} extends {@link TeaModel}
*
* <p>AddAccessControlListEntryResponse</p>
*/
public class AddAccessControlListEntryResponse 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 AddAccessControlListEntryResponseBody body;
private AddAccessControlListEntryResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static AddAccessControlListEntryResponse 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 AddAccessControlListEntryResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<AddAccessControlListEntryResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(AddAccessControlListEntryResponseBody body);
@Override
AddAccessControlListEntryResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<AddAccessControlListEntryResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private AddAccessControlListEntryResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(AddAccessControlListEntryResponse 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(AddAccessControlListEntryResponseBody body) {
this.body = body;
return this;
}
@Override
public AddAccessControlListEntryResponse build() {
return new AddAccessControlListEntryResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/AddAccessControlListEntryResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 AddAccessControlListEntryResponseBody} extends {@link TeaModel}
*
* <p>AddAccessControlListEntryResponseBody</p>
*/
public class AddAccessControlListEntryResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private AddAccessControlListEntryResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static AddAccessControlListEntryResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>988CB45E-1643-48C0-87B4-928DDF77EA4</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public AddAccessControlListEntryResponseBody build() {
return new AddAccessControlListEntryResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/AddBackendServersRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 AddBackendServersRequest} extends {@link RequestModel}
*
* <p>AddBackendServersRequest</p>
*/
public class AddBackendServersRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BackendServers")
private String backendServers;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("LoadBalancerId")
@com.aliyun.core.annotation.Validation(required = true)
private String loadBalancerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private AddBackendServersRequest(Builder builder) {
super(builder);
this.backendServers = builder.backendServers;
this.loadBalancerId = builder.loadBalancerId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static AddBackendServersRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return backendServers
*/
public String getBackendServers() {
return this.backendServers;
}
/**
* @return loadBalancerId
*/
public String getLoadBalancerId() {
return this.loadBalancerId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<AddBackendServersRequest, Builder> {
private String backendServers;
private String loadBalancerId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(AddBackendServersRequest request) {
super(request);
this.backendServers = request.backendServers;
this.loadBalancerId = request.loadBalancerId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The list of backend servers that you want to add. Set the following parameters:</p>
* <ul>
* <li><p><strong>ServerId</strong>: Required. This value must be a string. Enter the ID of an ECS instance, elastic network interface (ENI), or elastic container instance. If <strong>ServerId</strong> is set to the ID of an ENI or elastic container instance, <strong>Type</strong> is required.</p>
* </li>
* <li><p><strong>Weight</strong>: the weight of the backend server. Valid values: <strong>0</strong> to <strong>100</strong>. Default value: <strong>100</strong>.</p>
* <p>If the value is set to 0, no requests are forwarded to the backend server.</p>
* </li>
* <li><p><strong>Description</strong>: Optional. The description of the backend server. This value must be a string. The description must be 1 to 80 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_).</p>
* </li>
* <li><p><strong>Type</strong>: the type of the backend server. Valid values:</p>
* <ul>
* <li><strong>ecs</strong> (default): an ECS instance</li>
* <li><strong>eni</strong>: an ENI</li>
* <li><strong>eci</strong>: an elastic container instance</li>
* </ul>
* </li>
* </ul>
* <blockquote>
* <p> You can specify ENIs and elastic container instances as the backend servers only for high-performance CLB instances.</p>
* </blockquote>
* <ul>
* <li><strong>ServerIp</strong>: the IP address of the ECS instance, ENI, or elastic container instance</li>
* <li><strong>Port</strong>: the backend port</li>
* </ul>
* <p>Examples:</p>
* <ul>
* <li>ECS instance: <code>[{ "ServerId": "i-xxxxxxxxx", "Weight": "100", "Type": "ecs", "Port":"80","Description":"test-112" }]</code></li>
* <li>ENI: <code>[{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "</code>192.168.<strong>.</strong><code>", "Port":"80","Description":"test-112" }]</code></li>
* <li>ENI with multiple IP addresses: <code>[{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "</code>192.168.<strong>.</strong><code>", "Port":"80","Description":"test-113" },{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "</code>172.166.<strong>.</strong><code>", "Port":"80","Description":"test-113" }]</code></li>
* <li>Elastic container instance: <code>[{ "ServerId": "eci-xxxxxxxxx", "Weight": "100", "Type": "eci", "ServerIp": "</code>192.168.<strong>.</strong><code>", "Port":"80","Description":"test-114" }]</code></li>
* </ul>
* <blockquote>
* <p> The backend servers that you add to a CLB instance must be in the Running state. You can add at most 20 backend servers to a CLB instance in each request.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>[{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "<code>192.168.**.**</code>", "Port":"80","Description":"test-112" },{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "<code>172.166.**.**</code>", "Port":"80","Description":"test-113" }]</p>
*/
public Builder backendServers(String backendServers) {
this.putQueryParameter("BackendServers", backendServers);
this.backendServers = backendServers;
return this;
}
/**
* <p>The ID of the CLB instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>lb-2ze7o5h52g02kkzz******</p>
*/
public Builder loadBalancerId(String loadBalancerId) {
this.putQueryParameter("LoadBalancerId", loadBalancerId);
this.loadBalancerId = loadBalancerId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The ID of the region where the Classic Load Balancer (CLB) instance is deployed.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/27584.html">DescribeRegions</a> operation to query the most recent region list.</p>
*
* <strong>example:</strong>
* <p>cn-beijing</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public AddBackendServersRequest build() {
return new AddBackendServersRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/AddBackendServersResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 AddBackendServersResponse} extends {@link TeaModel}
*
* <p>AddBackendServersResponse</p>
*/
public class AddBackendServersResponse 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 AddBackendServersResponseBody body;
private AddBackendServersResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static AddBackendServersResponse 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 AddBackendServersResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<AddBackendServersResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(AddBackendServersResponseBody body);
@Override
AddBackendServersResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<AddBackendServersResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private AddBackendServersResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(AddBackendServersResponse 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(AddBackendServersResponseBody body) {
this.body = body;
return this;
}
@Override
public AddBackendServersResponse build() {
return new AddBackendServersResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/AddBackendServersResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 AddBackendServersResponseBody} extends {@link TeaModel}
*
* <p>AddBackendServersResponseBody</p>
*/
public class AddBackendServersResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BackendServers")
private BackendServers backendServers;
@com.aliyun.core.annotation.NameInMap("LoadBalancerId")
private String loadBalancerId;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private AddBackendServersResponseBody(Builder builder) {
this.backendServers = builder.backendServers;
this.loadBalancerId = builder.loadBalancerId;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static AddBackendServersResponseBody create() {
return builder().build();
}
/**
* @return backendServers
*/
public BackendServers getBackendServers() {
return this.backendServers;
}
/**
* @return loadBalancerId
*/
public String getLoadBalancerId() {
return this.loadBalancerId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private BackendServers backendServers;
private String loadBalancerId;
private String requestId;
/**
* <p>The list of backend servers.</p>
*/
public Builder backendServers(BackendServers backendServers) {
this.backendServers = backendServers;
return this;
}
/**
* <p>The ID of the CLB instance.</p>
*
* <strong>example:</strong>
* <p>lb-2ze7o5h52g02kkzz****</p>
*/
public Builder loadBalancerId(String loadBalancerId) {
this.loadBalancerId = loadBalancerId;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>34B82C81-F13B-4EEB-99F6-A048C67CC830</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public AddBackendServersResponseBody build() {
return new AddBackendServersResponseBody(this);
}
}
/**
*
* {@link AddBackendServersResponseBody} extends {@link TeaModel}
*
* <p>AddBackendServersResponseBody</p>
*/
public static class BackendServer extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("ServerId")
private String serverId;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
@com.aliyun.core.annotation.NameInMap("Weight")
private String weight;
private BackendServer(Builder builder) {
this.description = builder.description;
this.serverId = builder.serverId;
this.type = builder.type;
this.weight = builder.weight;
}
public static Builder builder() {
return new Builder();
}
public static BackendServer create() {
return builder().build();
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return serverId
*/
public String getServerId() {
return this.serverId;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return weight
*/
public String getWeight() {
return this.weight;
}
public static final class Builder {
private String description;
private String serverId;
private String type;
private String weight;
/**
* <p>The description of the backend server.</p>
*
* <strong>example:</strong>
* <p>backend server</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The ID of the ECS instance, ENI, or elastic container instance.</p>
*
* <strong>example:</strong>
* <p>i-2zej4lxhjoq1icu*****</p>
*/
public Builder serverId(String serverId) {
this.serverId = serverId;
return this;
}
/**
* <p>The type of the backend server. Valid values:</p>
* <ul>
* <li><strong>ecs</strong> (default): an ECS instance</li>
* <li><strong>eni</strong>: an ENI</li>
* <li><strong>eci</strong>: an elastic container instance</li>
* </ul>
*
* <strong>example:</strong>
* <p>ecs</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* <p>The weight of the backend server.</p>
* <p>Valid values: <strong>0 to 100</strong>. Default value: <strong>100</strong>.</p>
* <p>If the value is set to <strong>0</strong>, no requests are forwarded to the backend server.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
public Builder weight(String weight) {
this.weight = weight;
return this;
}
public BackendServer build() {
return new BackendServer(this);
}
}
}
/**
*
* {@link AddBackendServersResponseBody} extends {@link TeaModel}
*
* <p>AddBackendServersResponseBody</p>
*/
public static class BackendServers extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BackendServer")
private java.util.List<BackendServer> backendServer;
private BackendServers(Builder builder) {
this.backendServer = builder.backendServer;
}
public static Builder builder() {
return new Builder();
}
public static BackendServers create() {
return builder().build();
}
/**
* @return backendServer
*/
public java.util.List<BackendServer> getBackendServer() {
return this.backendServer;
}
public static final class Builder {
private java.util.List<BackendServer> backendServer;
/**
* BackendServer.
*/
public Builder backendServer(java.util.List<BackendServer> backendServer) {
this.backendServer = backendServer;
return this;
}
public BackendServers build() {
return new BackendServers(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/AddListenerWhiteListItemRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 AddListenerWhiteListItemRequest} extends {@link RequestModel}
*
* <p>AddListenerWhiteListItemRequest</p>
*/
public class AddListenerWhiteListItemRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ListenerPort")
@com.aliyun.core.annotation.Validation(required = true, maximum = 65535, minimum = 1)
private Integer listenerPort;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ListenerProtocol")
private String listenerProtocol;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("LoadBalancerId")
@com.aliyun.core.annotation.Validation(required = true)
private String loadBalancerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SourceItems")
@com.aliyun.core.annotation.Validation(required = true)
private String sourceItems;
private AddListenerWhiteListItemRequest(Builder builder) {
super(builder);
this.listenerPort = builder.listenerPort;
this.listenerProtocol = builder.listenerProtocol;
this.loadBalancerId = builder.loadBalancerId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.sourceItems = builder.sourceItems;
}
public static Builder builder() {
return new Builder();
}
public static AddListenerWhiteListItemRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return listenerPort
*/
public Integer getListenerPort() {
return this.listenerPort;
}
/**
* @return listenerProtocol
*/
public String getListenerProtocol() {
return this.listenerProtocol;
}
/**
* @return loadBalancerId
*/
public String getLoadBalancerId() {
return this.loadBalancerId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return sourceItems
*/
public String getSourceItems() {
return this.sourceItems;
}
public static final class Builder extends Request.Builder<AddListenerWhiteListItemRequest, Builder> {
private Integer listenerPort;
private String listenerProtocol;
private String loadBalancerId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String sourceItems;
private Builder() {
super();
}
private Builder(AddListenerWhiteListItemRequest request) {
super(request);
this.listenerPort = request.listenerPort;
this.listenerProtocol = request.listenerProtocol;
this.loadBalancerId = request.loadBalancerId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.sourceItems = request.sourceItems;
}
/**
* <p>The frontend port that is used by the CLB instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>80</p>
*/
public Builder listenerPort(Integer listenerPort) {
this.putQueryParameter("ListenerPort", listenerPort);
this.listenerPort = listenerPort;
return this;
}
/**
* <p>The frontend protocol that is used by the CLB instance.</p>
* <blockquote>
* <p> This parameter is required when listeners that use different protocols listen on the same port.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>https</p>
*/
public Builder listenerProtocol(String listenerProtocol) {
this.putQueryParameter("ListenerProtocol", listenerProtocol);
this.listenerProtocol = listenerProtocol;
return this;
}
/**
* <p>The ID of the CLB instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>lb-bp1o94dp5i6ea*******</p>
*/
public Builder loadBalancerId(String loadBalancerId) {
this.putQueryParameter("LoadBalancerId", loadBalancerId);
this.loadBalancerId = loadBalancerId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The ID of the region where the Classic Load Balancer (CLB) instance is created.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The IP addresses or CIDR blocks that you want to add to the whitelist.</p>
* <p>This parameter takes effect when the <strong>AccessControlStatus</strong> parameter of the listener is set to <strong>open_white_list</strong>.</p>
* <p>Separate multiple IP addresses or CIDR blocks with commas (,).</p>
* <p>You cannot enter <strong>0.0.0.0</strong> or <strong>0.0.0.0/0</strong>. To disable access control, you can call the <a href="https://help.aliyun.com/document_detail/27599.html">SetListenerAccessControlStatus</a> operation to set the value of the <strong>AccessControlStatus</strong> parameter to <strong>close</strong>.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>192.168.XX.XX</p>
*/
public Builder sourceItems(String sourceItems) {
this.putQueryParameter("SourceItems", sourceItems);
this.sourceItems = sourceItems;
return this;
}
@Override
public AddListenerWhiteListItemRequest build() {
return new AddListenerWhiteListItemRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/AddListenerWhiteListItemResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 AddListenerWhiteListItemResponse} extends {@link TeaModel}
*
* <p>AddListenerWhiteListItemResponse</p>
*/
public class AddListenerWhiteListItemResponse 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 AddListenerWhiteListItemResponseBody body;
private AddListenerWhiteListItemResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static AddListenerWhiteListItemResponse 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 AddListenerWhiteListItemResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<AddListenerWhiteListItemResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(AddListenerWhiteListItemResponseBody body);
@Override
AddListenerWhiteListItemResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<AddListenerWhiteListItemResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private AddListenerWhiteListItemResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(AddListenerWhiteListItemResponse 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(AddListenerWhiteListItemResponseBody body) {
this.body = body;
return this;
}
@Override
public AddListenerWhiteListItemResponse build() {
return new AddListenerWhiteListItemResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/AddListenerWhiteListItemResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 AddListenerWhiteListItemResponseBody} extends {@link TeaModel}
*
* <p>AddListenerWhiteListItemResponseBody</p>
*/
public class AddListenerWhiteListItemResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private AddListenerWhiteListItemResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static AddListenerWhiteListItemResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public AddListenerWhiteListItemResponseBody build() {
return new AddListenerWhiteListItemResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/AddTagsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 AddTagsRequest} extends {@link RequestModel}
*
* <p>AddTagsRequest</p>
*/
public class AddTagsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("LoadBalancerId")
@com.aliyun.core.annotation.Validation(required = true)
private String loadBalancerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@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("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Tags")
@com.aliyun.core.annotation.Validation(required = true)
private String tags;
private AddTagsRequest(Builder builder) {
super(builder);
this.loadBalancerId = builder.loadBalancerId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.tags = builder.tags;
}
public static Builder builder() {
return new Builder();
}
public static AddTagsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return loadBalancerId
*/
public String getLoadBalancerId() {
return this.loadBalancerId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return tags
*/
public String getTags() {
return this.tags;
}
public static final class Builder extends Request.Builder<AddTagsRequest, Builder> {
private String loadBalancerId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String tags;
private Builder() {
super();
}
private Builder(AddTagsRequest request) {
super(request);
this.loadBalancerId = request.loadBalancerId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.tags = request.tags;
}
/**
* <p>The ID of the Server Load Balancer (SLB) instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>lb-bp1kuzyb******</p>
*/
public Builder loadBalancerId(String loadBalancerId) {
this.putQueryParameter("LoadBalancerId", loadBalancerId);
this.loadBalancerId = loadBalancerId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The ID of the region to which the SLB instance belongs.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The list of tags that need to be added.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>[{"TagKey":"Key1","TagValue":"Value1"},{"TagKey":"Key2","TagValue":"Value2"}]</p>
*/
public Builder tags(String tags) {
this.putQueryParameter("Tags", tags);
this.tags = tags;
return this;
}
@Override
public AddTagsRequest build() {
return new AddTagsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/AddTagsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 AddTagsResponse} extends {@link TeaModel}
*
* <p>AddTagsResponse</p>
*/
public class AddTagsResponse 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 AddTagsResponseBody body;
private AddTagsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static AddTagsResponse 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 AddTagsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<AddTagsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(AddTagsResponseBody body);
@Override
AddTagsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<AddTagsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private AddTagsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(AddTagsResponse 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(AddTagsResponseBody body) {
this.body = body;
return this;
}
@Override
public AddTagsResponse build() {
return new AddTagsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/AddTagsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 AddTagsResponseBody} extends {@link TeaModel}
*
* <p>AddTagsResponseBody</p>
*/
public class AddTagsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private AddTagsResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static AddTagsResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>365F4154-92F6-4AE4-92F8-7FF34B540710</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public AddTagsResponseBody build() {
return new AddTagsResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/AddVServerGroupBackendServersRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 AddVServerGroupBackendServersRequest} extends {@link RequestModel}
*
* <p>AddVServerGroupBackendServersRequest</p>
*/
public class AddVServerGroupBackendServersRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BackendServers")
@com.aliyun.core.annotation.Validation(required = true)
private String backendServers;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@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("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VServerGroupId")
@com.aliyun.core.annotation.Validation(required = true)
private String vServerGroupId;
private AddVServerGroupBackendServersRequest(Builder builder) {
super(builder);
this.backendServers = builder.backendServers;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.vServerGroupId = builder.vServerGroupId;
}
public static Builder builder() {
return new Builder();
}
public static AddVServerGroupBackendServersRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return backendServers
*/
public String getBackendServers() {
return this.backendServers;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return vServerGroupId
*/
public String getVServerGroupId() {
return this.vServerGroupId;
}
public static final class Builder extends Request.Builder<AddVServerGroupBackendServersRequest, Builder> {
private String backendServers;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String vServerGroupId;
private Builder() {
super();
}
private Builder(AddVServerGroupBackendServersRequest request) {
super(request);
this.backendServers = request.backendServers;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.vServerGroupId = request.vServerGroupId;
}
/**
* <p>The backend servers that you want to add. Configure the following parameters:</p>
* <ul>
* <li><p><strong>ServerId</strong>: Required. The ID of the backend server. Specify the ID in a string. You can specify the ID of an Elastic Compute Service (ECS) instance, an elastic network interface (ENI), and an elastic container instance. If you set <strong>ServerId</strong> to the ID of an ENI or an elastic container instance, you must configure the <strong>Type</strong> parameter.</p>
* </li>
* <li><p><strong>Weight</strong>: the weight of the backend server. Valid values: <strong>0</strong> to <strong>100</strong>. Default value: <strong>100</strong>. If you set the weight of a backend server to 0, no requests are forwarded to the backend server.</p>
* </li>
* <li><p><strong>Description</strong>: Optional. The description of the backend server. Specify the description in a string. The description must be 1 to 80 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_).</p>
* </li>
* <li><p><strong>Type</strong>: the type of the backend server. Valid values:</p>
* <ul>
* <li><strong>ecs</strong> (default): ECS instance</li>
* <li><strong>eni</strong>: ENI</li>
* <li><strong>eci</strong>: elastic container instance</li>
* </ul>
* </li>
* </ul>
* <blockquote>
* <p> You can specify ENIs and elastic container instances as backend servers only for high-performance SLB instances.</p>
* </blockquote>
* <ul>
* <li><strong>ServerIp</strong>: the IP address of an ENI or an elastic container instance.</li>
* <li><strong>Port</strong>: the backend port.</li>
* </ul>
* <p>Examples:</p>
* <ul>
* <li><p>Add an ECS instance:</p>
* <p><code>[{ "ServerId": "i-xxxxxxxxx", "Weight": "100", "Type": "ecs", "Port":"80","Description":"test-112" }]</code></p>
* </li>
* <li><p>Add an ENI:</p>
* <p><code>[{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "</code>192.168.<strong>.</strong><code>", "Port":"80","Description":"test-112" }]</code></p>
* </li>
* <li><p>Add an ENI with multiple IP addresses:</p>
* <p><code>[{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "</code>192.168.<strong>.</strong><code>", "Port":"80","Description":"test-113" },{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "</code>172.166.<strong>.</strong><code>", "Port":"80","Description":"test-113" }]</code></p>
* </li>
* <li><p>Add an elastic container instance:</p>
* <p><code>[{ "ServerId": "eci-xxxxxxxxx", "Weight": "100", "Type": "eci", "ServerIp": "</code>192.168.<strong>.</strong><code>", "Port":"80","Description":"test-114" }]</code></p>
* </li>
* </ul>
* <blockquote>
* <p> You can add only running backend servers to SLB instances. You can specify at most 20 backend servers in each call.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>[{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "<code>192.168.**.**</code>", "Port":"80","Description":"test-112" },{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "<code>172.166.**.**</code>", "Port":"80","Description":"test-113" }]</p>
*/
public Builder backendServers(String backendServers) {
this.putQueryParameter("BackendServers", backendServers);
this.backendServers = backendServers;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the Server Load Balancer (SLB) instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The ID of the vServer group.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rsp-cige6******</p>
*/
public Builder vServerGroupId(String vServerGroupId) {
this.putQueryParameter("VServerGroupId", vServerGroupId);
this.vServerGroupId = vServerGroupId;
return this;
}
@Override
public AddVServerGroupBackendServersRequest build() {
return new AddVServerGroupBackendServersRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/AddVServerGroupBackendServersResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 AddVServerGroupBackendServersResponse} extends {@link TeaModel}
*
* <p>AddVServerGroupBackendServersResponse</p>
*/
public class AddVServerGroupBackendServersResponse 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 AddVServerGroupBackendServersResponseBody body;
private AddVServerGroupBackendServersResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static AddVServerGroupBackendServersResponse 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 AddVServerGroupBackendServersResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<AddVServerGroupBackendServersResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(AddVServerGroupBackendServersResponseBody body);
@Override
AddVServerGroupBackendServersResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<AddVServerGroupBackendServersResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private AddVServerGroupBackendServersResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(AddVServerGroupBackendServersResponse 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(AddVServerGroupBackendServersResponseBody body) {
this.body = body;
return this;
}
@Override
public AddVServerGroupBackendServersResponse build() {
return new AddVServerGroupBackendServersResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/AddVServerGroupBackendServersResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 AddVServerGroupBackendServersResponseBody} extends {@link TeaModel}
*
* <p>AddVServerGroupBackendServersResponseBody</p>
*/
public class AddVServerGroupBackendServersResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BackendServers")
private BackendServers backendServers;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("VServerGroupId")
private String vServerGroupId;
private AddVServerGroupBackendServersResponseBody(Builder builder) {
this.backendServers = builder.backendServers;
this.requestId = builder.requestId;
this.vServerGroupId = builder.vServerGroupId;
}
public static Builder builder() {
return new Builder();
}
public static AddVServerGroupBackendServersResponseBody create() {
return builder().build();
}
/**
* @return backendServers
*/
public BackendServers getBackendServers() {
return this.backendServers;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return vServerGroupId
*/
public String getVServerGroupId() {
return this.vServerGroupId;
}
public static final class Builder {
private BackendServers backendServers;
private String requestId;
private String vServerGroupId;
/**
* <p>The backend servers.</p>
*/
public Builder backendServers(BackendServers backendServers) {
this.backendServers = backendServers;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The ID of the vServer group.</p>
*
* <strong>example:</strong>
* <p>rsp-cige6j******</p>
*/
public Builder vServerGroupId(String vServerGroupId) {
this.vServerGroupId = vServerGroupId;
return this;
}
public AddVServerGroupBackendServersResponseBody build() {
return new AddVServerGroupBackendServersResponseBody(this);
}
}
/**
*
* {@link AddVServerGroupBackendServersResponseBody} extends {@link TeaModel}
*
* <p>AddVServerGroupBackendServersResponseBody</p>
*/
public static class BackendServer extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("Port")
private Integer port;
@com.aliyun.core.annotation.NameInMap("ServerId")
private String serverId;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
@com.aliyun.core.annotation.NameInMap("Weight")
private Integer weight;
private BackendServer(Builder builder) {
this.description = builder.description;
this.port = builder.port;
this.serverId = builder.serverId;
this.type = builder.type;
this.weight = builder.weight;
}
public static Builder builder() {
return new Builder();
}
public static BackendServer create() {
return builder().build();
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return port
*/
public Integer getPort() {
return this.port;
}
/**
* @return serverId
*/
public String getServerId() {
return this.serverId;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return weight
*/
public Integer getWeight() {
return this.weight;
}
public static final class Builder {
private String description;
private Integer port;
private String serverId;
private String type;
private Integer weight;
/**
* <p>The description of the vServer group.</p>
*
* <strong>example:</strong>
* <p>backend server</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The port that is used by the backend server.</p>
*
* <strong>example:</strong>
* <p>70</p>
*/
public Builder port(Integer port) {
this.port = port;
return this;
}
/**
* <p>The ID of the ECS instance or ENI.</p>
*
* <strong>example:</strong>
* <p>eni-hhshhs****</p>
*/
public Builder serverId(String serverId) {
this.serverId = serverId;
return this;
}
/**
* <p>The type of backend server. Valid values:</p>
* <ul>
* <li><strong>ecs</strong> (default): ECS instance</li>
* <li><strong>eni</strong>: ENI</li>
* <li><strong>eci</strong>: elastic container instance</li>
* </ul>
*
* <strong>example:</strong>
* <p>ecs</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* <p>The weight of the backend server.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
public Builder weight(Integer weight) {
this.weight = weight;
return this;
}
public BackendServer build() {
return new BackendServer(this);
}
}
}
/**
*
* {@link AddVServerGroupBackendServersResponseBody} extends {@link TeaModel}
*
* <p>AddVServerGroupBackendServersResponseBody</p>
*/
public static class BackendServers extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BackendServer")
private java.util.List<BackendServer> backendServer;
private BackendServers(Builder builder) {
this.backendServer = builder.backendServer;
}
public static Builder builder() {
return new Builder();
}
public static BackendServers create() {
return builder().build();
}
/**
* @return backendServer
*/
public java.util.List<BackendServer> getBackendServer() {
return this.backendServer;
}
public static final class Builder {
private java.util.List<BackendServer> backendServer;
/**
* BackendServer.
*/
public Builder backendServer(java.util.List<BackendServer> backendServer) {
this.backendServer = backendServer;
return this;
}
public BackendServers build() {
return new BackendServers(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateAccessControlListRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateAccessControlListRequest} extends {@link RequestModel}
*
* <p>CreateAccessControlListRequest</p>
*/
public class CreateAccessControlListRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AclName")
@com.aliyun.core.annotation.Validation(required = true)
private String aclName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AddressIPVersion")
private String addressIPVersion;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@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("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Tag")
private java.util.List<Tag> tag;
private CreateAccessControlListRequest(Builder builder) {
super(builder);
this.aclName = builder.aclName;
this.addressIPVersion = builder.addressIPVersion;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceGroupId = builder.resourceGroupId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static CreateAccessControlListRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return aclName
*/
public String getAclName() {
return this.aclName;
}
/**
* @return addressIPVersion
*/
public String getAddressIPVersion() {
return this.addressIPVersion;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return tag
*/
public java.util.List<Tag> getTag() {
return this.tag;
}
public static final class Builder extends Request.Builder<CreateAccessControlListRequest, Builder> {
private String aclName;
private String addressIPVersion;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceGroupId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private java.util.List<Tag> tag;
private Builder() {
super();
}
private Builder(CreateAccessControlListRequest request) {
super(request);
this.aclName = request.aclName;
this.addressIPVersion = request.addressIPVersion;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceGroupId = request.resourceGroupId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.tag = request.tag;
}
/**
* <p>The name of the ACL. The name must be 1 to 80 characters in length, and can contain letters, digits, periods (.), hyphens (-), forward slashes (/), and underscores (_). The name of the ACL that you create must be unique within each region.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rule1</p>
*/
public Builder aclName(String aclName) {
this.putQueryParameter("AclName", aclName);
this.aclName = aclName;
return this;
}
/**
* <p>The IP version. Valid values: <strong>ipv4</strong> and <strong>ipv6</strong>.</p>
*
* <strong>example:</strong>
* <p>ipv4</p>
*/
public Builder addressIPVersion(String addressIPVersion) {
this.putQueryParameter("AddressIPVersion", addressIPVersion);
this.addressIPVersion = addressIPVersion;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the ACL.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>The resource group ID.</p>
*
* <strong>example:</strong>
* <p>rg-atstuj3rt******</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The tags.</p>
*/
public Builder tag(java.util.List<Tag> tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
@Override
public CreateAccessControlListRequest build() {
return new CreateAccessControlListRequest(this);
}
}
/**
*
* {@link CreateAccessControlListRequest} extends {@link TeaModel}
*
* <p>CreateAccessControlListRequest</p>
*/
public static class Tag extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private Tag(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
/**
* <p>The key of tag N. Valid values of N: <strong>1</strong> to <strong>20</strong>. The tag key cannot be an empty string. The tag key can be up to 128 characters in length, and cannot contain <code>http://</code> or <code>https://</code>. It cannot start with <code>acs:</code> or <code>aliyun</code>.</p>
*
* <strong>example:</strong>
* <p>TestKey</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The value of tag N. Valid values of N: <strong>1</strong> to <strong>20</strong>. The tag value can be an empty string. The tag value must be 0 to 128 characters in length, and cannot start with <code>acs:</code>. It cannot contain <code>http://</code> or <code>https://</code>.</p>
*
* <strong>example:</strong>
* <p>TestValue</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateAccessControlListResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateAccessControlListResponse} extends {@link TeaModel}
*
* <p>CreateAccessControlListResponse</p>
*/
public class CreateAccessControlListResponse 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 CreateAccessControlListResponseBody body;
private CreateAccessControlListResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateAccessControlListResponse 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 CreateAccessControlListResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateAccessControlListResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateAccessControlListResponseBody body);
@Override
CreateAccessControlListResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateAccessControlListResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateAccessControlListResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateAccessControlListResponse 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(CreateAccessControlListResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateAccessControlListResponse build() {
return new CreateAccessControlListResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateAccessControlListResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateAccessControlListResponseBody} extends {@link TeaModel}
*
* <p>CreateAccessControlListResponseBody</p>
*/
public class CreateAccessControlListResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AclId")
private String aclId;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private CreateAccessControlListResponseBody(Builder builder) {
this.aclId = builder.aclId;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static CreateAccessControlListResponseBody create() {
return builder().build();
}
/**
* @return aclId
*/
public String getAclId() {
return this.aclId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String aclId;
private String requestId;
/**
* <p>The IP version. Valid values: <strong>ipv4</strong> and <strong>ipv6</strong>.</p>
*
* <strong>example:</strong>
* <p>acl-rj9xpxzcwxrukois****</p>
*/
public Builder aclId(String aclId) {
this.aclId = aclId;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>988CB45E-1643-48C0-87B4-928DDF77EA49</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public CreateAccessControlListResponseBody build() {
return new CreateAccessControlListResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateDomainExtensionRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateDomainExtensionRequest} extends {@link RequestModel}
*
* <p>CreateDomainExtensionRequest</p>
*/
public class CreateDomainExtensionRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Domain")
@com.aliyun.core.annotation.Validation(required = true)
private String domain;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ListenerPort")
@com.aliyun.core.annotation.Validation(required = true)
private Integer listenerPort;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("LoadBalancerId")
@com.aliyun.core.annotation.Validation(required = true)
private String loadBalancerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@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("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ServerCertificateId")
private String serverCertificateId;
private CreateDomainExtensionRequest(Builder builder) {
super(builder);
this.domain = builder.domain;
this.listenerPort = builder.listenerPort;
this.loadBalancerId = builder.loadBalancerId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.serverCertificateId = builder.serverCertificateId;
}
public static Builder builder() {
return new Builder();
}
public static CreateDomainExtensionRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return domain
*/
public String getDomain() {
return this.domain;
}
/**
* @return listenerPort
*/
public Integer getListenerPort() {
return this.listenerPort;
}
/**
* @return loadBalancerId
*/
public String getLoadBalancerId() {
return this.loadBalancerId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return serverCertificateId
*/
public String getServerCertificateId() {
return this.serverCertificateId;
}
public static final class Builder extends Request.Builder<CreateDomainExtensionRequest, Builder> {
private String domain;
private Integer listenerPort;
private String loadBalancerId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String serverCertificateId;
private Builder() {
super();
}
private Builder(CreateDomainExtensionRequest request) {
super(request);
this.domain = request.domain;
this.listenerPort = request.listenerPort;
this.loadBalancerId = request.loadBalancerId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.serverCertificateId = request.serverCertificateId;
}
/**
* <p>The domain name.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>*.example1.com</p>
*/
public Builder domain(String domain) {
this.putQueryParameter("Domain", domain);
this.domain = domain;
return this;
}
/**
* <p>The frontend port that is used by the HTTPS listener of the SLB instance.</p>
* <p>Valid values: <strong>1 to 65535</strong>.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>443</p>
*/
public Builder listenerPort(Integer listenerPort) {
this.putQueryParameter("ListenerPort", listenerPort);
this.listenerPort = listenerPort;
return this;
}
/**
* <p>The ID of the SLB instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>lb-bp1o94dp5i6earrxxxxxx</p>
*/
public Builder loadBalancerId(String loadBalancerId) {
this.putQueryParameter("LoadBalancerId", loadBalancerId);
this.loadBalancerId = loadBalancerId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the Server Load Balancer (SLB) instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The ID of the certificate used by the domain name.</p>
*
* <strong>example:</strong>
* <p>123157xxxxxxx_166f820xxxxxx_1714763408_709981xxxx</p>
*/
public Builder serverCertificateId(String serverCertificateId) {
this.putQueryParameter("ServerCertificateId", serverCertificateId);
this.serverCertificateId = serverCertificateId;
return this;
}
@Override
public CreateDomainExtensionRequest build() {
return new CreateDomainExtensionRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateDomainExtensionResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateDomainExtensionResponse} extends {@link TeaModel}
*
* <p>CreateDomainExtensionResponse</p>
*/
public class CreateDomainExtensionResponse 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 CreateDomainExtensionResponseBody body;
private CreateDomainExtensionResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateDomainExtensionResponse 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 CreateDomainExtensionResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateDomainExtensionResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateDomainExtensionResponseBody body);
@Override
CreateDomainExtensionResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateDomainExtensionResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateDomainExtensionResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateDomainExtensionResponse 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(CreateDomainExtensionResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateDomainExtensionResponse build() {
return new CreateDomainExtensionResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateDomainExtensionResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateDomainExtensionResponseBody} extends {@link TeaModel}
*
* <p>CreateDomainExtensionResponseBody</p>
*/
public class CreateDomainExtensionResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DomainExtensionId")
private String domainExtensionId;
@com.aliyun.core.annotation.NameInMap("ListenerPort")
private Integer listenerPort;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private CreateDomainExtensionResponseBody(Builder builder) {
this.domainExtensionId = builder.domainExtensionId;
this.listenerPort = builder.listenerPort;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static CreateDomainExtensionResponseBody create() {
return builder().build();
}
/**
* @return domainExtensionId
*/
public String getDomainExtensionId() {
return this.domainExtensionId;
}
/**
* @return listenerPort
*/
public Integer getListenerPort() {
return this.listenerPort;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String domainExtensionId;
private Integer listenerPort;
private String requestId;
/**
* <p>The ID of the additional domain name.</p>
*
* <strong>example:</strong>
* <p>de-bp1rp7ta19******</p>
*/
public Builder domainExtensionId(String domainExtensionId) {
this.domainExtensionId = domainExtensionId;
return this;
}
/**
* <p>The frontend port that is used by the SLB instance.</p>
*
* <strong>example:</strong>
* <p>80</p>
*/
public Builder listenerPort(Integer listenerPort) {
this.listenerPort = listenerPort;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>A6E7EFC9-0938-40CA-877D-9BEDBD21D357</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public CreateDomainExtensionResponseBody build() {
return new CreateDomainExtensionResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateLoadBalancerHTTPListenerRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateLoadBalancerHTTPListenerRequest} extends {@link RequestModel}
*
* <p>CreateLoadBalancerHTTPListenerRequest</p>
*/
public class CreateLoadBalancerHTTPListenerRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AclId")
private String aclId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AclStatus")
private String aclStatus;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AclType")
private String aclType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BackendServerPort")
@com.aliyun.core.annotation.Validation(maximum = 65535, minimum = 1)
private Integer backendServerPort;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Bandwidth")
@com.aliyun.core.annotation.Validation(maximum = 5120)
private Integer bandwidth;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Cookie")
private String cookie;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CookieTimeout")
@com.aliyun.core.annotation.Validation(maximum = 86400, minimum = 1)
private Integer cookieTimeout;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ForwardPort")
@com.aliyun.core.annotation.Validation(maximum = 65535, minimum = 1)
private Integer forwardPort;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Gzip")
private String gzip;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheck")
@com.aliyun.core.annotation.Validation(required = true)
private String healthCheck;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckConnectPort")
@com.aliyun.core.annotation.Validation(maximum = 65535)
private Integer healthCheckConnectPort;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckDomain")
private String healthCheckDomain;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckHttpCode")
private String healthCheckHttpCode;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckInterval")
@com.aliyun.core.annotation.Validation(maximum = 50, minimum = 1)
private Integer healthCheckInterval;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckMethod")
private String healthCheckMethod;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckTimeout")
@com.aliyun.core.annotation.Validation(maximum = 300, minimum = 1)
private Integer healthCheckTimeout;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckURI")
private String healthCheckURI;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthyThreshold")
@com.aliyun.core.annotation.Validation(maximum = 10, minimum = 1)
private Integer healthyThreshold;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("IdleTimeout")
@com.aliyun.core.annotation.Validation(maximum = 9999, minimum = 1)
private Integer idleTimeout;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ListenerForward")
private String listenerForward;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ListenerPort")
@com.aliyun.core.annotation.Validation(required = true, maximum = 65535, minimum = 1)
private Integer listenerPort;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("LoadBalancerId")
@com.aliyun.core.annotation.Validation(required = true)
private String loadBalancerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RequestTimeout")
@com.aliyun.core.annotation.Validation(maximum = 9999, minimum = 1)
private Integer requestTimeout;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Scheduler")
private String scheduler;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StickySession")
private String stickySession;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StickySessionType")
private String stickySessionType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Tag")
private java.util.List<Tag> tag;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("UnhealthyThreshold")
@com.aliyun.core.annotation.Validation(maximum = 10, minimum = 1)
private Integer unhealthyThreshold;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VServerGroupId")
private String vServerGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("XForwardedFor")
private String xForwardedFor;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("XForwardedFor_ClientSrcPort")
private String xForwardedForClientSrcPort;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("XForwardedFor_SLBID")
private String xForwardedForSLBID;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("XForwardedFor_SLBIP")
private String xForwardedForSLBIP;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("XForwardedFor_SLBPORT")
private String xForwardedForSLBPORT;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("XForwardedFor_proto")
private String xForwardedForProto;
private CreateLoadBalancerHTTPListenerRequest(Builder builder) {
super(builder);
this.aclId = builder.aclId;
this.aclStatus = builder.aclStatus;
this.aclType = builder.aclType;
this.backendServerPort = builder.backendServerPort;
this.bandwidth = builder.bandwidth;
this.cookie = builder.cookie;
this.cookieTimeout = builder.cookieTimeout;
this.description = builder.description;
this.forwardPort = builder.forwardPort;
this.gzip = builder.gzip;
this.healthCheck = builder.healthCheck;
this.healthCheckConnectPort = builder.healthCheckConnectPort;
this.healthCheckDomain = builder.healthCheckDomain;
this.healthCheckHttpCode = builder.healthCheckHttpCode;
this.healthCheckInterval = builder.healthCheckInterval;
this.healthCheckMethod = builder.healthCheckMethod;
this.healthCheckTimeout = builder.healthCheckTimeout;
this.healthCheckURI = builder.healthCheckURI;
this.healthyThreshold = builder.healthyThreshold;
this.idleTimeout = builder.idleTimeout;
this.listenerForward = builder.listenerForward;
this.listenerPort = builder.listenerPort;
this.loadBalancerId = builder.loadBalancerId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.requestTimeout = builder.requestTimeout;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.scheduler = builder.scheduler;
this.stickySession = builder.stickySession;
this.stickySessionType = builder.stickySessionType;
this.tag = builder.tag;
this.unhealthyThreshold = builder.unhealthyThreshold;
this.vServerGroupId = builder.vServerGroupId;
this.xForwardedFor = builder.xForwardedFor;
this.xForwardedForClientSrcPort = builder.xForwardedForClientSrcPort;
this.xForwardedForSLBID = builder.xForwardedForSLBID;
this.xForwardedForSLBIP = builder.xForwardedForSLBIP;
this.xForwardedForSLBPORT = builder.xForwardedForSLBPORT;
this.xForwardedForProto = builder.xForwardedForProto;
}
public static Builder builder() {
return new Builder();
}
public static CreateLoadBalancerHTTPListenerRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return aclId
*/
public String getAclId() {
return this.aclId;
}
/**
* @return aclStatus
*/
public String getAclStatus() {
return this.aclStatus;
}
/**
* @return aclType
*/
public String getAclType() {
return this.aclType;
}
/**
* @return backendServerPort
*/
public Integer getBackendServerPort() {
return this.backendServerPort;
}
/**
* @return bandwidth
*/
public Integer getBandwidth() {
return this.bandwidth;
}
/**
* @return cookie
*/
public String getCookie() {
return this.cookie;
}
/**
* @return cookieTimeout
*/
public Integer getCookieTimeout() {
return this.cookieTimeout;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return forwardPort
*/
public Integer getForwardPort() {
return this.forwardPort;
}
/**
* @return gzip
*/
public String getGzip() {
return this.gzip;
}
/**
* @return healthCheck
*/
public String getHealthCheck() {
return this.healthCheck;
}
/**
* @return healthCheckConnectPort
*/
public Integer getHealthCheckConnectPort() {
return this.healthCheckConnectPort;
}
/**
* @return healthCheckDomain
*/
public String getHealthCheckDomain() {
return this.healthCheckDomain;
}
/**
* @return healthCheckHttpCode
*/
public String getHealthCheckHttpCode() {
return this.healthCheckHttpCode;
}
/**
* @return healthCheckInterval
*/
public Integer getHealthCheckInterval() {
return this.healthCheckInterval;
}
/**
* @return healthCheckMethod
*/
public String getHealthCheckMethod() {
return this.healthCheckMethod;
}
/**
* @return healthCheckTimeout
*/
public Integer getHealthCheckTimeout() {
return this.healthCheckTimeout;
}
/**
* @return healthCheckURI
*/
public String getHealthCheckURI() {
return this.healthCheckURI;
}
/**
* @return healthyThreshold
*/
public Integer getHealthyThreshold() {
return this.healthyThreshold;
}
/**
* @return idleTimeout
*/
public Integer getIdleTimeout() {
return this.idleTimeout;
}
/**
* @return listenerForward
*/
public String getListenerForward() {
return this.listenerForward;
}
/**
* @return listenerPort
*/
public Integer getListenerPort() {
return this.listenerPort;
}
/**
* @return loadBalancerId
*/
public String getLoadBalancerId() {
return this.loadBalancerId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return requestTimeout
*/
public Integer getRequestTimeout() {
return this.requestTimeout;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return scheduler
*/
public String getScheduler() {
return this.scheduler;
}
/**
* @return stickySession
*/
public String getStickySession() {
return this.stickySession;
}
/**
* @return stickySessionType
*/
public String getStickySessionType() {
return this.stickySessionType;
}
/**
* @return tag
*/
public java.util.List<Tag> getTag() {
return this.tag;
}
/**
* @return unhealthyThreshold
*/
public Integer getUnhealthyThreshold() {
return this.unhealthyThreshold;
}
/**
* @return vServerGroupId
*/
public String getVServerGroupId() {
return this.vServerGroupId;
}
/**
* @return xForwardedFor
*/
public String getXForwardedFor() {
return this.xForwardedFor;
}
/**
* @return xForwardedForClientSrcPort
*/
public String getXForwardedForClientSrcPort() {
return this.xForwardedForClientSrcPort;
}
/**
* @return xForwardedForSLBID
*/
public String getXForwardedForSLBID() {
return this.xForwardedForSLBID;
}
/**
* @return xForwardedForSLBIP
*/
public String getXForwardedForSLBIP() {
return this.xForwardedForSLBIP;
}
/**
* @return xForwardedForSLBPORT
*/
public String getXForwardedForSLBPORT() {
return this.xForwardedForSLBPORT;
}
/**
* @return xForwardedForProto
*/
public String getXForwardedForProto() {
return this.xForwardedForProto;
}
public static final class Builder extends Request.Builder<CreateLoadBalancerHTTPListenerRequest, Builder> {
private String aclId;
private String aclStatus;
private String aclType;
private Integer backendServerPort;
private Integer bandwidth;
private String cookie;
private Integer cookieTimeout;
private String description;
private Integer forwardPort;
private String gzip;
private String healthCheck;
private Integer healthCheckConnectPort;
private String healthCheckDomain;
private String healthCheckHttpCode;
private Integer healthCheckInterval;
private String healthCheckMethod;
private Integer healthCheckTimeout;
private String healthCheckURI;
private Integer healthyThreshold;
private Integer idleTimeout;
private String listenerForward;
private Integer listenerPort;
private String loadBalancerId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private Integer requestTimeout;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String scheduler;
private String stickySession;
private String stickySessionType;
private java.util.List<Tag> tag;
private Integer unhealthyThreshold;
private String vServerGroupId;
private String xForwardedFor;
private String xForwardedForClientSrcPort;
private String xForwardedForSLBID;
private String xForwardedForSLBIP;
private String xForwardedForSLBPORT;
private String xForwardedForProto;
private Builder() {
super();
}
private Builder(CreateLoadBalancerHTTPListenerRequest request) {
super(request);
this.aclId = request.aclId;
this.aclStatus = request.aclStatus;
this.aclType = request.aclType;
this.backendServerPort = request.backendServerPort;
this.bandwidth = request.bandwidth;
this.cookie = request.cookie;
this.cookieTimeout = request.cookieTimeout;
this.description = request.description;
this.forwardPort = request.forwardPort;
this.gzip = request.gzip;
this.healthCheck = request.healthCheck;
this.healthCheckConnectPort = request.healthCheckConnectPort;
this.healthCheckDomain = request.healthCheckDomain;
this.healthCheckHttpCode = request.healthCheckHttpCode;
this.healthCheckInterval = request.healthCheckInterval;
this.healthCheckMethod = request.healthCheckMethod;
this.healthCheckTimeout = request.healthCheckTimeout;
this.healthCheckURI = request.healthCheckURI;
this.healthyThreshold = request.healthyThreshold;
this.idleTimeout = request.idleTimeout;
this.listenerForward = request.listenerForward;
this.listenerPort = request.listenerPort;
this.loadBalancerId = request.loadBalancerId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.requestTimeout = request.requestTimeout;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.scheduler = request.scheduler;
this.stickySession = request.stickySession;
this.stickySessionType = request.stickySessionType;
this.tag = request.tag;
this.unhealthyThreshold = request.unhealthyThreshold;
this.vServerGroupId = request.vServerGroupId;
this.xForwardedFor = request.xForwardedFor;
this.xForwardedForClientSrcPort = request.xForwardedForClientSrcPort;
this.xForwardedForSLBID = request.xForwardedForSLBID;
this.xForwardedForSLBIP = request.xForwardedForSLBIP;
this.xForwardedForSLBPORT = request.xForwardedForSLBPORT;
this.xForwardedForProto = request.xForwardedForProto;
}
/**
* <p>The ID of the network access control list (ACL) that is associated with the listener.</p>
* <blockquote>
* <p> If <strong>AclStatus</strong> is set to <strong>on</strong>, this parameter is required.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>123</p>
*/
public Builder aclId(String aclId) {
this.putQueryParameter("AclId", aclId);
this.aclId = aclId;
return this;
}
/**
* <p>Specifies whether to enable access control. Valid values:</p>
* <ul>
* <li><strong>on</strong>: yes</li>
* <li><strong>off</strong> (default): no</li>
* </ul>
*
* <strong>example:</strong>
* <p>off</p>
*/
public Builder aclStatus(String aclStatus) {
this.putQueryParameter("AclStatus", aclStatus);
this.aclStatus = aclStatus;
return this;
}
/**
* <p>The type of access control. Valid values:</p>
* <ul>
* <li><p><strong>white</strong>: Only requests from IP addresses and CIDR blocks on the whitelist are forwarded by the listener. Your service may be adversely affected if the whitelist is not properly configured. If a whitelist is configured, the listener forwards only requests from IP addresses that are added to the whitelist.</p>
* <p>If you configure a whitelist but do not add an IP address to the whitelist, the listener forwards all requests.</p>
* </li>
* <li><p><strong>black</strong>: Requests from the IP addresses and CIDR blocks on the blacklist are blocked.</p>
* <p>If you configure a blacklist but do not add an IP address to the blacklist, the listener forwards all requests.</p>
* </li>
* </ul>
* <blockquote>
* <p> When <strong>AclStatus</strong> is set to <strong>on</strong>, this parameter takes effect.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>white</p>
*/
public Builder aclType(String aclType) {
this.putQueryParameter("AclType", aclType);
this.aclType = aclType;
return this;
}
/**
* <p>The backend port that is used by the CLB instance.</p>
* <p>Valid values: <strong>1</strong> to <strong>65535</strong>.</p>
* <blockquote>
* <p> If the VServerGroupId parameter is not specified, this parameter is required.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>80</p>
*/
public Builder backendServerPort(Integer backendServerPort) {
this.putQueryParameter("BackendServerPort", backendServerPort);
this.backendServerPort = backendServerPort;
return this;
}
/**
* <p>The maximum bandwidth of the listener. Unit: Mbit/s. Valid values:</p>
* <p><strong>-1</strong>: specifies that the bandwidth of the listener is unlimited.</p>
*
* <strong>example:</strong>
* <p>-1</p>
*/
public Builder bandwidth(Integer bandwidth) {
this.putQueryParameter("Bandwidth", bandwidth);
this.bandwidth = bandwidth;
return this;
}
/**
* <p>The cookie configured for the server.</p>
* <p>The cookie must be 1 to 200 characters in length, and can contain only ASCII letters and digits. It cannot contain commas (,), semicolons (;), space characters, or start with a dollar sign ($).</p>
* <blockquote>
* <p> This parameter is required when the <strong>StickySession</strong> parameter is set to <strong>on</strong> and the <strong>StickySessionType</strong> parameter is set to <strong>server</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>B490B5EBF6F3CD402E515D22BCDA1598</p>
*/
public Builder cookie(String cookie) {
this.putQueryParameter("Cookie", cookie);
this.cookie = cookie;
return this;
}
/**
* <p>The timeout period of a cookie. Unit: seconds.</p>
* <p>Valid values: <strong>1</strong> to <strong>86400</strong>.</p>
* <blockquote>
* <p> If <strong>StickySession</strong> is set to <strong>on</strong> and <strong>StickySessionType</strong> is set to <strong>insert</strong>, this parameter is required.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>500</p>
*/
public Builder cookieTimeout(Integer cookieTimeout) {
this.putQueryParameter("CookieTimeout", cookieTimeout);
this.cookieTimeout = cookieTimeout;
return this;
}
/**
* <p>The name of the listener.</p>
* <p>The name must be 1 to 256 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_).</p>
*
* <strong>example:</strong>
* <p>HTTP_443</p>
*/
public Builder description(String description) {
this.putQueryParameter("Description", description);
this.description = description;
return this;
}
/**
* <p>The listening port that is used to redirect HTTP requests to HTTPS.</p>
*
* <strong>example:</strong>
* <p>443</p>
*/
public Builder forwardPort(Integer forwardPort) {
this.putQueryParameter("ForwardPort", forwardPort);
this.forwardPort = forwardPort;
return this;
}
/**
* <p>Specifies whether to enable <code>GZIP</code> compression to compress specific types of files. Valid values:</p>
* <ul>
* <li><strong>on</strong> (default)</li>
* <li><strong>off</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>on</p>
*/
public Builder gzip(String gzip) {
this.putQueryParameter("Gzip", gzip);
this.gzip = gzip;
return this;
}
/**
* <p>Specifies whether to enable the health check feature. Valid values:</p>
* <ul>
* <li><strong>on</strong>: yes</li>
* <li><strong>off</strong>: no</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>on</p>
*/
public Builder healthCheck(String healthCheck) {
this.putQueryParameter("HealthCheck", healthCheck);
this.healthCheck = healthCheck;
return this;
}
/**
* <p>The backend port that is used for health checks.</p>
* <p>Valid values: <strong>1</strong> to <strong>65535</strong>.</p>
* <blockquote>
* <p> This parameter takes effect only if the <strong>HealthCheck</strong> parameter is set to <strong>on</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>80</p>
*/
public Builder healthCheckConnectPort(Integer healthCheckConnectPort) {
this.putQueryParameter("HealthCheckConnectPort", healthCheckConnectPort);
this.healthCheckConnectPort = healthCheckConnectPort;
return this;
}
/**
* <p>The domain name that is used for health checks. Valid values:</p>
* <ul>
* <li><strong>$_ip</strong>: the private IP address of a backend server. If an IP address is specified, or this parameter is not specified, the CLB instance uses the private IP address of each backend server as the domain name for health checks.</li>
* <li><strong>domain</strong>: The domain name must be 1 to 80 characters in length, and can contain letters, digits, periods (.), and hyphens (-).</li>
* </ul>
* <blockquote>
* <p> This parameter takes effect only if the <strong>HealthCheck</strong> parameter is set to <strong>on</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>172.16.0.0/12</p>
*/
public Builder healthCheckDomain(String healthCheckDomain) {
this.putQueryParameter("HealthCheckDomain", healthCheckDomain);
this.healthCheckDomain = healthCheckDomain;
return this;
}
/**
* <p>The HTTP status code for a successful health check. Separate multiple HTTP status codes with commas (,).</p>
* <p>Valid values: <strong>http_2xx</strong> (default), <strong>http_3xx</strong>, <strong>http_4xx</strong>, and <strong>http_5xx</strong>.</p>
* <blockquote>
* <p> This parameter takes effect only if the <strong>HealthCheck</strong> parameter is set to <strong>on</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>http_2xx</p>
*/
public Builder healthCheckHttpCode(String healthCheckHttpCode) {
this.putQueryParameter("HealthCheckHttpCode", healthCheckHttpCode);
this.healthCheckHttpCode = healthCheckHttpCode;
return this;
}
/**
* <p>The interval between two consecutive health checks. Unit: seconds.</p>
* <p>Valid values: <strong>1</strong> to <strong>50</strong>.</p>
* <blockquote>
* <p> This parameter takes effect only if the <strong>HealthCheck</strong> parameter is set to <strong>on</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>5</p>
*/
public Builder healthCheckInterval(Integer healthCheckInterval) {
this.putQueryParameter("HealthCheckInterval", healthCheckInterval);
this.healthCheckInterval = healthCheckInterval;
return this;
}
/**
* <p>The health check method used in HTTP health checks. Valid values: <strong>head</strong> and <strong>get</strong>.</p>
* <blockquote>
* <p> This parameter takes effect only if the <strong>HealthCheck</strong> parameter is set to <strong>on</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>get</p>
*/
public Builder healthCheckMethod(String healthCheckMethod) {
this.putQueryParameter("HealthCheckMethod", healthCheckMethod);
this.healthCheckMethod = healthCheckMethod;
return this;
}
/**
* <p>The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds</p>
* <p>Valid values: <strong>1</strong> to <strong>300</strong>.</p>
* <blockquote>
* <p> This parameter takes effect only if the <strong>HealthCheck</strong> parameter is set to <strong>on</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>3</p>
*/
public Builder healthCheckTimeout(Integer healthCheckTimeout) {
this.putQueryParameter("HealthCheckTimeout", healthCheckTimeout);
this.healthCheckTimeout = healthCheckTimeout;
return this;
}
/**
* <p>The URI that is used for health checks.</p>
* <p>The URI must be 1 to 80 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), percent signs (%), question marks (?), number signs (#), and ampersands (&). The URI must start with a forward slash (/) but cannot be a single forward slash (/).</p>
* <blockquote>
* <p> This parameter takes effect only if the <strong>HealthCheck</strong> parameter is set to <strong>on</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>/test/index.html</p>
*/
public Builder healthCheckURI(String healthCheckURI) {
this.putQueryParameter("HealthCheckURI", healthCheckURI);
this.healthCheckURI = healthCheckURI;
return this;
}
/**
* <p>The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. In this case, the health status is changed from <strong>fail</strong> to <strong>success</strong>.</p>
* <p>Valid values: <strong>2</strong> to <strong>10</strong>.</p>
* <blockquote>
* <p> This parameter takes effect only if the <strong>HealthCheck</strong> parameter is set to <strong>on</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>4</p>
*/
public Builder healthyThreshold(Integer healthyThreshold) {
this.putQueryParameter("HealthyThreshold", healthyThreshold);
this.healthyThreshold = healthyThreshold;
return this;
}
/**
* <p>The timeout period of an idle connection. Unit: seconds.</p>
* <p>Default value: <strong>15</strong>. Valid values: <strong>1</strong> to <strong>60</strong>.</p>
* <p>If no request is received within the specified timeout period, SLB closes the connection. When a request is received, SLB establishes a new connection.</p>
*
* <strong>example:</strong>
* <p>3</p>
*/
public Builder idleTimeout(Integer idleTimeout) {
this.putQueryParameter("IdleTimeout", idleTimeout);
this.idleTimeout = idleTimeout;
return this;
}
/**
* <p>Specifies whether to enable HTTP-to-HTTPS redirection. Valid values:</p>
* <ul>
* <li><strong>on</strong>: yes</li>
* <li><strong>off</strong> (default): no</li>
* </ul>
*
* <strong>example:</strong>
* <p>off</p>
*/
public Builder listenerForward(String listenerForward) {
this.putQueryParameter("ListenerForward", listenerForward);
this.listenerForward = listenerForward;
return this;
}
/**
* <p>The frontend port that is used by the CLB instance.</p>
* <p>Valid values: <strong>1</strong> to <strong>65535</strong>.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>80</p>
*/
public Builder listenerPort(Integer listenerPort) {
this.putQueryParameter("ListenerPort", listenerPort);
this.listenerPort = listenerPort;
return this;
}
/**
* <p>The ID of the CLB instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>lb-bp1c9vixxjh92q83tw*****</p>
*/
public Builder loadBalancerId(String loadBalancerId) {
this.putQueryParameter("LoadBalancerId", loadBalancerId);
this.loadBalancerId = loadBalancerId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The ID of the region where the CLB instance is deployed.</p>
* <p>You can query the region ID from the <a href="https://help.aliyun.com/document_detail/40654.html">Regions and zones</a> list or by calling the <a href="https://help.aliyun.com/document_detail/27584.html">DescribeRegions</a> operation.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>The timeout period of a request. Unit: seconds.</p>
* <p>Default value: <strong>60</strong>. Valid values: <strong>1</strong> to <strong>180</strong>.</p>
* <p>If no response is received from the backend server within the specified timeout period, CLB sends an <code>HTTP 504</code> error code to the client.</p>
*
* <strong>example:</strong>
* <p>6</p>
*/
public Builder requestTimeout(Integer requestTimeout) {
this.putQueryParameter("RequestTimeout", requestTimeout);
this.requestTimeout = requestTimeout;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The scheduling algorithm. Valid values:</p>
* <ul>
* <li><strong>wrr</strong> (default): Backend servers with higher weights receive more requests than backend servers with lower weights.</li>
* <li><strong>rr</strong>: Requests are distributed to backend servers in sequence.</li>
* </ul>
*
* <strong>example:</strong>
* <p>wrr</p>
*/
public Builder scheduler(String scheduler) {
this.putQueryParameter("Scheduler", scheduler);
this.scheduler = scheduler;
return this;
}
/**
* <p>Specifies whether to enable session persistence. Valid values:</p>
* <ul>
* <li><strong>on</strong>: yes</li>
* <li><strong>off</strong> (default): no</li>
* </ul>
*
* <strong>example:</strong>
* <p>off</p>
*/
public Builder stickySession(String stickySession) {
this.putQueryParameter("StickySession", stickySession);
this.stickySession = stickySession;
return this;
}
/**
* <p>The method that is used to handle cookies. Valid values:</p>
* <ul>
* <li><p><strong>insert</strong>: inserts a cookie.</p>
* <p>The first time a client accesses CLB, CLB inserts a cookie into the response packet. Subsequent requests from the client that carry the cookie are distributed to the same backend server as the first request.</p>
* </li>
* <li><p><strong>server</strong>: rewrites the original cookie.</p>
* <p>CLB rewrites the custom cookies in requests from a client. Subsequent requests from the client that carry the new cookie are forwarded to the same backend server as the first request.</p>
* </li>
* </ul>
* <blockquote>
* <p> This parameter is required if the <strong>StickySession</strong> parameter is set to <strong>on</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>insert</p>
*/
public Builder stickySessionType(String stickySessionType) {
this.putQueryParameter("StickySessionType", stickySessionType);
this.stickySessionType = stickySessionType;
return this;
}
/**
* <p>The tags.</p>
*/
public Builder tag(java.util.List<Tag> tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
/**
* <p>The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. In this case, the health status is changed from <strong>success</strong> to <strong>fail</strong>.</p>
* <p>Valid values: <strong>2</strong> to <strong>10</strong>.</p>
* <blockquote>
* <p> This parameter takes effect only if the <strong>HealthCheck</strong> parameter is set to <strong>on</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>4</p>
*/
public Builder unhealthyThreshold(Integer unhealthyThreshold) {
this.putQueryParameter("UnhealthyThreshold", unhealthyThreshold);
this.unhealthyThreshold = unhealthyThreshold;
return this;
}
/**
* <p>The ID of the vServer group.</p>
*
* <strong>example:</strong>
* <p>rsp-cige6j*****</p>
*/
public Builder vServerGroupId(String vServerGroupId) {
this.putQueryParameter("VServerGroupId", vServerGroupId);
this.vServerGroupId = vServerGroupId;
return this;
}
/**
* <p>Specifies whether to use the <code>X-Forwarded-For</code> header to retrieve client IP addresses. Valid values:</p>
* <ul>
* <li><strong>on</strong> (default)</li>
* <li><strong>off</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>on</p>
*/
public Builder xForwardedFor(String xForwardedFor) {
this.putQueryParameter("XForwardedFor", xForwardedFor);
this.xForwardedFor = xForwardedFor;
return this;
}
/**
* <p>Specifies whether to use the <code>XForwardedFor_ClientSrcPort</code> header to retrieve the client port. Valid values:</p>
* <ul>
* <li><strong>on</strong></li>
* <li><strong>off</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>off</p>
*/
public Builder xForwardedForClientSrcPort(String xForwardedForClientSrcPort) {
this.putQueryParameter("XForwardedFor_ClientSrcPort", xForwardedForClientSrcPort);
this.xForwardedForClientSrcPort = xForwardedForClientSrcPort;
return this;
}
/**
* <p>Indicates whether the <code>SLB-ID</code> header is used to retrieve the ID of the CLB instance. Valid values:</p>
* <ul>
* <li><strong>on</strong></li>
* <li><strong>off</strong> (default): no</li>
* </ul>
*
* <strong>example:</strong>
* <p>on</p>
*/
public Builder xForwardedForSLBID(String xForwardedForSLBID) {
this.putQueryParameter("XForwardedFor_SLBID", xForwardedForSLBID);
this.xForwardedForSLBID = xForwardedForSLBID;
return this;
}
/**
* <p>Indicates whether the <code>SLB-IP</code> header is used to retrieve the virtual IP address (VIP) requested by the client. Valid values:</p>
* <ul>
* <li><strong>on</strong></li>
* <li><strong>off</strong> (default): no</li>
* </ul>
*
* <strong>example:</strong>
* <p>on</p>
*/
public Builder xForwardedForSLBIP(String xForwardedForSLBIP) {
this.putQueryParameter("XForwardedFor_SLBIP", xForwardedForSLBIP);
this.xForwardedForSLBIP = xForwardedForSLBIP;
return this;
}
/**
* <p>Specifies whether to use the <code>XForwardedFor_SLBPORT</code> header to retrieve the listener port of the CLB instance. Valid values:</p>
* <ul>
* <li><strong>on</strong></li>
* <li><strong>off</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>off</p>
*/
public Builder xForwardedForSLBPORT(String xForwardedForSLBPORT) {
this.putQueryParameter("XForwardedFor_SLBPORT", xForwardedForSLBPORT);
this.xForwardedForSLBPORT = xForwardedForSLBPORT;
return this;
}
/**
* <p>Specifies whether to use the <code>X-Forwarded-Proto</code> header to retrieve the listener protocol. Valid values:</p>
* <ul>
* <li><strong>on</strong></li>
* <li><strong>off</strong> (default): no</li>
* </ul>
*
* <strong>example:</strong>
* <p>on</p>
*/
public Builder xForwardedForProto(String xForwardedForProto) {
this.putQueryParameter("XForwardedFor_proto", xForwardedForProto);
this.xForwardedForProto = xForwardedForProto;
return this;
}
@Override
public CreateLoadBalancerHTTPListenerRequest build() {
return new CreateLoadBalancerHTTPListenerRequest(this);
}
}
/**
*
* {@link CreateLoadBalancerHTTPListenerRequest} extends {@link TeaModel}
*
* <p>CreateLoadBalancerHTTPListenerRequest</p>
*/
public static class Tag extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private Tag(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
/**
* <p>The tag key of the bastion host. Valid values of N: <strong>1 to 20</strong>. The tag key cannot be an empty string.</p>
* <p>The tag key can be at most 64 characters in length, and cannot contain <code>http://</code> or <code>https://</code>. It must not start with <code>aliyun</code> or <code>acs:</code>.</p>
*
* <strong>example:</strong>
* <p>TestKey</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The tag value. Valid values of N: <strong>1 to 20</strong>. The tag value can be an empty string.</p>
* <p>The tag value can be up to 128 characters in length and cannot start with <code>acs:</code> or <code>aliyun</code>. The tag value cannot contain <code>http://</code> or <code>https://</code>.</p>
*
* <strong>example:</strong>
* <p>TestValue</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateLoadBalancerHTTPListenerResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateLoadBalancerHTTPListenerResponse} extends {@link TeaModel}
*
* <p>CreateLoadBalancerHTTPListenerResponse</p>
*/
public class CreateLoadBalancerHTTPListenerResponse 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 CreateLoadBalancerHTTPListenerResponseBody body;
private CreateLoadBalancerHTTPListenerResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateLoadBalancerHTTPListenerResponse 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 CreateLoadBalancerHTTPListenerResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateLoadBalancerHTTPListenerResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateLoadBalancerHTTPListenerResponseBody body);
@Override
CreateLoadBalancerHTTPListenerResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateLoadBalancerHTTPListenerResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateLoadBalancerHTTPListenerResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateLoadBalancerHTTPListenerResponse 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(CreateLoadBalancerHTTPListenerResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateLoadBalancerHTTPListenerResponse build() {
return new CreateLoadBalancerHTTPListenerResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateLoadBalancerHTTPListenerResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateLoadBalancerHTTPListenerResponseBody} extends {@link TeaModel}
*
* <p>CreateLoadBalancerHTTPListenerResponseBody</p>
*/
public class CreateLoadBalancerHTTPListenerResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private CreateLoadBalancerHTTPListenerResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static CreateLoadBalancerHTTPListenerResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public CreateLoadBalancerHTTPListenerResponseBody build() {
return new CreateLoadBalancerHTTPListenerResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateLoadBalancerHTTPSListenerRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateLoadBalancerHTTPSListenerRequest} extends {@link RequestModel}
*
* <p>CreateLoadBalancerHTTPSListenerRequest</p>
*/
public class CreateLoadBalancerHTTPSListenerRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AclId")
private String aclId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AclStatus")
private String aclStatus;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AclType")
private String aclType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BackendServerPort")
@com.aliyun.core.annotation.Validation(maximum = 65535, minimum = 1)
private Integer backendServerPort;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Bandwidth")
@com.aliyun.core.annotation.Validation(required = true, maximum = 5120)
private Integer bandwidth;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CACertificateId")
private String CACertificateId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Cookie")
private String cookie;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CookieTimeout")
@com.aliyun.core.annotation.Validation(maximum = 86400, minimum = 1)
private Integer cookieTimeout;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EnableHttp2")
private String enableHttp2;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Gzip")
private String gzip;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheck")
@com.aliyun.core.annotation.Validation(required = true)
private String healthCheck;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckConnectPort")
@com.aliyun.core.annotation.Validation(maximum = 65535)
private Integer healthCheckConnectPort;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckDomain")
private String healthCheckDomain;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckHttpCode")
private String healthCheckHttpCode;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckInterval")
@com.aliyun.core.annotation.Validation(maximum = 50, minimum = 1)
private Integer healthCheckInterval;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckMethod")
private String healthCheckMethod;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckTimeout")
@com.aliyun.core.annotation.Validation(maximum = 300, minimum = 1)
private Integer healthCheckTimeout;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckURI")
private String healthCheckURI;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthyThreshold")
@com.aliyun.core.annotation.Validation(maximum = 10, minimum = 1)
private Integer healthyThreshold;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("IdleTimeout")
@com.aliyun.core.annotation.Validation(maximum = 9999, minimum = 1)
private Integer idleTimeout;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ListenerPort")
@com.aliyun.core.annotation.Validation(required = true, maximum = 65535, minimum = 1)
private Integer listenerPort;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("LoadBalancerId")
@com.aliyun.core.annotation.Validation(required = true)
private String loadBalancerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RequestTimeout")
@com.aliyun.core.annotation.Validation(maximum = 9999, minimum = 1)
private Integer requestTimeout;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Scheduler")
private String scheduler;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ServerCertificateId")
private String serverCertificateId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StickySession")
private String stickySession;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StickySessionType")
private String stickySessionType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TLSCipherPolicy")
private String TLSCipherPolicy;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Tag")
private java.util.List<Tag> tag;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("UnhealthyThreshold")
@com.aliyun.core.annotation.Validation(maximum = 10, minimum = 1)
private Integer unhealthyThreshold;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VServerGroupId")
private String vServerGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("XForwardedFor")
private String xForwardedFor;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("XForwardedFor_ClientSrcPort")
private String xForwardedForClientSrcPort;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("XForwardedFor_SLBID")
private String xForwardedForSLBID;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("XForwardedFor_SLBIP")
private String xForwardedForSLBIP;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("XForwardedFor_SLBPORT")
private String xForwardedForSLBPORT;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("XForwardedFor_proto")
private String xForwardedForProto;
private CreateLoadBalancerHTTPSListenerRequest(Builder builder) {
super(builder);
this.aclId = builder.aclId;
this.aclStatus = builder.aclStatus;
this.aclType = builder.aclType;
this.backendServerPort = builder.backendServerPort;
this.bandwidth = builder.bandwidth;
this.CACertificateId = builder.CACertificateId;
this.cookie = builder.cookie;
this.cookieTimeout = builder.cookieTimeout;
this.description = builder.description;
this.enableHttp2 = builder.enableHttp2;
this.gzip = builder.gzip;
this.healthCheck = builder.healthCheck;
this.healthCheckConnectPort = builder.healthCheckConnectPort;
this.healthCheckDomain = builder.healthCheckDomain;
this.healthCheckHttpCode = builder.healthCheckHttpCode;
this.healthCheckInterval = builder.healthCheckInterval;
this.healthCheckMethod = builder.healthCheckMethod;
this.healthCheckTimeout = builder.healthCheckTimeout;
this.healthCheckURI = builder.healthCheckURI;
this.healthyThreshold = builder.healthyThreshold;
this.idleTimeout = builder.idleTimeout;
this.listenerPort = builder.listenerPort;
this.loadBalancerId = builder.loadBalancerId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.requestTimeout = builder.requestTimeout;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.scheduler = builder.scheduler;
this.serverCertificateId = builder.serverCertificateId;
this.stickySession = builder.stickySession;
this.stickySessionType = builder.stickySessionType;
this.TLSCipherPolicy = builder.TLSCipherPolicy;
this.tag = builder.tag;
this.unhealthyThreshold = builder.unhealthyThreshold;
this.vServerGroupId = builder.vServerGroupId;
this.xForwardedFor = builder.xForwardedFor;
this.xForwardedForClientSrcPort = builder.xForwardedForClientSrcPort;
this.xForwardedForSLBID = builder.xForwardedForSLBID;
this.xForwardedForSLBIP = builder.xForwardedForSLBIP;
this.xForwardedForSLBPORT = builder.xForwardedForSLBPORT;
this.xForwardedForProto = builder.xForwardedForProto;
}
public static Builder builder() {
return new Builder();
}
public static CreateLoadBalancerHTTPSListenerRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return aclId
*/
public String getAclId() {
return this.aclId;
}
/**
* @return aclStatus
*/
public String getAclStatus() {
return this.aclStatus;
}
/**
* @return aclType
*/
public String getAclType() {
return this.aclType;
}
/**
* @return backendServerPort
*/
public Integer getBackendServerPort() {
return this.backendServerPort;
}
/**
* @return bandwidth
*/
public Integer getBandwidth() {
return this.bandwidth;
}
/**
* @return CACertificateId
*/
public String getCACertificateId() {
return this.CACertificateId;
}
/**
* @return cookie
*/
public String getCookie() {
return this.cookie;
}
/**
* @return cookieTimeout
*/
public Integer getCookieTimeout() {
return this.cookieTimeout;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return enableHttp2
*/
public String getEnableHttp2() {
return this.enableHttp2;
}
/**
* @return gzip
*/
public String getGzip() {
return this.gzip;
}
/**
* @return healthCheck
*/
public String getHealthCheck() {
return this.healthCheck;
}
/**
* @return healthCheckConnectPort
*/
public Integer getHealthCheckConnectPort() {
return this.healthCheckConnectPort;
}
/**
* @return healthCheckDomain
*/
public String getHealthCheckDomain() {
return this.healthCheckDomain;
}
/**
* @return healthCheckHttpCode
*/
public String getHealthCheckHttpCode() {
return this.healthCheckHttpCode;
}
/**
* @return healthCheckInterval
*/
public Integer getHealthCheckInterval() {
return this.healthCheckInterval;
}
/**
* @return healthCheckMethod
*/
public String getHealthCheckMethod() {
return this.healthCheckMethod;
}
/**
* @return healthCheckTimeout
*/
public Integer getHealthCheckTimeout() {
return this.healthCheckTimeout;
}
/**
* @return healthCheckURI
*/
public String getHealthCheckURI() {
return this.healthCheckURI;
}
/**
* @return healthyThreshold
*/
public Integer getHealthyThreshold() {
return this.healthyThreshold;
}
/**
* @return idleTimeout
*/
public Integer getIdleTimeout() {
return this.idleTimeout;
}
/**
* @return listenerPort
*/
public Integer getListenerPort() {
return this.listenerPort;
}
/**
* @return loadBalancerId
*/
public String getLoadBalancerId() {
return this.loadBalancerId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return requestTimeout
*/
public Integer getRequestTimeout() {
return this.requestTimeout;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return scheduler
*/
public String getScheduler() {
return this.scheduler;
}
/**
* @return serverCertificateId
*/
public String getServerCertificateId() {
return this.serverCertificateId;
}
/**
* @return stickySession
*/
public String getStickySession() {
return this.stickySession;
}
/**
* @return stickySessionType
*/
public String getStickySessionType() {
return this.stickySessionType;
}
/**
* @return TLSCipherPolicy
*/
public String getTLSCipherPolicy() {
return this.TLSCipherPolicy;
}
/**
* @return tag
*/
public java.util.List<Tag> getTag() {
return this.tag;
}
/**
* @return unhealthyThreshold
*/
public Integer getUnhealthyThreshold() {
return this.unhealthyThreshold;
}
/**
* @return vServerGroupId
*/
public String getVServerGroupId() {
return this.vServerGroupId;
}
/**
* @return xForwardedFor
*/
public String getXForwardedFor() {
return this.xForwardedFor;
}
/**
* @return xForwardedForClientSrcPort
*/
public String getXForwardedForClientSrcPort() {
return this.xForwardedForClientSrcPort;
}
/**
* @return xForwardedForSLBID
*/
public String getXForwardedForSLBID() {
return this.xForwardedForSLBID;
}
/**
* @return xForwardedForSLBIP
*/
public String getXForwardedForSLBIP() {
return this.xForwardedForSLBIP;
}
/**
* @return xForwardedForSLBPORT
*/
public String getXForwardedForSLBPORT() {
return this.xForwardedForSLBPORT;
}
/**
* @return xForwardedForProto
*/
public String getXForwardedForProto() {
return this.xForwardedForProto;
}
public static final class Builder extends Request.Builder<CreateLoadBalancerHTTPSListenerRequest, Builder> {
private String aclId;
private String aclStatus;
private String aclType;
private Integer backendServerPort;
private Integer bandwidth;
private String CACertificateId;
private String cookie;
private Integer cookieTimeout;
private String description;
private String enableHttp2;
private String gzip;
private String healthCheck;
private Integer healthCheckConnectPort;
private String healthCheckDomain;
private String healthCheckHttpCode;
private Integer healthCheckInterval;
private String healthCheckMethod;
private Integer healthCheckTimeout;
private String healthCheckURI;
private Integer healthyThreshold;
private Integer idleTimeout;
private Integer listenerPort;
private String loadBalancerId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private Integer requestTimeout;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String scheduler;
private String serverCertificateId;
private String stickySession;
private String stickySessionType;
private String TLSCipherPolicy;
private java.util.List<Tag> tag;
private Integer unhealthyThreshold;
private String vServerGroupId;
private String xForwardedFor;
private String xForwardedForClientSrcPort;
private String xForwardedForSLBID;
private String xForwardedForSLBIP;
private String xForwardedForSLBPORT;
private String xForwardedForProto;
private Builder() {
super();
}
private Builder(CreateLoadBalancerHTTPSListenerRequest request) {
super(request);
this.aclId = request.aclId;
this.aclStatus = request.aclStatus;
this.aclType = request.aclType;
this.backendServerPort = request.backendServerPort;
this.bandwidth = request.bandwidth;
this.CACertificateId = request.CACertificateId;
this.cookie = request.cookie;
this.cookieTimeout = request.cookieTimeout;
this.description = request.description;
this.enableHttp2 = request.enableHttp2;
this.gzip = request.gzip;
this.healthCheck = request.healthCheck;
this.healthCheckConnectPort = request.healthCheckConnectPort;
this.healthCheckDomain = request.healthCheckDomain;
this.healthCheckHttpCode = request.healthCheckHttpCode;
this.healthCheckInterval = request.healthCheckInterval;
this.healthCheckMethod = request.healthCheckMethod;
this.healthCheckTimeout = request.healthCheckTimeout;
this.healthCheckURI = request.healthCheckURI;
this.healthyThreshold = request.healthyThreshold;
this.idleTimeout = request.idleTimeout;
this.listenerPort = request.listenerPort;
this.loadBalancerId = request.loadBalancerId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.requestTimeout = request.requestTimeout;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.scheduler = request.scheduler;
this.serverCertificateId = request.serverCertificateId;
this.stickySession = request.stickySession;
this.stickySessionType = request.stickySessionType;
this.TLSCipherPolicy = request.TLSCipherPolicy;
this.tag = request.tag;
this.unhealthyThreshold = request.unhealthyThreshold;
this.vServerGroupId = request.vServerGroupId;
this.xForwardedFor = request.xForwardedFor;
this.xForwardedForClientSrcPort = request.xForwardedForClientSrcPort;
this.xForwardedForSLBID = request.xForwardedForSLBID;
this.xForwardedForSLBIP = request.xForwardedForSLBIP;
this.xForwardedForSLBPORT = request.xForwardedForSLBPORT;
this.xForwardedForProto = request.xForwardedForProto;
}
/**
* <p>The ID of the network access control list (ACL) that is associated with the listener.</p>
* <blockquote>
* <p> This parameter is required if <strong>AclStatus</strong> is set to <strong>on</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>nacl-a2do9e413e0spzasx****</p>
*/
public Builder aclId(String aclId) {
this.putQueryParameter("AclId", aclId);
this.aclId = aclId;
return this;
}
/**
* <p>Specifies whether to enable access control. Valid values:</p>
* <ul>
* <li><strong>on</strong>: yes</li>
* <li><strong>off</strong>: no</li>
* </ul>
*
* <strong>example:</strong>
* <p>off</p>
*/
public Builder aclStatus(String aclStatus) {
this.putQueryParameter("AclStatus", aclStatus);
this.aclStatus = aclStatus;
return this;
}
/**
* <p>The type of the network ACL. Valid values:</p>
* <ul>
* <li><p><strong>white</strong>: a whitelist. Only requests from the IP addresses or CIDR blocks in the network ACL are forwarded. Whitelists apply to scenarios in which you want to allow only specific IP addresses to access an application. Your service may be adversely affected if the allowlist is not properly configured. After a whitelist is configured, only requests from IP addresses that are added to the whitelist are forwarded by the listener.</p>
* <p>If you enable a whitelist but do not add an IP address to the ACL, the listener forwards all requests.</p>
* </li>
* <li><p><strong>black</strong>: a blacklist. All requests from the IP addresses or CIDR blocks in the network ACL are denied. The blacklist applies to scenarios in which you want to deny access from specific IP addresses to an application.</p>
* <p>If a blacklist is configured for a listener but no IP address is added to the blacklist, the listener forwards all requests.</p>
* </li>
* </ul>
* <blockquote>
* <p> If <strong>AclStatus</strong> is set to <strong>on</strong>, this parameter is required.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>white</p>
*/
public Builder aclType(String aclType) {
this.putQueryParameter("AclType", aclType);
this.aclType = aclType;
return this;
}
/**
* <p>The backend port that is used by the CLB instance. Valid values: <strong>1</strong> to <strong>65535</strong>.</p>
* <p>If the VServerGroupId parameter is not set, this parameter is required.</p>
*
* <strong>example:</strong>
* <p>80</p>
*/
public Builder backendServerPort(Integer backendServerPort) {
this.putQueryParameter("BackendServerPort", backendServerPort);
this.backendServerPort = backendServerPort;
return this;
}
/**
* <p>The maximum bandwidth of the listener. Unit: Mbit/s.</p>
* <p>The URL must meet the following requirements:</p>
* <ul>
* <li><strong>-1</strong>: For a pay-by-data-transfer Internet-facing CLB instance, this parameter is set to -1. This indicates that the bandwidth of the listener is unlimited.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>-1</p>
*/
public Builder bandwidth(Integer bandwidth) {
this.putQueryParameter("Bandwidth", bandwidth);
this.bandwidth = bandwidth;
return this;
}
/**
* <p>The ID of the certification authority (CA) certificate.</p>
* <p>If both the CA certificate and the server certificate are uploaded, mutual authentication is used.</p>
* <p>If you upload only the server certificate, one-way authentication is used.</p>
*
* <strong>example:</strong>
* <p>139a00604ad-cn-east-hangzh****</p>
*/
public Builder CACertificateId(String CACertificateId) {
this.putQueryParameter("CACertificateId", CACertificateId);
this.CACertificateId = CACertificateId;
return this;
}
/**
* <p>The cookie that you configure for the server.</p>
* <p>The cookie must be 1 to 200 characters in length, and can contain only ASCII letters and digits. It cannot contain commas (,), semicolons (;), spaces, or start with a dollar sign ($).</p>
* <blockquote>
* <p> This parameter is required when the <strong>StickySession</strong> parameter is set to <strong>on</strong> and the <strong>StickySessionType</strong> parameter is set to <strong>server</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>B490B5EBF6F3CD402E515D22BCDA****</p>
*/
public Builder cookie(String cookie) {
this.putQueryParameter("Cookie", cookie);
this.cookie = cookie;
return this;
}
/**
* <p>The timeout period of a cookie. Unit: seconds.</p>
* <p>Valid values: <strong>1</strong> to <strong>86400</strong>.</p>
* <blockquote>
* <p> If <strong>StickySession</strong> is set to <strong>on</strong> and <strong>StickySessionType</strong> is set to <strong>insert</strong>, this parameter is required.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>500</p>
*/
public Builder cookieTimeout(Integer cookieTimeout) {
this.putQueryParameter("CookieTimeout", cookieTimeout);
this.cookieTimeout = cookieTimeout;
return this;
}
/**
* <p>The name of the listener.</p>
* <p>The name must be 1 to 256 characters in length and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_).</p>
*
* <strong>example:</strong>
* <p>HTTPS_443</p>
*/
public Builder description(String description) {
this.putQueryParameter("Description", description);
this.description = description;
return this;
}
/**
* <p>Specifies whether to enable HTTP/2. Valid values:</p>
* <ul>
* <li><strong>on</strong>: yes</li>
* <li><strong>off</strong>: no</li>
* </ul>
*
* <strong>example:</strong>
* <p>off</p>
*/
public Builder enableHttp2(String enableHttp2) {
this.putQueryParameter("EnableHttp2", enableHttp2);
this.enableHttp2 = enableHttp2;
return this;
}
/**
* <p>Specifies whether to enable <code>Gzip</code> compression to compress specific types of files. Valid values:</p>
* <ul>
* <li><strong>on</strong>: yes</li>
* <li><strong>off</strong>: no</li>
* </ul>
*
* <strong>example:</strong>
* <p>on</p>
*/
public Builder gzip(String gzip) {
this.putQueryParameter("Gzip", gzip);
this.gzip = gzip;
return this;
}
/**
* <p>Specifies whether to enable the health check feature. Valid values:</p>
* <ul>
* <li><strong>on</strong>: yes</li>
* <li><strong>off</strong>: no</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>on</p>
*/
public Builder healthCheck(String healthCheck) {
this.putQueryParameter("HealthCheck", healthCheck);
this.healthCheck = healthCheck;
return this;
}
/**
* <p>The port that is used for health checks.</p>
* <p>Valid values: <strong>1</strong> to <strong>65535</strong>.</p>
* <blockquote>
* <p> This parameter takes effect only if the <strong>HealthCheck</strong> parameter is set to <strong>on</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>8080</p>
*/
public Builder healthCheckConnectPort(Integer healthCheckConnectPort) {
this.putQueryParameter("HealthCheckConnectPort", healthCheckConnectPort);
this.healthCheckConnectPort = healthCheckConnectPort;
return this;
}
/**
* <p>The domain name that is used for health checks. Valid values:</p>
* <ul>
* <li><strong>$_ip</strong>: the private IP address of a backend server. If you do not set the HealthCheckDomain parameter or set the parameter to $_ip, the CLB instance uses the private IP address of each backend server for health checks.</li>
* <li><strong>domain</strong>: The domain name must be 1 to 80 characters in length and can contain letters, digits, periods (.), and hyphens (-).</li>
* </ul>
* <blockquote>
* <p> This parameter takes effect only if the <strong>HealthCheck</strong> parameter is set to <strong>on</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>172.XX.XX.16</p>
*/
public Builder healthCheckDomain(String healthCheckDomain) {
this.putQueryParameter("HealthCheckDomain", healthCheckDomain);
this.healthCheckDomain = healthCheckDomain;
return this;
}
/**
* <p>The HTTP status code for a successful health check. Separate multiple HTTP status codes with commas (,).</p>
* <p>Valid values: <strong>http_2xx</strong>, <strong>http_3xx</strong>, <strong>http_4xx</strong>, and <strong>http_5xx</strong>.</p>
* <blockquote>
* <p> This parameter takes effect only if the <strong>HealthCheck</strong> parameter is set to <strong>on</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>http_2xx,http_3xx</p>
*/
public Builder healthCheckHttpCode(String healthCheckHttpCode) {
this.putQueryParameter("HealthCheckHttpCode", healthCheckHttpCode);
this.healthCheckHttpCode = healthCheckHttpCode;
return this;
}
/**
* <p>The interval between two consecutive health checks. Unit: seconds.</p>
* <p>Valid values: <strong>1</strong> to <strong>50</strong>.</p>
* <blockquote>
* <p> This parameter takes effect only if the <strong>HealthCheck</strong> parameter is set to <strong>on</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>5</p>
*/
public Builder healthCheckInterval(Integer healthCheckInterval) {
this.putQueryParameter("HealthCheckInterval", healthCheckInterval);
this.healthCheckInterval = healthCheckInterval;
return this;
}
/**
* <p>The health check method used in HTTP health checks. Valid values: <strong>head</strong> and <strong>get</strong>.</p>
* <blockquote>
* <p> This parameter takes effect only if the <strong>HealthCheck</strong> parameter is set to <strong>on</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>get</p>
*/
public Builder healthCheckMethod(String healthCheckMethod) {
this.putQueryParameter("HealthCheckMethod", healthCheckMethod);
this.healthCheckMethod = healthCheckMethod;
return this;
}
/**
* <p>The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds Valid values: <strong>1</strong> to <strong>300</strong>.</p>
* <blockquote>
* <p> This parameter takes effect only if the <strong>HealthCheck</strong> parameter is set to <strong>on</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>3</p>
*/
public Builder healthCheckTimeout(Integer healthCheckTimeout) {
this.putQueryParameter("HealthCheckTimeout", healthCheckTimeout);
this.healthCheckTimeout = healthCheckTimeout;
return this;
}
/**
* <p>The URI that is used for health checks.</p>
* <p>The URI must be 1 to 80 characters in length, and can contain letters, digits, and the following special characters: <code>-/.%?#&</code>. The URI must start with a forward slash (<code>/</code>), but cannot be a single forward slash (<code>/</code>).</p>
* <blockquote>
* <p> This parameter takes effect only if the <strong>HealthCheck</strong> parameter is set to <strong>on</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>/test/index.html</p>
*/
public Builder healthCheckURI(String healthCheckURI) {
this.putQueryParameter("HealthCheckURI", healthCheckURI);
this.healthCheckURI = healthCheckURI;
return this;
}
/**
* <p>The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. In this case, the health status is changed from <strong>fail</strong> to <strong>success</strong>.</p>
* <p>Valid values: <strong>2</strong> to <strong>10</strong>.</p>
* <blockquote>
* <p> This parameter takes effect only if the <strong>HealthCheck</strong> parameter is set to <strong>on</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>4</p>
*/
public Builder healthyThreshold(Integer healthyThreshold) {
this.putQueryParameter("HealthyThreshold", healthyThreshold);
this.healthyThreshold = healthyThreshold;
return this;
}
/**
* <p>The timeout period of an idle connection. Valid values: <strong>1 to 60</strong>. Default value: <strong>15</strong>. Unit: seconds.</p>
* <p>If no request is received within the specified timeout period, CLB closes the connection. When a request is received, CLB establishes a new connection.</p>
*
* <strong>example:</strong>
* <p>12</p>
*/
public Builder idleTimeout(Integer idleTimeout) {
this.putQueryParameter("IdleTimeout", idleTimeout);
this.idleTimeout = idleTimeout;
return this;
}
/**
* <p>The frontend port that is used by the CLB instance.</p>
* <p>Valid values: <strong>1</strong> to <strong>65535</strong>.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>80</p>
*/
public Builder listenerPort(Integer listenerPort) {
this.putQueryParameter("ListenerPort", listenerPort);
this.listenerPort = listenerPort;
return this;
}
/**
* <p>The ID of the CLB instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>lb-bp1o94dp5i6earr****</p>
*/
public Builder loadBalancerId(String loadBalancerId) {
this.putQueryParameter("LoadBalancerId", loadBalancerId);
this.loadBalancerId = loadBalancerId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the CLB instance.</p>
* <p>You can query the region ID from the <a href="https://help.aliyun.com/document_detail/40654.html">Regions and zones</a> list or by calling the <a href="https://help.aliyun.com/document_detail/25609.html">DescribeRegions</a> operation.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>The timeout period of a request. Valid values: <strong>1 to 180</strong>. Default value: <strong>60</strong>. Unit: seconds.</p>
* <p>If no response is received from a backend server within the specified timeout period, CLB returns the HTTP 504 status code to the client.</p>
*
* <strong>example:</strong>
* <p>23</p>
*/
public Builder requestTimeout(Integer requestTimeout) {
this.putQueryParameter("RequestTimeout", requestTimeout);
this.requestTimeout = requestTimeout;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The scheduling algorithm. Valid values:</p>
* <ul>
* <li><strong>wrr</strong>: Backend servers with higher weights receive more requests than those with lower weights.</li>
* <li><strong>rr</strong>: Requests are distributed to backend servers in sequence.</li>
* </ul>
*
* <strong>example:</strong>
* <p>wrr</p>
*/
public Builder scheduler(String scheduler) {
this.putQueryParameter("Scheduler", scheduler);
this.scheduler = scheduler;
return this;
}
/**
* <p>The ID of the server certificate.</p>
*
* <strong>example:</strong>
* <p>idkp-123-cn-test-****</p>
*/
public Builder serverCertificateId(String serverCertificateId) {
this.putQueryParameter("ServerCertificateId", serverCertificateId);
this.serverCertificateId = serverCertificateId;
return this;
}
/**
* <p>Specifies whether to enable session persistence. Valid values:</p>
* <ul>
* <li><strong>on</strong>: yes</li>
* <li><strong>off</strong>: no</li>
* </ul>
*
* <strong>example:</strong>
* <p>on</p>
*/
public Builder stickySession(String stickySession) {
this.putQueryParameter("StickySession", stickySession);
this.stickySession = stickySession;
return this;
}
/**
* <p>The method that is used to handle a cookie. Valid values: <strong>insert</strong> and <strong>server</strong>.</p>
* <ul>
* <li><p><strong>insert</strong>: inserts a cookie.</p>
* <p>CLB inserts a cookie (SERVERID) into the first HTTP or HTTPS response packet that is sent to a client. The next request from the client will contain this cookie, and the listener will distribute this request to the recorded backend server.</p>
* </li>
* <li><p><strong>server</strong>: rewrites a cookie.</p>
* <p>When CLB detects a user-defined cookie, it overwrites the original cookie with the user-defined cookie. The next request from the client carries the user-defined cookie, and the listener will distribute the request to the recorded backend server.</p>
* </li>
* </ul>
* <blockquote>
* <p> This parameter is required if the <strong>StickySession</strong> parameter is set to <strong>on</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>insert</p>
*/
public Builder stickySessionType(String stickySessionType) {
this.putQueryParameter("StickySessionType", stickySessionType);
this.stickySessionType = stickySessionType;
return this;
}
/**
* <p>The Transport Layer Security (TLS) security policy. Each security policy contains TLS protocol versions and cipher suites available for HTTPS.</p>
* <ul>
* <li><p><strong>tls_cipher_policy_1_0</strong>:</p>
* <p>Supported TLS versions: TLS 1.0, TLS 1.1, and TLS 1.2</p>
* <p>Supported cipher suites: ECDHE-RSA-AES128-GCM-SHA256, ECDHE-RSA-AES256-GCM-SHA384, ECDHE-RSA-AES128-SHA256, ECDHE-RSA-AES256-SHA384, AES128-GCM-SHA256, AES256-GCM-SHA384, AES128-SHA256, AES256-SHA256, ECDHE-RSA-AES128-SHA, ECDHE-RSA-AES256-SHA, AES128-SHA, AES256-SHA, and DES-CBC3-SHA</p>
* </li>
* <li><p><strong>tls_cipher_policy_1_1</strong>:</p>
* <p>Supported TLS versions: TLS 1.1 and TLS 1.2</p>
* <p>Supported cipher suites: ECDHE-RSA-AES128-GCM-SHA256, ECDHE-RSA-AES256-GCM-SHA384, ECDHE-RSA-AES128-SHA256, ECDHE-RSA-AES256-SHA384, AES128-GCM-SHA256, AES256-GCM-SHA384, AES128-SHA256, AES256-SHA256, ECDHE-RSA-AES128-SHA, ECDHE-RSA-AES256-SHA, AES128-SHA, AES256-SHA, and DES-CBC3-SHA</p>
* </li>
* <li><p><strong>tls_cipher_policy_1_2</strong></p>
* <p>Supported TLS version: TLS 1.2</p>
* <p>Supported cipher suites: ECDHE-RSA-AES128-GCM-SHA256, ECDHE-RSA-AES256-GCM-SHA384, ECDHE-RSA-AES128-SHA256, ECDHE-RSA-AES256-SHA384, AES128-GCM-SHA256, AES256-GCM-SHA384, AES128-SHA256, AES256-SHA256, ECDHE-RSA-AES128-SHA, ECDHE-RSA-AES256-SHA, AES128-SHA, AES256-SHA, and DES-CBC3-SHA</p>
* </li>
* <li><p><strong>tls_cipher_policy_1_2_strict</strong></p>
* <p>Supported TLS version: TLS 1.2</p>
* <p>Supported cipher suites: ECDHE-RSA-AES128-GCM-SHA256, ECDHE-RSA-AES256-GCM-SHA384, ECDHE-RSA-AES128-SHA256, ECDHE-RSA-AES256-SHA384, ECDHE-RSA-AES128-SHA, and ECDHE-RSA-AES256-SHA</p>
* </li>
* <li><p><strong>tls_cipher_policy_1_2_strict_with_1_3</strong></p>
* <p>Supported TLS versions: TLS 1.2 and TLS 1.3</p>
* <p>Supported cipher suites: TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384, TLS_CHACHA20_POLY1305_SHA256, TLS_AES_128_CCM_SHA256, TLS_AES_128_CCM_8_SHA256, ECDHE-ECDSA-AES128-GCM-SHA256, ECDHE-ECDSA-AES256-GCM-SHA384, ECDHE-ECDSA-AES128-SHA256, ECDHE-ECDSA-AES256-SHA384, ECDHE-RSA-AES128-GCM-SHA256, ECDHE-RSA-AES256-GCM-SHA384, ECDHE-RSA-AES128-SHA256, ECDHE-RSA-AES256-SHA384, ECDHE-ECDSA-AES128-SHA, ECDHE-ECDSA-AES256-SHA, ECDHE-RSA-AES128-SHA, and ECDHE-RSA-AES256-SHA</p>
* </li>
* </ul>
*
* <strong>example:</strong>
* <p>tls_cipher_policy_1_1</p>
*/
public Builder TLSCipherPolicy(String TLSCipherPolicy) {
this.putQueryParameter("TLSCipherPolicy", TLSCipherPolicy);
this.TLSCipherPolicy = TLSCipherPolicy;
return this;
}
/**
* <p>The tags.</p>
*/
public Builder tag(java.util.List<Tag> tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
/**
* <p>The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. In this case, the health status is changed from <strong>success</strong> to <strong>fail</strong>.</p>
* <p>Valid values: <strong>2</strong> to <strong>10</strong>.</p>
* <blockquote>
* <p> This parameter takes effect only if the <strong>HealthCheck</strong> parameter is set to <strong>on</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>4</p>
*/
public Builder unhealthyThreshold(Integer unhealthyThreshold) {
this.putQueryParameter("UnhealthyThreshold", unhealthyThreshold);
this.unhealthyThreshold = unhealthyThreshold;
return this;
}
/**
* <p>The ID of the server group.</p>
*
* <strong>example:</strong>
* <p>rsp-cige6j5e7p****</p>
*/
public Builder vServerGroupId(String vServerGroupId) {
this.putQueryParameter("VServerGroupId", vServerGroupId);
this.vServerGroupId = vServerGroupId;
return this;
}
/**
* <p>Specifies whether to use the <code>X-Forwarded-For</code> header to retrieve client IP addresses. Valid values:</p>
* <ul>
* <li><strong>on</strong>: yes</li>
* <li><strong>off</strong>: no</li>
* </ul>
*
* <strong>example:</strong>
* <p>on</p>
*/
public Builder xForwardedFor(String xForwardedFor) {
this.putQueryParameter("XForwardedFor", xForwardedFor);
this.xForwardedFor = xForwardedFor;
return this;
}
/**
* <p>Specifies whether to use the <code>XForwardedFor_ClientSrcPort</code> header to retrieve the client port. Valid values:</p>
* <ul>
* <li><strong>on</strong></li>
* <li><strong>off</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>off</p>
*/
public Builder xForwardedForClientSrcPort(String xForwardedForClientSrcPort) {
this.putQueryParameter("XForwardedFor_ClientSrcPort", xForwardedForClientSrcPort);
this.xForwardedForClientSrcPort = xForwardedForClientSrcPort;
return this;
}
/**
* <p>Specifies whether to use the <code>SLB-ID</code> header to retrieve the ID of the CLB instance. Valid values:</p>
* <ul>
* <li><strong>on</strong>: yes</li>
* <li><strong>off</strong>: no</li>
* </ul>
*
* <strong>example:</strong>
* <p>on</p>
*/
public Builder xForwardedForSLBID(String xForwardedForSLBID) {
this.putQueryParameter("XForwardedFor_SLBID", xForwardedForSLBID);
this.xForwardedForSLBID = xForwardedForSLBID;
return this;
}
/**
* <p>Specifies whether to use the <code>SLB-IP</code> header to retrieve the virtual IP address (VIP) of the client. Valid values:</p>
* <ul>
* <li><strong>on</strong>: yes</li>
* <li><strong>off</strong>: no</li>
* </ul>
*
* <strong>example:</strong>
* <p>on</p>
*/
public Builder xForwardedForSLBIP(String xForwardedForSLBIP) {
this.putQueryParameter("XForwardedFor_SLBIP", xForwardedForSLBIP);
this.xForwardedForSLBIP = xForwardedForSLBIP;
return this;
}
/**
* <p>Specifies whether to use the <code>XForwardedFor_SLBPORT</code> header to retrieve the listener port of the CLB instance. Valid values:</p>
* <ul>
* <li><strong>on</strong></li>
* <li><strong>off</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>off</p>
*/
public Builder xForwardedForSLBPORT(String xForwardedForSLBPORT) {
this.putQueryParameter("XForwardedFor_SLBPORT", xForwardedForSLBPORT);
this.xForwardedForSLBPORT = xForwardedForSLBPORT;
return this;
}
/**
* <p>Specifies whether to use the <code>X-Forwarded-Proto</code> header to retrieve the listener protocol. Valid values:</p>
* <ul>
* <li><strong>on</strong>: yes</li>
* <li><strong>off</strong>: no</li>
* </ul>
*
* <strong>example:</strong>
* <p>on</p>
*/
public Builder xForwardedForProto(String xForwardedForProto) {
this.putQueryParameter("XForwardedFor_proto", xForwardedForProto);
this.xForwardedForProto = xForwardedForProto;
return this;
}
@Override
public CreateLoadBalancerHTTPSListenerRequest build() {
return new CreateLoadBalancerHTTPSListenerRequest(this);
}
}
/**
*
* {@link CreateLoadBalancerHTTPSListenerRequest} extends {@link TeaModel}
*
* <p>CreateLoadBalancerHTTPSListenerRequest</p>
*/
public static class Tag extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private Tag(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
/**
* <p>The tag key of the resource. You can specify up to 20 tag keys.</p>
* <p>The tag key cannot be an empty string. The tag key must be 1 to 64 characters in length and cannot start with <code>aliyun</code> or <code>acs:</code>. The tag key cannot contain <code>http://</code> or <code>https://</code>.</p>
*
* <strong>example:</strong>
* <p>TestKey</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The tag value of the resource. You can specify up to 20 tag values. The tag value cannot be an empty string.</p>
* <p>The tag value can be up to 128 characters in length and cannot start with <code>acs:</code> or <code>aliyun</code>. The tag value cannot contain <code>http://</code> or <code>https://</code>.</p>
*
* <strong>example:</strong>
* <p>TestValue</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateLoadBalancerHTTPSListenerResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateLoadBalancerHTTPSListenerResponse} extends {@link TeaModel}
*
* <p>CreateLoadBalancerHTTPSListenerResponse</p>
*/
public class CreateLoadBalancerHTTPSListenerResponse 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 CreateLoadBalancerHTTPSListenerResponseBody body;
private CreateLoadBalancerHTTPSListenerResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateLoadBalancerHTTPSListenerResponse 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 CreateLoadBalancerHTTPSListenerResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateLoadBalancerHTTPSListenerResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateLoadBalancerHTTPSListenerResponseBody body);
@Override
CreateLoadBalancerHTTPSListenerResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateLoadBalancerHTTPSListenerResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateLoadBalancerHTTPSListenerResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateLoadBalancerHTTPSListenerResponse 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(CreateLoadBalancerHTTPSListenerResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateLoadBalancerHTTPSListenerResponse build() {
return new CreateLoadBalancerHTTPSListenerResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateLoadBalancerHTTPSListenerResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateLoadBalancerHTTPSListenerResponseBody} extends {@link TeaModel}
*
* <p>CreateLoadBalancerHTTPSListenerResponseBody</p>
*/
public class CreateLoadBalancerHTTPSListenerResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private CreateLoadBalancerHTTPSListenerResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static CreateLoadBalancerHTTPSListenerResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public CreateLoadBalancerHTTPSListenerResponseBody build() {
return new CreateLoadBalancerHTTPSListenerResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateLoadBalancerRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateLoadBalancerRequest} extends {@link RequestModel}
*
* <p>CreateLoadBalancerRequest</p>
*/
public class CreateLoadBalancerRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Address")
private String address;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AddressIPVersion")
private String addressIPVersion;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AddressType")
private String addressType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AutoPay")
@Deprecated
private Boolean autoPay;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Bandwidth")
@com.aliyun.core.annotation.Validation(maximum = 5000, minimum = 1)
private Integer bandwidth;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DeleteProtection")
private String deleteProtection;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Duration")
@Deprecated
private Integer duration;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InstanceChargeType")
private String instanceChargeType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InternetChargeType")
private String internetChargeType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("LoadBalancerName")
private String loadBalancerName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("LoadBalancerSpec")
private String loadBalancerSpec;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MasterZoneId")
private String masterZoneId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ModificationProtectionReason")
private String modificationProtectionReason;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ModificationProtectionStatus")
private String modificationProtectionStatus;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PayType")
@Deprecated
private String payType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PricingCycle")
@Deprecated
private String pricingCycle;
@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("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SlaveZoneId")
private String slaveZoneId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Tag")
private java.util.List<Tag> tag;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VSwitchId")
private String vSwitchId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VpcId")
private String vpcId;
private CreateLoadBalancerRequest(Builder builder) {
super(builder);
this.address = builder.address;
this.addressIPVersion = builder.addressIPVersion;
this.addressType = builder.addressType;
this.autoPay = builder.autoPay;
this.bandwidth = builder.bandwidth;
this.clientToken = builder.clientToken;
this.deleteProtection = builder.deleteProtection;
this.duration = builder.duration;
this.instanceChargeType = builder.instanceChargeType;
this.internetChargeType = builder.internetChargeType;
this.loadBalancerName = builder.loadBalancerName;
this.loadBalancerSpec = builder.loadBalancerSpec;
this.masterZoneId = builder.masterZoneId;
this.modificationProtectionReason = builder.modificationProtectionReason;
this.modificationProtectionStatus = builder.modificationProtectionStatus;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.payType = builder.payType;
this.pricingCycle = builder.pricingCycle;
this.regionId = builder.regionId;
this.resourceGroupId = builder.resourceGroupId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.slaveZoneId = builder.slaveZoneId;
this.tag = builder.tag;
this.vSwitchId = builder.vSwitchId;
this.vpcId = builder.vpcId;
}
public static Builder builder() {
return new Builder();
}
public static CreateLoadBalancerRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return address
*/
public String getAddress() {
return this.address;
}
/**
* @return addressIPVersion
*/
public String getAddressIPVersion() {
return this.addressIPVersion;
}
/**
* @return addressType
*/
public String getAddressType() {
return this.addressType;
}
/**
* @return autoPay
*/
public Boolean getAutoPay() {
return this.autoPay;
}
/**
* @return bandwidth
*/
public Integer getBandwidth() {
return this.bandwidth;
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return deleteProtection
*/
public String getDeleteProtection() {
return this.deleteProtection;
}
/**
* @return duration
*/
public Integer getDuration() {
return this.duration;
}
/**
* @return instanceChargeType
*/
public String getInstanceChargeType() {
return this.instanceChargeType;
}
/**
* @return internetChargeType
*/
public String getInternetChargeType() {
return this.internetChargeType;
}
/**
* @return loadBalancerName
*/
public String getLoadBalancerName() {
return this.loadBalancerName;
}
/**
* @return loadBalancerSpec
*/
public String getLoadBalancerSpec() {
return this.loadBalancerSpec;
}
/**
* @return masterZoneId
*/
public String getMasterZoneId() {
return this.masterZoneId;
}
/**
* @return modificationProtectionReason
*/
public String getModificationProtectionReason() {
return this.modificationProtectionReason;
}
/**
* @return modificationProtectionStatus
*/
public String getModificationProtectionStatus() {
return this.modificationProtectionStatus;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return payType
*/
public String getPayType() {
return this.payType;
}
/**
* @return pricingCycle
*/
public String getPricingCycle() {
return this.pricingCycle;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return slaveZoneId
*/
public String getSlaveZoneId() {
return this.slaveZoneId;
}
/**
* @return tag
*/
public java.util.List<Tag> getTag() {
return this.tag;
}
/**
* @return vSwitchId
*/
public String getVSwitchId() {
return this.vSwitchId;
}
/**
* @return vpcId
*/
public String getVpcId() {
return this.vpcId;
}
public static final class Builder extends Request.Builder<CreateLoadBalancerRequest, Builder> {
private String address;
private String addressIPVersion;
private String addressType;
private Boolean autoPay;
private Integer bandwidth;
private String clientToken;
private String deleteProtection;
private Integer duration;
private String instanceChargeType;
private String internetChargeType;
private String loadBalancerName;
private String loadBalancerSpec;
private String masterZoneId;
private String modificationProtectionReason;
private String modificationProtectionStatus;
private String ownerAccount;
private Long ownerId;
private String payType;
private String pricingCycle;
private String regionId;
private String resourceGroupId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String slaveZoneId;
private java.util.List<Tag> tag;
private String vSwitchId;
private String vpcId;
private Builder() {
super();
}
private Builder(CreateLoadBalancerRequest request) {
super(request);
this.address = request.address;
this.addressIPVersion = request.addressIPVersion;
this.addressType = request.addressType;
this.autoPay = request.autoPay;
this.bandwidth = request.bandwidth;
this.clientToken = request.clientToken;
this.deleteProtection = request.deleteProtection;
this.duration = request.duration;
this.instanceChargeType = request.instanceChargeType;
this.internetChargeType = request.internetChargeType;
this.loadBalancerName = request.loadBalancerName;
this.loadBalancerSpec = request.loadBalancerSpec;
this.masterZoneId = request.masterZoneId;
this.modificationProtectionReason = request.modificationProtectionReason;
this.modificationProtectionStatus = request.modificationProtectionStatus;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.payType = request.payType;
this.pricingCycle = request.pricingCycle;
this.regionId = request.regionId;
this.resourceGroupId = request.resourceGroupId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.slaveZoneId = request.slaveZoneId;
this.tag = request.tag;
this.vSwitchId = request.vSwitchId;
this.vpcId = request.vpcId;
}
/**
* <p>The private IP address of the CLB instance. The private IP address must belong to the destination CIDR block of the vSwitch.</p>
*
* <strong>example:</strong>
* <p>192.168.XX.XX</p>
*/
public Builder address(String address) {
this.putQueryParameter("Address", address);
this.address = address;
return this;
}
/**
* <p>The IP version of the CLB instance. Valid values: <strong>ipv4</strong> and <strong>ipv6</strong>.</p>
*
* <strong>example:</strong>
* <p>ipv4</p>
*/
public Builder addressIPVersion(String addressIPVersion) {
this.putQueryParameter("AddressIPVersion", addressIPVersion);
this.addressIPVersion = addressIPVersion;
return this;
}
/**
* <p>The network type of the CLB instance. Valid values:</p>
* <ul>
* <li><strong>internet</strong>: After an Internet-facing CLB instance is created, the system allocates a public IP address to the instance. The CLB instance can forward requests over the Internet.</li>
* <li><strong>intranet</strong>: After an internal-facing CLB instance is created, the system allocates a private IP address to the CLB instance. The CLB instance can forward requests only within the VPC.</li>
* </ul>
*
* <strong>example:</strong>
* <p>internet</p>
*/
public Builder addressType(String addressType) {
this.putQueryParameter("AddressType", addressType);
this.addressType = addressType;
return this;
}
/**
* <p>Specifies whether to automatically pay the subscription fee of the Internet-facing CLB instance. Valid values:</p>
* <ul>
* <li><strong>true</strong>: yes. The CLB instance is created after you call the API operation.</li>
* <li><strong>false</strong> (default): After you call the operation, the order is created but the payment is not completed. You can view pending orders in the console. The CLB instance will not be created until you complete the payment.</li>
* </ul>
* <blockquote>
* <p> This parameter takes effect only for subscription CLB instances created on the Alibaba Cloud China site.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder autoPay(Boolean autoPay) {
this.putQueryParameter("AutoPay", autoPay);
this.autoPay = autoPay;
return this;
}
/**
* <p>The maximum bandwidth of the listener. Unit: Mbit/s.</p>
* <p>Valid values: <strong>1</strong> to <strong>5120</strong>. For a pay-by-bandwidth Internet-facing CLB instance, you can specify a maximum bandwidth for each listener. The sum of the maximum bandwidth of all listeners cannot exceed the maximum bandwidth of the CLB instance.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder bandwidth(Integer bandwidth) {
this.putQueryParameter("Bandwidth", bandwidth);
this.bandwidth = bandwidth;
return this;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests.</p>
* <blockquote>
* <p> If you do not specify this parameter, the system uses the <strong>request ID</strong> as the <strong>client token</strong>. The <strong>request ID</strong> may be different for each request.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>593B0448-D13E-4C56-AC0D-FDF0FDE0E9A3</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>Specifies whether to enable deletion protection for the CLB instance. Valid values:</p>
* <ul>
* <li><strong>on</strong></li>
* <li><strong>off</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>on</p>
*/
public Builder deleteProtection(String deleteProtection) {
this.putQueryParameter("DeleteProtection", deleteProtection);
this.deleteProtection = deleteProtection;
return this;
}
/**
* <p>The subscription duration of the Internet-facing CLB instance. Valid values:</p>
* <ul>
* <li>If <strong>PricingCycle</strong> is set to <strong>month</strong>, the valid values are <strong>1 to 9</strong>.</li>
* <li>If <strong>PricingCycle</strong> is set to <strong>year</strong>, the valid values are <strong>1 to 5</strong>.</li>
* </ul>
* <blockquote>
* <p> This parameter is supported only by subscription instances created on the Alibaba Cloud China site.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder duration(Integer duration) {
this.putQueryParameter("Duration", duration);
this.duration = duration;
return this;
}
/**
* <p>The metering method of the CLB instance. Valid values:</p>
* <ul>
* <li><strong>PayBySpec</strong> (default)</li>
* <li><strong>PayByCLCU</strong></li>
* </ul>
* <blockquote>
* <p> This parameter is supported only by instances created on the Alibaba Cloud China site and only when <strong>PayType</strong> is set to <strong>PayOnDemand</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>PayBySpec</p>
*/
public Builder instanceChargeType(String instanceChargeType) {
this.putQueryParameter("InstanceChargeType", instanceChargeType);
this.instanceChargeType = instanceChargeType;
return this;
}
/**
* <p>The metering method of the Internet-facing CLB instance. Valid values:</p>
* <ul>
* <li><p><strong>paybytraffic</strong> (default): pay-by-data-transfer</p>
* <blockquote>
* <p> If you set InternetChargeType to <strong>paybytraffic</strong>, you do not need to configure the <strong>Bandwidth</strong> parameter. The value of <strong>Bandwidth</strong> does not take effect even if you specify one.</p>
* </blockquote>
* </li>
* <li><p><strong>paybybandwidth</strong>: pay-by-bandwidth</p>
* </li>
* </ul>
* <blockquote>
* <p> If you set <strong>PayType</strong> to <strong>PayOnDemand</strong> and <strong>InstanceChargeType</strong> to <strong>PayByCLCU</strong>, the only valid value for InternetChargeType is <strong>paybytraffic</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>paybytraffic</p>
*/
public Builder internetChargeType(String internetChargeType) {
this.putQueryParameter("InternetChargeType", internetChargeType);
this.internetChargeType = internetChargeType;
return this;
}
/**
* <p>The CLB instance name.</p>
* <p>The name must be 1 to 80 characters in length, and can contain digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.</p>
* <p>If you do not specify this parameter, the system automatically assigns a name to the CLB instance.</p>
*
* <strong>example:</strong>
* <p>lb-bp1o94dp5i6ea****</p>
*/
public Builder loadBalancerName(String loadBalancerName) {
this.putQueryParameter("LoadBalancerName", loadBalancerName);
this.loadBalancerName = loadBalancerName;
return this;
}
/**
* <p>The specification of the CLB instance. Valid values:</p>
* <ul>
* <li><p><strong>slb.s1.small</strong></p>
* </li>
* <li><p><strong>slb.s2.small</strong></p>
* </li>
* <li><p><strong>slb.s2.medium</strong></p>
* </li>
* <li><p><strong>slb.s3.small</strong></p>
* </li>
* <li><p><strong>slb.s3.medium</strong></p>
* </li>
* <li><p><strong>slb.s3.large</strong></p>
* </li>
* </ul>
* <blockquote>
* <p> If you do not specify this parameter, a shared-resource CLB instance is created. Shared-resource CLB instances are no longer available for purchase. Therefore, you must specify this parameter.</p>
* </blockquote>
* <p>If <strong>InstanceChargeType</strong> is set to <strong>PayByCLCU</strong>, this parameter is invalid and you do not need to specify this parameter.</p>
*
* <strong>example:</strong>
* <p>slb.s1.small</p>
*/
public Builder loadBalancerSpec(String loadBalancerSpec) {
this.putQueryParameter("LoadBalancerSpec", loadBalancerSpec);
this.loadBalancerSpec = loadBalancerSpec;
return this;
}
/**
* <p>The ID of the primary zone to which the CLB instance belongs.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/2401683.html">DescribeZone</a> operation to query the primary and secondary zones in the region where you want to create the CLB instance.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou-b</p>
*/
public Builder masterZoneId(String masterZoneId) {
this.putQueryParameter("MasterZoneId", masterZoneId);
this.masterZoneId = masterZoneId;
return this;
}
/**
* <p>The reason for enabling the configuration read-only mode. The reason must be 1 to 80 characters in length. It must start with a letter and can contain letters, digits, periods (.), underscores (_), and hyphens (-).</p>
* <blockquote>
* <p> This parameter takes effect only when <strong>ModificationProtectionStatus</strong> is set to <strong>ConsoleProtection</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>Managed instance</p>
*/
public Builder modificationProtectionReason(String modificationProtectionReason) {
this.putQueryParameter("ModificationProtectionReason", modificationProtectionReason);
this.modificationProtectionReason = modificationProtectionReason;
return this;
}
/**
* <p>Specifies whether to enable the configuration read-only mode. Valid values:</p>
* <ul>
* <li><strong>NonProtection</strong>: disables the configuration read-only mode. After you disable the configuration read-only mode, the value of <strong>ModificationProtectionReason</strong> is cleared.</li>
* <li><strong>ConsoleProtection</strong>: enables the configuration read-only mode.</li>
* </ul>
* <blockquote>
* <p> If you set this parameter to <strong>ConsoleProtection</strong>, you cannot modify instance configurations in the CLB console. However, you can modify instance configurations by calling API operations.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>ConsoleProtection</p>
*/
public Builder modificationProtectionStatus(String modificationProtectionStatus) {
this.putQueryParameter("ModificationProtectionStatus", modificationProtectionStatus);
this.modificationProtectionStatus = modificationProtectionStatus;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The billing method of the CLB instance. Valid values:</p>
* <p><strong>PayOnDemand</strong>: pay-as-you-go.</p>
* <blockquote>
* <p> The Alibaba Cloud International site supports only pay-as-you-go CLB instances.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>PayOnDemand</p>
*/
public Builder payType(String payType) {
this.putQueryParameter("PayType", payType);
this.payType = payType;
return this;
}
/**
* <p>The billing cycle of the subscription Internet-facing CLB instance. Valid values:</p>
* <ul>
* <li><strong>month</strong></li>
* <li><strong>year</strong></li>
* </ul>
* <blockquote>
* <p> This parameter is supported only by subscription instances created on the Alibaba Cloud China site.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>month</p>
*/
public Builder pricingCycle(String pricingCycle) {
this.putQueryParameter("PricingCycle", pricingCycle);
this.pricingCycle = pricingCycle;
return this;
}
/**
* <p>The region ID of the CLB instance.</p>
* <p>You can call the <a href="~~DescribeRegions~~">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>The ID of the resource group.</p>
*
* <strong>example:</strong>
* <p>rg-atstuj3rtopt****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The ID of the secondary zone to which the CLB instance belongs.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/2401683.html">DescribeZone</a> operation to query the primary and secondary zones in the region where you want to create the CLB instance.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou-d</p>
*/
public Builder slaveZoneId(String slaveZoneId) {
this.putQueryParameter("SlaveZoneId", slaveZoneId);
this.slaveZoneId = slaveZoneId;
return this;
}
/**
* <p>The tags.</p>
*/
public Builder tag(java.util.List<Tag> tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
/**
* <p>The ID of the vSwitch to which the CLB instance belongs.</p>
* <p>If you want to deploy the CLB instance in a VPC, this parameter is required. If this parameter is specified, <strong>AddessType</strong> is set to <strong>intranet</strong> by default.</p>
*
* <strong>example:</strong>
* <p>vsw-bp12mw1f8k3jgy****</p>
*/
public Builder vSwitchId(String vSwitchId) {
this.putQueryParameter("VSwitchId", vSwitchId);
this.vSwitchId = vSwitchId;
return this;
}
/**
* <p>The ID of the virtual private cloud (VPC) to which the CLB instance belongs.</p>
*
* <strong>example:</strong>
* <p>vpc-bp1aevy8sofi8mh1****</p>
*/
public Builder vpcId(String vpcId) {
this.putQueryParameter("VpcId", vpcId);
this.vpcId = vpcId;
return this;
}
@Override
public CreateLoadBalancerRequest build() {
return new CreateLoadBalancerRequest(this);
}
}
/**
*
* {@link CreateLoadBalancerRequest} extends {@link TeaModel}
*
* <p>CreateLoadBalancerRequest</p>
*/
public static class Tag extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private Tag(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
/**
* <p>The tag key of the bastion host. Valid values of N: <strong>1 to 20</strong>. The tag key cannot be an empty string.</p>
* <p>The tag key can be at most 64 characters in length, and cannot contain <code>http://</code> or <code>https://</code>. It must not start with <code>aliyun</code> or <code>acs:</code>.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The tag value. Valid values of N: <strong>1 to 20</strong>. The tag value can be an empty string.</p>
* <p>The tag value can be up to 128 characters in length and cannot start with <code>acs:</code> or <code>aliyun</code>. The tag value cannot contain <code>http://</code> or <code>https://</code>.</p>
*
* <strong>example:</strong>
* <p>value</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateLoadBalancerResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateLoadBalancerResponse} extends {@link TeaModel}
*
* <p>CreateLoadBalancerResponse</p>
*/
public class CreateLoadBalancerResponse 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 CreateLoadBalancerResponseBody body;
private CreateLoadBalancerResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateLoadBalancerResponse 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 CreateLoadBalancerResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateLoadBalancerResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateLoadBalancerResponseBody body);
@Override
CreateLoadBalancerResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateLoadBalancerResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateLoadBalancerResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateLoadBalancerResponse 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(CreateLoadBalancerResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateLoadBalancerResponse build() {
return new CreateLoadBalancerResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateLoadBalancerResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateLoadBalancerResponseBody} extends {@link TeaModel}
*
* <p>CreateLoadBalancerResponseBody</p>
*/
public class CreateLoadBalancerResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Address")
private String address;
@com.aliyun.core.annotation.NameInMap("AddressIPVersion")
private String addressIPVersion;
@com.aliyun.core.annotation.NameInMap("LoadBalancerId")
private String loadBalancerId;
@com.aliyun.core.annotation.NameInMap("LoadBalancerName")
private String loadBalancerName;
@com.aliyun.core.annotation.NameInMap("NetworkType")
private String networkType;
@com.aliyun.core.annotation.NameInMap("OrderId")
private Long orderId;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
@com.aliyun.core.annotation.NameInMap("VSwitchId")
private String vSwitchId;
@com.aliyun.core.annotation.NameInMap("VpcId")
private String vpcId;
private CreateLoadBalancerResponseBody(Builder builder) {
this.address = builder.address;
this.addressIPVersion = builder.addressIPVersion;
this.loadBalancerId = builder.loadBalancerId;
this.loadBalancerName = builder.loadBalancerName;
this.networkType = builder.networkType;
this.orderId = builder.orderId;
this.requestId = builder.requestId;
this.resourceGroupId = builder.resourceGroupId;
this.vSwitchId = builder.vSwitchId;
this.vpcId = builder.vpcId;
}
public static Builder builder() {
return new Builder();
}
public static CreateLoadBalancerResponseBody create() {
return builder().build();
}
/**
* @return address
*/
public String getAddress() {
return this.address;
}
/**
* @return addressIPVersion
*/
public String getAddressIPVersion() {
return this.addressIPVersion;
}
/**
* @return loadBalancerId
*/
public String getLoadBalancerId() {
return this.loadBalancerId;
}
/**
* @return loadBalancerName
*/
public String getLoadBalancerName() {
return this.loadBalancerName;
}
/**
* @return networkType
*/
public String getNetworkType() {
return this.networkType;
}
/**
* @return orderId
*/
public Long getOrderId() {
return this.orderId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return vSwitchId
*/
public String getVSwitchId() {
return this.vSwitchId;
}
/**
* @return vpcId
*/
public String getVpcId() {
return this.vpcId;
}
public static final class Builder {
private String address;
private String addressIPVersion;
private String loadBalancerId;
private String loadBalancerName;
private String networkType;
private Long orderId;
private String requestId;
private String resourceGroupId;
private String vSwitchId;
private String vpcId;
/**
* <p>The IP address that is allocated to the CLB instance.</p>
*
* <strong>example:</strong>
* <p>42.XX.XX.6</p>
*/
public Builder address(String address) {
this.address = address;
return this;
}
/**
* <p>The IP version that is used by the CLB instance.</p>
*
* <strong>example:</strong>
* <p>ipv4</p>
*/
public Builder addressIPVersion(String addressIPVersion) {
this.addressIPVersion = addressIPVersion;
return this;
}
/**
* <p>The CLB instance ID.</p>
*
* <strong>example:</strong>
* <p>lb-hddhfjg****</p>
*/
public Builder loadBalancerId(String loadBalancerId) {
this.loadBalancerId = loadBalancerId;
return this;
}
/**
* <p>The CLB instance name.</p>
*
* <strong>example:</strong>
* <p>lb-bp1o94dp5i6ea****</p>
*/
public Builder loadBalancerName(String loadBalancerName) {
this.loadBalancerName = loadBalancerName;
return this;
}
/**
* <p>The network type of the CLB instance. Valid values:</p>
* <ul>
* <li><strong>vpc</strong></li>
* <li><strong>classic</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>classic</p>
*/
public Builder networkType(String networkType) {
this.networkType = networkType;
return this;
}
/**
* <p>The order ID of the subscription CLB instance.</p>
*
* <strong>example:</strong>
* <p>20212961978****</p>
*/
public Builder orderId(Long orderId) {
this.orderId = orderId;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>365F4154-92F6-4AE4-92F8-7FF34B540710</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The ID of the resource group to which the CLB instance belongs.</p>
*
* <strong>example:</strong>
* <p>rg-atstuj3rto****</p>
*/
public Builder resourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* <p>The ID of the vSwitch to which the CLB instance belongs.</p>
*
* <strong>example:</strong>
* <p>vsw-255ecr****</p>
*/
public Builder vSwitchId(String vSwitchId) {
this.vSwitchId = vSwitchId;
return this;
}
/**
* <p>The ID of the VPC to which the CLB instance belongs.</p>
*
* <strong>example:</strong>
* <p>vpc-25dvzy9****</p>
*/
public Builder vpcId(String vpcId) {
this.vpcId = vpcId;
return this;
}
public CreateLoadBalancerResponseBody build() {
return new CreateLoadBalancerResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateLoadBalancerTCPListenerRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateLoadBalancerTCPListenerRequest} extends {@link RequestModel}
*
* <p>CreateLoadBalancerTCPListenerRequest</p>
*/
public class CreateLoadBalancerTCPListenerRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AclId")
private String aclId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AclStatus")
private String aclStatus;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AclType")
private String aclType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BackendServerPort")
@com.aliyun.core.annotation.Validation(maximum = 65535, minimum = 1)
private Integer backendServerPort;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Bandwidth")
@com.aliyun.core.annotation.Validation(required = true, maximum = 5120)
private Integer bandwidth;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ConnectionDrain")
private String connectionDrain;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ConnectionDrainTimeout")
private Integer connectionDrainTimeout;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EstablishedTimeout")
@com.aliyun.core.annotation.Validation(maximum = 900, minimum = 10)
private Integer establishedTimeout;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckConnectPort")
@com.aliyun.core.annotation.Validation(maximum = 65535, minimum = 1)
private Integer healthCheckConnectPort;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckConnectTimeout")
@com.aliyun.core.annotation.Validation(maximum = 300, minimum = 1)
private Integer healthCheckConnectTimeout;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckDomain")
private String healthCheckDomain;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckHttpCode")
private String healthCheckHttpCode;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckSwitch")
private String healthCheckSwitch;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckType")
private String healthCheckType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckURI")
private String healthCheckURI;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthyThreshold")
@com.aliyun.core.annotation.Validation(maximum = 10, minimum = 1)
private Integer healthyThreshold;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ListenerPort")
@com.aliyun.core.annotation.Validation(required = true, maximum = 65535)
private Integer listenerPort;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("LoadBalancerId")
@com.aliyun.core.annotation.Validation(required = true)
private String loadBalancerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MasterSlaveServerGroupId")
private String masterSlaveServerGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PersistenceTimeout")
@com.aliyun.core.annotation.Validation(maximum = 3600)
private Integer persistenceTimeout;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ProxyProtocolV2Enabled")
private Boolean proxyProtocolV2Enabled;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Scheduler")
private String scheduler;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Tag")
private java.util.List<Tag> tag;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("UnhealthyThreshold")
@com.aliyun.core.annotation.Validation(maximum = 10, minimum = 1)
private Integer unhealthyThreshold;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VServerGroupId")
private String vServerGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("healthCheckInterval")
@com.aliyun.core.annotation.Validation(maximum = 50, minimum = 1)
private Integer healthCheckInterval;
private CreateLoadBalancerTCPListenerRequest(Builder builder) {
super(builder);
this.aclId = builder.aclId;
this.aclStatus = builder.aclStatus;
this.aclType = builder.aclType;
this.backendServerPort = builder.backendServerPort;
this.bandwidth = builder.bandwidth;
this.connectionDrain = builder.connectionDrain;
this.connectionDrainTimeout = builder.connectionDrainTimeout;
this.description = builder.description;
this.establishedTimeout = builder.establishedTimeout;
this.healthCheckConnectPort = builder.healthCheckConnectPort;
this.healthCheckConnectTimeout = builder.healthCheckConnectTimeout;
this.healthCheckDomain = builder.healthCheckDomain;
this.healthCheckHttpCode = builder.healthCheckHttpCode;
this.healthCheckSwitch = builder.healthCheckSwitch;
this.healthCheckType = builder.healthCheckType;
this.healthCheckURI = builder.healthCheckURI;
this.healthyThreshold = builder.healthyThreshold;
this.listenerPort = builder.listenerPort;
this.loadBalancerId = builder.loadBalancerId;
this.masterSlaveServerGroupId = builder.masterSlaveServerGroupId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.persistenceTimeout = builder.persistenceTimeout;
this.proxyProtocolV2Enabled = builder.proxyProtocolV2Enabled;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.scheduler = builder.scheduler;
this.tag = builder.tag;
this.unhealthyThreshold = builder.unhealthyThreshold;
this.vServerGroupId = builder.vServerGroupId;
this.healthCheckInterval = builder.healthCheckInterval;
}
public static Builder builder() {
return new Builder();
}
public static CreateLoadBalancerTCPListenerRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return aclId
*/
public String getAclId() {
return this.aclId;
}
/**
* @return aclStatus
*/
public String getAclStatus() {
return this.aclStatus;
}
/**
* @return aclType
*/
public String getAclType() {
return this.aclType;
}
/**
* @return backendServerPort
*/
public Integer getBackendServerPort() {
return this.backendServerPort;
}
/**
* @return bandwidth
*/
public Integer getBandwidth() {
return this.bandwidth;
}
/**
* @return connectionDrain
*/
public String getConnectionDrain() {
return this.connectionDrain;
}
/**
* @return connectionDrainTimeout
*/
public Integer getConnectionDrainTimeout() {
return this.connectionDrainTimeout;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return establishedTimeout
*/
public Integer getEstablishedTimeout() {
return this.establishedTimeout;
}
/**
* @return healthCheckConnectPort
*/
public Integer getHealthCheckConnectPort() {
return this.healthCheckConnectPort;
}
/**
* @return healthCheckConnectTimeout
*/
public Integer getHealthCheckConnectTimeout() {
return this.healthCheckConnectTimeout;
}
/**
* @return healthCheckDomain
*/
public String getHealthCheckDomain() {
return this.healthCheckDomain;
}
/**
* @return healthCheckHttpCode
*/
public String getHealthCheckHttpCode() {
return this.healthCheckHttpCode;
}
/**
* @return healthCheckSwitch
*/
public String getHealthCheckSwitch() {
return this.healthCheckSwitch;
}
/**
* @return healthCheckType
*/
public String getHealthCheckType() {
return this.healthCheckType;
}
/**
* @return healthCheckURI
*/
public String getHealthCheckURI() {
return this.healthCheckURI;
}
/**
* @return healthyThreshold
*/
public Integer getHealthyThreshold() {
return this.healthyThreshold;
}
/**
* @return listenerPort
*/
public Integer getListenerPort() {
return this.listenerPort;
}
/**
* @return loadBalancerId
*/
public String getLoadBalancerId() {
return this.loadBalancerId;
}
/**
* @return masterSlaveServerGroupId
*/
public String getMasterSlaveServerGroupId() {
return this.masterSlaveServerGroupId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return persistenceTimeout
*/
public Integer getPersistenceTimeout() {
return this.persistenceTimeout;
}
/**
* @return proxyProtocolV2Enabled
*/
public Boolean getProxyProtocolV2Enabled() {
return this.proxyProtocolV2Enabled;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return scheduler
*/
public String getScheduler() {
return this.scheduler;
}
/**
* @return tag
*/
public java.util.List<Tag> getTag() {
return this.tag;
}
/**
* @return unhealthyThreshold
*/
public Integer getUnhealthyThreshold() {
return this.unhealthyThreshold;
}
/**
* @return vServerGroupId
*/
public String getVServerGroupId() {
return this.vServerGroupId;
}
/**
* @return healthCheckInterval
*/
public Integer getHealthCheckInterval() {
return this.healthCheckInterval;
}
public static final class Builder extends Request.Builder<CreateLoadBalancerTCPListenerRequest, Builder> {
private String aclId;
private String aclStatus;
private String aclType;
private Integer backendServerPort;
private Integer bandwidth;
private String connectionDrain;
private Integer connectionDrainTimeout;
private String description;
private Integer establishedTimeout;
private Integer healthCheckConnectPort;
private Integer healthCheckConnectTimeout;
private String healthCheckDomain;
private String healthCheckHttpCode;
private String healthCheckSwitch;
private String healthCheckType;
private String healthCheckURI;
private Integer healthyThreshold;
private Integer listenerPort;
private String loadBalancerId;
private String masterSlaveServerGroupId;
private String ownerAccount;
private Long ownerId;
private Integer persistenceTimeout;
private Boolean proxyProtocolV2Enabled;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String scheduler;
private java.util.List<Tag> tag;
private Integer unhealthyThreshold;
private String vServerGroupId;
private Integer healthCheckInterval;
private Builder() {
super();
}
private Builder(CreateLoadBalancerTCPListenerRequest request) {
super(request);
this.aclId = request.aclId;
this.aclStatus = request.aclStatus;
this.aclType = request.aclType;
this.backendServerPort = request.backendServerPort;
this.bandwidth = request.bandwidth;
this.connectionDrain = request.connectionDrain;
this.connectionDrainTimeout = request.connectionDrainTimeout;
this.description = request.description;
this.establishedTimeout = request.establishedTimeout;
this.healthCheckConnectPort = request.healthCheckConnectPort;
this.healthCheckConnectTimeout = request.healthCheckConnectTimeout;
this.healthCheckDomain = request.healthCheckDomain;
this.healthCheckHttpCode = request.healthCheckHttpCode;
this.healthCheckSwitch = request.healthCheckSwitch;
this.healthCheckType = request.healthCheckType;
this.healthCheckURI = request.healthCheckURI;
this.healthyThreshold = request.healthyThreshold;
this.listenerPort = request.listenerPort;
this.loadBalancerId = request.loadBalancerId;
this.masterSlaveServerGroupId = request.masterSlaveServerGroupId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.persistenceTimeout = request.persistenceTimeout;
this.proxyProtocolV2Enabled = request.proxyProtocolV2Enabled;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.scheduler = request.scheduler;
this.tag = request.tag;
this.unhealthyThreshold = request.unhealthyThreshold;
this.vServerGroupId = request.vServerGroupId;
this.healthCheckInterval = request.healthCheckInterval;
}
/**
* <p>The ID of the network ACL that is associated with the listener.</p>
* <blockquote>
* <p> If <strong>AclStatus</strong> is set to <strong>on</strong>, this parameter is required.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>1323</p>
*/
public Builder aclId(String aclId) {
this.putQueryParameter("AclId", aclId);
this.aclId = aclId;
return this;
}
/**
* <p>Specifies whether to enable access control. Valid values:</p>
* <ul>
* <li><strong>on</strong>: yes</li>
* <li><strong>off</strong> (default): no</li>
* </ul>
*
* <strong>example:</strong>
* <p>off</p>
*/
public Builder aclStatus(String aclStatus) {
this.putQueryParameter("AclStatus", aclStatus);
this.aclStatus = aclStatus;
return this;
}
/**
* <p>The type of the ACL. Valid values:</p>
* <ul>
* <li><p><strong>white</strong>: a whitelist. Only requests from the IP addresses or CIDR blocks in the network ACL are forwarded. Whitelists apply to scenarios where you want to allow only specific IP addresses to access an application.</p>
* <p>Your service may be adversely affected if the whitelist is not properly configured.</p>
* <p>If a whitelist is configured, only requests from IP addresses that are added to the whitelist are forwarded by the listener. If a whitelist is configured but no IP address is added to the whitelist, the listener forwards all requests.</p>
* </li>
* <li><p><strong>black</strong>: a blacklist. All requests from the IP addresses or CIDR blocks in the ACL are rejected. Blacklists apply to scenarios where you want to block access from specified IP addresses to an application.</p>
* <p>If a blacklist is configured for a listener but no IP address is added to the blacklist, the listener forwards all requests.</p>
* </li>
* </ul>
* <blockquote>
* <p> If <strong>AclStatus</strong> is set to <strong>on</strong>, this parameter is required.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>black</p>
*/
public Builder aclType(String aclType) {
this.putQueryParameter("AclType", aclType);
this.aclType = aclType;
return this;
}
/**
* <p>The backend port used by the CLB instance.</p>
* <p>Valid values: <strong>1</strong> to <strong>65535</strong>.</p>
* <p>If the <strong>VServerGroupId</strong> parameter is not set, this parameter is required.</p>
*
* <strong>example:</strong>
* <p>80</p>
*/
public Builder backendServerPort(Integer backendServerPort) {
this.putQueryParameter("BackendServerPort", backendServerPort);
this.backendServerPort = backendServerPort;
return this;
}
/**
* <p>The maximum bandwidth of the listener. Unit: Mbit/s. Valid values:</p>
* <ul>
* <li><strong>-1</strong>: For a pay-by-data-transfer Internet-facing CLB instance, this value can be set to -1, which specifies unlimited bandwidth.</li>
* <li><strong>1</strong> to <strong>5120</strong>: For a pay-by-bandwidth Internet-facing CLB instance, you can specify the maximum bandwidth of each listener. The sum of the maximum bandwidth values that you set for all listeners cannot exceed the maximum bandwidth of the CLB instance.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>-1</p>
*/
public Builder bandwidth(Integer bandwidth) {
this.putQueryParameter("Bandwidth", bandwidth);
this.bandwidth = bandwidth;
return this;
}
/**
* <p>Specifies whether to enable connection draining. Valid values:</p>
* <ul>
* <li><strong>on</strong>: yes</li>
* <li><strong>off</strong>: no</li>
* </ul>
*
* <strong>example:</strong>
* <p>off</p>
*/
public Builder connectionDrain(String connectionDrain) {
this.putQueryParameter("ConnectionDrain", connectionDrain);
this.connectionDrain = connectionDrain;
return this;
}
/**
* <p>The timeout period of connection draining. Unit: seconds.</p>
* <p>Valid values: <strong>10</strong> to <strong>900</strong>.</p>
* <blockquote>
* <p> This parameter is required if <strong>ConnectionDrain</strong> is set to <strong>on</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>300</p>
*/
public Builder connectionDrainTimeout(Integer connectionDrainTimeout) {
this.putQueryParameter("ConnectionDrainTimeout", connectionDrainTimeout);
this.connectionDrainTimeout = connectionDrainTimeout;
return this;
}
/**
* <p>The name of the listener.</p>
* <p>The name must be 1 to 256 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_).</p>
*
* <strong>example:</strong>
* <p>tcp_80</p>
*/
public Builder description(String description) {
this.putQueryParameter("Description", description);
this.description = description;
return this;
}
/**
* <p>The timeout period of a connection. Unit: seconds.</p>
* <p>Valid values: <strong>10</strong> to <strong>900</strong>.</p>
*
* <strong>example:</strong>
* <p>500</p>
*/
public Builder establishedTimeout(Integer establishedTimeout) {
this.putQueryParameter("EstablishedTimeout", establishedTimeout);
this.establishedTimeout = establishedTimeout;
return this;
}
/**
* <p>The port that is used for health checks.</p>
* <p>Valid values: <strong>1</strong> to <strong>65535</strong>.</p>
* <p>If this parameter is not set, the backend port specified by <strong>BackendServerPort</strong> is used for health checks.</p>
*
* <strong>example:</strong>
* <p>80</p>
*/
public Builder healthCheckConnectPort(Integer healthCheckConnectPort) {
this.putQueryParameter("HealthCheckConnectPort", healthCheckConnectPort);
this.healthCheckConnectPort = healthCheckConnectPort;
return this;
}
/**
* <p>The maximum timeout period of a health check response. Unit: seconds.</p>
* <p>Valid values: <strong>1</strong> to <strong>300</strong>.</p>
* <p>Default value: <strong>5</strong>.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
public Builder healthCheckConnectTimeout(Integer healthCheckConnectTimeout) {
this.putQueryParameter("HealthCheckConnectTimeout", healthCheckConnectTimeout);
this.healthCheckConnectTimeout = healthCheckConnectTimeout;
return this;
}
/**
* <p>The domain name that you want to use for health checks. Valid values:</p>
* <ul>
* <li><strong>$_ip</strong>: the private IP address of a backend server. If you do not set the HealthCheckDomain parameter or set the parameter to $_ip, the CLB instance uses the private IP address of each backend server for health checks.</li>
* <li><strong>domain</strong>: The domain name must be 1 to 80 characters in length, and can contain letters, digits, periods (.), and hyphens (-).</li>
* </ul>
*
* <strong>example:</strong>
* <p>172.XX.XX.6</p>
*/
public Builder healthCheckDomain(String healthCheckDomain) {
this.putQueryParameter("HealthCheckDomain", healthCheckDomain);
this.healthCheckDomain = healthCheckDomain;
return this;
}
/**
* <p>The HTTP status code for a successful health check. Separate multiple HTTP status codes with commas (,). Valid values:</p>
* <ul>
* <li><strong>http_2xx</strong>(default)</li>
* <li><strong>http_3xx</strong></li>
* <li><strong>http_4xx</strong></li>
* <li><strong>http_5xx</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>http_2xx,http_3xx</p>
*/
public Builder healthCheckHttpCode(String healthCheckHttpCode) {
this.putQueryParameter("HealthCheckHttpCode", healthCheckHttpCode);
this.healthCheckHttpCode = healthCheckHttpCode;
return this;
}
/**
* <p>Specifies whether to enable the health check feature. Valid values:</p>
* <ul>
* <li><strong>on</strong> (default): yes</li>
* <li><strong>off</strong>: no</li>
* </ul>
*
* <strong>example:</strong>
* <p>on</p>
*/
public Builder healthCheckSwitch(String healthCheckSwitch) {
this.putQueryParameter("HealthCheckSwitch", healthCheckSwitch);
this.healthCheckSwitch = healthCheckSwitch;
return this;
}
/**
* <p>The type of health checks. Valid values:</p>
* <ul>
* <li><strong>tcp</strong> (default)</li>
* <li><strong>http</strong></li>
* </ul>
*
* <strong>example:</strong>
* <p>tcp</p>
*/
public Builder healthCheckType(String healthCheckType) {
this.putQueryParameter("HealthCheckType", healthCheckType);
this.healthCheckType = healthCheckType;
return this;
}
/**
* <p>The URI that is used for health checks. The URI must be 1 to 80 characters in length, and can contain only digits, letters, hyphens (-), forward slashes (/), periods (.), percent signs (%), number signs (#), and ampersands (&). The URI must start with a forward slash (/) but cannot be a single forward slash (/).</p>
* <p>You can set this parameter when the TCP listener requires HTTP health checks. If you do not set this parameter, TCP health checks are performed.</p>
*
* <strong>example:</strong>
* <p>/test/index.html</p>
*/
public Builder healthCheckURI(String healthCheckURI) {
this.putQueryParameter("HealthCheckURI", healthCheckURI);
this.healthCheckURI = healthCheckURI;
return this;
}
/**
* <p>The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. In this case, the health status is changed from <strong>fail</strong> to <strong>success</strong>.</p>
* <p>Valid values: <strong>2</strong> to <strong>10</strong>.</p>
*
* <strong>example:</strong>
* <p>4</p>
*/
public Builder healthyThreshold(Integer healthyThreshold) {
this.putQueryParameter("HealthyThreshold", healthyThreshold);
this.healthyThreshold = healthyThreshold;
return this;
}
/**
* <p>The frontend port used by the CLB instance.</p>
* <p>Valid values: <strong>1</strong> to <strong>65535</strong>.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>80</p>
*/
public Builder listenerPort(Integer listenerPort) {
this.putQueryParameter("ListenerPort", listenerPort);
this.listenerPort = listenerPort;
return this;
}
/**
* <p>The ID of the CLB instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>lb-bp1b6c719dfa08ex****</p>
*/
public Builder loadBalancerId(String loadBalancerId) {
this.putQueryParameter("LoadBalancerId", loadBalancerId);
this.loadBalancerId = loadBalancerId;
return this;
}
/**
* <p>The ID of the primary/secondary server group.</p>
* <blockquote>
* <p> You cannot set both VServerGroupId and MasterSlaveServerGroupId.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>rsp-0bfucw****</p>
*/
public Builder masterSlaveServerGroupId(String masterSlaveServerGroupId) {
this.putQueryParameter("MasterSlaveServerGroupId", masterSlaveServerGroupId);
this.masterSlaveServerGroupId = masterSlaveServerGroupId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The timeout period of session persistence. Unit: seconds.</p>
* <p>Valid values: <strong>0 to 3600</strong>.</p>
* <p>Default value: <strong>0</strong>. If the default value is used, the system disables session persistence.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder persistenceTimeout(Integer persistenceTimeout) {
this.putQueryParameter("PersistenceTimeout", persistenceTimeout);
this.persistenceTimeout = persistenceTimeout;
return this;
}
/**
* <p>Specifies whether to use the Proxy protocol to pass client IP addresses to backend servers. Valid values:</p>
* <ul>
* <li><strong>true</strong>: yes</li>
* <li><strong>false</strong> (default): no</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder proxyProtocolV2Enabled(Boolean proxyProtocolV2Enabled) {
this.putQueryParameter("ProxyProtocolV2Enabled", proxyProtocolV2Enabled);
this.proxyProtocolV2Enabled = proxyProtocolV2Enabled;
return this;
}
/**
* <p>The ID of the region where the Classic Load Balancer (CLB) instance is deployed.</p>
* <p>You can query the region ID from the <a href="https://help.aliyun.com/document_detail/40654.html">Regions and zones</a> list or by calling the <a href="https://help.aliyun.com/document_detail/25609.html">DescribeRegions</a> operation.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The routing algorithm. Valid values:</p>
* <ul>
* <li><strong>wrr</strong> (default): Backend servers with higher weights receive more requests than backend servers with lower weights.</li>
* <li><strong>rr</strong>: Requests are distributed to backend servers in sequence.</li>
* <li><strong>sch</strong>: specifies consistent hashing that is based on source IP addresses. Requests from the same source IP address are distributed to the same backend server.</li>
* <li><strong>tch</strong>: specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are distributed to the same backend server.</li>
* </ul>
* <blockquote>
* <p> Only high-performance CLB instances support the <strong>sch</strong> and <strong>tch</strong> consistent hashing algorithms.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>wrr</p>
*/
public Builder scheduler(String scheduler) {
this.putQueryParameter("Scheduler", scheduler);
this.scheduler = scheduler;
return this;
}
/**
* <p>The tags.</p>
*/
public Builder tag(java.util.List<Tag> tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
/**
* <p>The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. In this case, the health status is changed from <strong>success</strong> to <strong>fail</strong>.</p>
* <p>Valid values: <strong>2</strong> to <strong>10</strong>.</p>
*
* <strong>example:</strong>
* <p>4</p>
*/
public Builder unhealthyThreshold(Integer unhealthyThreshold) {
this.putQueryParameter("UnhealthyThreshold", unhealthyThreshold);
this.unhealthyThreshold = unhealthyThreshold;
return this;
}
/**
* <p>The ID of the vServer group.</p>
*
* <strong>example:</strong>
* <p>rsp-cige6j****</p>
*/
public Builder vServerGroupId(String vServerGroupId) {
this.putQueryParameter("VServerGroupId", vServerGroupId);
this.vServerGroupId = vServerGroupId;
return this;
}
/**
* <p>The interval between two consecutive health checks. Unit: seconds.</p>
* <p>Valid values: <strong>1</strong> to <strong>50</strong>.</p>
*
* <strong>example:</strong>
* <p>3</p>
*/
public Builder healthCheckInterval(Integer healthCheckInterval) {
this.putQueryParameter("healthCheckInterval", healthCheckInterval);
this.healthCheckInterval = healthCheckInterval;
return this;
}
@Override
public CreateLoadBalancerTCPListenerRequest build() {
return new CreateLoadBalancerTCPListenerRequest(this);
}
}
/**
*
* {@link CreateLoadBalancerTCPListenerRequest} extends {@link TeaModel}
*
* <p>CreateLoadBalancerTCPListenerRequest</p>
*/
public static class Tag extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private Tag(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
/**
* <p>The key of the tag. You can specify up to 20 tag keys. The tag key cannot be an empty string.</p>
* <p>The tag key must be 1 to 64 characters in length and cannot start with <code>aliyun</code> or <code>acs:</code>. It cannot contain <code>http://</code> or <code>https://</code>.</p>
*
* <strong>example:</strong>
* <p>TestKey</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The value of the tag. You can specify up to 20 tag values. The tag value can be an empty string.</p>
* <p>The tag value can be at most 128 characters in length and cannot start with <code>acs:</code> or <code>aliyun</code>. It cannot contain <code>http://</code> or <code>https://</code>.</p>
*
* <strong>example:</strong>
* <p>TestValue</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateLoadBalancerTCPListenerResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateLoadBalancerTCPListenerResponse} extends {@link TeaModel}
*
* <p>CreateLoadBalancerTCPListenerResponse</p>
*/
public class CreateLoadBalancerTCPListenerResponse 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 CreateLoadBalancerTCPListenerResponseBody body;
private CreateLoadBalancerTCPListenerResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateLoadBalancerTCPListenerResponse 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 CreateLoadBalancerTCPListenerResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateLoadBalancerTCPListenerResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateLoadBalancerTCPListenerResponseBody body);
@Override
CreateLoadBalancerTCPListenerResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateLoadBalancerTCPListenerResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateLoadBalancerTCPListenerResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateLoadBalancerTCPListenerResponse 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(CreateLoadBalancerTCPListenerResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateLoadBalancerTCPListenerResponse build() {
return new CreateLoadBalancerTCPListenerResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateLoadBalancerTCPListenerResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateLoadBalancerTCPListenerResponseBody} extends {@link TeaModel}
*
* <p>CreateLoadBalancerTCPListenerResponseBody</p>
*/
public class CreateLoadBalancerTCPListenerResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private CreateLoadBalancerTCPListenerResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static CreateLoadBalancerTCPListenerResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public CreateLoadBalancerTCPListenerResponseBody build() {
return new CreateLoadBalancerTCPListenerResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateLoadBalancerUDPListenerRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateLoadBalancerUDPListenerRequest} extends {@link RequestModel}
*
* <p>CreateLoadBalancerUDPListenerRequest</p>
*/
public class CreateLoadBalancerUDPListenerRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AclId")
private String aclId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AclStatus")
private String aclStatus;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AclType")
private String aclType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BackendServerPort")
@com.aliyun.core.annotation.Validation(maximum = 65535, minimum = 1)
private Integer backendServerPort;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Bandwidth")
@com.aliyun.core.annotation.Validation(required = true, maximum = 5120)
private Integer bandwidth;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckConnectPort")
@com.aliyun.core.annotation.Validation(maximum = 65535, minimum = 1)
private Integer healthCheckConnectPort;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckConnectTimeout")
@com.aliyun.core.annotation.Validation(maximum = 300, minimum = 1)
private Integer healthCheckConnectTimeout;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthCheckSwitch")
private String healthCheckSwitch;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HealthyThreshold")
@com.aliyun.core.annotation.Validation(maximum = 10, minimum = 1)
private Integer healthyThreshold;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ListenerPort")
@com.aliyun.core.annotation.Validation(required = true, maximum = 65535)
private Integer listenerPort;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("LoadBalancerId")
@com.aliyun.core.annotation.Validation(required = true)
private String loadBalancerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MasterSlaveServerGroupId")
private String masterSlaveServerGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ProxyProtocolV2Enabled")
private Boolean proxyProtocolV2Enabled;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Scheduler")
private String scheduler;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Tag")
private java.util.List<Tag> tag;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("UnhealthyThreshold")
@com.aliyun.core.annotation.Validation(maximum = 10, minimum = 1)
private Integer unhealthyThreshold;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VServerGroupId")
private String vServerGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("healthCheckExp")
private String healthCheckExp;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("healthCheckInterval")
@com.aliyun.core.annotation.Validation(maximum = 50, minimum = 1)
private Integer healthCheckInterval;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("healthCheckReq")
private String healthCheckReq;
private CreateLoadBalancerUDPListenerRequest(Builder builder) {
super(builder);
this.aclId = builder.aclId;
this.aclStatus = builder.aclStatus;
this.aclType = builder.aclType;
this.backendServerPort = builder.backendServerPort;
this.bandwidth = builder.bandwidth;
this.description = builder.description;
this.healthCheckConnectPort = builder.healthCheckConnectPort;
this.healthCheckConnectTimeout = builder.healthCheckConnectTimeout;
this.healthCheckSwitch = builder.healthCheckSwitch;
this.healthyThreshold = builder.healthyThreshold;
this.listenerPort = builder.listenerPort;
this.loadBalancerId = builder.loadBalancerId;
this.masterSlaveServerGroupId = builder.masterSlaveServerGroupId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.proxyProtocolV2Enabled = builder.proxyProtocolV2Enabled;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.scheduler = builder.scheduler;
this.tag = builder.tag;
this.unhealthyThreshold = builder.unhealthyThreshold;
this.vServerGroupId = builder.vServerGroupId;
this.healthCheckExp = builder.healthCheckExp;
this.healthCheckInterval = builder.healthCheckInterval;
this.healthCheckReq = builder.healthCheckReq;
}
public static Builder builder() {
return new Builder();
}
public static CreateLoadBalancerUDPListenerRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return aclId
*/
public String getAclId() {
return this.aclId;
}
/**
* @return aclStatus
*/
public String getAclStatus() {
return this.aclStatus;
}
/**
* @return aclType
*/
public String getAclType() {
return this.aclType;
}
/**
* @return backendServerPort
*/
public Integer getBackendServerPort() {
return this.backendServerPort;
}
/**
* @return bandwidth
*/
public Integer getBandwidth() {
return this.bandwidth;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return healthCheckConnectPort
*/
public Integer getHealthCheckConnectPort() {
return this.healthCheckConnectPort;
}
/**
* @return healthCheckConnectTimeout
*/
public Integer getHealthCheckConnectTimeout() {
return this.healthCheckConnectTimeout;
}
/**
* @return healthCheckSwitch
*/
public String getHealthCheckSwitch() {
return this.healthCheckSwitch;
}
/**
* @return healthyThreshold
*/
public Integer getHealthyThreshold() {
return this.healthyThreshold;
}
/**
* @return listenerPort
*/
public Integer getListenerPort() {
return this.listenerPort;
}
/**
* @return loadBalancerId
*/
public String getLoadBalancerId() {
return this.loadBalancerId;
}
/**
* @return masterSlaveServerGroupId
*/
public String getMasterSlaveServerGroupId() {
return this.masterSlaveServerGroupId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return proxyProtocolV2Enabled
*/
public Boolean getProxyProtocolV2Enabled() {
return this.proxyProtocolV2Enabled;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return scheduler
*/
public String getScheduler() {
return this.scheduler;
}
/**
* @return tag
*/
public java.util.List<Tag> getTag() {
return this.tag;
}
/**
* @return unhealthyThreshold
*/
public Integer getUnhealthyThreshold() {
return this.unhealthyThreshold;
}
/**
* @return vServerGroupId
*/
public String getVServerGroupId() {
return this.vServerGroupId;
}
/**
* @return healthCheckExp
*/
public String getHealthCheckExp() {
return this.healthCheckExp;
}
/**
* @return healthCheckInterval
*/
public Integer getHealthCheckInterval() {
return this.healthCheckInterval;
}
/**
* @return healthCheckReq
*/
public String getHealthCheckReq() {
return this.healthCheckReq;
}
public static final class Builder extends Request.Builder<CreateLoadBalancerUDPListenerRequest, Builder> {
private String aclId;
private String aclStatus;
private String aclType;
private Integer backendServerPort;
private Integer bandwidth;
private String description;
private Integer healthCheckConnectPort;
private Integer healthCheckConnectTimeout;
private String healthCheckSwitch;
private Integer healthyThreshold;
private Integer listenerPort;
private String loadBalancerId;
private String masterSlaveServerGroupId;
private String ownerAccount;
private Long ownerId;
private Boolean proxyProtocolV2Enabled;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String scheduler;
private java.util.List<Tag> tag;
private Integer unhealthyThreshold;
private String vServerGroupId;
private String healthCheckExp;
private Integer healthCheckInterval;
private String healthCheckReq;
private Builder() {
super();
}
private Builder(CreateLoadBalancerUDPListenerRequest request) {
super(request);
this.aclId = request.aclId;
this.aclStatus = request.aclStatus;
this.aclType = request.aclType;
this.backendServerPort = request.backendServerPort;
this.bandwidth = request.bandwidth;
this.description = request.description;
this.healthCheckConnectPort = request.healthCheckConnectPort;
this.healthCheckConnectTimeout = request.healthCheckConnectTimeout;
this.healthCheckSwitch = request.healthCheckSwitch;
this.healthyThreshold = request.healthyThreshold;
this.listenerPort = request.listenerPort;
this.loadBalancerId = request.loadBalancerId;
this.masterSlaveServerGroupId = request.masterSlaveServerGroupId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.proxyProtocolV2Enabled = request.proxyProtocolV2Enabled;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.scheduler = request.scheduler;
this.tag = request.tag;
this.unhealthyThreshold = request.unhealthyThreshold;
this.vServerGroupId = request.vServerGroupId;
this.healthCheckExp = request.healthCheckExp;
this.healthCheckInterval = request.healthCheckInterval;
this.healthCheckReq = request.healthCheckReq;
}
/**
* <p>The ID of the network ACL that is associated with the listener.</p>
* <p>If <strong>AclStatus</strong> is set to <strong>on</strong>, this parameter is required.</p>
*
* <strong>example:</strong>
* <p>123</p>
*/
public Builder aclId(String aclId) {
this.putQueryParameter("AclId", aclId);
this.aclId = aclId;
return this;
}
/**
* <p>Specifies whether to enable access control. Valid values:</p>
* <ul>
* <li><strong>on</strong>: yes</li>
* <li><strong>off</strong> (default): no</li>
* </ul>
*
* <strong>example:</strong>
* <p>off</p>
*/
public Builder aclStatus(String aclStatus) {
this.putQueryParameter("AclStatus", aclStatus);
this.aclStatus = aclStatus;
return this;
}
/**
* <p>The type of the network ACL. Valid values:</p>
* <ul>
* <li><p><strong>white</strong>: a whitelist. Only requests from the IP addresses or CIDR blocks in the network ACL are forwarded. Whitelists apply to scenarios in which you want to allow only specific IP addresses to access an application. After a whitelist is configured, only IP addresses in the whitelist can access the CLB listener. Risks may arise if the whitelist is improperly set.</p>
* <p>If a whitelist is configured but no IP address is added to the whitelist, the listener forwards all requests.</p>
* </li>
* <li><p><strong>black</strong>: a blacklist. All requests from the IP addresses or CIDR blocks in the network ACL are blocked. Blacklists apply to scenarios in which you want to deny access from specific IP addresses to an application.</p>
* <p>If a blacklist is configured for a listener but no IP address is added to the blacklist, the listener forwards all requests.</p>
* </li>
* </ul>
* <p>If <strong>AclStatus</strong> is set to <strong>on</strong>, this parameter is required.</p>
*
* <strong>example:</strong>
* <p>white</p>
*/
public Builder aclType(String aclType) {
this.putQueryParameter("AclType", aclType);
this.aclType = aclType;
return this;
}
/**
* <p>The backend port used by the CLB instance.</p>
* <p>Valid values: <strong>1</strong> to <strong>65535</strong>.</p>
* <p>If the <strong>VServerGroupId</strong> parameter is not set, this parameter is required.</p>
*
* <strong>example:</strong>
* <p>80</p>
*/
public Builder backendServerPort(Integer backendServerPort) {
this.putQueryParameter("BackendServerPort", backendServerPort);
this.backendServerPort = backendServerPort;
return this;
}
/**
* <p>The maximum bandwidth of the listener. Unit: Mbit/s. Valid values:</p>
* <p><strong>-1</strong>: For a pay-by-data-transfer Internet-facing CLB instance, you can set this parameter to <strong>-1</strong>. This way, the bandwidth of the listener is unlimited.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>-1</p>
*/
public Builder bandwidth(Integer bandwidth) {
this.putQueryParameter("Bandwidth", bandwidth);
this.bandwidth = bandwidth;
return this;
}
/**
* <p>The name of the listener.</p>
* <p>The name must be 1 to 256 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_).</p>
*
* <strong>example:</strong>
* <p>udp_80</p>
*/
public Builder description(String description) {
this.putQueryParameter("Description", description);
this.description = description;
return this;
}
/**
* <p>The port that is used for health checks.</p>
* <p>Valid values: <strong>1</strong> to <strong>65535</strong>.</p>
* <p>If this parameter is not set, the backend port specified by <strong>BackendServerPort</strong> is used for health checks.</p>
*
* <strong>example:</strong>
* <p>80</p>
*/
public Builder healthCheckConnectPort(Integer healthCheckConnectPort) {
this.putQueryParameter("HealthCheckConnectPort", healthCheckConnectPort);
this.healthCheckConnectPort = healthCheckConnectPort;
return this;
}
/**
* <p>The timeout period of a health check.</p>
* <p>If a backend server, such as an Elastic Compute Service (ECS) instance, does not respond to a probe packet within the specified timeout period, the server fails the health check. Unit: seconds.</p>
* <p>Valid values: <strong>1</strong> to <strong>300</strong>.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
public Builder healthCheckConnectTimeout(Integer healthCheckConnectTimeout) {
this.putQueryParameter("HealthCheckConnectTimeout", healthCheckConnectTimeout);
this.healthCheckConnectTimeout = healthCheckConnectTimeout;
return this;
}
/**
* <p>Specifies whether to enable the health check feature. Valid values:</p>
* <ul>
* <li><strong>on</strong> (default): yes</li>
* <li><strong>off</strong>: no</li>
* </ul>
*
* <strong>example:</strong>
* <p>on</p>
*/
public Builder healthCheckSwitch(String healthCheckSwitch) {
this.putQueryParameter("HealthCheckSwitch", healthCheckSwitch);
this.healthCheckSwitch = healthCheckSwitch;
return this;
}
/**
* <p>The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. In this case, the health status is changed from <strong>fail</strong> to <strong>success</strong>.</p>
* <p>Valid values: <strong>2</strong> to <strong>10</strong>.</p>
*
* <strong>example:</strong>
* <p>4</p>
*/
public Builder healthyThreshold(Integer healthyThreshold) {
this.putQueryParameter("HealthyThreshold", healthyThreshold);
this.healthyThreshold = healthyThreshold;
return this;
}
/**
* <p>The frontend port used by the CLB instance.</p>
* <p>Valid values: <strong>1</strong> to <strong>65535</strong>.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>80</p>
*/
public Builder listenerPort(Integer listenerPort) {
this.putQueryParameter("ListenerPort", listenerPort);
this.listenerPort = listenerPort;
return this;
}
/**
* <p>The ID of the CLB instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>lb-bp1ygod3yctvg1y7****</p>
*/
public Builder loadBalancerId(String loadBalancerId) {
this.putQueryParameter("LoadBalancerId", loadBalancerId);
this.loadBalancerId = loadBalancerId;
return this;
}
/**
* <p>The ID of the primary/secondary server group.</p>
* <blockquote>
* <p> You can set only one of the VServerGroupId and MasterSlaveServerGroupId parameters.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>rsp-0bfucwu****</p>
*/
public Builder masterSlaveServerGroupId(String masterSlaveServerGroupId) {
this.putQueryParameter("MasterSlaveServerGroupId", masterSlaveServerGroupId);
this.masterSlaveServerGroupId = masterSlaveServerGroupId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>Specifies whether to use the Proxy protocol to pass client IP addresses to backend servers. Valid values:</p>
* <ul>
* <li><strong>true</strong>: yes</li>
* <li><strong>false</strong> (default): no</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder proxyProtocolV2Enabled(Boolean proxyProtocolV2Enabled) {
this.putQueryParameter("ProxyProtocolV2Enabled", proxyProtocolV2Enabled);
this.proxyProtocolV2Enabled = proxyProtocolV2Enabled;
return this;
}
/**
* <p>The ID of the region where the CLB instance is deployed.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The routing algorithm. Valid values:</p>
* <ul>
* <li><strong>wrr</strong> (default): Backend servers with higher weights receive more requests than backend servers with lower weights.</li>
* <li><strong>rr</strong>: Requests are distributed to backend servers in sequence.</li>
* <li><strong>sch</strong>: specifies consistent hashing that is based on source IP addresses. Requests from the same source IP address are distributed to the same backend server.</li>
* <li><strong>tch</strong>: specifies consistent hashing that is based on four factors: source IP address, destination IP address, source port, and destination port. Requests that contain the same information based on the four factors are distributed to the same backend server.</li>
* <li><strong>qch</strong>: specifies consistent hashing that is based on QUIC connection IDs. Requests that contain the same QUIC connection ID are distributed to the same backend server.</li>
* </ul>
* <p>Only high-performance CLB instances support the sch, tch, and qch consistent hashing algorithms.</p>
*
* <strong>example:</strong>
* <p>wrr</p>
*/
public Builder scheduler(String scheduler) {
this.putQueryParameter("Scheduler", scheduler);
this.scheduler = scheduler;
return this;
}
/**
* <p>The tags.</p>
*/
public Builder tag(java.util.List<Tag> tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
/**
* <p>The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. In this case, the health status is changed from <strong>success</strong> to <strong>fail</strong>.</p>
* <p>Valid values: <strong>2</strong> to <strong>10</strong>.</p>
*
* <strong>example:</strong>
* <p>4</p>
*/
public Builder unhealthyThreshold(Integer unhealthyThreshold) {
this.putQueryParameter("UnhealthyThreshold", unhealthyThreshold);
this.unhealthyThreshold = unhealthyThreshold;
return this;
}
/**
* <p>The ID of the vServer group.</p>
*
* <strong>example:</strong>
* <p>rsp-cige6j8****</p>
*/
public Builder vServerGroupId(String vServerGroupId) {
this.putQueryParameter("VServerGroupId", vServerGroupId);
this.vServerGroupId = vServerGroupId;
return this;
}
/**
* <p>The response string for UDP listener health checks. The string must be 1 to 64 characters in length and can contain only letters and digits.</p>
*
* <strong>example:</strong>
* <p>ok</p>
*/
public Builder healthCheckExp(String healthCheckExp) {
this.putQueryParameter("healthCheckExp", healthCheckExp);
this.healthCheckExp = healthCheckExp;
return this;
}
/**
* <p>The interval between two consecutive health checks. Unit: seconds.</p>
* <p>Valid values: <strong>1</strong> to <strong>50</strong>.</p>
*
* <strong>example:</strong>
* <p>3</p>
*/
public Builder healthCheckInterval(Integer healthCheckInterval) {
this.putQueryParameter("healthCheckInterval", healthCheckInterval);
this.healthCheckInterval = healthCheckInterval;
return this;
}
/**
* <p>The request string for UDP listener health checks. The string must be 1 to 64 characters in length and can contain only letters and digits.</p>
*
* <strong>example:</strong>
* <p>hello</p>
*/
public Builder healthCheckReq(String healthCheckReq) {
this.putQueryParameter("healthCheckReq", healthCheckReq);
this.healthCheckReq = healthCheckReq;
return this;
}
@Override
public CreateLoadBalancerUDPListenerRequest build() {
return new CreateLoadBalancerUDPListenerRequest(this);
}
}
/**
*
* {@link CreateLoadBalancerUDPListenerRequest} extends {@link TeaModel}
*
* <p>CreateLoadBalancerUDPListenerRequest</p>
*/
public static class Tag extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private Tag(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
/**
* <p>The key of the tag. You can specify up to 20 tag keys. The tag key cannot be an empty string.</p>
* <p>The tag key must be 1 to 64 characters in length and cannot start with <code>aliyun</code> or <code>acs:</code>. It cannot contain <code>http://</code> or <code>https://</code>.</p>
*
* <strong>example:</strong>
* <p>TestKey</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The tag value. Valid values of N: <strong>1 to 20</strong>. The tag value can be an empty string.</p>
* <p>The tag value can be up to 128 characters in length and cannot start with <code>acs:</code> or <code>aliyun</code>. The tag value cannot contain <code>http://</code> or <code>https://</code>.</p>
*
* <strong>example:</strong>
* <p>TestValue</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateLoadBalancerUDPListenerResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateLoadBalancerUDPListenerResponse} extends {@link TeaModel}
*
* <p>CreateLoadBalancerUDPListenerResponse</p>
*/
public class CreateLoadBalancerUDPListenerResponse 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 CreateLoadBalancerUDPListenerResponseBody body;
private CreateLoadBalancerUDPListenerResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateLoadBalancerUDPListenerResponse 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 CreateLoadBalancerUDPListenerResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateLoadBalancerUDPListenerResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateLoadBalancerUDPListenerResponseBody body);
@Override
CreateLoadBalancerUDPListenerResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateLoadBalancerUDPListenerResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateLoadBalancerUDPListenerResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateLoadBalancerUDPListenerResponse 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(CreateLoadBalancerUDPListenerResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateLoadBalancerUDPListenerResponse build() {
return new CreateLoadBalancerUDPListenerResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateLoadBalancerUDPListenerResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateLoadBalancerUDPListenerResponseBody} extends {@link TeaModel}
*
* <p>CreateLoadBalancerUDPListenerResponseBody</p>
*/
public class CreateLoadBalancerUDPListenerResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private CreateLoadBalancerUDPListenerResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static CreateLoadBalancerUDPListenerResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>06F00FBB-3D9E-4CCE-9D43-1A6946A75556</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public CreateLoadBalancerUDPListenerResponseBody build() {
return new CreateLoadBalancerUDPListenerResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateMasterSlaveServerGroupRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateMasterSlaveServerGroupRequest} extends {@link RequestModel}
*
* <p>CreateMasterSlaveServerGroupRequest</p>
*/
public class CreateMasterSlaveServerGroupRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("LoadBalancerId")
@com.aliyun.core.annotation.Validation(required = true)
private String loadBalancerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MasterSlaveBackendServers")
private String masterSlaveBackendServers;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MasterSlaveServerGroupName")
private String masterSlaveServerGroupName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@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("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Tag")
private java.util.List<Tag> tag;
private CreateMasterSlaveServerGroupRequest(Builder builder) {
super(builder);
this.loadBalancerId = builder.loadBalancerId;
this.masterSlaveBackendServers = builder.masterSlaveBackendServers;
this.masterSlaveServerGroupName = builder.masterSlaveServerGroupName;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static CreateMasterSlaveServerGroupRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return loadBalancerId
*/
public String getLoadBalancerId() {
return this.loadBalancerId;
}
/**
* @return masterSlaveBackendServers
*/
public String getMasterSlaveBackendServers() {
return this.masterSlaveBackendServers;
}
/**
* @return masterSlaveServerGroupName
*/
public String getMasterSlaveServerGroupName() {
return this.masterSlaveServerGroupName;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return tag
*/
public java.util.List<Tag> getTag() {
return this.tag;
}
public static final class Builder extends Request.Builder<CreateMasterSlaveServerGroupRequest, Builder> {
private String loadBalancerId;
private String masterSlaveBackendServers;
private String masterSlaveServerGroupName;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private java.util.List<Tag> tag;
private Builder() {
super();
}
private Builder(CreateMasterSlaveServerGroupRequest request) {
super(request);
this.loadBalancerId = request.loadBalancerId;
this.masterSlaveBackendServers = request.masterSlaveBackendServers;
this.masterSlaveServerGroupName = request.masterSlaveServerGroupName;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.tag = request.tag;
}
/**
* <p>The CLB instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>lb-bp1hv944r69al4j******</p>
*/
public Builder loadBalancerId(String loadBalancerId) {
this.putQueryParameter("LoadBalancerId", loadBalancerId);
this.loadBalancerId = loadBalancerId;
return this;
}
/**
* <p>The backend servers in the primary/secondary server group. Each primary/secondary server group consists of two backend servers.</p>
* <p>Configure the following parameters:</p>
* <ul>
* <li><p><strong>ServerId</strong>: required. The IDs of the backend servers. Specify the IDs in a string. You can specify the IDs of Elastic Compute Service (ECS) instances, elastic network interfaces (ENIs), and elastic container instances. If you set <strong>ServerId</strong> to the IDs of ENIs or elastic container instances, you must configure the <strong>Type</strong> parameter.</p>
* </li>
* <li><p><strong>Weight</strong>: the weight of the backend server. Valid values: <strong>0</strong> to <strong>100</strong>. Default value: <strong>100</strong>. If you set the weight of a backend server to 0, no requests are forwarded to the backend server.</p>
* </li>
* <li><p><strong>Description</strong>: optional. The description of the backend servers. Specify the description in a string. The description must be 1 to 80 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/). periods (.), and underscores (_).</p>
* </li>
* <li><p><strong>Type</strong>: the type of the backend server. Valid values:</p>
* <ul>
* <li><strong>ecs</strong> (default): ECS instance</li>
* <li><strong>eni</strong>: ENI</li>
* <li><strong>eci</strong>: elastic container instance</li>
* </ul>
* </li>
* </ul>
* <blockquote>
* <p> You can specify ENIs and elastic container instances as backend servers only for high-performance CLB instances.</p>
* </blockquote>
* <ul>
* <li><p><strong>ServerIp</strong>: the IP address of the ENI or elastic container instance.</p>
* </li>
* <li><p><strong>Port</strong>: the backend port.</p>
* </li>
* <li><p><strong>ServerType</strong>: Specify the primary and secondary backend servers in a string. Valid values:</p>
* <ul>
* <li><strong>Master</strong>: primary server</li>
* <li><strong>Slave</strong>: secondary server</li>
* </ul>
* </li>
* </ul>
*
* <strong>example:</strong>
* <p>[{ "ServerId": "i-xxxxxxxxx", "Weight": "100", "Type": "ecs", "Port":"82","ServerType":"Master","Description":"test-112" }, { "ServerId": "i-xxxxxxxxx", "Weight": "100", "Type": "ecs", "Port":"84","ServerType":"Slave","Description":"test-112" }]</p>
*/
public Builder masterSlaveBackendServers(String masterSlaveBackendServers) {
this.putQueryParameter("MasterSlaveBackendServers", masterSlaveBackendServers);
this.masterSlaveBackendServers = masterSlaveBackendServers;
return this;
}
/**
* <p>The name of the primary/secondary server group.</p>
*
* <strong>example:</strong>
* <p>Group1</p>
*/
public Builder masterSlaveServerGroupName(String masterSlaveServerGroupName) {
this.putQueryParameter("MasterSlaveServerGroupName", masterSlaveServerGroupName);
this.masterSlaveServerGroupName = masterSlaveServerGroupName;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the Classic Load Balancer (CLB) instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The tags.</p>
*/
public Builder tag(java.util.List<Tag> tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
@Override
public CreateMasterSlaveServerGroupRequest build() {
return new CreateMasterSlaveServerGroupRequest(this);
}
}
/**
*
* {@link CreateMasterSlaveServerGroupRequest} extends {@link TeaModel}
*
* <p>CreateMasterSlaveServerGroupRequest</p>
*/
public static class Tag extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private Tag(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
/**
* <p>The key of tag N. Valid values of N: <strong>1</strong> to <strong>20</strong>. The tag key cannot be an empty string.</p>
* <p>The tag key can be up to 64 characters in length, and cannot contain <code>http://</code> or <code>https://</code>. The tag key cannot start with <code>aliyun</code> or <code>acs:</code>.</p>
*
* <strong>example:</strong>
* <p>test</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The value of tag N. Valid values of N: <strong>1 to 20</strong>. The tag value can be an empty string. The tag value can be up to 128 characters in length, and cannot contain <code>http://</code> or <code>https://</code>. The tag value cannot start with <code>aliyun</code> or <code>acs:</code>.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateMasterSlaveServerGroupResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateMasterSlaveServerGroupResponse} extends {@link TeaModel}
*
* <p>CreateMasterSlaveServerGroupResponse</p>
*/
public class CreateMasterSlaveServerGroupResponse 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 CreateMasterSlaveServerGroupResponseBody body;
private CreateMasterSlaveServerGroupResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateMasterSlaveServerGroupResponse 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 CreateMasterSlaveServerGroupResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateMasterSlaveServerGroupResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateMasterSlaveServerGroupResponseBody body);
@Override
CreateMasterSlaveServerGroupResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateMasterSlaveServerGroupResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateMasterSlaveServerGroupResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateMasterSlaveServerGroupResponse 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(CreateMasterSlaveServerGroupResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateMasterSlaveServerGroupResponse build() {
return new CreateMasterSlaveServerGroupResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateMasterSlaveServerGroupResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateMasterSlaveServerGroupResponseBody} extends {@link TeaModel}
*
* <p>CreateMasterSlaveServerGroupResponseBody</p>
*/
public class CreateMasterSlaveServerGroupResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("MasterSlaveBackendServers")
private MasterSlaveBackendServers masterSlaveBackendServers;
@com.aliyun.core.annotation.NameInMap("MasterSlaveServerGroupId")
private String masterSlaveServerGroupId;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private CreateMasterSlaveServerGroupResponseBody(Builder builder) {
this.masterSlaveBackendServers = builder.masterSlaveBackendServers;
this.masterSlaveServerGroupId = builder.masterSlaveServerGroupId;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static CreateMasterSlaveServerGroupResponseBody create() {
return builder().build();
}
/**
* @return masterSlaveBackendServers
*/
public MasterSlaveBackendServers getMasterSlaveBackendServers() {
return this.masterSlaveBackendServers;
}
/**
* @return masterSlaveServerGroupId
*/
public String getMasterSlaveServerGroupId() {
return this.masterSlaveServerGroupId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private MasterSlaveBackendServers masterSlaveBackendServers;
private String masterSlaveServerGroupId;
private String requestId;
/**
* <p>The backend servers in the primary/secondary server group.</p>
*/
public Builder masterSlaveBackendServers(MasterSlaveBackendServers masterSlaveBackendServers) {
this.masterSlaveBackendServers = masterSlaveBackendServers;
return this;
}
/**
* <p>The ID of the active/standby server group.</p>
*
* <strong>example:</strong>
* <p>rsp-bp19au4******</p>
*/
public Builder masterSlaveServerGroupId(String masterSlaveServerGroupId) {
this.masterSlaveServerGroupId = masterSlaveServerGroupId;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>7CA4DB76-4D32-523B-822E-5C9494613D46</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public CreateMasterSlaveServerGroupResponseBody build() {
return new CreateMasterSlaveServerGroupResponseBody(this);
}
}
/**
*
* {@link CreateMasterSlaveServerGroupResponseBody} extends {@link TeaModel}
*
* <p>CreateMasterSlaveServerGroupResponseBody</p>
*/
public static class MasterSlaveBackendServer extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("Port")
private Integer port;
@com.aliyun.core.annotation.NameInMap("ServerId")
private String serverId;
@com.aliyun.core.annotation.NameInMap("ServerType")
private String serverType;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
@com.aliyun.core.annotation.NameInMap("Weight")
private Integer weight;
private MasterSlaveBackendServer(Builder builder) {
this.description = builder.description;
this.port = builder.port;
this.serverId = builder.serverId;
this.serverType = builder.serverType;
this.type = builder.type;
this.weight = builder.weight;
}
public static Builder builder() {
return new Builder();
}
public static MasterSlaveBackendServer create() {
return builder().build();
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return port
*/
public Integer getPort() {
return this.port;
}
/**
* @return serverId
*/
public String getServerId() {
return this.serverId;
}
/**
* @return serverType
*/
public String getServerType() {
return this.serverType;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return weight
*/
public Integer getWeight() {
return this.weight;
}
public static final class Builder {
private String description;
private Integer port;
private String serverId;
private String serverType;
private String type;
private Integer weight;
/**
* <p>The description of the primary/secondary server group.</p>
*
* <strong>example:</strong>
* <p>test-112</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The port that is used by the backend server.</p>
*
* <strong>example:</strong>
* <p>82</p>
*/
public Builder port(Integer port) {
this.port = port;
return this;
}
/**
* <p>The ID of the backend server that you want to add.</p>
*
* <strong>example:</strong>
* <p>i-bp1fq61enf4loa5i****</p>
*/
public Builder serverId(String serverId) {
this.serverId = serverId;
return this;
}
/**
* <p>The type of backend server.</p>
* <p>Valid values: <strong>Master</strong> and <strong>Slave</strong>.</p>
*
* <strong>example:</strong>
* <p>Master</p>
*/
public Builder serverType(String serverType) {
this.serverType = serverType;
return this;
}
/**
* <p>The type of backend server. Valid values:</p>
* <ul>
* <li><strong>ecs</strong>: ECS instance</li>
* <li><strong>eni</strong>: ENI</li>
* <li><strong>eci</strong>: elastic container instance</li>
* </ul>
*
* <strong>example:</strong>
* <p>ecs</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* <p>The weight of the backend server.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
public Builder weight(Integer weight) {
this.weight = weight;
return this;
}
public MasterSlaveBackendServer build() {
return new MasterSlaveBackendServer(this);
}
}
}
/**
*
* {@link CreateMasterSlaveServerGroupResponseBody} extends {@link TeaModel}
*
* <p>CreateMasterSlaveServerGroupResponseBody</p>
*/
public static class MasterSlaveBackendServers extends TeaModel {
@com.aliyun.core.annotation.NameInMap("MasterSlaveBackendServer")
private java.util.List<MasterSlaveBackendServer> masterSlaveBackendServer;
private MasterSlaveBackendServers(Builder builder) {
this.masterSlaveBackendServer = builder.masterSlaveBackendServer;
}
public static Builder builder() {
return new Builder();
}
public static MasterSlaveBackendServers create() {
return builder().build();
}
/**
* @return masterSlaveBackendServer
*/
public java.util.List<MasterSlaveBackendServer> getMasterSlaveBackendServer() {
return this.masterSlaveBackendServer;
}
public static final class Builder {
private java.util.List<MasterSlaveBackendServer> masterSlaveBackendServer;
/**
* MasterSlaveBackendServer.
*/
public Builder masterSlaveBackendServer(java.util.List<MasterSlaveBackendServer> masterSlaveBackendServer) {
this.masterSlaveBackendServer = masterSlaveBackendServer;
return this;
}
public MasterSlaveBackendServers build() {
return new MasterSlaveBackendServers(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateRulesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateRulesRequest} extends {@link RequestModel}
*
* <p>CreateRulesRequest</p>
*/
public class CreateRulesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ListenerPort")
@com.aliyun.core.annotation.Validation(required = true)
private Integer listenerPort;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ListenerProtocol")
private String listenerProtocol;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("LoadBalancerId")
@com.aliyun.core.annotation.Validation(required = true)
private String loadBalancerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@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("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RuleList")
@com.aliyun.core.annotation.Validation(required = true)
private String ruleList;
private CreateRulesRequest(Builder builder) {
super(builder);
this.listenerPort = builder.listenerPort;
this.listenerProtocol = builder.listenerProtocol;
this.loadBalancerId = builder.loadBalancerId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.ruleList = builder.ruleList;
}
public static Builder builder() {
return new Builder();
}
public static CreateRulesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return listenerPort
*/
public Integer getListenerPort() {
return this.listenerPort;
}
/**
* @return listenerProtocol
*/
public String getListenerProtocol() {
return this.listenerProtocol;
}
/**
* @return loadBalancerId
*/
public String getLoadBalancerId() {
return this.loadBalancerId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return ruleList
*/
public String getRuleList() {
return this.ruleList;
}
public static final class Builder extends Request.Builder<CreateRulesRequest, Builder> {
private Integer listenerPort;
private String listenerProtocol;
private String loadBalancerId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String ruleList;
private Builder() {
super();
}
private Builder(CreateRulesRequest request) {
super(request);
this.listenerPort = request.listenerPort;
this.listenerProtocol = request.listenerProtocol;
this.loadBalancerId = request.loadBalancerId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.ruleList = request.ruleList;
}
/**
* <p>The frontend listener port that is used by the SLB instance.</p>
* <p>Valid values: <strong>1 to 65535</strong>.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>443</p>
*/
public Builder listenerPort(Integer listenerPort) {
this.putQueryParameter("ListenerPort", listenerPort);
this.listenerPort = listenerPort;
return this;
}
/**
* <p>The frontend protocol that is used by the SLB instance.</p>
* <blockquote>
* <p>This parameter is required if the same port is used by listeners that use different protocols.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>https</p>
*/
public Builder listenerProtocol(String listenerProtocol) {
this.putQueryParameter("ListenerProtocol", listenerProtocol);
this.listenerProtocol = listenerProtocol;
return this;
}
/**
* <p>The ID of the SLB instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>lb-bp1ca0zt07t934w******</p>
*/
public Builder loadBalancerId(String loadBalancerId) {
this.putQueryParameter("LoadBalancerId", loadBalancerId);
this.loadBalancerId = loadBalancerId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The ID of the region where the Server Load Balancer (SLB) instance is deployed.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/27584.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The forwarding rules that you want to create. You can create at most 10 forwarding rules in each call. Each forwarding rule contains the following parameters:</p>
* <ul>
* <li><strong>RuleName</strong>: Required. The value must be of the STRING type. The name of the forwarding rule. The name must be 1 to 40 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_). Forwarding rule names must be unique within the same listener.</li>
* <li><strong>Domain</strong>: Optional. The value must be a string. The domain name that is associated with the forwarding rule. You must specify this parameter or the <strong>URL</strong> parameter.</li>
* <li><strong>Url</strong>: Optional. The value must be 1 to 80 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), percent signs (%), question marks (?), number signs (#), and ampersands (&). The value must be a string. The URL cannot be only a forward slash (/). However, it must start with a forward slash (/). You must specify this parameter or the <strong>Domain</strong> parameter.</li>
* <li><strong>VServerGroupId</strong>: Required. The value must be a string. The ID of the vServer group to be specified in the forwarding rule.</li>
* </ul>
* <blockquote>
* <p> You must specify at least one between the <code>Domain</code> and <code>URL</code> parameters. You can also specify both. The combination of <code>Domain</code> and <code>Url</code> must be unique within the same listener.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>[{"RuleName":"Rule2","Domain":"test.com","VServerGroupId":"rsp-bp114ni******"}]</p>
*/
public Builder ruleList(String ruleList) {
this.putQueryParameter("RuleList", ruleList);
this.ruleList = ruleList;
return this;
}
@Override
public CreateRulesRequest build() {
return new CreateRulesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateRulesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateRulesResponse} extends {@link TeaModel}
*
* <p>CreateRulesResponse</p>
*/
public class CreateRulesResponse 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 CreateRulesResponseBody body;
private CreateRulesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateRulesResponse 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 CreateRulesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateRulesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateRulesResponseBody body);
@Override
CreateRulesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateRulesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateRulesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateRulesResponse 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(CreateRulesResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateRulesResponse build() {
return new CreateRulesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateRulesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateRulesResponseBody} extends {@link TeaModel}
*
* <p>CreateRulesResponseBody</p>
*/
public class CreateRulesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Rules")
private Rules rules;
private CreateRulesResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.rules = builder.rules;
}
public static Builder builder() {
return new Builder();
}
public static CreateRulesResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return rules
*/
public Rules getRules() {
return this.rules;
}
public static final class Builder {
private String requestId;
private Rules rules;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The forwarding rules.</p>
*/
public Builder rules(Rules rules) {
this.rules = rules;
return this;
}
public CreateRulesResponseBody build() {
return new CreateRulesResponseBody(this);
}
}
/**
*
* {@link CreateRulesResponseBody} extends {@link TeaModel}
*
* <p>CreateRulesResponseBody</p>
*/
public static class Rule extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RuleId")
private String ruleId;
@com.aliyun.core.annotation.NameInMap("RuleName")
private String ruleName;
private Rule(Builder builder) {
this.ruleId = builder.ruleId;
this.ruleName = builder.ruleName;
}
public static Builder builder() {
return new Builder();
}
public static Rule create() {
return builder().build();
}
/**
* @return ruleId
*/
public String getRuleId() {
return this.ruleId;
}
/**
* @return ruleName
*/
public String getRuleName() {
return this.ruleName;
}
public static final class Builder {
private String ruleId;
private String ruleName;
/**
* <p>The forwarding rule ID.</p>
*
* <strong>example:</strong>
* <p>rule-bp12jzy0*****</p>
*/
public Builder ruleId(String ruleId) {
this.ruleId = ruleId;
return this;
}
/**
* <p>The name of the forwarding rule.</p>
*
* <strong>example:</strong>
* <p>Rule2</p>
*/
public Builder ruleName(String ruleName) {
this.ruleName = ruleName;
return this;
}
public Rule build() {
return new Rule(this);
}
}
}
/**
*
* {@link CreateRulesResponseBody} extends {@link TeaModel}
*
* <p>CreateRulesResponseBody</p>
*/
public static class Rules extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Rule")
private java.util.List<Rule> rule;
private Rules(Builder builder) {
this.rule = builder.rule;
}
public static Builder builder() {
return new Builder();
}
public static Rules create() {
return builder().build();
}
/**
* @return rule
*/
public java.util.List<Rule> getRule() {
return this.rule;
}
public static final class Builder {
private java.util.List<Rule> rule;
/**
* Rule.
*/
public Builder rule(java.util.List<Rule> rule) {
this.rule = rule;
return this;
}
public Rules build() {
return new Rules(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateTLSCipherPolicyRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateTLSCipherPolicyRequest} extends {@link RequestModel}
*
* <p>CreateTLSCipherPolicyRequest</p>
*/
public class CreateTLSCipherPolicyRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Ciphers")
@com.aliyun.core.annotation.Validation(required = true)
private java.util.List<String> ciphers;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Name")
@com.aliyun.core.annotation.Validation(required = true)
private String name;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@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("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TLSVersions")
@com.aliyun.core.annotation.Validation(required = true)
private java.util.List<String> TLSVersions;
private CreateTLSCipherPolicyRequest(Builder builder) {
super(builder);
this.ciphers = builder.ciphers;
this.name = builder.name;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.TLSVersions = builder.TLSVersions;
}
public static Builder builder() {
return new Builder();
}
public static CreateTLSCipherPolicyRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return ciphers
*/
public java.util.List<String> getCiphers() {
return this.ciphers;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return TLSVersions
*/
public java.util.List<String> getTLSVersions() {
return this.TLSVersions;
}
public static final class Builder extends Request.Builder<CreateTLSCipherPolicyRequest, Builder> {
private java.util.List<String> ciphers;
private String name;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private java.util.List<String> TLSVersions;
private Builder() {
super();
}
private Builder(CreateTLSCipherPolicyRequest request) {
super(request);
this.ciphers = request.ciphers;
this.name = request.name;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.TLSVersions = request.TLSVersions;
}
/**
* <p>The supported cipher suites, which are determined by the TLS protocol version. You can specify at most 32 cipher suites.</p>
* <p>TLS 1.0 and TLS 1.1 support the following cipher suites:</p>
* <ul>
* <li><strong>ECDHE-ECDSA-AES128-SHA</strong></li>
* <li><strong>ECDHE-ECDSA-AES256-SHA</strong></li>
* <li><strong>ECDHE-RSA-AES128-SHA</strong></li>
* <li><strong>ECDHE-RSA-AES256-SHA</strong></li>
* <li><strong>AES128-SHA</strong></li>
* <li><strong>AES256-SHA</strong></li>
* <li><strong>DES-CBC3-SHA</strong></li>
* </ul>
* <p>TLS 1.2 supports the following cipher suites:</p>
* <ul>
* <li><strong>ECDHE-ECDSA-AES128-SHA</strong></li>
* <li><strong>ECDHE-ECDSA-AES256-SHA</strong></li>
* <li><strong>ECDHE-RSA-AES128-SHA</strong></li>
* <li><strong>ECDHE-RSA-AES256-SHA</strong></li>
* <li><strong>AES128-SHA</strong></li>
* <li><strong>AES256-SHA</strong></li>
* <li><strong>DES-CBC3-SHA</strong></li>
* <li><strong>ECDHE-ECDSA-AES128-GCM-SHA256</strong></li>
* <li><strong>ECDHE-ECDSA-AES256-GCM-SHA384</strong></li>
* <li><strong>ECDHE-ECDSA-AES128-SHA256</strong></li>
* <li><strong>ECDHE-ECDSA-AES256-SHA384</strong></li>
* <li><strong>ECDHE-RSA-AES128-GCM-SHA256</strong></li>
* <li><strong>ECDHE-RSA-AES256-GCM-SHA384</strong></li>
* <li><strong>ECDHE-RSA-AES128-SHA256</strong></li>
* <li><strong>ECDHE-RSA-AES256-SHA384</strong></li>
* <li><strong>AES128-GCM-SHA256</strong></li>
* <li><strong>AES256-GCM-SHA384</strong></li>
* <li><strong>AES128-SHA256</strong></li>
* <li><strong>AES256-SHA256</strong></li>
* </ul>
* <p>TLS 1.3 supports the following cipher suites:</p>
* <ul>
* <li><strong>TLS_AES_128_GCM_SHA256</strong></li>
* <li><strong>TLS_AES_256_GCM_SHA384</strong></li>
* <li><strong>TLS_CHACHA20_POLY1305_SHA256</strong></li>
* <li><strong>TLS_AES_128_CCM_SHA256</strong></li>
* <li><strong>TLS_AES_128_CCM_8_SHA256</strong></li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>AES256-SHA256</p>
*/
public Builder ciphers(java.util.List<String> ciphers) {
this.putQueryParameter("Ciphers", ciphers);
this.ciphers = ciphers;
return this;
}
/**
* <p>The name of the TLS policy. The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>TLSPolicy-test</p>
*/
public Builder name(String name) {
this.putQueryParameter("Name", name);
this.name = name;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The ID of the region where the Server Load Balancer (SLB) instance is created.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The version of the TLS protocol. Valid values: <strong>TLSv1.0</strong>, <strong>TLSv1.1</strong>, <strong>TLSv1.2</strong>, and <strong>TLSv1.3</strong>. You can specify at most four TLS versions.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>TLSv1.0</p>
*/
public Builder TLSVersions(java.util.List<String> TLSVersions) {
this.putQueryParameter("TLSVersions", TLSVersions);
this.TLSVersions = TLSVersions;
return this;
}
@Override
public CreateTLSCipherPolicyRequest build() {
return new CreateTLSCipherPolicyRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateTLSCipherPolicyResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateTLSCipherPolicyResponse} extends {@link TeaModel}
*
* <p>CreateTLSCipherPolicyResponse</p>
*/
public class CreateTLSCipherPolicyResponse 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 CreateTLSCipherPolicyResponseBody body;
private CreateTLSCipherPolicyResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateTLSCipherPolicyResponse 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 CreateTLSCipherPolicyResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateTLSCipherPolicyResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateTLSCipherPolicyResponseBody body);
@Override
CreateTLSCipherPolicyResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateTLSCipherPolicyResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateTLSCipherPolicyResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateTLSCipherPolicyResponse 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(CreateTLSCipherPolicyResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateTLSCipherPolicyResponse build() {
return new CreateTLSCipherPolicyResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateTLSCipherPolicyResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateTLSCipherPolicyResponseBody} extends {@link TeaModel}
*
* <p>CreateTLSCipherPolicyResponseBody</p>
*/
public class CreateTLSCipherPolicyResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TLSCipherPolicyId")
private String TLSCipherPolicyId;
private CreateTLSCipherPolicyResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.TLSCipherPolicyId = builder.TLSCipherPolicyId;
}
public static Builder builder() {
return new Builder();
}
public static CreateTLSCipherPolicyResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return TLSCipherPolicyId
*/
public String getTLSCipherPolicyId() {
return this.TLSCipherPolicyId;
}
public static final class Builder {
private String requestId;
private String TLSCipherPolicyId;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>D7A8875F-373A-5F48-8484-25B07A61F2AF</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The ID of the policy.</p>
*
* <strong>example:</strong>
* <p>tls-bp14bb1e7dll4f****</p>
*/
public Builder TLSCipherPolicyId(String TLSCipherPolicyId) {
this.TLSCipherPolicyId = TLSCipherPolicyId;
return this;
}
public CreateTLSCipherPolicyResponseBody build() {
return new CreateTLSCipherPolicyResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateVServerGroupRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateVServerGroupRequest} extends {@link RequestModel}
*
* <p>CreateVServerGroupRequest</p>
*/
public class CreateVServerGroupRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BackendServers")
private String backendServers;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("LoadBalancerId")
@com.aliyun.core.annotation.Validation(required = true)
private String loadBalancerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@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("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Tag")
private java.util.List<Tag> tag;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VServerGroupName")
private String vServerGroupName;
private CreateVServerGroupRequest(Builder builder) {
super(builder);
this.backendServers = builder.backendServers;
this.loadBalancerId = builder.loadBalancerId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.tag = builder.tag;
this.vServerGroupName = builder.vServerGroupName;
}
public static Builder builder() {
return new Builder();
}
public static CreateVServerGroupRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return backendServers
*/
public String getBackendServers() {
return this.backendServers;
}
/**
* @return loadBalancerId
*/
public String getLoadBalancerId() {
return this.loadBalancerId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return tag
*/
public java.util.List<Tag> getTag() {
return this.tag;
}
/**
* @return vServerGroupName
*/
public String getVServerGroupName() {
return this.vServerGroupName;
}
public static final class Builder extends Request.Builder<CreateVServerGroupRequest, Builder> {
private String backendServers;
private String loadBalancerId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private java.util.List<Tag> tag;
private String vServerGroupName;
private Builder() {
super();
}
private Builder(CreateVServerGroupRequest request) {
super(request);
this.backendServers = request.backendServers;
this.loadBalancerId = request.loadBalancerId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.tag = request.tag;
this.vServerGroupName = request.vServerGroupName;
}
/**
* <p>The backend servers that you want to add. Configure the following parameters:</p>
* <ul>
* <li><p><strong>ServerId</strong>: required. The ID of the backend server. Specify the ID in a string. You can specify the ID of an Elastic Compute Service (ECS) instance, an elastic network interface (ENI), or an elastic container instance. If you set ServerId to the ID of an ENI or an elastic container instance, you must configure the Type parameter.</p>
* </li>
* <li><p><strong>Weight</strong>: the weight of the backend server. Valid values: 0 to 100. Default value: 100. If you set the weight of a backend server to 0, no requests are forwarded to the backend server.</p>
* </li>
* <li><p><strong>Description</strong>: optional. The description of the backend server. Specify the description in a string. The description must be 1 to 80 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.), and underscores (_).</p>
* </li>
* <li><p><strong>Type</strong>: the type of the backend server. Valid values:</p>
* <ul>
* <li><strong>ecs (default)</strong>: ECS instance</li>
* <li><strong>eni</strong>: ENI.</li>
* <li><strong>eni</strong>: elastic container instance.</li>
* </ul>
* </li>
* </ul>
* <blockquote>
* <p>You can specify ENIs and elastic container instances as backend servers only for high-performance SLB instances.</p>
* </blockquote>
* <ul>
* <li><strong>ServerIp</strong>: The IP address of the ECS instance or ENI.</li>
* <li><strong>Port</strong>: the backend port.</li>
* </ul>
* <p>Examples:</p>
* <ul>
* <li><p>Add an ECS instance:</p>
* <p><code>[{ "ServerId": "i-xxxxxxxxx", "Weight": "100", "Type": "ecs", "Port":"80","Description":"test-112" }]</code></p>
* </li>
* <li><p>Add an ENI:</p>
* <p><code> [{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "</code>192.168.<strong>.</strong><code>", "Port":"80","Description":"test-112" }]</code></p>
* </li>
* <li><p>Add an ENI with multiple IP addresses:</p>
* <p> <code>[{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "</code>192.168.<strong>.</strong><code>", "Port":"80","Description":"test-113" },{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "</code>172.166.<strong>.</strong><code>", "Port":"80","Description":"test-113" }]</code></p>
* </li>
* <li><p>Add an elastic container instance:</p>
* <p><code> [{ "ServerId": "eci-xxxxxxxxx", "Weight": "100", "Type": "eci", "ServerIp": "</code>192.168.<strong>.</strong><code>", "Port":"80","Description":"test-114" }]</code></p>
* </li>
* </ul>
* <blockquote>
* <p>You can add only running backend servers to SLB instances. You can specify at most 20 backend servers.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>[{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "<code>192.168.**.**</code>", "Port":"80","Description":"test-112" },{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "<code>172.166.**.**</code>", "Port":"80","Description":"test-113" }]</p>
*/
public Builder backendServers(String backendServers) {
this.putQueryParameter("BackendServers", backendServers);
this.backendServers = backendServers;
return this;
}
/**
* <p>The ID of the Server Load Balancer (SLB) instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>lb-bp1qjwo61pqz3ahl******</p>
*/
public Builder loadBalancerId(String loadBalancerId) {
this.putQueryParameter("LoadBalancerId", loadBalancerId);
this.loadBalancerId = loadBalancerId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The ID of the region where the SLB instance is deployed.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The tags.</p>
*/
public Builder tag(java.util.List<Tag> tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
/**
* <p>The name of the vServer group.</p>
* <p>The name must be 1 to 80 characters in length, and can contain letters, digits, hyphens (-), forward slashes (/), periods (.),and underscores (_).</p>
*
* <strong>example:</strong>
* <p>Group1</p>
*/
public Builder vServerGroupName(String vServerGroupName) {
this.putQueryParameter("VServerGroupName", vServerGroupName);
this.vServerGroupName = vServerGroupName;
return this;
}
@Override
public CreateVServerGroupRequest build() {
return new CreateVServerGroupRequest(this);
}
}
/**
*
* {@link CreateVServerGroupRequest} extends {@link TeaModel}
*
* <p>CreateVServerGroupRequest</p>
*/
public static class Tag extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private Tag(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
/**
* <p>The key of tag N. Valid values of N: <strong>1 to 20</strong>. The tag key cannot be an empty string.</p>
* <p>The tag key can be up to 64 characters in length, and cannot contain <code>http://</code> or <code>https://</code>. The tag key cannot start with <code>aliyun</code> or <code>acs:</code>.</p>
*
* <strong>example:</strong>
* <p>TestKey</p>
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* <p>The tag value. Valid values of N: <strong>1 to 20</strong>. The tag value can be an empty string.</p>
* <p>The tag value can be up to 128 characters in length and cannot start with <code>acs:</code> or <code>aliyun</code>. The tag value cannot contain <code>http://</code> or <code>https://</code>.</p>
*
* <strong>example:</strong>
* <p>TestValue</p>
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateVServerGroupResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateVServerGroupResponse} extends {@link TeaModel}
*
* <p>CreateVServerGroupResponse</p>
*/
public class CreateVServerGroupResponse 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 CreateVServerGroupResponseBody body;
private CreateVServerGroupResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateVServerGroupResponse 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 CreateVServerGroupResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateVServerGroupResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateVServerGroupResponseBody body);
@Override
CreateVServerGroupResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateVServerGroupResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateVServerGroupResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateVServerGroupResponse 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(CreateVServerGroupResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateVServerGroupResponse build() {
return new CreateVServerGroupResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/CreateVServerGroupResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 CreateVServerGroupResponseBody} extends {@link TeaModel}
*
* <p>CreateVServerGroupResponseBody</p>
*/
public class CreateVServerGroupResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BackendServers")
private BackendServers backendServers;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("VServerGroupId")
private String vServerGroupId;
private CreateVServerGroupResponseBody(Builder builder) {
this.backendServers = builder.backendServers;
this.requestId = builder.requestId;
this.vServerGroupId = builder.vServerGroupId;
}
public static Builder builder() {
return new Builder();
}
public static CreateVServerGroupResponseBody create() {
return builder().build();
}
/**
* @return backendServers
*/
public BackendServers getBackendServers() {
return this.backendServers;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return vServerGroupId
*/
public String getVServerGroupId() {
return this.vServerGroupId;
}
public static final class Builder {
private BackendServers backendServers;
private String requestId;
private String vServerGroupId;
/**
* <p>The list of backend servers.</p>
*/
public Builder backendServers(BackendServers backendServers) {
this.backendServers = backendServers;
return this;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The ID of the vServer group.</p>
*
* <strong>example:</strong>
* <p>rsp-cige6******</p>
*/
public Builder vServerGroupId(String vServerGroupId) {
this.vServerGroupId = vServerGroupId;
return this;
}
public CreateVServerGroupResponseBody build() {
return new CreateVServerGroupResponseBody(this);
}
}
/**
*
* {@link CreateVServerGroupResponseBody} extends {@link TeaModel}
*
* <p>CreateVServerGroupResponseBody</p>
*/
public static class BackendServer extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("Port")
private Integer port;
@com.aliyun.core.annotation.NameInMap("ServerId")
private String serverId;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
@com.aliyun.core.annotation.NameInMap("Weight")
private Integer weight;
private BackendServer(Builder builder) {
this.description = builder.description;
this.port = builder.port;
this.serverId = builder.serverId;
this.type = builder.type;
this.weight = builder.weight;
}
public static Builder builder() {
return new Builder();
}
public static BackendServer create() {
return builder().build();
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return port
*/
public Integer getPort() {
return this.port;
}
/**
* @return serverId
*/
public String getServerId() {
return this.serverId;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return weight
*/
public Integer getWeight() {
return this.weight;
}
public static final class Builder {
private String description;
private Integer port;
private String serverId;
private String type;
private Integer weight;
/**
* <p>The description of the vServer group.</p>
*
* <strong>example:</strong>
* <p>backend server</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The port that is used by the backend server.</p>
*
* <strong>example:</strong>
* <p>70</p>
*/
public Builder port(Integer port) {
this.port = port;
return this;
}
/**
* <p>The ID of the ECS instance or ENI.</p>
*
* <strong>example:</strong>
* <p>eni-hhshhs****</p>
*/
public Builder serverId(String serverId) {
this.serverId = serverId;
return this;
}
/**
* <p>The type of backend server. Valid values:</p>
* <ul>
* <li><strong>ecs</strong> (default): ECS instance</li>
* <li><strong>eni</strong>: elastic network interface (ENI)</li>
* <li><strong>eci</strong>: elastic container instance</li>
* </ul>
*
* <strong>example:</strong>
* <p>eni</p>
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* <p>The weight of the backend server.</p>
*
* <strong>example:</strong>
* <p>100</p>
*/
public Builder weight(Integer weight) {
this.weight = weight;
return this;
}
public BackendServer build() {
return new BackendServer(this);
}
}
}
/**
*
* {@link CreateVServerGroupResponseBody} extends {@link TeaModel}
*
* <p>CreateVServerGroupResponseBody</p>
*/
public static class BackendServers extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BackendServer")
private java.util.List<BackendServer> backendServer;
private BackendServers(Builder builder) {
this.backendServer = builder.backendServer;
}
public static Builder builder() {
return new Builder();
}
public static BackendServers create() {
return builder().build();
}
/**
* @return backendServer
*/
public java.util.List<BackendServer> getBackendServer() {
return this.backendServer;
}
public static final class Builder {
private java.util.List<BackendServer> backendServer;
/**
* BackendServer.
*/
public Builder backendServer(java.util.List<BackendServer> backendServer) {
this.backendServer = backendServer;
return this;
}
public BackendServers build() {
return new BackendServers(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteAccessControlListRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteAccessControlListRequest} extends {@link RequestModel}
*
* <p>DeleteAccessControlListRequest</p>
*/
public class DeleteAccessControlListRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AclId")
@com.aliyun.core.annotation.Validation(required = true)
private String aclId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@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("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteAccessControlListRequest(Builder builder) {
super(builder);
this.aclId = builder.aclId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteAccessControlListRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return aclId
*/
public String getAclId() {
return this.aclId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteAccessControlListRequest, Builder> {
private String aclId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteAccessControlListRequest request) {
super(request);
this.aclId = request.aclId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The ACL ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>acl-bp1l0kk4gxce43kz******</p>
*/
public Builder aclId(String aclId) {
this.putQueryParameter("AclId", aclId);
this.aclId = aclId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the ACL.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/27584.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteAccessControlListRequest build() {
return new DeleteAccessControlListRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteAccessControlListResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteAccessControlListResponse} extends {@link TeaModel}
*
* <p>DeleteAccessControlListResponse</p>
*/
public class DeleteAccessControlListResponse 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 DeleteAccessControlListResponseBody body;
private DeleteAccessControlListResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteAccessControlListResponse 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 DeleteAccessControlListResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteAccessControlListResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteAccessControlListResponseBody body);
@Override
DeleteAccessControlListResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteAccessControlListResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteAccessControlListResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteAccessControlListResponse 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(DeleteAccessControlListResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteAccessControlListResponse build() {
return new DeleteAccessControlListResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteAccessControlListResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteAccessControlListResponseBody} extends {@link TeaModel}
*
* <p>DeleteAccessControlListResponseBody</p>
*/
public class DeleteAccessControlListResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteAccessControlListResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteAccessControlListResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>988CB45E-1643-48C0-87B4-928DDF77EA49</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteAccessControlListResponseBody build() {
return new DeleteAccessControlListResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteAccessLogsDownloadAttributeRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteAccessLogsDownloadAttributeRequest} extends {@link RequestModel}
*
* <p>DeleteAccessLogsDownloadAttributeRequest</p>
*/
public class DeleteAccessLogsDownloadAttributeRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("LoadBalancerId")
private String loadBalancerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("LogsDownloadAttributes")
@com.aliyun.core.annotation.Validation(required = true)
private String logsDownloadAttributes;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@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("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Tags")
private String tags;
private DeleteAccessLogsDownloadAttributeRequest(Builder builder) {
super(builder);
this.loadBalancerId = builder.loadBalancerId;
this.logsDownloadAttributes = builder.logsDownloadAttributes;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.tags = builder.tags;
}
public static Builder builder() {
return new Builder();
}
public static DeleteAccessLogsDownloadAttributeRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return loadBalancerId
*/
public String getLoadBalancerId() {
return this.loadBalancerId;
}
/**
* @return logsDownloadAttributes
*/
public String getLogsDownloadAttributes() {
return this.logsDownloadAttributes;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return tags
*/
public String getTags() {
return this.tags;
}
public static final class Builder extends Request.Builder<DeleteAccessLogsDownloadAttributeRequest, Builder> {
private String loadBalancerId;
private String logsDownloadAttributes;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String tags;
private Builder() {
super();
}
private Builder(DeleteAccessLogsDownloadAttributeRequest request) {
super(request);
this.loadBalancerId = request.loadBalancerId;
this.logsDownloadAttributes = request.logsDownloadAttributes;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.tags = request.tags;
}
/**
* <p>The CLB instance ID.</p>
*
* <strong>example:</strong>
* <p>lb-uf68ps3rekbljmdb0****</p>
*/
public Builder loadBalancerId(String loadBalancerId) {
this.putQueryParameter("LoadBalancerId", loadBalancerId);
this.loadBalancerId = loadBalancerId;
return this;
}
/**
* <p>The access log forwarding rule. Parameters:</p>
* <ul>
* <li><strong>LogProject</strong>: the name of the project of Log Service.</li>
* <li><strong>LogStore</strong>: the name of the Logstore of Log Service.</li>
* <li><strong>LoadBalancerId</strong>: the ID of the CLB instance.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>[{"logProject":"my-project", "LogStore":"my-log-store", "LoadBalancerId":"lb-uf68ps3rekbljmdb0****"}]</p>
*/
public Builder logsDownloadAttributes(String logsDownloadAttributes) {
this.putQueryParameter("LogsDownloadAttributes", logsDownloadAttributes);
this.logsDownloadAttributes = logsDownloadAttributes;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the CLB instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The tags that are added to the CLB instance. The tags must be key-value pairs that are contained in a JSON dictionary.</p>
*
* <strong>example:</strong>
* <p>[{"tagKey":"Key1","tagValue":"Value1"}]</p>
*/
public Builder tags(String tags) {
this.putQueryParameter("Tags", tags);
this.tags = tags;
return this;
}
@Override
public DeleteAccessLogsDownloadAttributeRequest build() {
return new DeleteAccessLogsDownloadAttributeRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteAccessLogsDownloadAttributeResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteAccessLogsDownloadAttributeResponse} extends {@link TeaModel}
*
* <p>DeleteAccessLogsDownloadAttributeResponse</p>
*/
public class DeleteAccessLogsDownloadAttributeResponse 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 DeleteAccessLogsDownloadAttributeResponseBody body;
private DeleteAccessLogsDownloadAttributeResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteAccessLogsDownloadAttributeResponse 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 DeleteAccessLogsDownloadAttributeResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteAccessLogsDownloadAttributeResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteAccessLogsDownloadAttributeResponseBody body);
@Override
DeleteAccessLogsDownloadAttributeResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteAccessLogsDownloadAttributeResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteAccessLogsDownloadAttributeResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteAccessLogsDownloadAttributeResponse 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(DeleteAccessLogsDownloadAttributeResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteAccessLogsDownloadAttributeResponse build() {
return new DeleteAccessLogsDownloadAttributeResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteAccessLogsDownloadAttributeResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteAccessLogsDownloadAttributeResponseBody} extends {@link TeaModel}
*
* <p>DeleteAccessLogsDownloadAttributeResponseBody</p>
*/
public class DeleteAccessLogsDownloadAttributeResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteAccessLogsDownloadAttributeResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteAccessLogsDownloadAttributeResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>9DEC9C28-AB05-4DDF-9A78-6B08EC9C****</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteAccessLogsDownloadAttributeResponseBody build() {
return new DeleteAccessLogsDownloadAttributeResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteCACertificateRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteCACertificateRequest} extends {@link RequestModel}
*
* <p>DeleteCACertificateRequest</p>
*/
public class DeleteCACertificateRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CACertificateId")
@com.aliyun.core.annotation.Validation(required = true)
private String CACertificateId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@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("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteCACertificateRequest(Builder builder) {
super(builder);
this.CACertificateId = builder.CACertificateId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteCACertificateRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return CACertificateId
*/
public String getCACertificateId() {
return this.CACertificateId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteCACertificateRequest, Builder> {
private String CACertificateId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteCACertificateRequest request) {
super(request);
this.CACertificateId = request.CACertificateId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The CA certificate ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>123157908xxxxxxx_15c73d77203_-986300114_-2110544xxx</p>
*/
public Builder CACertificateId(String CACertificateId) {
this.putQueryParameter("CACertificateId", CACertificateId);
this.CACertificateId = CACertificateId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region of the CA certificates.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/27584.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteCACertificateRequest build() {
return new DeleteCACertificateRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteCACertificateResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteCACertificateResponse} extends {@link TeaModel}
*
* <p>DeleteCACertificateResponse</p>
*/
public class DeleteCACertificateResponse 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 DeleteCACertificateResponseBody body;
private DeleteCACertificateResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteCACertificateResponse 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 DeleteCACertificateResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteCACertificateResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteCACertificateResponseBody body);
@Override
DeleteCACertificateResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteCACertificateResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteCACertificateResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteCACertificateResponse 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(DeleteCACertificateResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteCACertificateResponse build() {
return new DeleteCACertificateResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteCACertificateResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteCACertificateResponseBody} extends {@link TeaModel}
*
* <p>DeleteCACertificateResponseBody</p>
*/
public class DeleteCACertificateResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteCACertificateResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteCACertificateResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteCACertificateResponseBody build() {
return new DeleteCACertificateResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteDomainExtensionRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteDomainExtensionRequest} extends {@link RequestModel}
*
* <p>DeleteDomainExtensionRequest</p>
*/
public class DeleteDomainExtensionRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DomainExtensionId")
@com.aliyun.core.annotation.Validation(required = true)
private String domainExtensionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@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("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteDomainExtensionRequest(Builder builder) {
super(builder);
this.domainExtensionId = builder.domainExtensionId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteDomainExtensionRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return domainExtensionId
*/
public String getDomainExtensionId() {
return this.domainExtensionId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteDomainExtensionRequest, Builder> {
private String domainExtensionId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteDomainExtensionRequest request) {
super(request);
this.domainExtensionId = request.domainExtensionId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The ID of the additional domain name that you want to delete.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>de-bp1rp7ta1****</p>
*/
public Builder domainExtensionId(String domainExtensionId) {
this.putQueryParameter("DomainExtensionId", domainExtensionId);
this.domainExtensionId = domainExtensionId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the Server Load Balancer (SLB) instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteDomainExtensionRequest build() {
return new DeleteDomainExtensionRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteDomainExtensionResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteDomainExtensionResponse} extends {@link TeaModel}
*
* <p>DeleteDomainExtensionResponse</p>
*/
public class DeleteDomainExtensionResponse 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 DeleteDomainExtensionResponseBody body;
private DeleteDomainExtensionResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteDomainExtensionResponse 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 DeleteDomainExtensionResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteDomainExtensionResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteDomainExtensionResponseBody body);
@Override
DeleteDomainExtensionResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteDomainExtensionResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteDomainExtensionResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteDomainExtensionResponse 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(DeleteDomainExtensionResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteDomainExtensionResponse build() {
return new DeleteDomainExtensionResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteDomainExtensionResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteDomainExtensionResponseBody} extends {@link TeaModel}
*
* <p>DeleteDomainExtensionResponseBody</p>
*/
public class DeleteDomainExtensionResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteDomainExtensionResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteDomainExtensionResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>149A2470-F010-4437-BF68-343D5099C19D</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteDomainExtensionResponseBody build() {
return new DeleteDomainExtensionResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteLoadBalancerListenerRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteLoadBalancerListenerRequest} extends {@link RequestModel}
*
* <p>DeleteLoadBalancerListenerRequest</p>
*/
public class DeleteLoadBalancerListenerRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ListenerPort")
@com.aliyun.core.annotation.Validation(required = true, maximum = 65535)
private Integer listenerPort;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ListenerProtocol")
private String listenerProtocol;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("LoadBalancerId")
@com.aliyun.core.annotation.Validation(required = true)
private String loadBalancerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteLoadBalancerListenerRequest(Builder builder) {
super(builder);
this.listenerPort = builder.listenerPort;
this.listenerProtocol = builder.listenerProtocol;
this.loadBalancerId = builder.loadBalancerId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteLoadBalancerListenerRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return listenerPort
*/
public Integer getListenerPort() {
return this.listenerPort;
}
/**
* @return listenerProtocol
*/
public String getListenerProtocol() {
return this.listenerProtocol;
}
/**
* @return loadBalancerId
*/
public String getLoadBalancerId() {
return this.loadBalancerId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteLoadBalancerListenerRequest, Builder> {
private Integer listenerPort;
private String listenerProtocol;
private String loadBalancerId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteLoadBalancerListenerRequest request) {
super(request);
this.listenerPort = request.listenerPort;
this.listenerProtocol = request.listenerProtocol;
this.loadBalancerId = request.loadBalancerId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The frontend port that is used by the CLB instance.</p>
* <p>Valid values: <strong>1 to 65535</strong>.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>80</p>
*/
public Builder listenerPort(Integer listenerPort) {
this.putQueryParameter("ListenerPort", listenerPort);
this.listenerPort = listenerPort;
return this;
}
/**
* <p>The frontend protocol that is used by the CLB instance.</p>
* <blockquote>
* <p> This parameter is required if the same port is specified for listeners of different protocols.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>https</p>
*/
public Builder listenerProtocol(String listenerProtocol) {
this.putQueryParameter("ListenerProtocol", listenerProtocol);
this.listenerProtocol = listenerProtocol;
return this;
}
/**
* <p>The ID of the CLB instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>lb-bp13jaf5qli5xmg******</p>
*/
public Builder loadBalancerId(String loadBalancerId) {
this.putQueryParameter("LoadBalancerId", loadBalancerId);
this.loadBalancerId = loadBalancerId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the Classic Load Balancer (CLB) instance.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/27584.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <blockquote>
* <p> The <strong>RegionId</strong> parameter is required if the endpoint of the region is slb.aliyuncs.com.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteLoadBalancerListenerRequest build() {
return new DeleteLoadBalancerListenerRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteLoadBalancerListenerResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteLoadBalancerListenerResponse} extends {@link TeaModel}
*
* <p>DeleteLoadBalancerListenerResponse</p>
*/
public class DeleteLoadBalancerListenerResponse 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 DeleteLoadBalancerListenerResponseBody body;
private DeleteLoadBalancerListenerResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteLoadBalancerListenerResponse 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 DeleteLoadBalancerListenerResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteLoadBalancerListenerResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteLoadBalancerListenerResponseBody body);
@Override
DeleteLoadBalancerListenerResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteLoadBalancerListenerResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteLoadBalancerListenerResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteLoadBalancerListenerResponse 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(DeleteLoadBalancerListenerResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteLoadBalancerListenerResponse build() {
return new DeleteLoadBalancerListenerResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteLoadBalancerListenerResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteLoadBalancerListenerResponseBody} extends {@link TeaModel}
*
* <p>DeleteLoadBalancerListenerResponseBody</p>
*/
public class DeleteLoadBalancerListenerResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteLoadBalancerListenerResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteLoadBalancerListenerResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteLoadBalancerListenerResponseBody build() {
return new DeleteLoadBalancerListenerResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteLoadBalancerRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteLoadBalancerRequest} extends {@link RequestModel}
*
* <p>DeleteLoadBalancerRequest</p>
*/
public class DeleteLoadBalancerRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("LoadBalancerId")
@com.aliyun.core.annotation.Validation(required = true)
private String loadBalancerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteLoadBalancerRequest(Builder builder) {
super(builder);
this.loadBalancerId = builder.loadBalancerId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteLoadBalancerRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return loadBalancerId
*/
public String getLoadBalancerId() {
return this.loadBalancerId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteLoadBalancerRequest, Builder> {
private String loadBalancerId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteLoadBalancerRequest request) {
super(request);
this.loadBalancerId = request.loadBalancerId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The SLB instance ID.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>lb-bp1h66tp5uat8********</p>
*/
public Builder loadBalancerId(String loadBalancerId) {
this.putQueryParameter("LoadBalancerId", loadBalancerId);
this.loadBalancerId = loadBalancerId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the SLB instance.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/27584.html">DescribeRegions</a> operation to query the most recent region list.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteLoadBalancerRequest build() {
return new DeleteLoadBalancerRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteLoadBalancerResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteLoadBalancerResponse} extends {@link TeaModel}
*
* <p>DeleteLoadBalancerResponse</p>
*/
public class DeleteLoadBalancerResponse 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 DeleteLoadBalancerResponseBody body;
private DeleteLoadBalancerResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteLoadBalancerResponse 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 DeleteLoadBalancerResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteLoadBalancerResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteLoadBalancerResponseBody body);
@Override
DeleteLoadBalancerResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteLoadBalancerResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteLoadBalancerResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteLoadBalancerResponse 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(DeleteLoadBalancerResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteLoadBalancerResponse build() {
return new DeleteLoadBalancerResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteLoadBalancerResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteLoadBalancerResponseBody} extends {@link TeaModel}
*
* <p>DeleteLoadBalancerResponseBody</p>
*/
public class DeleteLoadBalancerResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteLoadBalancerResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteLoadBalancerResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteLoadBalancerResponseBody build() {
return new DeleteLoadBalancerResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteMasterSlaveServerGroupRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteMasterSlaveServerGroupRequest} extends {@link RequestModel}
*
* <p>DeleteMasterSlaveServerGroupRequest</p>
*/
public class DeleteMasterSlaveServerGroupRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MasterSlaveServerGroupId")
@com.aliyun.core.annotation.Validation(required = true)
private String masterSlaveServerGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@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("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteMasterSlaveServerGroupRequest(Builder builder) {
super(builder);
this.masterSlaveServerGroupId = builder.masterSlaveServerGroupId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteMasterSlaveServerGroupRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return masterSlaveServerGroupId
*/
public String getMasterSlaveServerGroupId() {
return this.masterSlaveServerGroupId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteMasterSlaveServerGroupRequest, Builder> {
private String masterSlaveServerGroupId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteMasterSlaveServerGroupRequest request) {
super(request);
this.masterSlaveServerGroupId = request.masterSlaveServerGroupId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The primary/secondary server group ID.</p>
* <blockquote>
* <p> You cannot delete a primary/secondary server group that is in use.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>rsp-cige6*****</p>
*/
public Builder masterSlaveServerGroupId(String masterSlaveServerGroupId) {
this.putQueryParameter("MasterSlaveServerGroupId", masterSlaveServerGroupId);
this.masterSlaveServerGroupId = masterSlaveServerGroupId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the Server Load Balancer (SLB) instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteMasterSlaveServerGroupRequest build() {
return new DeleteMasterSlaveServerGroupRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteMasterSlaveServerGroupResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteMasterSlaveServerGroupResponse} extends {@link TeaModel}
*
* <p>DeleteMasterSlaveServerGroupResponse</p>
*/
public class DeleteMasterSlaveServerGroupResponse 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 DeleteMasterSlaveServerGroupResponseBody body;
private DeleteMasterSlaveServerGroupResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteMasterSlaveServerGroupResponse 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 DeleteMasterSlaveServerGroupResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteMasterSlaveServerGroupResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteMasterSlaveServerGroupResponseBody body);
@Override
DeleteMasterSlaveServerGroupResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteMasterSlaveServerGroupResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteMasterSlaveServerGroupResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteMasterSlaveServerGroupResponse 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(DeleteMasterSlaveServerGroupResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteMasterSlaveServerGroupResponse build() {
return new DeleteMasterSlaveServerGroupResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteMasterSlaveServerGroupResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteMasterSlaveServerGroupResponseBody} extends {@link TeaModel}
*
* <p>DeleteMasterSlaveServerGroupResponseBody</p>
*/
public class DeleteMasterSlaveServerGroupResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteMasterSlaveServerGroupResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteMasterSlaveServerGroupResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteMasterSlaveServerGroupResponseBody build() {
return new DeleteMasterSlaveServerGroupResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteRulesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteRulesRequest} extends {@link RequestModel}
*
* <p>DeleteRulesRequest</p>
*/
public class DeleteRulesRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@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("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RuleIds")
@com.aliyun.core.annotation.Validation(required = true)
private String ruleIds;
private DeleteRulesRequest(Builder builder) {
super(builder);
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.ruleIds = builder.ruleIds;
}
public static Builder builder() {
return new Builder();
}
public static DeleteRulesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return ruleIds
*/
public String getRuleIds() {
return this.ruleIds;
}
public static final class Builder extends Request.Builder<DeleteRulesRequest, Builder> {
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String ruleIds;
private Builder() {
super();
}
private Builder(DeleteRulesRequest request) {
super(request);
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.ruleIds = request.ruleIds;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The ID of the region where the Server Load Balancer (SLB) instance is deployed.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/27584.html">DescribeRegions</a> operation to query region IDs.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The list of forwarding rules that you want to delete.</p>
* <blockquote>
* <p> The RuleIds parameter is required. You can specify up to 10 forwarding rules in each request.</p>
* </blockquote>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>["rule-bp1z9ce******","rule-bp1tuc******4"]</p>
*/
public Builder ruleIds(String ruleIds) {
this.putQueryParameter("RuleIds", ruleIds);
this.ruleIds = ruleIds;
return this;
}
@Override
public DeleteRulesRequest build() {
return new DeleteRulesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteRulesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteRulesResponse} extends {@link TeaModel}
*
* <p>DeleteRulesResponse</p>
*/
public class DeleteRulesResponse 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 DeleteRulesResponseBody body;
private DeleteRulesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteRulesResponse 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 DeleteRulesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteRulesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteRulesResponseBody body);
@Override
DeleteRulesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteRulesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteRulesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteRulesResponse 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(DeleteRulesResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteRulesResponse build() {
return new DeleteRulesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteRulesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteRulesResponseBody} extends {@link TeaModel}
*
* <p>DeleteRulesResponseBody</p>
*/
public class DeleteRulesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteRulesResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteRulesResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteRulesResponseBody build() {
return new DeleteRulesResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteServerCertificateRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteServerCertificateRequest} extends {@link RequestModel}
*
* <p>DeleteServerCertificateRequest</p>
*/
public class DeleteServerCertificateRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ServerCertificateId")
@com.aliyun.core.annotation.Validation(required = true)
private String serverCertificateId;
private DeleteServerCertificateRequest(Builder builder) {
super(builder);
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.serverCertificateId = builder.serverCertificateId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteServerCertificateRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return serverCertificateId
*/
public String getServerCertificateId() {
return this.serverCertificateId;
}
public static final class Builder extends Request.Builder<DeleteServerCertificateRequest, Builder> {
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String serverCertificateId;
private Builder() {
super();
}
private Builder(DeleteServerCertificateRequest request) {
super(request);
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.serverCertificateId = request.serverCertificateId;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region where the Server Load Balancer (SLB) instance is created.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/27584.html">DescribeRegions</a> operation to query region IDs.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The ID of the server certificate.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>123157xxxxxxx_166f8204689_1714763408_709981430</p>
*/
public Builder serverCertificateId(String serverCertificateId) {
this.putQueryParameter("ServerCertificateId", serverCertificateId);
this.serverCertificateId = serverCertificateId;
return this;
}
@Override
public DeleteServerCertificateRequest build() {
return new DeleteServerCertificateRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteServerCertificateResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteServerCertificateResponse} extends {@link TeaModel}
*
* <p>DeleteServerCertificateResponse</p>
*/
public class DeleteServerCertificateResponse 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 DeleteServerCertificateResponseBody body;
private DeleteServerCertificateResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteServerCertificateResponse 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 DeleteServerCertificateResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteServerCertificateResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteServerCertificateResponseBody body);
@Override
DeleteServerCertificateResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteServerCertificateResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteServerCertificateResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteServerCertificateResponse 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(DeleteServerCertificateResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteServerCertificateResponse build() {
return new DeleteServerCertificateResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteServerCertificateResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteServerCertificateResponseBody} extends {@link TeaModel}
*
* <p>DeleteServerCertificateResponseBody</p>
*/
public class DeleteServerCertificateResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteServerCertificateResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteServerCertificateResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteServerCertificateResponseBody build() {
return new DeleteServerCertificateResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteTLSCipherPolicyRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteTLSCipherPolicyRequest} extends {@link RequestModel}
*
* <p>DeleteTLSCipherPolicyRequest</p>
*/
public class DeleteTLSCipherPolicyRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@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("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TLSCipherPolicyId")
@com.aliyun.core.annotation.Validation(required = true)
private String TLSCipherPolicyId;
private DeleteTLSCipherPolicyRequest(Builder builder) {
super(builder);
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.TLSCipherPolicyId = builder.TLSCipherPolicyId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteTLSCipherPolicyRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return TLSCipherPolicyId
*/
public String getTLSCipherPolicyId() {
return this.TLSCipherPolicyId;
}
public static final class Builder extends Request.Builder<DeleteTLSCipherPolicyRequest, Builder> {
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String TLSCipherPolicyId;
private Builder() {
super();
}
private Builder(DeleteTLSCipherPolicyRequest request) {
super(request);
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.TLSCipherPolicyId = request.TLSCipherPolicyId;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The ID of the region where the Classic Load Balancer (CLB) instance is created.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* <p>The ID of the TLS policy.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>tls-bp1lp2076qx4ebridp******</p>
*/
public Builder TLSCipherPolicyId(String TLSCipherPolicyId) {
this.putQueryParameter("TLSCipherPolicyId", TLSCipherPolicyId);
this.TLSCipherPolicyId = TLSCipherPolicyId;
return this;
}
@Override
public DeleteTLSCipherPolicyRequest build() {
return new DeleteTLSCipherPolicyRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteTLSCipherPolicyResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteTLSCipherPolicyResponse} extends {@link TeaModel}
*
* <p>DeleteTLSCipherPolicyResponse</p>
*/
public class DeleteTLSCipherPolicyResponse 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 DeleteTLSCipherPolicyResponseBody body;
private DeleteTLSCipherPolicyResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteTLSCipherPolicyResponse 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 DeleteTLSCipherPolicyResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteTLSCipherPolicyResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteTLSCipherPolicyResponseBody body);
@Override
DeleteTLSCipherPolicyResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteTLSCipherPolicyResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteTLSCipherPolicyResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteTLSCipherPolicyResponse 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(DeleteTLSCipherPolicyResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteTLSCipherPolicyResponse build() {
return new DeleteTLSCipherPolicyResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515 | java-sources/com/aliyun/alibabacloud-slb20140515/1.0.7/com/aliyun/sdk/service/slb20140515/models/DeleteTLSCipherPolicyResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.slb20140515.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 DeleteTLSCipherPolicyResponseBody} extends {@link TeaModel}
*
* <p>DeleteTLSCipherPolicyResponseBody</p>
*/
public class DeleteTLSCipherPolicyResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteTLSCipherPolicyResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteTLSCipherPolicyResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String requestId;
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteTLSCipherPolicyResponseBody build() {
return new DeleteTLSCipherPolicyResponseBody(this);
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.