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/DeployCacheDiskResponseBody.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 DeployCacheDiskResponseBody} extends {@link TeaModel}
*
* <p>DeployCacheDiskResponseBody</p>
*/
public class DeployCacheDiskResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
@NameInMap("TaskId")
private String taskId;
private DeployCacheDiskResponseBody(Builder builder) {
this.code = builder.code;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
this.taskId = builder.taskId;
}
public static Builder builder() {
return new Builder();
}
public static DeployCacheDiskResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
/**
* @return taskId
*/
public String getTaskId() {
return this.taskId;
}
public static final class Builder {
private String code;
private String message;
private String requestId;
private Boolean success;
private String taskId;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
/**
* TaskId.
*/
public Builder taskId(String taskId) {
this.taskId = taskId;
return this;
}
public DeployCacheDiskResponseBody build() {
return new DeployCacheDiskResponseBody(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/DeployGatewayRequest.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 DeployGatewayRequest} extends {@link RequestModel}
*
* <p>DeployGatewayRequest</p>
*/
public class DeployGatewayRequest extends Request {
@Query
@NameInMap("GatewayClass")
private String gatewayClass;
@Query
@NameInMap("GatewayId")
@Validation(required = true)
private String gatewayId;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DeployGatewayRequest(Builder builder) {
super(builder);
this.gatewayClass = builder.gatewayClass;
this.gatewayId = builder.gatewayId;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DeployGatewayRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayClass
*/
public String getGatewayClass() {
return this.gatewayClass;
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DeployGatewayRequest, Builder> {
private String gatewayClass;
private String gatewayId;
private String securityToken;
private Builder() {
super();
}
private Builder(DeployGatewayRequest request) {
super(request);
this.gatewayClass = request.gatewayClass;
this.gatewayId = request.gatewayId;
this.securityToken = request.securityToken;
}
/**
* GatewayClass.
*/
public Builder gatewayClass(String gatewayClass) {
this.putQueryParameter("GatewayClass", gatewayClass);
this.gatewayClass = gatewayClass;
return this;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DeployGatewayRequest build() {
return new DeployGatewayRequest(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/DeployGatewayResponse.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 DeployGatewayResponse} extends {@link TeaModel}
*
* <p>DeployGatewayResponse</p>
*/
public class DeployGatewayResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DeployGatewayResponseBody body;
private DeployGatewayResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeployGatewayResponse 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 DeployGatewayResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeployGatewayResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DeployGatewayResponseBody body);
@Override
DeployGatewayResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeployGatewayResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DeployGatewayResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeployGatewayResponse 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(DeployGatewayResponseBody body) {
this.body = body;
return this;
}
@Override
public DeployGatewayResponse build() {
return new DeployGatewayResponse(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/DeployGatewayResponseBody.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 DeployGatewayResponseBody} extends {@link TeaModel}
*
* <p>DeployGatewayResponseBody</p>
*/
public class DeployGatewayResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
@NameInMap("TaskId")
private String taskId;
private DeployGatewayResponseBody(Builder builder) {
this.code = builder.code;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
this.taskId = builder.taskId;
}
public static Builder builder() {
return new Builder();
}
public static DeployGatewayResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
/**
* @return taskId
*/
public String getTaskId() {
return this.taskId;
}
public static final class Builder {
private String code;
private String message;
private String requestId;
private Boolean success;
private String taskId;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
/**
* TaskId.
*/
public Builder taskId(String taskId) {
this.taskId = taskId;
return this;
}
public DeployGatewayResponseBody build() {
return new DeployGatewayResponseBody(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/DescribeAccountConfigRequest.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 DescribeAccountConfigRequest} extends {@link RequestModel}
*
* <p>DescribeAccountConfigRequest</p>
*/
public class DescribeAccountConfigRequest extends Request {
@Query
@NameInMap("GatewayId")
private String gatewayId;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeAccountConfigRequest(Builder builder) {
super(builder);
this.gatewayId = builder.gatewayId;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeAccountConfigRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeAccountConfigRequest, Builder> {
private String gatewayId;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeAccountConfigRequest request) {
super(request);
this.gatewayId = request.gatewayId;
this.securityToken = request.securityToken;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeAccountConfigRequest build() {
return new DescribeAccountConfigRequest(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/DescribeAccountConfigResponse.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 DescribeAccountConfigResponse} extends {@link TeaModel}
*
* <p>DescribeAccountConfigResponse</p>
*/
public class DescribeAccountConfigResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeAccountConfigResponseBody body;
private DescribeAccountConfigResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeAccountConfigResponse 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 DescribeAccountConfigResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeAccountConfigResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeAccountConfigResponseBody body);
@Override
DescribeAccountConfigResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeAccountConfigResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeAccountConfigResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeAccountConfigResponse 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(DescribeAccountConfigResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeAccountConfigResponse build() {
return new DescribeAccountConfigResponse(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/DescribeAccountConfigResponseBody.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 DescribeAccountConfigResponseBody} extends {@link TeaModel}
*
* <p>DescribeAccountConfigResponseBody</p>
*/
public class DescribeAccountConfigResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("IsSupportClientSideEncryption")
private Boolean isSupportClientSideEncryption;
@NameInMap("IsSupportElasticGatewayBeta")
private Boolean isSupportElasticGatewayBeta;
@NameInMap("IsSupportGatewayLogging")
private Boolean isSupportGatewayLogging;
@NameInMap("IsSupportServerSideEncryption")
private Boolean isSupportServerSideEncryption;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private DescribeAccountConfigResponseBody(Builder builder) {
this.code = builder.code;
this.isSupportClientSideEncryption = builder.isSupportClientSideEncryption;
this.isSupportElasticGatewayBeta = builder.isSupportElasticGatewayBeta;
this.isSupportGatewayLogging = builder.isSupportGatewayLogging;
this.isSupportServerSideEncryption = builder.isSupportServerSideEncryption;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeAccountConfigResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return isSupportClientSideEncryption
*/
public Boolean getIsSupportClientSideEncryption() {
return this.isSupportClientSideEncryption;
}
/**
* @return isSupportElasticGatewayBeta
*/
public Boolean getIsSupportElasticGatewayBeta() {
return this.isSupportElasticGatewayBeta;
}
/**
* @return isSupportGatewayLogging
*/
public Boolean getIsSupportGatewayLogging() {
return this.isSupportGatewayLogging;
}
/**
* @return isSupportServerSideEncryption
*/
public Boolean getIsSupportServerSideEncryption() {
return this.isSupportServerSideEncryption;
}
/**
* @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 isSupportClientSideEncryption;
private Boolean isSupportElasticGatewayBeta;
private Boolean isSupportGatewayLogging;
private Boolean isSupportServerSideEncryption;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* IsSupportClientSideEncryption.
*/
public Builder isSupportClientSideEncryption(Boolean isSupportClientSideEncryption) {
this.isSupportClientSideEncryption = isSupportClientSideEncryption;
return this;
}
/**
* IsSupportElasticGatewayBeta.
*/
public Builder isSupportElasticGatewayBeta(Boolean isSupportElasticGatewayBeta) {
this.isSupportElasticGatewayBeta = isSupportElasticGatewayBeta;
return this;
}
/**
* IsSupportGatewayLogging.
*/
public Builder isSupportGatewayLogging(Boolean isSupportGatewayLogging) {
this.isSupportGatewayLogging = isSupportGatewayLogging;
return this;
}
/**
* IsSupportServerSideEncryption.
*/
public Builder isSupportServerSideEncryption(Boolean isSupportServerSideEncryption) {
this.isSupportServerSideEncryption = isSupportServerSideEncryption;
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 DescribeAccountConfigResponseBody build() {
return new DescribeAccountConfigResponseBody(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/DescribeBlockVolumeSnapshotsRequest.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 DescribeBlockVolumeSnapshotsRequest} extends {@link RequestModel}
*
* <p>DescribeBlockVolumeSnapshotsRequest</p>
*/
public class DescribeBlockVolumeSnapshotsRequest extends Request {
@Query
@NameInMap("GatewayId")
@Validation(required = true)
private String gatewayId;
@Query
@NameInMap("IndexId")
private String indexId;
@Query
@NameInMap("PageNumber")
private Integer pageNumber;
@Query
@NameInMap("PageSize")
private Integer pageSize;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeBlockVolumeSnapshotsRequest(Builder builder) {
super(builder);
this.gatewayId = builder.gatewayId;
this.indexId = builder.indexId;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeBlockVolumeSnapshotsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return indexId
*/
public String getIndexId() {
return this.indexId;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeBlockVolumeSnapshotsRequest, Builder> {
private String gatewayId;
private String indexId;
private Integer pageNumber;
private Integer pageSize;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeBlockVolumeSnapshotsRequest request) {
super(request);
this.gatewayId = request.gatewayId;
this.indexId = request.indexId;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.securityToken = request.securityToken;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* IndexId.
*/
public Builder indexId(String indexId) {
this.putQueryParameter("IndexId", indexId);
this.indexId = indexId;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeBlockVolumeSnapshotsRequest build() {
return new DescribeBlockVolumeSnapshotsRequest(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/DescribeBlockVolumeSnapshotsResponse.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 DescribeBlockVolumeSnapshotsResponse} extends {@link TeaModel}
*
* <p>DescribeBlockVolumeSnapshotsResponse</p>
*/
public class DescribeBlockVolumeSnapshotsResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeBlockVolumeSnapshotsResponseBody body;
private DescribeBlockVolumeSnapshotsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeBlockVolumeSnapshotsResponse 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 DescribeBlockVolumeSnapshotsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeBlockVolumeSnapshotsResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeBlockVolumeSnapshotsResponseBody body);
@Override
DescribeBlockVolumeSnapshotsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeBlockVolumeSnapshotsResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeBlockVolumeSnapshotsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeBlockVolumeSnapshotsResponse 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(DescribeBlockVolumeSnapshotsResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeBlockVolumeSnapshotsResponse build() {
return new DescribeBlockVolumeSnapshotsResponse(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/DescribeBlockVolumeSnapshotsResponseBody.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 DescribeBlockVolumeSnapshotsResponseBody} extends {@link TeaModel}
*
* <p>DescribeBlockVolumeSnapshotsResponseBody</p>
*/
public class DescribeBlockVolumeSnapshotsResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("Message")
private String message;
@NameInMap("PageNumber")
private Integer pageNumber;
@NameInMap("PageSize")
private Integer pageSize;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Snapshots")
private Snapshots snapshots;
@NameInMap("Success")
private Boolean success;
@NameInMap("TotalCount")
private Integer totalCount;
private DescribeBlockVolumeSnapshotsResponseBody(Builder builder) {
this.code = builder.code;
this.message = builder.message;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.snapshots = builder.snapshots;
this.success = builder.success;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeBlockVolumeSnapshotsResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return snapshots
*/
public Snapshots getSnapshots() {
return this.snapshots;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private String code;
private String message;
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Snapshots snapshots;
private Boolean success;
private Integer totalCount;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Snapshots.
*/
public Builder snapshots(Snapshots snapshots) {
this.snapshots = snapshots;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
/**
* TotalCount.
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public DescribeBlockVolumeSnapshotsResponseBody build() {
return new DescribeBlockVolumeSnapshotsResponseBody(this);
}
}
public static class Snapshot extends TeaModel {
@NameInMap("CreateTime")
private Long createTime;
@NameInMap("Size")
private Long size;
@NameInMap("SnapshotName")
private String snapshotName;
private Snapshot(Builder builder) {
this.createTime = builder.createTime;
this.size = builder.size;
this.snapshotName = builder.snapshotName;
}
public static Builder builder() {
return new Builder();
}
public static Snapshot create() {
return builder().build();
}
/**
* @return createTime
*/
public Long getCreateTime() {
return this.createTime;
}
/**
* @return size
*/
public Long getSize() {
return this.size;
}
/**
* @return snapshotName
*/
public String getSnapshotName() {
return this.snapshotName;
}
public static final class Builder {
private Long createTime;
private Long size;
private String snapshotName;
/**
* CreateTime.
*/
public Builder createTime(Long createTime) {
this.createTime = createTime;
return this;
}
/**
* Size.
*/
public Builder size(Long size) {
this.size = size;
return this;
}
/**
* SnapshotName.
*/
public Builder snapshotName(String snapshotName) {
this.snapshotName = snapshotName;
return this;
}
public Snapshot build() {
return new Snapshot(this);
}
}
}
public static class Snapshots extends TeaModel {
@NameInMap("Snapshot")
private java.util.List < Snapshot> snapshot;
private Snapshots(Builder builder) {
this.snapshot = builder.snapshot;
}
public static Builder builder() {
return new Builder();
}
public static Snapshots create() {
return builder().build();
}
/**
* @return snapshot
*/
public java.util.List < Snapshot> getSnapshot() {
return this.snapshot;
}
public static final class Builder {
private java.util.List < Snapshot> snapshot;
/**
* Snapshot.
*/
public Builder snapshot(java.util.List < Snapshot> snapshot) {
this.snapshot = snapshot;
return this;
}
public Snapshots build() {
return new Snapshots(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/DescribeCSGClientTasksRequest.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 DescribeCSGClientTasksRequest} extends {@link RequestModel}
*
* <p>DescribeCSGClientTasksRequest</p>
*/
public class DescribeCSGClientTasksRequest extends Request {
@Query
@NameInMap("ClientId")
private String clientId;
@Query
@NameInMap("ClientRegionId")
@Validation(required = true)
private String clientRegionId;
@Query
@NameInMap("PageNumber")
private Integer pageNumber;
@Query
@NameInMap("PageSize")
private Integer pageSize;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeCSGClientTasksRequest(Builder builder) {
super(builder);
this.clientId = builder.clientId;
this.clientRegionId = builder.clientRegionId;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCSGClientTasksRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientId
*/
public String getClientId() {
return this.clientId;
}
/**
* @return clientRegionId
*/
public String getClientRegionId() {
return this.clientRegionId;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeCSGClientTasksRequest, Builder> {
private String clientId;
private String clientRegionId;
private Integer pageNumber;
private Integer pageSize;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeCSGClientTasksRequest request) {
super(request);
this.clientId = request.clientId;
this.clientRegionId = request.clientRegionId;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.securityToken = request.securityToken;
}
/**
* ClientId.
*/
public Builder clientId(String clientId) {
this.putQueryParameter("ClientId", clientId);
this.clientId = clientId;
return this;
}
/**
* ClientRegionId.
*/
public Builder clientRegionId(String clientRegionId) {
this.putQueryParameter("ClientRegionId", clientRegionId);
this.clientRegionId = clientRegionId;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeCSGClientTasksRequest build() {
return new DescribeCSGClientTasksRequest(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/DescribeCSGClientTasksResponse.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 DescribeCSGClientTasksResponse} extends {@link TeaModel}
*
* <p>DescribeCSGClientTasksResponse</p>
*/
public class DescribeCSGClientTasksResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeCSGClientTasksResponseBody body;
private DescribeCSGClientTasksResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCSGClientTasksResponse 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 DescribeCSGClientTasksResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCSGClientTasksResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCSGClientTasksResponseBody body);
@Override
DescribeCSGClientTasksResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCSGClientTasksResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeCSGClientTasksResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCSGClientTasksResponse 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(DescribeCSGClientTasksResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCSGClientTasksResponse build() {
return new DescribeCSGClientTasksResponse(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/DescribeCSGClientTasksResponseBody.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 DescribeCSGClientTasksResponseBody} extends {@link TeaModel}
*
* <p>DescribeCSGClientTasksResponseBody</p>
*/
public class DescribeCSGClientTasksResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("Message")
private String message;
@NameInMap("PageNumber")
private Integer pageNumber;
@NameInMap("PageSize")
private Integer pageSize;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
@NameInMap("Tasks")
private java.util.List < Tasks> tasks;
@NameInMap("TotalCount")
private Integer totalCount;
private DescribeCSGClientTasksResponseBody(Builder builder) {
this.code = builder.code;
this.message = builder.message;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.success = builder.success;
this.tasks = builder.tasks;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCSGClientTasksResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
/**
* @return tasks
*/
public java.util.List < Tasks> getTasks() {
return this.tasks;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private String code;
private String message;
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Boolean success;
private java.util.List < Tasks> tasks;
private Integer totalCount;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
/**
* Tasks.
*/
public Builder tasks(java.util.List < Tasks> tasks) {
this.tasks = tasks;
return this;
}
/**
* TotalCount.
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public DescribeCSGClientTasksResponseBody build() {
return new DescribeCSGClientTasksResponseBody(this);
}
}
public static class Tasks extends TeaModel {
@NameInMap("CreatedTime")
private Long createdTime;
@NameInMap("MessageKey")
private String messageKey;
@NameInMap("MessageParams")
private String messageParams;
@NameInMap("Name")
private String name;
@NameInMap("Progress")
private Integer progress;
@NameInMap("StateCode")
private String stateCode;
@NameInMap("TaskId")
private String taskId;
@NameInMap("UpdatedTime")
private Long updatedTime;
private Tasks(Builder builder) {
this.createdTime = builder.createdTime;
this.messageKey = builder.messageKey;
this.messageParams = builder.messageParams;
this.name = builder.name;
this.progress = builder.progress;
this.stateCode = builder.stateCode;
this.taskId = builder.taskId;
this.updatedTime = builder.updatedTime;
}
public static Builder builder() {
return new Builder();
}
public static Tasks create() {
return builder().build();
}
/**
* @return createdTime
*/
public Long getCreatedTime() {
return this.createdTime;
}
/**
* @return messageKey
*/
public String getMessageKey() {
return this.messageKey;
}
/**
* @return messageParams
*/
public String getMessageParams() {
return this.messageParams;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return progress
*/
public Integer getProgress() {
return this.progress;
}
/**
* @return stateCode
*/
public String getStateCode() {
return this.stateCode;
}
/**
* @return taskId
*/
public String getTaskId() {
return this.taskId;
}
/**
* @return updatedTime
*/
public Long getUpdatedTime() {
return this.updatedTime;
}
public static final class Builder {
private Long createdTime;
private String messageKey;
private String messageParams;
private String name;
private Integer progress;
private String stateCode;
private String taskId;
private Long updatedTime;
/**
* CreatedTime.
*/
public Builder createdTime(Long createdTime) {
this.createdTime = createdTime;
return this;
}
/**
* MessageKey.
*/
public Builder messageKey(String messageKey) {
this.messageKey = messageKey;
return this;
}
/**
* MessageParams.
*/
public Builder messageParams(String messageParams) {
this.messageParams = messageParams;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* Progress.
*/
public Builder progress(Integer progress) {
this.progress = progress;
return this;
}
/**
* StateCode.
*/
public Builder stateCode(String stateCode) {
this.stateCode = stateCode;
return this;
}
/**
* TaskId.
*/
public Builder taskId(String taskId) {
this.taskId = taskId;
return this;
}
/**
* UpdatedTime.
*/
public Builder updatedTime(Long updatedTime) {
this.updatedTime = updatedTime;
return this;
}
public Tasks build() {
return new Tasks(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/DescribeCSGClientsRequest.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 DescribeCSGClientsRequest} extends {@link RequestModel}
*
* <p>DescribeCSGClientsRequest</p>
*/
public class DescribeCSGClientsRequest extends Request {
@Query
@NameInMap("ClientRegionId")
private String clientRegionId;
@Query
@NameInMap("PageNumber")
private Integer pageNumber;
@Query
@NameInMap("PageSize")
private Integer pageSize;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeCSGClientsRequest(Builder builder) {
super(builder);
this.clientRegionId = builder.clientRegionId;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCSGClientsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientRegionId
*/
public String getClientRegionId() {
return this.clientRegionId;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeCSGClientsRequest, Builder> {
private String clientRegionId;
private Integer pageNumber;
private Integer pageSize;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeCSGClientsRequest request) {
super(request);
this.clientRegionId = request.clientRegionId;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.securityToken = request.securityToken;
}
/**
* ClientRegionId.
*/
public Builder clientRegionId(String clientRegionId) {
this.putQueryParameter("ClientRegionId", clientRegionId);
this.clientRegionId = clientRegionId;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeCSGClientsRequest build() {
return new DescribeCSGClientsRequest(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/DescribeCSGClientsResponse.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 DescribeCSGClientsResponse} extends {@link TeaModel}
*
* <p>DescribeCSGClientsResponse</p>
*/
public class DescribeCSGClientsResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeCSGClientsResponseBody body;
private DescribeCSGClientsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeCSGClientsResponse 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 DescribeCSGClientsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeCSGClientsResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeCSGClientsResponseBody body);
@Override
DescribeCSGClientsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeCSGClientsResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeCSGClientsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeCSGClientsResponse 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(DescribeCSGClientsResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeCSGClientsResponse build() {
return new DescribeCSGClientsResponse(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/DescribeCSGClientsResponseBody.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 DescribeCSGClientsResponseBody} extends {@link TeaModel}
*
* <p>DescribeCSGClientsResponseBody</p>
*/
public class DescribeCSGClientsResponseBody extends TeaModel {
@NameInMap("Clients")
private java.util.List < Clients> clients;
@NameInMap("Code")
private String code;
@NameInMap("Message")
private String message;
@NameInMap("PageNumber")
private Integer pageNumber;
@NameInMap("PageSize")
private Integer pageSize;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
@NameInMap("TotalCount")
private Integer totalCount;
private DescribeCSGClientsResponseBody(Builder builder) {
this.clients = builder.clients;
this.code = builder.code;
this.message = builder.message;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.success = builder.success;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCSGClientsResponseBody create() {
return builder().build();
}
/**
* @return clients
*/
public java.util.List < Clients> getClients() {
return this.clients;
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private java.util.List < Clients> clients;
private String code;
private String message;
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Boolean success;
private Integer totalCount;
/**
* Clients.
*/
public Builder clients(java.util.List < Clients> clients) {
this.clients = clients;
return this;
}
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
/**
* TotalCount.
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public DescribeCSGClientsResponseBody build() {
return new DescribeCSGClientsResponseBody(this);
}
}
public static class Clients extends TeaModel {
@NameInMap("ClientDeletionCommand")
private String clientDeletionCommand;
@NameInMap("ClientId")
private String clientId;
@NameInMap("ClientInstallationCommand")
private String clientInstallationCommand;
@NameInMap("ClientVersion")
private String clientVersion;
@NameInMap("EcsInstanceId")
private String ecsInstanceId;
@NameInMap("HostInstanceId")
private String hostInstanceId;
@NameInMap("LastHeartbeatTime")
private Long lastHeartbeatTime;
@NameInMap("Status")
private String status;
@NameInMap("VpcId")
private String vpcId;
@NameInMap("WorkDirectory")
private String workDirectory;
private Clients(Builder builder) {
this.clientDeletionCommand = builder.clientDeletionCommand;
this.clientId = builder.clientId;
this.clientInstallationCommand = builder.clientInstallationCommand;
this.clientVersion = builder.clientVersion;
this.ecsInstanceId = builder.ecsInstanceId;
this.hostInstanceId = builder.hostInstanceId;
this.lastHeartbeatTime = builder.lastHeartbeatTime;
this.status = builder.status;
this.vpcId = builder.vpcId;
this.workDirectory = builder.workDirectory;
}
public static Builder builder() {
return new Builder();
}
public static Clients create() {
return builder().build();
}
/**
* @return clientDeletionCommand
*/
public String getClientDeletionCommand() {
return this.clientDeletionCommand;
}
/**
* @return clientId
*/
public String getClientId() {
return this.clientId;
}
/**
* @return clientInstallationCommand
*/
public String getClientInstallationCommand() {
return this.clientInstallationCommand;
}
/**
* @return clientVersion
*/
public String getClientVersion() {
return this.clientVersion;
}
/**
* @return ecsInstanceId
*/
public String getEcsInstanceId() {
return this.ecsInstanceId;
}
/**
* @return hostInstanceId
*/
public String getHostInstanceId() {
return this.hostInstanceId;
}
/**
* @return lastHeartbeatTime
*/
public Long getLastHeartbeatTime() {
return this.lastHeartbeatTime;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return vpcId
*/
public String getVpcId() {
return this.vpcId;
}
/**
* @return workDirectory
*/
public String getWorkDirectory() {
return this.workDirectory;
}
public static final class Builder {
private String clientDeletionCommand;
private String clientId;
private String clientInstallationCommand;
private String clientVersion;
private String ecsInstanceId;
private String hostInstanceId;
private Long lastHeartbeatTime;
private String status;
private String vpcId;
private String workDirectory;
/**
* ClientDeletionCommand.
*/
public Builder clientDeletionCommand(String clientDeletionCommand) {
this.clientDeletionCommand = clientDeletionCommand;
return this;
}
/**
* ClientId.
*/
public Builder clientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* ClientInstallationCommand.
*/
public Builder clientInstallationCommand(String clientInstallationCommand) {
this.clientInstallationCommand = clientInstallationCommand;
return this;
}
/**
* ClientVersion.
*/
public Builder clientVersion(String clientVersion) {
this.clientVersion = clientVersion;
return this;
}
/**
* EcsInstanceId.
*/
public Builder ecsInstanceId(String ecsInstanceId) {
this.ecsInstanceId = ecsInstanceId;
return this;
}
/**
* HostInstanceId.
*/
public Builder hostInstanceId(String hostInstanceId) {
this.hostInstanceId = hostInstanceId;
return this;
}
/**
* LastHeartbeatTime.
*/
public Builder lastHeartbeatTime(Long lastHeartbeatTime) {
this.lastHeartbeatTime = lastHeartbeatTime;
return this;
}
/**
* Status.
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* VpcId.
*/
public Builder vpcId(String vpcId) {
this.vpcId = vpcId;
return this;
}
/**
* WorkDirectory.
*/
public Builder workDirectory(String workDirectory) {
this.workDirectory = workDirectory;
return this;
}
public Clients build() {
return new Clients(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/DescribeDashboardRequest.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 DescribeDashboardRequest} extends {@link RequestModel}
*
* <p>DescribeDashboardRequest</p>
*/
public class DescribeDashboardRequest extends Request {
@Query
@NameInMap("BackendBucketRegionId")
private String backendBucketRegionId;
@Query
@NameInMap("ResourceGroupId")
private String resourceGroupId;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeDashboardRequest(Builder builder) {
super(builder);
this.backendBucketRegionId = builder.backendBucketRegionId;
this.resourceGroupId = builder.resourceGroupId;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeDashboardRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return backendBucketRegionId
*/
public String getBackendBucketRegionId() {
return this.backendBucketRegionId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeDashboardRequest, Builder> {
private String backendBucketRegionId;
private String resourceGroupId;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeDashboardRequest request) {
super(request);
this.backendBucketRegionId = request.backendBucketRegionId;
this.resourceGroupId = request.resourceGroupId;
this.securityToken = request.securityToken;
}
/**
* BackendBucketRegionId.
*/
public Builder backendBucketRegionId(String backendBucketRegionId) {
this.putQueryParameter("BackendBucketRegionId", backendBucketRegionId);
this.backendBucketRegionId = backendBucketRegionId;
return this;
}
/**
* ResourceGroupId.
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeDashboardRequest build() {
return new DescribeDashboardRequest(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/DescribeDashboardResponse.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 DescribeDashboardResponse} extends {@link TeaModel}
*
* <p>DescribeDashboardResponse</p>
*/
public class DescribeDashboardResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeDashboardResponseBody body;
private DescribeDashboardResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeDashboardResponse 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 DescribeDashboardResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeDashboardResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeDashboardResponseBody body);
@Override
DescribeDashboardResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeDashboardResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeDashboardResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeDashboardResponse 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(DescribeDashboardResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeDashboardResponse build() {
return new DescribeDashboardResponse(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/DescribeDashboardResponseBody.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 DescribeDashboardResponseBody} extends {@link TeaModel}
*
* <p>DescribeDashboardResponseBody</p>
*/
public class DescribeDashboardResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("Message")
private String message;
@NameInMap("Overview")
private String overview;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private DescribeDashboardResponseBody(Builder builder) {
this.code = builder.code;
this.message = builder.message;
this.overview = builder.overview;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeDashboardResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return overview
*/
public String getOverview() {
return this.overview;
}
/**
* @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 String message;
private String overview;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* Overview.
*/
public Builder overview(String overview) {
this.overview = overview;
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 DescribeDashboardResponseBody build() {
return new DescribeDashboardResponseBody(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/DescribeExpireCachesRequest.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 DescribeExpireCachesRequest} extends {@link RequestModel}
*
* <p>DescribeExpireCachesRequest</p>
*/
public class DescribeExpireCachesRequest extends Request {
@Query
@NameInMap("GatewayId")
@Validation(required = true)
private String gatewayId;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeExpireCachesRequest(Builder builder) {
super(builder);
this.gatewayId = builder.gatewayId;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeExpireCachesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeExpireCachesRequest, Builder> {
private String gatewayId;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeExpireCachesRequest request) {
super(request);
this.gatewayId = request.gatewayId;
this.securityToken = request.securityToken;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeExpireCachesRequest build() {
return new DescribeExpireCachesRequest(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/DescribeExpireCachesResponse.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 DescribeExpireCachesResponse} extends {@link TeaModel}
*
* <p>DescribeExpireCachesResponse</p>
*/
public class DescribeExpireCachesResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeExpireCachesResponseBody body;
private DescribeExpireCachesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeExpireCachesResponse 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 DescribeExpireCachesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeExpireCachesResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeExpireCachesResponseBody body);
@Override
DescribeExpireCachesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeExpireCachesResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeExpireCachesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeExpireCachesResponse 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(DescribeExpireCachesResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeExpireCachesResponse build() {
return new DescribeExpireCachesResponse(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/DescribeExpireCachesResponseBody.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 DescribeExpireCachesResponseBody} extends {@link TeaModel}
*
* <p>DescribeExpireCachesResponseBody</p>
*/
public class DescribeExpireCachesResponseBody extends TeaModel {
@NameInMap("CacheFilePaths")
private String cacheFilePaths;
@NameInMap("Code")
private String code;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private DescribeExpireCachesResponseBody(Builder builder) {
this.cacheFilePaths = builder.cacheFilePaths;
this.code = builder.code;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeExpireCachesResponseBody create() {
return builder().build();
}
/**
* @return cacheFilePaths
*/
public String getCacheFilePaths() {
return this.cacheFilePaths;
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @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 cacheFilePaths;
private String code;
private String message;
private String requestId;
private Boolean success;
/**
* CacheFilePaths.
*/
public Builder cacheFilePaths(String cacheFilePaths) {
this.cacheFilePaths = cacheFilePaths;
return this;
}
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DescribeExpireCachesResponseBody build() {
return new DescribeExpireCachesResponseBody(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/DescribeExpressSyncSharesRequest.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 DescribeExpressSyncSharesRequest} extends {@link RequestModel}
*
* <p>DescribeExpressSyncSharesRequest</p>
*/
public class DescribeExpressSyncSharesRequest extends Request {
@Query
@NameInMap("ExpressSyncIds")
@Validation(required = true)
private String expressSyncIds;
@Query
@NameInMap("IsExternal")
private Boolean isExternal;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeExpressSyncSharesRequest(Builder builder) {
super(builder);
this.expressSyncIds = builder.expressSyncIds;
this.isExternal = builder.isExternal;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeExpressSyncSharesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return expressSyncIds
*/
public String getExpressSyncIds() {
return this.expressSyncIds;
}
/**
* @return isExternal
*/
public Boolean getIsExternal() {
return this.isExternal;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeExpressSyncSharesRequest, Builder> {
private String expressSyncIds;
private Boolean isExternal;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeExpressSyncSharesRequest request) {
super(request);
this.expressSyncIds = request.expressSyncIds;
this.isExternal = request.isExternal;
this.securityToken = request.securityToken;
}
/**
* ExpressSyncIds.
*/
public Builder expressSyncIds(String expressSyncIds) {
this.putQueryParameter("ExpressSyncIds", expressSyncIds);
this.expressSyncIds = expressSyncIds;
return this;
}
/**
* IsExternal.
*/
public Builder isExternal(Boolean isExternal) {
this.putQueryParameter("IsExternal", isExternal);
this.isExternal = isExternal;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeExpressSyncSharesRequest build() {
return new DescribeExpressSyncSharesRequest(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/DescribeExpressSyncSharesResponse.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 DescribeExpressSyncSharesResponse} extends {@link TeaModel}
*
* <p>DescribeExpressSyncSharesResponse</p>
*/
public class DescribeExpressSyncSharesResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeExpressSyncSharesResponseBody body;
private DescribeExpressSyncSharesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeExpressSyncSharesResponse 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 DescribeExpressSyncSharesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeExpressSyncSharesResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeExpressSyncSharesResponseBody body);
@Override
DescribeExpressSyncSharesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeExpressSyncSharesResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeExpressSyncSharesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeExpressSyncSharesResponse 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(DescribeExpressSyncSharesResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeExpressSyncSharesResponse build() {
return new DescribeExpressSyncSharesResponse(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/DescribeExpressSyncSharesResponseBody.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 DescribeExpressSyncSharesResponseBody} extends {@link TeaModel}
*
* <p>DescribeExpressSyncSharesResponseBody</p>
*/
public class DescribeExpressSyncSharesResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Shares")
private Shares shares;
@NameInMap("Success")
private Boolean success;
private DescribeExpressSyncSharesResponseBody(Builder builder) {
this.code = builder.code;
this.message = builder.message;
this.requestId = builder.requestId;
this.shares = builder.shares;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeExpressSyncSharesResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return shares
*/
public Shares getShares() {
return this.shares;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private String code;
private String message;
private String requestId;
private Shares shares;
private Boolean success;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Shares.
*/
public Builder shares(Shares shares) {
this.shares = shares;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DescribeExpressSyncSharesResponseBody build() {
return new DescribeExpressSyncSharesResponseBody(this);
}
}
public static class Share extends TeaModel {
@NameInMap("ExpressSyncId")
private String expressSyncId;
@NameInMap("ExpressSyncState")
private String expressSyncState;
@NameInMap("GatewayId")
private String gatewayId;
@NameInMap("GatewayName")
private String gatewayName;
@NameInMap("GatewayRegion")
private String gatewayRegion;
@NameInMap("MnsQueue")
private String mnsQueue;
@NameInMap("ShareName")
private String shareName;
@NameInMap("StorageBundleId")
private String storageBundleId;
@NameInMap("SyncProgress")
private Integer syncProgress;
private Share(Builder builder) {
this.expressSyncId = builder.expressSyncId;
this.expressSyncState = builder.expressSyncState;
this.gatewayId = builder.gatewayId;
this.gatewayName = builder.gatewayName;
this.gatewayRegion = builder.gatewayRegion;
this.mnsQueue = builder.mnsQueue;
this.shareName = builder.shareName;
this.storageBundleId = builder.storageBundleId;
this.syncProgress = builder.syncProgress;
}
public static Builder builder() {
return new Builder();
}
public static Share create() {
return builder().build();
}
/**
* @return expressSyncId
*/
public String getExpressSyncId() {
return this.expressSyncId;
}
/**
* @return expressSyncState
*/
public String getExpressSyncState() {
return this.expressSyncState;
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return gatewayName
*/
public String getGatewayName() {
return this.gatewayName;
}
/**
* @return gatewayRegion
*/
public String getGatewayRegion() {
return this.gatewayRegion;
}
/**
* @return mnsQueue
*/
public String getMnsQueue() {
return this.mnsQueue;
}
/**
* @return shareName
*/
public String getShareName() {
return this.shareName;
}
/**
* @return storageBundleId
*/
public String getStorageBundleId() {
return this.storageBundleId;
}
/**
* @return syncProgress
*/
public Integer getSyncProgress() {
return this.syncProgress;
}
public static final class Builder {
private String expressSyncId;
private String expressSyncState;
private String gatewayId;
private String gatewayName;
private String gatewayRegion;
private String mnsQueue;
private String shareName;
private String storageBundleId;
private Integer syncProgress;
/**
* ExpressSyncId.
*/
public Builder expressSyncId(String expressSyncId) {
this.expressSyncId = expressSyncId;
return this;
}
/**
* ExpressSyncState.
*/
public Builder expressSyncState(String expressSyncState) {
this.expressSyncState = expressSyncState;
return this;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.gatewayId = gatewayId;
return this;
}
/**
* GatewayName.
*/
public Builder gatewayName(String gatewayName) {
this.gatewayName = gatewayName;
return this;
}
/**
* GatewayRegion.
*/
public Builder gatewayRegion(String gatewayRegion) {
this.gatewayRegion = gatewayRegion;
return this;
}
/**
* MnsQueue.
*/
public Builder mnsQueue(String mnsQueue) {
this.mnsQueue = mnsQueue;
return this;
}
/**
* ShareName.
*/
public Builder shareName(String shareName) {
this.shareName = shareName;
return this;
}
/**
* StorageBundleId.
*/
public Builder storageBundleId(String storageBundleId) {
this.storageBundleId = storageBundleId;
return this;
}
/**
* SyncProgress.
*/
public Builder syncProgress(Integer syncProgress) {
this.syncProgress = syncProgress;
return this;
}
public Share build() {
return new Share(this);
}
}
}
public static class Shares extends TeaModel {
@NameInMap("Share")
private java.util.List < Share> share;
private Shares(Builder builder) {
this.share = builder.share;
}
public static Builder builder() {
return new Builder();
}
public static Shares create() {
return builder().build();
}
/**
* @return share
*/
public java.util.List < Share> getShare() {
return this.share;
}
public static final class Builder {
private java.util.List < Share> share;
/**
* Share.
*/
public Builder share(java.util.List < Share> share) {
this.share = share;
return this;
}
public Shares build() {
return new Shares(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/DescribeExpressSyncsRequest.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 DescribeExpressSyncsRequest} extends {@link RequestModel}
*
* <p>DescribeExpressSyncsRequest</p>
*/
public class DescribeExpressSyncsRequest extends Request {
@Query
@NameInMap("BucketName")
private String bucketName;
@Query
@NameInMap("BucketPrefix")
private String bucketPrefix;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeExpressSyncsRequest(Builder builder) {
super(builder);
this.bucketName = builder.bucketName;
this.bucketPrefix = builder.bucketPrefix;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeExpressSyncsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return bucketName
*/
public String getBucketName() {
return this.bucketName;
}
/**
* @return bucketPrefix
*/
public String getBucketPrefix() {
return this.bucketPrefix;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeExpressSyncsRequest, Builder> {
private String bucketName;
private String bucketPrefix;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeExpressSyncsRequest request) {
super(request);
this.bucketName = request.bucketName;
this.bucketPrefix = request.bucketPrefix;
this.securityToken = request.securityToken;
}
/**
* BucketName.
*/
public Builder bucketName(String bucketName) {
this.putQueryParameter("BucketName", bucketName);
this.bucketName = bucketName;
return this;
}
/**
* BucketPrefix.
*/
public Builder bucketPrefix(String bucketPrefix) {
this.putQueryParameter("BucketPrefix", bucketPrefix);
this.bucketPrefix = bucketPrefix;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeExpressSyncsRequest build() {
return new DescribeExpressSyncsRequest(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/DescribeExpressSyncsResponse.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 DescribeExpressSyncsResponse} extends {@link TeaModel}
*
* <p>DescribeExpressSyncsResponse</p>
*/
public class DescribeExpressSyncsResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeExpressSyncsResponseBody body;
private DescribeExpressSyncsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeExpressSyncsResponse 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 DescribeExpressSyncsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeExpressSyncsResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeExpressSyncsResponseBody body);
@Override
DescribeExpressSyncsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeExpressSyncsResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeExpressSyncsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeExpressSyncsResponse 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(DescribeExpressSyncsResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeExpressSyncsResponse build() {
return new DescribeExpressSyncsResponse(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/DescribeExpressSyncsResponseBody.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 DescribeExpressSyncsResponseBody} extends {@link TeaModel}
*
* <p>DescribeExpressSyncsResponseBody</p>
*/
public class DescribeExpressSyncsResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("ExpressSyncs")
private ExpressSyncs expressSyncs;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private DescribeExpressSyncsResponseBody(Builder builder) {
this.code = builder.code;
this.expressSyncs = builder.expressSyncs;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeExpressSyncsResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return expressSyncs
*/
public ExpressSyncs getExpressSyncs() {
return this.expressSyncs;
}
/**
* @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 ExpressSyncs expressSyncs;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* ExpressSyncs.
*/
public Builder expressSyncs(ExpressSyncs expressSyncs) {
this.expressSyncs = expressSyncs;
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 DescribeExpressSyncsResponseBody build() {
return new DescribeExpressSyncsResponseBody(this);
}
}
public static class ExpressSync extends TeaModel {
@NameInMap("BucketName")
private String bucketName;
@NameInMap("BucketPrefix")
private String bucketPrefix;
@NameInMap("BucketRegion")
private String bucketRegion;
@NameInMap("Description")
private String description;
@NameInMap("ExpressSyncId")
private String expressSyncId;
@NameInMap("MnsTopic")
private String mnsTopic;
@NameInMap("Name")
private String name;
private ExpressSync(Builder builder) {
this.bucketName = builder.bucketName;
this.bucketPrefix = builder.bucketPrefix;
this.bucketRegion = builder.bucketRegion;
this.description = builder.description;
this.expressSyncId = builder.expressSyncId;
this.mnsTopic = builder.mnsTopic;
this.name = builder.name;
}
public static Builder builder() {
return new Builder();
}
public static ExpressSync create() {
return builder().build();
}
/**
* @return bucketName
*/
public String getBucketName() {
return this.bucketName;
}
/**
* @return bucketPrefix
*/
public String getBucketPrefix() {
return this.bucketPrefix;
}
/**
* @return bucketRegion
*/
public String getBucketRegion() {
return this.bucketRegion;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return expressSyncId
*/
public String getExpressSyncId() {
return this.expressSyncId;
}
/**
* @return mnsTopic
*/
public String getMnsTopic() {
return this.mnsTopic;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
public static final class Builder {
private String bucketName;
private String bucketPrefix;
private String bucketRegion;
private String description;
private String expressSyncId;
private String mnsTopic;
private String name;
/**
* BucketName.
*/
public Builder bucketName(String bucketName) {
this.bucketName = bucketName;
return this;
}
/**
* BucketPrefix.
*/
public Builder bucketPrefix(String bucketPrefix) {
this.bucketPrefix = bucketPrefix;
return this;
}
/**
* BucketRegion.
*/
public Builder bucketRegion(String bucketRegion) {
this.bucketRegion = bucketRegion;
return this;
}
/**
* Description.
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* ExpressSyncId.
*/
public Builder expressSyncId(String expressSyncId) {
this.expressSyncId = expressSyncId;
return this;
}
/**
* MnsTopic.
*/
public Builder mnsTopic(String mnsTopic) {
this.mnsTopic = mnsTopic;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
public ExpressSync build() {
return new ExpressSync(this);
}
}
}
public static class ExpressSyncs extends TeaModel {
@NameInMap("ExpressSync")
private java.util.List < ExpressSync> expressSync;
private ExpressSyncs(Builder builder) {
this.expressSync = builder.expressSync;
}
public static Builder builder() {
return new Builder();
}
public static ExpressSyncs create() {
return builder().build();
}
/**
* @return expressSync
*/
public java.util.List < ExpressSync> getExpressSync() {
return this.expressSync;
}
public static final class Builder {
private java.util.List < ExpressSync> expressSync;
/**
* ExpressSync.
*/
public Builder expressSync(java.util.List < ExpressSync> expressSync) {
this.expressSync = expressSync;
return this;
}
public ExpressSyncs build() {
return new ExpressSyncs(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/DescribeGatewayADInfoRequest.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 DescribeGatewayADInfoRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayADInfoRequest</p>
*/
public class DescribeGatewayADInfoRequest extends Request {
@Query
@NameInMap("GatewayId")
@Validation(required = true)
private String gatewayId;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeGatewayADInfoRequest(Builder builder) {
super(builder);
this.gatewayId = builder.gatewayId;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayADInfoRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeGatewayADInfoRequest, Builder> {
private String gatewayId;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeGatewayADInfoRequest request) {
super(request);
this.gatewayId = request.gatewayId;
this.securityToken = request.securityToken;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeGatewayADInfoRequest build() {
return new DescribeGatewayADInfoRequest(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/DescribeGatewayADInfoResponse.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 DescribeGatewayADInfoResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayADInfoResponse</p>
*/
public class DescribeGatewayADInfoResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayADInfoResponseBody body;
private DescribeGatewayADInfoResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayADInfoResponse 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 DescribeGatewayADInfoResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayADInfoResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayADInfoResponseBody body);
@Override
DescribeGatewayADInfoResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayADInfoResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayADInfoResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayADInfoResponse 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(DescribeGatewayADInfoResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayADInfoResponse build() {
return new DescribeGatewayADInfoResponse(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/DescribeGatewayADInfoResponseBody.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 DescribeGatewayADInfoResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayADInfoResponseBody</p>
*/
public class DescribeGatewayADInfoResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("DomainName")
private String domainName;
@NameInMap("IsEnabled")
private Boolean isEnabled;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("ServerIp")
private String serverIp;
@NameInMap("Success")
private Boolean success;
@NameInMap("Username")
private String username;
private DescribeGatewayADInfoResponseBody(Builder builder) {
this.code = builder.code;
this.domainName = builder.domainName;
this.isEnabled = builder.isEnabled;
this.message = builder.message;
this.requestId = builder.requestId;
this.serverIp = builder.serverIp;
this.success = builder.success;
this.username = builder.username;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayADInfoResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return domainName
*/
public String getDomainName() {
return this.domainName;
}
/**
* @return isEnabled
*/
public Boolean getIsEnabled() {
return this.isEnabled;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return serverIp
*/
public String getServerIp() {
return this.serverIp;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
/**
* @return username
*/
public String getUsername() {
return this.username;
}
public static final class Builder {
private String code;
private String domainName;
private Boolean isEnabled;
private String message;
private String requestId;
private String serverIp;
private Boolean success;
private String username;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* DomainName.
*/
public Builder domainName(String domainName) {
this.domainName = domainName;
return this;
}
/**
* IsEnabled.
*/
public Builder isEnabled(Boolean isEnabled) {
this.isEnabled = isEnabled;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* ServerIp.
*/
public Builder serverIp(String serverIp) {
this.serverIp = serverIp;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
/**
* Username.
*/
public Builder username(String username) {
this.username = username;
return this;
}
public DescribeGatewayADInfoResponseBody build() {
return new DescribeGatewayADInfoResponseBody(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/DescribeGatewayActionsRequest.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 DescribeGatewayActionsRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayActionsRequest</p>
*/
public class DescribeGatewayActionsRequest extends Request {
@Query
@NameInMap("GatewayId")
@Validation(required = true)
private String gatewayId;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeGatewayActionsRequest(Builder builder) {
super(builder);
this.gatewayId = builder.gatewayId;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayActionsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeGatewayActionsRequest, Builder> {
private String gatewayId;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeGatewayActionsRequest request) {
super(request);
this.gatewayId = request.gatewayId;
this.securityToken = request.securityToken;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeGatewayActionsRequest build() {
return new DescribeGatewayActionsRequest(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/DescribeGatewayActionsResponse.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 DescribeGatewayActionsResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayActionsResponse</p>
*/
public class DescribeGatewayActionsResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayActionsResponseBody body;
private DescribeGatewayActionsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayActionsResponse 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 DescribeGatewayActionsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayActionsResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayActionsResponseBody body);
@Override
DescribeGatewayActionsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayActionsResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayActionsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayActionsResponse 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(DescribeGatewayActionsResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayActionsResponse build() {
return new DescribeGatewayActionsResponse(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/DescribeGatewayActionsResponseBody.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 DescribeGatewayActionsResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayActionsResponseBody</p>
*/
public class DescribeGatewayActionsResponseBody extends TeaModel {
@NameInMap("Actions")
private Actions actions;
@NameInMap("Code")
private String code;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private DescribeGatewayActionsResponseBody(Builder builder) {
this.actions = builder.actions;
this.code = builder.code;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayActionsResponseBody create() {
return builder().build();
}
/**
* @return actions
*/
public Actions getActions() {
return this.actions;
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @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 Actions actions;
private String code;
private String message;
private String requestId;
private Boolean success;
/**
* Actions.
*/
public Builder actions(Actions actions) {
this.actions = actions;
return this;
}
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DescribeGatewayActionsResponseBody build() {
return new DescribeGatewayActionsResponseBody(this);
}
}
public static class Action extends TeaModel {
@NameInMap("AdLdap")
private String adLdap;
@NameInMap("Cache")
private String cache;
@NameInMap("Disk")
private String disk;
@NameInMap("GatewayId")
private String gatewayId;
@NameInMap("Monitor")
private String monitor;
@NameInMap("Self")
private String self;
@NameInMap("SmbUser")
private String smbUser;
@NameInMap("Target")
private String target;
private Action(Builder builder) {
this.adLdap = builder.adLdap;
this.cache = builder.cache;
this.disk = builder.disk;
this.gatewayId = builder.gatewayId;
this.monitor = builder.monitor;
this.self = builder.self;
this.smbUser = builder.smbUser;
this.target = builder.target;
}
public static Builder builder() {
return new Builder();
}
public static Action create() {
return builder().build();
}
/**
* @return adLdap
*/
public String getAdLdap() {
return this.adLdap;
}
/**
* @return cache
*/
public String getCache() {
return this.cache;
}
/**
* @return disk
*/
public String getDisk() {
return this.disk;
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return monitor
*/
public String getMonitor() {
return this.monitor;
}
/**
* @return self
*/
public String getSelf() {
return this.self;
}
/**
* @return smbUser
*/
public String getSmbUser() {
return this.smbUser;
}
/**
* @return target
*/
public String getTarget() {
return this.target;
}
public static final class Builder {
private String adLdap;
private String cache;
private String disk;
private String gatewayId;
private String monitor;
private String self;
private String smbUser;
private String target;
/**
* AdLdap.
*/
public Builder adLdap(String adLdap) {
this.adLdap = adLdap;
return this;
}
/**
* Cache.
*/
public Builder cache(String cache) {
this.cache = cache;
return this;
}
/**
* Disk.
*/
public Builder disk(String disk) {
this.disk = disk;
return this;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.gatewayId = gatewayId;
return this;
}
/**
* Monitor.
*/
public Builder monitor(String monitor) {
this.monitor = monitor;
return this;
}
/**
* Self.
*/
public Builder self(String self) {
this.self = self;
return this;
}
/**
* SmbUser.
*/
public Builder smbUser(String smbUser) {
this.smbUser = smbUser;
return this;
}
/**
* Target.
*/
public Builder target(String target) {
this.target = target;
return this;
}
public Action build() {
return new Action(this);
}
}
}
public static class Actions extends TeaModel {
@NameInMap("Action")
private java.util.List < Action> action;
private Actions(Builder builder) {
this.action = builder.action;
}
public static Builder builder() {
return new Builder();
}
public static Actions create() {
return builder().build();
}
/**
* @return action
*/
public java.util.List < Action> getAction() {
return this.action;
}
public static final class Builder {
private java.util.List < Action> action;
/**
* Action.
*/
public Builder action(java.util.List < Action> action) {
this.action = action;
return this;
}
public Actions build() {
return new Actions(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/DescribeGatewayAuthInfoRequest.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 DescribeGatewayAuthInfoRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayAuthInfoRequest</p>
*/
public class DescribeGatewayAuthInfoRequest extends Request {
@Query
@NameInMap("GatewayId")
@Validation(required = true)
private String gatewayId;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeGatewayAuthInfoRequest(Builder builder) {
super(builder);
this.gatewayId = builder.gatewayId;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayAuthInfoRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeGatewayAuthInfoRequest, Builder> {
private String gatewayId;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeGatewayAuthInfoRequest request) {
super(request);
this.gatewayId = request.gatewayId;
this.securityToken = request.securityToken;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeGatewayAuthInfoRequest build() {
return new DescribeGatewayAuthInfoRequest(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/DescribeGatewayAuthInfoResponse.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 DescribeGatewayAuthInfoResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayAuthInfoResponse</p>
*/
public class DescribeGatewayAuthInfoResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayAuthInfoResponseBody body;
private DescribeGatewayAuthInfoResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayAuthInfoResponse 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 DescribeGatewayAuthInfoResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayAuthInfoResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayAuthInfoResponseBody body);
@Override
DescribeGatewayAuthInfoResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayAuthInfoResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayAuthInfoResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayAuthInfoResponse 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(DescribeGatewayAuthInfoResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayAuthInfoResponse build() {
return new DescribeGatewayAuthInfoResponse(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/DescribeGatewayAuthInfoResponseBody.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 DescribeGatewayAuthInfoResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayAuthInfoResponseBody</p>
*/
public class DescribeGatewayAuthInfoResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("Message")
private String message;
@NameInMap("Password")
private String password;
@NameInMap("PublicIp")
private String publicIp;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
@NameInMap("Username")
private String username;
private DescribeGatewayAuthInfoResponseBody(Builder builder) {
this.code = builder.code;
this.message = builder.message;
this.password = builder.password;
this.publicIp = builder.publicIp;
this.requestId = builder.requestId;
this.success = builder.success;
this.username = builder.username;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayAuthInfoResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return password
*/
public String getPassword() {
return this.password;
}
/**
* @return publicIp
*/
public String getPublicIp() {
return this.publicIp;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
/**
* @return username
*/
public String getUsername() {
return this.username;
}
public static final class Builder {
private String code;
private String message;
private String password;
private String publicIp;
private String requestId;
private Boolean success;
private String username;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* Password.
*/
public Builder password(String password) {
this.password = password;
return this;
}
/**
* PublicIp.
*/
public Builder publicIp(String publicIp) {
this.publicIp = publicIp;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
/**
* Username.
*/
public Builder username(String username) {
this.username = username;
return this;
}
public DescribeGatewayAuthInfoResponseBody build() {
return new DescribeGatewayAuthInfoResponseBody(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/DescribeGatewayAutoPlansRequest.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 DescribeGatewayAutoPlansRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayAutoPlansRequest</p>
*/
public class DescribeGatewayAutoPlansRequest extends Request {
@Query
@NameInMap("GatewayId")
@Validation(required = true)
private String gatewayId;
@Query
@NameInMap("PageNumber")
private Integer pageNumber;
@Query
@NameInMap("PageSize")
private Integer pageSize;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeGatewayAutoPlansRequest(Builder builder) {
super(builder);
this.gatewayId = builder.gatewayId;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayAutoPlansRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeGatewayAutoPlansRequest, Builder> {
private String gatewayId;
private Integer pageNumber;
private Integer pageSize;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeGatewayAutoPlansRequest request) {
super(request);
this.gatewayId = request.gatewayId;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.securityToken = request.securityToken;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeGatewayAutoPlansRequest build() {
return new DescribeGatewayAutoPlansRequest(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/DescribeGatewayAutoPlansResponse.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 DescribeGatewayAutoPlansResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayAutoPlansResponse</p>
*/
public class DescribeGatewayAutoPlansResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayAutoPlansResponseBody body;
private DescribeGatewayAutoPlansResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayAutoPlansResponse 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 DescribeGatewayAutoPlansResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayAutoPlansResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayAutoPlansResponseBody body);
@Override
DescribeGatewayAutoPlansResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayAutoPlansResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayAutoPlansResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayAutoPlansResponse 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(DescribeGatewayAutoPlansResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayAutoPlansResponse build() {
return new DescribeGatewayAutoPlansResponse(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/DescribeGatewayAutoPlansResponseBody.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 DescribeGatewayAutoPlansResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayAutoPlansResponseBody</p>
*/
public class DescribeGatewayAutoPlansResponseBody extends TeaModel {
@NameInMap("AutoPlans")
private java.util.List < AutoPlans> autoPlans;
@NameInMap("Code")
private String code;
@NameInMap("Message")
private String message;
@NameInMap("PageNumber")
private Integer pageNumber;
@NameInMap("PageSize")
private Integer pageSize;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
@NameInMap("TotalCount")
private Integer totalCount;
private DescribeGatewayAutoPlansResponseBody(Builder builder) {
this.autoPlans = builder.autoPlans;
this.code = builder.code;
this.message = builder.message;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.success = builder.success;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayAutoPlansResponseBody create() {
return builder().build();
}
/**
* @return autoPlans
*/
public java.util.List < AutoPlans> getAutoPlans() {
return this.autoPlans;
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private java.util.List < AutoPlans> autoPlans;
private String code;
private String message;
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Boolean success;
private Integer totalCount;
/**
* AutoPlans.
*/
public Builder autoPlans(java.util.List < AutoPlans> autoPlans) {
this.autoPlans = autoPlans;
return this;
}
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
/**
* TotalCount.
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public DescribeGatewayAutoPlansResponseBody build() {
return new DescribeGatewayAutoPlansResponseBody(this);
}
}
public static class AutoPlans extends TeaModel {
@NameInMap("Detail")
private String detail;
@NameInMap("EndTime")
private Long endTime;
@NameInMap("Event")
private String event;
@NameInMap("PlanId")
private String planId;
@NameInMap("StartTime")
private Long startTime;
@NameInMap("Status")
private String status;
private AutoPlans(Builder builder) {
this.detail = builder.detail;
this.endTime = builder.endTime;
this.event = builder.event;
this.planId = builder.planId;
this.startTime = builder.startTime;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static AutoPlans create() {
return builder().build();
}
/**
* @return detail
*/
public String getDetail() {
return this.detail;
}
/**
* @return endTime
*/
public Long getEndTime() {
return this.endTime;
}
/**
* @return event
*/
public String getEvent() {
return this.event;
}
/**
* @return planId
*/
public String getPlanId() {
return this.planId;
}
/**
* @return startTime
*/
public Long getStartTime() {
return this.startTime;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private String detail;
private Long endTime;
private String event;
private String planId;
private Long startTime;
private String status;
/**
* Detail.
*/
public Builder detail(String detail) {
this.detail = detail;
return this;
}
/**
* EndTime.
*/
public Builder endTime(Long endTime) {
this.endTime = endTime;
return this;
}
/**
* Event.
*/
public Builder event(String event) {
this.event = event;
return this;
}
/**
* PlanId.
*/
public Builder planId(String planId) {
this.planId = planId;
return this;
}
/**
* StartTime.
*/
public Builder startTime(Long startTime) {
this.startTime = startTime;
return this;
}
/**
* Status.
*/
public Builder status(String status) {
this.status = status;
return this;
}
public AutoPlans build() {
return new AutoPlans(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/DescribeGatewayAutoUpgradeConfigurationRequest.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 DescribeGatewayAutoUpgradeConfigurationRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayAutoUpgradeConfigurationRequest</p>
*/
public class DescribeGatewayAutoUpgradeConfigurationRequest extends Request {
@Query
@NameInMap("GatewayId")
@Validation(required = true)
private String gatewayId;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeGatewayAutoUpgradeConfigurationRequest(Builder builder) {
super(builder);
this.gatewayId = builder.gatewayId;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayAutoUpgradeConfigurationRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeGatewayAutoUpgradeConfigurationRequest, Builder> {
private String gatewayId;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeGatewayAutoUpgradeConfigurationRequest request) {
super(request);
this.gatewayId = request.gatewayId;
this.securityToken = request.securityToken;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeGatewayAutoUpgradeConfigurationRequest build() {
return new DescribeGatewayAutoUpgradeConfigurationRequest(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/DescribeGatewayAutoUpgradeConfigurationResponse.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 DescribeGatewayAutoUpgradeConfigurationResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayAutoUpgradeConfigurationResponse</p>
*/
public class DescribeGatewayAutoUpgradeConfigurationResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayAutoUpgradeConfigurationResponseBody body;
private DescribeGatewayAutoUpgradeConfigurationResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayAutoUpgradeConfigurationResponse 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 DescribeGatewayAutoUpgradeConfigurationResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayAutoUpgradeConfigurationResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayAutoUpgradeConfigurationResponseBody body);
@Override
DescribeGatewayAutoUpgradeConfigurationResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayAutoUpgradeConfigurationResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayAutoUpgradeConfigurationResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayAutoUpgradeConfigurationResponse 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(DescribeGatewayAutoUpgradeConfigurationResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayAutoUpgradeConfigurationResponse build() {
return new DescribeGatewayAutoUpgradeConfigurationResponse(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/DescribeGatewayAutoUpgradeConfigurationResponseBody.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 DescribeGatewayAutoUpgradeConfigurationResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayAutoUpgradeConfigurationResponseBody</p>
*/
public class DescribeGatewayAutoUpgradeConfigurationResponseBody extends TeaModel {
@NameInMap("AutoUpgradeEndHour")
private Integer autoUpgradeEndHour;
@NameInMap("AutoUpgradeStartHour")
private Integer autoUpgradeStartHour;
@NameInMap("Code")
private String code;
@NameInMap("IsAutoUpgrade")
private Boolean isAutoUpgrade;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private DescribeGatewayAutoUpgradeConfigurationResponseBody(Builder builder) {
this.autoUpgradeEndHour = builder.autoUpgradeEndHour;
this.autoUpgradeStartHour = builder.autoUpgradeStartHour;
this.code = builder.code;
this.isAutoUpgrade = builder.isAutoUpgrade;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayAutoUpgradeConfigurationResponseBody create() {
return builder().build();
}
/**
* @return autoUpgradeEndHour
*/
public Integer getAutoUpgradeEndHour() {
return this.autoUpgradeEndHour;
}
/**
* @return autoUpgradeStartHour
*/
public Integer getAutoUpgradeStartHour() {
return this.autoUpgradeStartHour;
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return isAutoUpgrade
*/
public Boolean getIsAutoUpgrade() {
return this.isAutoUpgrade;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer autoUpgradeEndHour;
private Integer autoUpgradeStartHour;
private String code;
private Boolean isAutoUpgrade;
private String message;
private String requestId;
private Boolean success;
/**
* AutoUpgradeEndHour.
*/
public Builder autoUpgradeEndHour(Integer autoUpgradeEndHour) {
this.autoUpgradeEndHour = autoUpgradeEndHour;
return this;
}
/**
* AutoUpgradeStartHour.
*/
public Builder autoUpgradeStartHour(Integer autoUpgradeStartHour) {
this.autoUpgradeStartHour = autoUpgradeStartHour;
return this;
}
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* IsAutoUpgrade.
*/
public Builder isAutoUpgrade(Boolean isAutoUpgrade) {
this.isAutoUpgrade = isAutoUpgrade;
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 DescribeGatewayAutoUpgradeConfigurationResponseBody build() {
return new DescribeGatewayAutoUpgradeConfigurationResponseBody(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/DescribeGatewayBlockVolumesRequest.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 DescribeGatewayBlockVolumesRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayBlockVolumesRequest</p>
*/
public class DescribeGatewayBlockVolumesRequest extends Request {
@Query
@NameInMap("GatewayId")
@Validation(required = true)
private String gatewayId;
@Query
@NameInMap("IndexId")
private String indexId;
@Query
@NameInMap("Refresh")
private Boolean refresh;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeGatewayBlockVolumesRequest(Builder builder) {
super(builder);
this.gatewayId = builder.gatewayId;
this.indexId = builder.indexId;
this.refresh = builder.refresh;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayBlockVolumesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return indexId
*/
public String getIndexId() {
return this.indexId;
}
/**
* @return refresh
*/
public Boolean getRefresh() {
return this.refresh;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeGatewayBlockVolumesRequest, Builder> {
private String gatewayId;
private String indexId;
private Boolean refresh;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeGatewayBlockVolumesRequest request) {
super(request);
this.gatewayId = request.gatewayId;
this.indexId = request.indexId;
this.refresh = request.refresh;
this.securityToken = request.securityToken;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* IndexId.
*/
public Builder indexId(String indexId) {
this.putQueryParameter("IndexId", indexId);
this.indexId = indexId;
return this;
}
/**
* Refresh.
*/
public Builder refresh(Boolean refresh) {
this.putQueryParameter("Refresh", refresh);
this.refresh = refresh;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeGatewayBlockVolumesRequest build() {
return new DescribeGatewayBlockVolumesRequest(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/DescribeGatewayBlockVolumesResponse.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 DescribeGatewayBlockVolumesResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayBlockVolumesResponse</p>
*/
public class DescribeGatewayBlockVolumesResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayBlockVolumesResponseBody body;
private DescribeGatewayBlockVolumesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayBlockVolumesResponse 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 DescribeGatewayBlockVolumesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayBlockVolumesResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayBlockVolumesResponseBody body);
@Override
DescribeGatewayBlockVolumesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayBlockVolumesResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayBlockVolumesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayBlockVolumesResponse 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(DescribeGatewayBlockVolumesResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayBlockVolumesResponse build() {
return new DescribeGatewayBlockVolumesResponse(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/DescribeGatewayBlockVolumesResponseBody.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 DescribeGatewayBlockVolumesResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayBlockVolumesResponseBody</p>
*/
public class DescribeGatewayBlockVolumesResponseBody extends TeaModel {
@NameInMap("BlockVolumes")
private BlockVolumes blockVolumes;
@NameInMap("Code")
private String code;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private DescribeGatewayBlockVolumesResponseBody(Builder builder) {
this.blockVolumes = builder.blockVolumes;
this.code = builder.code;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayBlockVolumesResponseBody create() {
return builder().build();
}
/**
* @return blockVolumes
*/
public BlockVolumes getBlockVolumes() {
return this.blockVolumes;
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @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 BlockVolumes blockVolumes;
private String code;
private String message;
private String requestId;
private Boolean success;
/**
* BlockVolumes.
*/
public Builder blockVolumes(BlockVolumes blockVolumes) {
this.blockVolumes = blockVolumes;
return this;
}
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DescribeGatewayBlockVolumesResponseBody build() {
return new DescribeGatewayBlockVolumesResponseBody(this);
}
}
public static class BlockVolume extends TeaModel {
@NameInMap("Address")
private String address;
@NameInMap("CacheMode")
private String cacheMode;
@NameInMap("ChapEnabled")
private Boolean chapEnabled;
@NameInMap("ChapInUser")
private String chapInUser;
@NameInMap("ChunkSize")
private Integer chunkSize;
@NameInMap("DiskId")
private String diskId;
@NameInMap("DiskType")
private String diskType;
@NameInMap("Enabled")
private Boolean enabled;
@NameInMap("IndexId")
private String indexId;
@NameInMap("LocalPath")
private String localPath;
@NameInMap("LunId")
private Integer lunId;
@NameInMap("Name")
private String name;
@NameInMap("OssBucketName")
private String ossBucketName;
@NameInMap("OssBucketSsl")
private Boolean ossBucketSsl;
@NameInMap("OssEndpoint")
private String ossEndpoint;
@NameInMap("Port")
private Integer port;
@NameInMap("Protocol")
private String protocol;
@NameInMap("Size")
private Long size;
@NameInMap("State")
private String state;
@NameInMap("Status")
private Integer status;
@NameInMap("Target")
private String target;
@NameInMap("TotalDownload")
private Long totalDownload;
@NameInMap("TotalUpload")
private Long totalUpload;
@NameInMap("VolumeState")
private Integer volumeState;
private BlockVolume(Builder builder) {
this.address = builder.address;
this.cacheMode = builder.cacheMode;
this.chapEnabled = builder.chapEnabled;
this.chapInUser = builder.chapInUser;
this.chunkSize = builder.chunkSize;
this.diskId = builder.diskId;
this.diskType = builder.diskType;
this.enabled = builder.enabled;
this.indexId = builder.indexId;
this.localPath = builder.localPath;
this.lunId = builder.lunId;
this.name = builder.name;
this.ossBucketName = builder.ossBucketName;
this.ossBucketSsl = builder.ossBucketSsl;
this.ossEndpoint = builder.ossEndpoint;
this.port = builder.port;
this.protocol = builder.protocol;
this.size = builder.size;
this.state = builder.state;
this.status = builder.status;
this.target = builder.target;
this.totalDownload = builder.totalDownload;
this.totalUpload = builder.totalUpload;
this.volumeState = builder.volumeState;
}
public static Builder builder() {
return new Builder();
}
public static BlockVolume create() {
return builder().build();
}
/**
* @return address
*/
public String getAddress() {
return this.address;
}
/**
* @return cacheMode
*/
public String getCacheMode() {
return this.cacheMode;
}
/**
* @return chapEnabled
*/
public Boolean getChapEnabled() {
return this.chapEnabled;
}
/**
* @return chapInUser
*/
public String getChapInUser() {
return this.chapInUser;
}
/**
* @return chunkSize
*/
public Integer getChunkSize() {
return this.chunkSize;
}
/**
* @return diskId
*/
public String getDiskId() {
return this.diskId;
}
/**
* @return diskType
*/
public String getDiskType() {
return this.diskType;
}
/**
* @return enabled
*/
public Boolean getEnabled() {
return this.enabled;
}
/**
* @return indexId
*/
public String getIndexId() {
return this.indexId;
}
/**
* @return localPath
*/
public String getLocalPath() {
return this.localPath;
}
/**
* @return lunId
*/
public Integer getLunId() {
return this.lunId;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return ossBucketName
*/
public String getOssBucketName() {
return this.ossBucketName;
}
/**
* @return ossBucketSsl
*/
public Boolean getOssBucketSsl() {
return this.ossBucketSsl;
}
/**
* @return ossEndpoint
*/
public String getOssEndpoint() {
return this.ossEndpoint;
}
/**
* @return port
*/
public Integer getPort() {
return this.port;
}
/**
* @return protocol
*/
public String getProtocol() {
return this.protocol;
}
/**
* @return size
*/
public Long getSize() {
return this.size;
}
/**
* @return state
*/
public String getState() {
return this.state;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
/**
* @return target
*/
public String getTarget() {
return this.target;
}
/**
* @return totalDownload
*/
public Long getTotalDownload() {
return this.totalDownload;
}
/**
* @return totalUpload
*/
public Long getTotalUpload() {
return this.totalUpload;
}
/**
* @return volumeState
*/
public Integer getVolumeState() {
return this.volumeState;
}
public static final class Builder {
private String address;
private String cacheMode;
private Boolean chapEnabled;
private String chapInUser;
private Integer chunkSize;
private String diskId;
private String diskType;
private Boolean enabled;
private String indexId;
private String localPath;
private Integer lunId;
private String name;
private String ossBucketName;
private Boolean ossBucketSsl;
private String ossEndpoint;
private Integer port;
private String protocol;
private Long size;
private String state;
private Integer status;
private String target;
private Long totalDownload;
private Long totalUpload;
private Integer volumeState;
/**
* Address.
*/
public Builder address(String address) {
this.address = address;
return this;
}
/**
* CacheMode.
*/
public Builder cacheMode(String cacheMode) {
this.cacheMode = cacheMode;
return this;
}
/**
* ChapEnabled.
*/
public Builder chapEnabled(Boolean chapEnabled) {
this.chapEnabled = chapEnabled;
return this;
}
/**
* ChapInUser.
*/
public Builder chapInUser(String chapInUser) {
this.chapInUser = chapInUser;
return this;
}
/**
* ChunkSize.
*/
public Builder chunkSize(Integer chunkSize) {
this.chunkSize = chunkSize;
return this;
}
/**
* DiskId.
*/
public Builder diskId(String diskId) {
this.diskId = diskId;
return this;
}
/**
* DiskType.
*/
public Builder diskType(String diskType) {
this.diskType = diskType;
return this;
}
/**
* Enabled.
*/
public Builder enabled(Boolean enabled) {
this.enabled = enabled;
return this;
}
/**
* IndexId.
*/
public Builder indexId(String indexId) {
this.indexId = indexId;
return this;
}
/**
* LocalPath.
*/
public Builder localPath(String localPath) {
this.localPath = localPath;
return this;
}
/**
* LUN ID。
*/
public Builder lunId(Integer lunId) {
this.lunId = lunId;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* OssBucketName.
*/
public Builder ossBucketName(String ossBucketName) {
this.ossBucketName = ossBucketName;
return this;
}
/**
* OssBucketSsl.
*/
public Builder ossBucketSsl(Boolean ossBucketSsl) {
this.ossBucketSsl = ossBucketSsl;
return this;
}
/**
* OssEndpoint.
*/
public Builder ossEndpoint(String ossEndpoint) {
this.ossEndpoint = ossEndpoint;
return this;
}
/**
* Port.
*/
public Builder port(Integer port) {
this.port = port;
return this;
}
/**
* Protocol.
*/
public Builder protocol(String protocol) {
this.protocol = protocol;
return this;
}
/**
* Size.
*/
public Builder size(Long size) {
this.size = size;
return this;
}
/**
* State.
*/
public Builder state(String state) {
this.state = state;
return this;
}
/**
* Status.
*/
public Builder status(Integer status) {
this.status = status;
return this;
}
/**
* Target.
*/
public Builder target(String target) {
this.target = target;
return this;
}
/**
* TotalDownload.
*/
public Builder totalDownload(Long totalDownload) {
this.totalDownload = totalDownload;
return this;
}
/**
* TotalUpload.
*/
public Builder totalUpload(Long totalUpload) {
this.totalUpload = totalUpload;
return this;
}
/**
* VolumeState.
*/
public Builder volumeState(Integer volumeState) {
this.volumeState = volumeState;
return this;
}
public BlockVolume build() {
return new BlockVolume(this);
}
}
}
public static class BlockVolumes extends TeaModel {
@NameInMap("BlockVolume")
private java.util.List < BlockVolume> blockVolume;
private BlockVolumes(Builder builder) {
this.blockVolume = builder.blockVolume;
}
public static Builder builder() {
return new Builder();
}
public static BlockVolumes create() {
return builder().build();
}
/**
* @return blockVolume
*/
public java.util.List < BlockVolume> getBlockVolume() {
return this.blockVolume;
}
public static final class Builder {
private java.util.List < BlockVolume> blockVolume;
/**
* BlockVolume.
*/
public Builder blockVolume(java.util.List < BlockVolume> blockVolume) {
this.blockVolume = blockVolume;
return this;
}
public BlockVolumes build() {
return new BlockVolumes(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/DescribeGatewayBucketCachesRequest.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 DescribeGatewayBucketCachesRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayBucketCachesRequest</p>
*/
public class DescribeGatewayBucketCachesRequest extends Request {
@Query
@NameInMap("BucketName")
private String bucketName;
@Query
@NameInMap("PageNumber")
private Integer pageNumber;
@Query
@NameInMap("PageSize")
private Integer pageSize;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeGatewayBucketCachesRequest(Builder builder) {
super(builder);
this.bucketName = builder.bucketName;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayBucketCachesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return bucketName
*/
public String getBucketName() {
return this.bucketName;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeGatewayBucketCachesRequest, Builder> {
private String bucketName;
private Integer pageNumber;
private Integer pageSize;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeGatewayBucketCachesRequest request) {
super(request);
this.bucketName = request.bucketName;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.securityToken = request.securityToken;
}
/**
* BucketName.
*/
public Builder bucketName(String bucketName) {
this.putQueryParameter("BucketName", bucketName);
this.bucketName = bucketName;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeGatewayBucketCachesRequest build() {
return new DescribeGatewayBucketCachesRequest(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/DescribeGatewayBucketCachesResponse.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 DescribeGatewayBucketCachesResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayBucketCachesResponse</p>
*/
public class DescribeGatewayBucketCachesResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayBucketCachesResponseBody body;
private DescribeGatewayBucketCachesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayBucketCachesResponse 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 DescribeGatewayBucketCachesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayBucketCachesResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayBucketCachesResponseBody body);
@Override
DescribeGatewayBucketCachesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayBucketCachesResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayBucketCachesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayBucketCachesResponse 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(DescribeGatewayBucketCachesResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayBucketCachesResponse build() {
return new DescribeGatewayBucketCachesResponse(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/DescribeGatewayBucketCachesResponseBody.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 DescribeGatewayBucketCachesResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayBucketCachesResponseBody</p>
*/
public class DescribeGatewayBucketCachesResponseBody extends TeaModel {
@NameInMap("BucketCaches")
private BucketCaches bucketCaches;
@NameInMap("Code")
private String code;
@NameInMap("Message")
private String message;
@NameInMap("PageNumber")
private Integer pageNumber;
@NameInMap("PageSize")
private Integer pageSize;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
@NameInMap("TotalCount")
private Integer totalCount;
private DescribeGatewayBucketCachesResponseBody(Builder builder) {
this.bucketCaches = builder.bucketCaches;
this.code = builder.code;
this.message = builder.message;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.success = builder.success;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayBucketCachesResponseBody create() {
return builder().build();
}
/**
* @return bucketCaches
*/
public BucketCaches getBucketCaches() {
return this.bucketCaches;
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private BucketCaches bucketCaches;
private String code;
private String message;
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Boolean success;
private Integer totalCount;
/**
* BucketCaches.
*/
public Builder bucketCaches(BucketCaches bucketCaches) {
this.bucketCaches = bucketCaches;
return this;
}
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
/**
* TotalCount.
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public DescribeGatewayBucketCachesResponseBody build() {
return new DescribeGatewayBucketCachesResponseBody(this);
}
}
public static class BucketCache extends TeaModel {
@NameInMap("BucketName")
private String bucketName;
@NameInMap("CacheMode")
private String cacheMode;
@NameInMap("CacheStats")
private String cacheStats;
@NameInMap("Category")
private String category;
@NameInMap("GatewayId")
private String gatewayId;
@NameInMap("GatewayName")
private String gatewayName;
@NameInMap("Location")
private String location;
@NameInMap("MountPoint")
private String mountPoint;
@NameInMap("Protocol")
private String protocol;
@NameInMap("RegionId")
private String regionId;
@NameInMap("ShareName")
private String shareName;
@NameInMap("Type")
private String type;
@NameInMap("VpcCidr")
private String vpcCidr;
@NameInMap("VpcId")
private String vpcId;
private BucketCache(Builder builder) {
this.bucketName = builder.bucketName;
this.cacheMode = builder.cacheMode;
this.cacheStats = builder.cacheStats;
this.category = builder.category;
this.gatewayId = builder.gatewayId;
this.gatewayName = builder.gatewayName;
this.location = builder.location;
this.mountPoint = builder.mountPoint;
this.protocol = builder.protocol;
this.regionId = builder.regionId;
this.shareName = builder.shareName;
this.type = builder.type;
this.vpcCidr = builder.vpcCidr;
this.vpcId = builder.vpcId;
}
public static Builder builder() {
return new Builder();
}
public static BucketCache create() {
return builder().build();
}
/**
* @return bucketName
*/
public String getBucketName() {
return this.bucketName;
}
/**
* @return cacheMode
*/
public String getCacheMode() {
return this.cacheMode;
}
/**
* @return cacheStats
*/
public String getCacheStats() {
return this.cacheStats;
}
/**
* @return category
*/
public String getCategory() {
return this.category;
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return gatewayName
*/
public String getGatewayName() {
return this.gatewayName;
}
/**
* @return location
*/
public String getLocation() {
return this.location;
}
/**
* @return mountPoint
*/
public String getMountPoint() {
return this.mountPoint;
}
/**
* @return protocol
*/
public String getProtocol() {
return this.protocol;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return shareName
*/
public String getShareName() {
return this.shareName;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return vpcCidr
*/
public String getVpcCidr() {
return this.vpcCidr;
}
/**
* @return vpcId
*/
public String getVpcId() {
return this.vpcId;
}
public static final class Builder {
private String bucketName;
private String cacheMode;
private String cacheStats;
private String category;
private String gatewayId;
private String gatewayName;
private String location;
private String mountPoint;
private String protocol;
private String regionId;
private String shareName;
private String type;
private String vpcCidr;
private String vpcId;
/**
* BucketName.
*/
public Builder bucketName(String bucketName) {
this.bucketName = bucketName;
return this;
}
/**
* CacheMode.
*/
public Builder cacheMode(String cacheMode) {
this.cacheMode = cacheMode;
return this;
}
/**
* CacheStats.
*/
public Builder cacheStats(String cacheStats) {
this.cacheStats = cacheStats;
return this;
}
/**
* Category.
*/
public Builder category(String category) {
this.category = category;
return this;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.gatewayId = gatewayId;
return this;
}
/**
* GatewayName.
*/
public Builder gatewayName(String gatewayName) {
this.gatewayName = gatewayName;
return this;
}
/**
* Location.
*/
public Builder location(String location) {
this.location = location;
return this;
}
/**
* MountPoint.
*/
public Builder mountPoint(String mountPoint) {
this.mountPoint = mountPoint;
return this;
}
/**
* Protocol.
*/
public Builder protocol(String protocol) {
this.protocol = protocol;
return this;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* ShareName.
*/
public Builder shareName(String shareName) {
this.shareName = shareName;
return this;
}
/**
* Type.
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* VpcCidr.
*/
public Builder vpcCidr(String vpcCidr) {
this.vpcCidr = vpcCidr;
return this;
}
/**
* VpcId.
*/
public Builder vpcId(String vpcId) {
this.vpcId = vpcId;
return this;
}
public BucketCache build() {
return new BucketCache(this);
}
}
}
public static class BucketCaches extends TeaModel {
@NameInMap("BucketCache")
private java.util.List < BucketCache> bucketCache;
private BucketCaches(Builder builder) {
this.bucketCache = builder.bucketCache;
}
public static Builder builder() {
return new Builder();
}
public static BucketCaches create() {
return builder().build();
}
/**
* @return bucketCache
*/
public java.util.List < BucketCache> getBucketCache() {
return this.bucketCache;
}
public static final class Builder {
private java.util.List < BucketCache> bucketCache;
/**
* BucketCache.
*/
public Builder bucketCache(java.util.List < BucketCache> bucketCache) {
this.bucketCache = bucketCache;
return this;
}
public BucketCaches build() {
return new BucketCaches(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/DescribeGatewayCachesRequest.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 DescribeGatewayCachesRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayCachesRequest</p>
*/
public class DescribeGatewayCachesRequest extends Request {
@Query
@NameInMap("GatewayId")
@Validation(required = true)
private String gatewayId;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeGatewayCachesRequest(Builder builder) {
super(builder);
this.gatewayId = builder.gatewayId;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayCachesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeGatewayCachesRequest, Builder> {
private String gatewayId;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeGatewayCachesRequest request) {
super(request);
this.gatewayId = request.gatewayId;
this.securityToken = request.securityToken;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeGatewayCachesRequest build() {
return new DescribeGatewayCachesRequest(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/DescribeGatewayCachesResponse.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 DescribeGatewayCachesResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayCachesResponse</p>
*/
public class DescribeGatewayCachesResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayCachesResponseBody body;
private DescribeGatewayCachesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayCachesResponse 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 DescribeGatewayCachesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayCachesResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayCachesResponseBody body);
@Override
DescribeGatewayCachesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayCachesResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayCachesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayCachesResponse 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(DescribeGatewayCachesResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayCachesResponse build() {
return new DescribeGatewayCachesResponse(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/DescribeGatewayCachesResponseBody.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 DescribeGatewayCachesResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayCachesResponseBody</p>
*/
public class DescribeGatewayCachesResponseBody extends TeaModel {
@NameInMap("Caches")
private Caches caches;
@NameInMap("Code")
private String code;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private DescribeGatewayCachesResponseBody(Builder builder) {
this.caches = builder.caches;
this.code = builder.code;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayCachesResponseBody create() {
return builder().build();
}
/**
* @return caches
*/
public Caches getCaches() {
return this.caches;
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @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 Caches caches;
private String code;
private String message;
private String requestId;
private Boolean success;
/**
* Caches.
*/
public Builder caches(Caches caches) {
this.caches = caches;
return this;
}
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DescribeGatewayCachesResponseBody build() {
return new DescribeGatewayCachesResponseBody(this);
}
}
public static class Cache extends TeaModel {
@NameInMap("BuyURL")
private String buyURL;
@NameInMap("CacheId")
private String cacheId;
@NameInMap("CacheType")
private String cacheType;
@NameInMap("ExpireStatus")
private Integer expireStatus;
@NameInMap("ExpiredTime")
private Long expiredTime;
@NameInMap("Iops")
private Long iops;
@NameInMap("IsDirectExpand")
private String isDirectExpand;
@NameInMap("IsNoPartition")
private Boolean isNoPartition;
@NameInMap("IsUsed")
private Boolean isUsed;
@NameInMap("LocalFilePath")
private String localFilePath;
@NameInMap("PerformanceLevel")
private String performanceLevel;
@NameInMap("RenewURL")
private String renewURL;
@NameInMap("SizeInGB")
private Long sizeInGB;
@NameInMap("SubscriptionInstanceId")
private String subscriptionInstanceId;
private Cache(Builder builder) {
this.buyURL = builder.buyURL;
this.cacheId = builder.cacheId;
this.cacheType = builder.cacheType;
this.expireStatus = builder.expireStatus;
this.expiredTime = builder.expiredTime;
this.iops = builder.iops;
this.isDirectExpand = builder.isDirectExpand;
this.isNoPartition = builder.isNoPartition;
this.isUsed = builder.isUsed;
this.localFilePath = builder.localFilePath;
this.performanceLevel = builder.performanceLevel;
this.renewURL = builder.renewURL;
this.sizeInGB = builder.sizeInGB;
this.subscriptionInstanceId = builder.subscriptionInstanceId;
}
public static Builder builder() {
return new Builder();
}
public static Cache create() {
return builder().build();
}
/**
* @return buyURL
*/
public String getBuyURL() {
return this.buyURL;
}
/**
* @return cacheId
*/
public String getCacheId() {
return this.cacheId;
}
/**
* @return cacheType
*/
public String getCacheType() {
return this.cacheType;
}
/**
* @return expireStatus
*/
public Integer getExpireStatus() {
return this.expireStatus;
}
/**
* @return expiredTime
*/
public Long getExpiredTime() {
return this.expiredTime;
}
/**
* @return iops
*/
public Long getIops() {
return this.iops;
}
/**
* @return isDirectExpand
*/
public String getIsDirectExpand() {
return this.isDirectExpand;
}
/**
* @return isNoPartition
*/
public Boolean getIsNoPartition() {
return this.isNoPartition;
}
/**
* @return isUsed
*/
public Boolean getIsUsed() {
return this.isUsed;
}
/**
* @return localFilePath
*/
public String getLocalFilePath() {
return this.localFilePath;
}
/**
* @return performanceLevel
*/
public String getPerformanceLevel() {
return this.performanceLevel;
}
/**
* @return renewURL
*/
public String getRenewURL() {
return this.renewURL;
}
/**
* @return sizeInGB
*/
public Long getSizeInGB() {
return this.sizeInGB;
}
/**
* @return subscriptionInstanceId
*/
public String getSubscriptionInstanceId() {
return this.subscriptionInstanceId;
}
public static final class Builder {
private String buyURL;
private String cacheId;
private String cacheType;
private Integer expireStatus;
private Long expiredTime;
private Long iops;
private String isDirectExpand;
private Boolean isNoPartition;
private Boolean isUsed;
private String localFilePath;
private String performanceLevel;
private String renewURL;
private Long sizeInGB;
private String subscriptionInstanceId;
/**
* BuyURL.
*/
public Builder buyURL(String buyURL) {
this.buyURL = buyURL;
return this;
}
/**
* CacheId.
*/
public Builder cacheId(String cacheId) {
this.cacheId = cacheId;
return this;
}
/**
* CacheType.
*/
public Builder cacheType(String cacheType) {
this.cacheType = cacheType;
return this;
}
/**
* ExpireStatus.
*/
public Builder expireStatus(Integer expireStatus) {
this.expireStatus = expireStatus;
return this;
}
/**
* ExpiredTime.
*/
public Builder expiredTime(Long expiredTime) {
this.expiredTime = expiredTime;
return this;
}
/**
* IOPS。
*/
public Builder iops(Long iops) {
this.iops = iops;
return this;
}
/**
* IsDirectExpand.
*/
public Builder isDirectExpand(String isDirectExpand) {
this.isDirectExpand = isDirectExpand;
return this;
}
/**
* IsNoPartition.
*/
public Builder isNoPartition(Boolean isNoPartition) {
this.isNoPartition = isNoPartition;
return this;
}
/**
* IsUsed.
*/
public Builder isUsed(Boolean isUsed) {
this.isUsed = isUsed;
return this;
}
/**
* LocalFilePath.
*/
public Builder localFilePath(String localFilePath) {
this.localFilePath = localFilePath;
return this;
}
/**
* PerformanceLevel.
*/
public Builder performanceLevel(String performanceLevel) {
this.performanceLevel = performanceLevel;
return this;
}
/**
* RenewURL.
*/
public Builder renewURL(String renewURL) {
this.renewURL = renewURL;
return this;
}
/**
* SizeInGB.
*/
public Builder sizeInGB(Long sizeInGB) {
this.sizeInGB = sizeInGB;
return this;
}
/**
* SubscriptionInstanceId.
*/
public Builder subscriptionInstanceId(String subscriptionInstanceId) {
this.subscriptionInstanceId = subscriptionInstanceId;
return this;
}
public Cache build() {
return new Cache(this);
}
}
}
public static class Caches extends TeaModel {
@NameInMap("Cache")
private java.util.List < Cache> cache;
private Caches(Builder builder) {
this.cache = builder.cache;
}
public static Builder builder() {
return new Builder();
}
public static Caches create() {
return builder().build();
}
/**
* @return cache
*/
public java.util.List < Cache> getCache() {
return this.cache;
}
public static final class Builder {
private java.util.List < Cache> cache;
/**
* Cache.
*/
public Builder cache(java.util.List < Cache> cache) {
this.cache = cache;
return this;
}
public Caches build() {
return new Caches(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/DescribeGatewayCapacityLimitRequest.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 DescribeGatewayCapacityLimitRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayCapacityLimitRequest</p>
*/
public class DescribeGatewayCapacityLimitRequest extends Request {
@Query
@NameInMap("GatewayId")
@Validation(required = true)
private String gatewayId;
@Query
@NameInMap("SecurityToken")
private String securityToken;
@Query
@NameInMap("SizeInGB")
private Long sizeInGB;
private DescribeGatewayCapacityLimitRequest(Builder builder) {
super(builder);
this.gatewayId = builder.gatewayId;
this.securityToken = builder.securityToken;
this.sizeInGB = builder.sizeInGB;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayCapacityLimitRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
/**
* @return sizeInGB
*/
public Long getSizeInGB() {
return this.sizeInGB;
}
public static final class Builder extends Request.Builder<DescribeGatewayCapacityLimitRequest, Builder> {
private String gatewayId;
private String securityToken;
private Long sizeInGB;
private Builder() {
super();
}
private Builder(DescribeGatewayCapacityLimitRequest request) {
super(request);
this.gatewayId = request.gatewayId;
this.securityToken = request.securityToken;
this.sizeInGB = request.sizeInGB;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
/**
* SizeInGB.
*/
public Builder sizeInGB(Long sizeInGB) {
this.putQueryParameter("SizeInGB", sizeInGB);
this.sizeInGB = sizeInGB;
return this;
}
@Override
public DescribeGatewayCapacityLimitRequest build() {
return new DescribeGatewayCapacityLimitRequest(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/DescribeGatewayCapacityLimitResponse.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 DescribeGatewayCapacityLimitResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayCapacityLimitResponse</p>
*/
public class DescribeGatewayCapacityLimitResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayCapacityLimitResponseBody body;
private DescribeGatewayCapacityLimitResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayCapacityLimitResponse 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 DescribeGatewayCapacityLimitResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayCapacityLimitResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayCapacityLimitResponseBody body);
@Override
DescribeGatewayCapacityLimitResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayCapacityLimitResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayCapacityLimitResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayCapacityLimitResponse 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(DescribeGatewayCapacityLimitResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayCapacityLimitResponse build() {
return new DescribeGatewayCapacityLimitResponse(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/DescribeGatewayCapacityLimitResponseBody.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 DescribeGatewayCapacityLimitResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayCapacityLimitResponseBody</p>
*/
public class DescribeGatewayCapacityLimitResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("FileNumber")
private Long fileNumber;
@NameInMap("FileSystemSizeInTB")
private Long fileSystemSizeInTB;
@NameInMap("IsMetadataSeparate")
private Boolean isMetadataSeparate;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private DescribeGatewayCapacityLimitResponseBody(Builder builder) {
this.code = builder.code;
this.fileNumber = builder.fileNumber;
this.fileSystemSizeInTB = builder.fileSystemSizeInTB;
this.isMetadataSeparate = builder.isMetadataSeparate;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayCapacityLimitResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return fileNumber
*/
public Long getFileNumber() {
return this.fileNumber;
}
/**
* @return fileSystemSizeInTB
*/
public Long getFileSystemSizeInTB() {
return this.fileSystemSizeInTB;
}
/**
* @return isMetadataSeparate
*/
public Boolean getIsMetadataSeparate() {
return this.isMetadataSeparate;
}
/**
* @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 Long fileNumber;
private Long fileSystemSizeInTB;
private Boolean isMetadataSeparate;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* FileNumber.
*/
public Builder fileNumber(Long fileNumber) {
this.fileNumber = fileNumber;
return this;
}
/**
* FileSystemSizeInTB.
*/
public Builder fileSystemSizeInTB(Long fileSystemSizeInTB) {
this.fileSystemSizeInTB = fileSystemSizeInTB;
return this;
}
/**
* IsMetadataSeparate.
*/
public Builder isMetadataSeparate(Boolean isMetadataSeparate) {
this.isMetadataSeparate = isMetadataSeparate;
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 DescribeGatewayCapacityLimitResponseBody build() {
return new DescribeGatewayCapacityLimitResponseBody(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/DescribeGatewayCategoriesRequest.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 DescribeGatewayCategoriesRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayCategoriesRequest</p>
*/
public class DescribeGatewayCategoriesRequest extends Request {
@Query
@NameInMap("GatewayLocation")
private String gatewayLocation;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeGatewayCategoriesRequest(Builder builder) {
super(builder);
this.gatewayLocation = builder.gatewayLocation;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayCategoriesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayLocation
*/
public String getGatewayLocation() {
return this.gatewayLocation;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeGatewayCategoriesRequest, Builder> {
private String gatewayLocation;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeGatewayCategoriesRequest request) {
super(request);
this.gatewayLocation = request.gatewayLocation;
this.securityToken = request.securityToken;
}
/**
* GatewayLocation.
*/
public Builder gatewayLocation(String gatewayLocation) {
this.putQueryParameter("GatewayLocation", gatewayLocation);
this.gatewayLocation = gatewayLocation;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeGatewayCategoriesRequest build() {
return new DescribeGatewayCategoriesRequest(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/DescribeGatewayCategoriesResponse.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 DescribeGatewayCategoriesResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayCategoriesResponse</p>
*/
public class DescribeGatewayCategoriesResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayCategoriesResponseBody body;
private DescribeGatewayCategoriesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayCategoriesResponse 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 DescribeGatewayCategoriesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayCategoriesResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayCategoriesResponseBody body);
@Override
DescribeGatewayCategoriesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayCategoriesResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayCategoriesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayCategoriesResponse 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(DescribeGatewayCategoriesResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayCategoriesResponse build() {
return new DescribeGatewayCategoriesResponse(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/DescribeGatewayCategoriesResponseBody.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 DescribeGatewayCategoriesResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayCategoriesResponseBody</p>
*/
public class DescribeGatewayCategoriesResponseBody extends TeaModel {
@NameInMap("Categories")
private String categories;
@NameInMap("Code")
private String code;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private DescribeGatewayCategoriesResponseBody(Builder builder) {
this.categories = builder.categories;
this.code = builder.code;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayCategoriesResponseBody create() {
return builder().build();
}
/**
* @return categories
*/
public String getCategories() {
return this.categories;
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @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 categories;
private String code;
private String message;
private String requestId;
private Boolean success;
/**
* Categories.
*/
public Builder categories(String categories) {
this.categories = categories;
return this;
}
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DescribeGatewayCategoriesResponseBody build() {
return new DescribeGatewayCategoriesResponseBody(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/DescribeGatewayClassesRequest.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 DescribeGatewayClassesRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayClassesRequest</p>
*/
public class DescribeGatewayClassesRequest extends Request {
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeGatewayClassesRequest(Builder builder) {
super(builder);
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayClassesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeGatewayClassesRequest, Builder> {
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeGatewayClassesRequest request) {
super(request);
this.securityToken = request.securityToken;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeGatewayClassesRequest build() {
return new DescribeGatewayClassesRequest(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/DescribeGatewayClassesResponse.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 DescribeGatewayClassesResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayClassesResponse</p>
*/
public class DescribeGatewayClassesResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayClassesResponseBody body;
private DescribeGatewayClassesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayClassesResponse 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 DescribeGatewayClassesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayClassesResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayClassesResponseBody body);
@Override
DescribeGatewayClassesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayClassesResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayClassesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayClassesResponse 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(DescribeGatewayClassesResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayClassesResponse build() {
return new DescribeGatewayClassesResponse(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/DescribeGatewayClassesResponseBody.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 DescribeGatewayClassesResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayClassesResponseBody</p>
*/
public class DescribeGatewayClassesResponseBody extends TeaModel {
@NameInMap("Classes")
private String classes;
@NameInMap("Code")
private String code;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private DescribeGatewayClassesResponseBody(Builder builder) {
this.classes = builder.classes;
this.code = builder.code;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayClassesResponseBody create() {
return builder().build();
}
/**
* @return classes
*/
public String getClasses() {
return this.classes;
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @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 classes;
private String code;
private String message;
private String requestId;
private Boolean success;
/**
* Classes.
*/
public Builder classes(String classes) {
this.classes = classes;
return this;
}
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DescribeGatewayClassesResponseBody build() {
return new DescribeGatewayClassesResponseBody(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/DescribeGatewayCredentialRequest.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 DescribeGatewayCredentialRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayCredentialRequest</p>
*/
public class DescribeGatewayCredentialRequest extends Request {
@Query
@NameInMap("GatewayId")
@Validation(required = true)
private String gatewayId;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeGatewayCredentialRequest(Builder builder) {
super(builder);
this.gatewayId = builder.gatewayId;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayCredentialRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeGatewayCredentialRequest, Builder> {
private String gatewayId;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeGatewayCredentialRequest request) {
super(request);
this.gatewayId = request.gatewayId;
this.securityToken = request.securityToken;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeGatewayCredentialRequest build() {
return new DescribeGatewayCredentialRequest(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/DescribeGatewayCredentialResponse.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 DescribeGatewayCredentialResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayCredentialResponse</p>
*/
public class DescribeGatewayCredentialResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayCredentialResponseBody body;
private DescribeGatewayCredentialResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayCredentialResponse 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 DescribeGatewayCredentialResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayCredentialResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayCredentialResponseBody body);
@Override
DescribeGatewayCredentialResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayCredentialResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayCredentialResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayCredentialResponse 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(DescribeGatewayCredentialResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayCredentialResponse build() {
return new DescribeGatewayCredentialResponse(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/DescribeGatewayCredentialResponseBody.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 DescribeGatewayCredentialResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayCredentialResponseBody</p>
*/
public class DescribeGatewayCredentialResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("ConsolePassword")
private String consolePassword;
@NameInMap("ConsoleUsername")
private String consoleUsername;
@NameInMap("EcsIp")
private String ecsIp;
@NameInMap("EcsPassword")
private String ecsPassword;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
@NameInMap("VSwitchId")
private String vSwitchId;
@NameInMap("VpcId")
private String vpcId;
private DescribeGatewayCredentialResponseBody(Builder builder) {
this.code = builder.code;
this.consolePassword = builder.consolePassword;
this.consoleUsername = builder.consoleUsername;
this.ecsIp = builder.ecsIp;
this.ecsPassword = builder.ecsPassword;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
this.vSwitchId = builder.vSwitchId;
this.vpcId = builder.vpcId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayCredentialResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return consolePassword
*/
public String getConsolePassword() {
return this.consolePassword;
}
/**
* @return consoleUsername
*/
public String getConsoleUsername() {
return this.consoleUsername;
}
/**
* @return ecsIp
*/
public String getEcsIp() {
return this.ecsIp;
}
/**
* @return ecsPassword
*/
public String getEcsPassword() {
return this.ecsPassword;
}
/**
* @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 vSwitchId
*/
public String getVSwitchId() {
return this.vSwitchId;
}
/**
* @return vpcId
*/
public String getVpcId() {
return this.vpcId;
}
public static final class Builder {
private String code;
private String consolePassword;
private String consoleUsername;
private String ecsIp;
private String ecsPassword;
private String message;
private String requestId;
private Boolean success;
private String vSwitchId;
private String vpcId;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* ConsolePassword.
*/
public Builder consolePassword(String consolePassword) {
this.consolePassword = consolePassword;
return this;
}
/**
* ConsoleUsername.
*/
public Builder consoleUsername(String consoleUsername) {
this.consoleUsername = consoleUsername;
return this;
}
/**
* EcsIp.
*/
public Builder ecsIp(String ecsIp) {
this.ecsIp = ecsIp;
return this;
}
/**
* EcsPassword.
*/
public Builder ecsPassword(String ecsPassword) {
this.ecsPassword = ecsPassword;
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;
}
/**
* VSwitchId.
*/
public Builder vSwitchId(String vSwitchId) {
this.vSwitchId = vSwitchId;
return this;
}
/**
* VpcId.
*/
public Builder vpcId(String vpcId) {
this.vpcId = vpcId;
return this;
}
public DescribeGatewayCredentialResponseBody build() {
return new DescribeGatewayCredentialResponseBody(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/DescribeGatewayDNSRequest.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 DescribeGatewayDNSRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayDNSRequest</p>
*/
public class DescribeGatewayDNSRequest extends Request {
@Query
@NameInMap("GatewayId")
@Validation(required = true)
private String gatewayId;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeGatewayDNSRequest(Builder builder) {
super(builder);
this.gatewayId = builder.gatewayId;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayDNSRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeGatewayDNSRequest, Builder> {
private String gatewayId;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeGatewayDNSRequest request) {
super(request);
this.gatewayId = request.gatewayId;
this.securityToken = request.securityToken;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeGatewayDNSRequest build() {
return new DescribeGatewayDNSRequest(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/DescribeGatewayDNSResponse.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 DescribeGatewayDNSResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayDNSResponse</p>
*/
public class DescribeGatewayDNSResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayDNSResponseBody body;
private DescribeGatewayDNSResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayDNSResponse 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 DescribeGatewayDNSResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayDNSResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayDNSResponseBody body);
@Override
DescribeGatewayDNSResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayDNSResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayDNSResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayDNSResponse 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(DescribeGatewayDNSResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayDNSResponse build() {
return new DescribeGatewayDNSResponse(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/DescribeGatewayDNSResponseBody.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 DescribeGatewayDNSResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayDNSResponseBody</p>
*/
public class DescribeGatewayDNSResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("DnsServer")
private String dnsServer;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private DescribeGatewayDNSResponseBody(Builder builder) {
this.code = builder.code;
this.dnsServer = builder.dnsServer;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayDNSResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return dnsServer
*/
public String getDnsServer() {
return this.dnsServer;
}
/**
* @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 String dnsServer;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* DnsServer.
*/
public Builder dnsServer(String dnsServer) {
this.dnsServer = dnsServer;
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 DescribeGatewayDNSResponseBody build() {
return new DescribeGatewayDNSResponseBody(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/DescribeGatewayFileSharesRequest.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 DescribeGatewayFileSharesRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayFileSharesRequest</p>
*/
public class DescribeGatewayFileSharesRequest extends Request {
@Query
@NameInMap("GatewayId")
@Validation(required = true)
private String gatewayId;
@Query
@NameInMap("IndexId")
private String indexId;
@Query
@NameInMap("Refresh")
private Boolean refresh;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeGatewayFileSharesRequest(Builder builder) {
super(builder);
this.gatewayId = builder.gatewayId;
this.indexId = builder.indexId;
this.refresh = builder.refresh;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayFileSharesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return indexId
*/
public String getIndexId() {
return this.indexId;
}
/**
* @return refresh
*/
public Boolean getRefresh() {
return this.refresh;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeGatewayFileSharesRequest, Builder> {
private String gatewayId;
private String indexId;
private Boolean refresh;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeGatewayFileSharesRequest request) {
super(request);
this.gatewayId = request.gatewayId;
this.indexId = request.indexId;
this.refresh = request.refresh;
this.securityToken = request.securityToken;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* IndexId.
*/
public Builder indexId(String indexId) {
this.putQueryParameter("IndexId", indexId);
this.indexId = indexId;
return this;
}
/**
* Refresh.
*/
public Builder refresh(Boolean refresh) {
this.putQueryParameter("Refresh", refresh);
this.refresh = refresh;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeGatewayFileSharesRequest build() {
return new DescribeGatewayFileSharesRequest(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/DescribeGatewayFileSharesResponse.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 DescribeGatewayFileSharesResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayFileSharesResponse</p>
*/
public class DescribeGatewayFileSharesResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayFileSharesResponseBody body;
private DescribeGatewayFileSharesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayFileSharesResponse 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 DescribeGatewayFileSharesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayFileSharesResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayFileSharesResponseBody body);
@Override
DescribeGatewayFileSharesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayFileSharesResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayFileSharesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayFileSharesResponse 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(DescribeGatewayFileSharesResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayFileSharesResponse build() {
return new DescribeGatewayFileSharesResponse(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/DescribeGatewayFileSharesResponseBody.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 DescribeGatewayFileSharesResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayFileSharesResponseBody</p>
*/
public class DescribeGatewayFileSharesResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("FileShares")
private FileShares fileShares;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private DescribeGatewayFileSharesResponseBody(Builder builder) {
this.code = builder.code;
this.fileShares = builder.fileShares;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayFileSharesResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return fileShares
*/
public FileShares getFileShares() {
return this.fileShares;
}
/**
* @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 FileShares fileShares;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* FileShares.
*/
public Builder fileShares(FileShares fileShares) {
this.fileShares = fileShares;
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 DescribeGatewayFileSharesResponseBody build() {
return new DescribeGatewayFileSharesResponseBody(this);
}
}
public static class FileShare extends TeaModel {
@NameInMap("AccessBasedEnumeration")
private Boolean accessBasedEnumeration;
@NameInMap("ActiveMessages")
private Long activeMessages;
@NameInMap("Address")
private String address;
@NameInMap("BeLimit")
private Integer beLimit;
@NameInMap("Browsable")
private Boolean browsable;
@NameInMap("BucketInfos")
private String bucketInfos;
@NameInMap("BucketsStub")
private Boolean bucketsStub;
@NameInMap("BypassCacheRead")
private Boolean bypassCacheRead;
@NameInMap("CacheMode")
private String cacheMode;
@NameInMap("ClientSideCmk")
private String clientSideCmk;
@NameInMap("ClientSideEncryption")
private Boolean clientSideEncryption;
@NameInMap("DirectIO")
private Boolean directIO;
@NameInMap("DiskId")
private String diskId;
@NameInMap("DiskType")
private String diskType;
@NameInMap("DownloadLimit")
private Integer downloadLimit;
@NameInMap("DownloadQueue")
private Long downloadQueue;
@NameInMap("DownloadRate")
private Long downloadRate;
@NameInMap("Enabled")
private Boolean enabled;
@NameInMap("ExpressSyncId")
private String expressSyncId;
@NameInMap("FastReclaim")
private Boolean fastReclaim;
@NameInMap("FeLimit")
private Integer feLimit;
@NameInMap("FileNumLimit")
private Long fileNumLimit;
@NameInMap("FsSizeLimit")
private Long fsSizeLimit;
@NameInMap("HighWatermark")
private Integer highWatermark;
@NameInMap("IgnoreDelete")
private Boolean ignoreDelete;
@NameInMap("InPlace")
private Boolean inPlace;
@NameInMap("InRate")
private Long inRate;
@NameInMap("IndexId")
private String indexId;
@NameInMap("KmsRotatePeriod")
private String kmsRotatePeriod;
@NameInMap("LagPeriod")
private Long lagPeriod;
@NameInMap("LocalPath")
private String localPath;
@NameInMap("LowWatermark")
private Integer lowWatermark;
@NameInMap("MnsHealth")
private String mnsHealth;
@NameInMap("Name")
private String name;
@NameInMap("NfsV4Optimization")
private Boolean nfsV4Optimization;
@NameInMap("NoPartition")
private Boolean noPartition;
@NameInMap("ObsoleteBuckets")
private String obsoleteBuckets;
@NameInMap("OssBucketName")
private String ossBucketName;
@NameInMap("OssBucketSsl")
private Boolean ossBucketSsl;
@NameInMap("OssEndpoint")
private String ossEndpoint;
@NameInMap("OssHealth")
private String ossHealth;
@NameInMap("OssUsed")
private Long ossUsed;
@NameInMap("OutRate")
private Long outRate;
@NameInMap("PartialSyncPaths")
private String partialSyncPaths;
@NameInMap("PathPrefix")
private String pathPrefix;
@NameInMap("PollingInterval")
private Integer pollingInterval;
@NameInMap("Protocol")
private String protocol;
@NameInMap("RemainingMetaSpace")
private Long remainingMetaSpace;
@NameInMap("RemoteSync")
private Boolean remoteSync;
@NameInMap("RemoteSyncDownload")
private Boolean remoteSyncDownload;
@NameInMap("RoClientList")
private String roClientList;
@NameInMap("RoUserList")
private String roUserList;
@NameInMap("RwClientList")
private String rwClientList;
@NameInMap("RwUserList")
private String rwUserList;
@NameInMap("ServerSideAlgorithm")
private String serverSideAlgorithm;
@NameInMap("ServerSideCmk")
private String serverSideCmk;
@NameInMap("ServerSideEncryption")
private Boolean serverSideEncryption;
@NameInMap("Size")
private Long size;
@NameInMap("Squash")
private String squash;
@NameInMap("State")
private String state;
@NameInMap("Status")
private String status;
@NameInMap("SupportArchive")
private Boolean supportArchive;
@NameInMap("SyncProgress")
private Integer syncProgress;
@NameInMap("Throttling")
private Boolean throttling;
@NameInMap("TotalDownload")
private Long totalDownload;
@NameInMap("TotalUpload")
private Long totalUpload;
@NameInMap("TransferAcceleration")
private Boolean transferAcceleration;
@NameInMap("UploadQueue")
private Long uploadQueue;
@NameInMap("Used")
private Long used;
@NameInMap("WindowsAcl")
private Boolean windowsAcl;
private FileShare(Builder builder) {
this.accessBasedEnumeration = builder.accessBasedEnumeration;
this.activeMessages = builder.activeMessages;
this.address = builder.address;
this.beLimit = builder.beLimit;
this.browsable = builder.browsable;
this.bucketInfos = builder.bucketInfos;
this.bucketsStub = builder.bucketsStub;
this.bypassCacheRead = builder.bypassCacheRead;
this.cacheMode = builder.cacheMode;
this.clientSideCmk = builder.clientSideCmk;
this.clientSideEncryption = builder.clientSideEncryption;
this.directIO = builder.directIO;
this.diskId = builder.diskId;
this.diskType = builder.diskType;
this.downloadLimit = builder.downloadLimit;
this.downloadQueue = builder.downloadQueue;
this.downloadRate = builder.downloadRate;
this.enabled = builder.enabled;
this.expressSyncId = builder.expressSyncId;
this.fastReclaim = builder.fastReclaim;
this.feLimit = builder.feLimit;
this.fileNumLimit = builder.fileNumLimit;
this.fsSizeLimit = builder.fsSizeLimit;
this.highWatermark = builder.highWatermark;
this.ignoreDelete = builder.ignoreDelete;
this.inPlace = builder.inPlace;
this.inRate = builder.inRate;
this.indexId = builder.indexId;
this.kmsRotatePeriod = builder.kmsRotatePeriod;
this.lagPeriod = builder.lagPeriod;
this.localPath = builder.localPath;
this.lowWatermark = builder.lowWatermark;
this.mnsHealth = builder.mnsHealth;
this.name = builder.name;
this.nfsV4Optimization = builder.nfsV4Optimization;
this.noPartition = builder.noPartition;
this.obsoleteBuckets = builder.obsoleteBuckets;
this.ossBucketName = builder.ossBucketName;
this.ossBucketSsl = builder.ossBucketSsl;
this.ossEndpoint = builder.ossEndpoint;
this.ossHealth = builder.ossHealth;
this.ossUsed = builder.ossUsed;
this.outRate = builder.outRate;
this.partialSyncPaths = builder.partialSyncPaths;
this.pathPrefix = builder.pathPrefix;
this.pollingInterval = builder.pollingInterval;
this.protocol = builder.protocol;
this.remainingMetaSpace = builder.remainingMetaSpace;
this.remoteSync = builder.remoteSync;
this.remoteSyncDownload = builder.remoteSyncDownload;
this.roClientList = builder.roClientList;
this.roUserList = builder.roUserList;
this.rwClientList = builder.rwClientList;
this.rwUserList = builder.rwUserList;
this.serverSideAlgorithm = builder.serverSideAlgorithm;
this.serverSideCmk = builder.serverSideCmk;
this.serverSideEncryption = builder.serverSideEncryption;
this.size = builder.size;
this.squash = builder.squash;
this.state = builder.state;
this.status = builder.status;
this.supportArchive = builder.supportArchive;
this.syncProgress = builder.syncProgress;
this.throttling = builder.throttling;
this.totalDownload = builder.totalDownload;
this.totalUpload = builder.totalUpload;
this.transferAcceleration = builder.transferAcceleration;
this.uploadQueue = builder.uploadQueue;
this.used = builder.used;
this.windowsAcl = builder.windowsAcl;
}
public static Builder builder() {
return new Builder();
}
public static FileShare create() {
return builder().build();
}
/**
* @return accessBasedEnumeration
*/
public Boolean getAccessBasedEnumeration() {
return this.accessBasedEnumeration;
}
/**
* @return activeMessages
*/
public Long getActiveMessages() {
return this.activeMessages;
}
/**
* @return address
*/
public String getAddress() {
return this.address;
}
/**
* @return beLimit
*/
public Integer getBeLimit() {
return this.beLimit;
}
/**
* @return browsable
*/
public Boolean getBrowsable() {
return this.browsable;
}
/**
* @return bucketInfos
*/
public String getBucketInfos() {
return this.bucketInfos;
}
/**
* @return bucketsStub
*/
public Boolean getBucketsStub() {
return this.bucketsStub;
}
/**
* @return bypassCacheRead
*/
public Boolean getBypassCacheRead() {
return this.bypassCacheRead;
}
/**
* @return cacheMode
*/
public String getCacheMode() {
return this.cacheMode;
}
/**
* @return clientSideCmk
*/
public String getClientSideCmk() {
return this.clientSideCmk;
}
/**
* @return clientSideEncryption
*/
public Boolean getClientSideEncryption() {
return this.clientSideEncryption;
}
/**
* @return directIO
*/
public Boolean getDirectIO() {
return this.directIO;
}
/**
* @return diskId
*/
public String getDiskId() {
return this.diskId;
}
/**
* @return diskType
*/
public String getDiskType() {
return this.diskType;
}
/**
* @return downloadLimit
*/
public Integer getDownloadLimit() {
return this.downloadLimit;
}
/**
* @return downloadQueue
*/
public Long getDownloadQueue() {
return this.downloadQueue;
}
/**
* @return downloadRate
*/
public Long getDownloadRate() {
return this.downloadRate;
}
/**
* @return enabled
*/
public Boolean getEnabled() {
return this.enabled;
}
/**
* @return expressSyncId
*/
public String getExpressSyncId() {
return this.expressSyncId;
}
/**
* @return fastReclaim
*/
public Boolean getFastReclaim() {
return this.fastReclaim;
}
/**
* @return feLimit
*/
public Integer getFeLimit() {
return this.feLimit;
}
/**
* @return fileNumLimit
*/
public Long getFileNumLimit() {
return this.fileNumLimit;
}
/**
* @return fsSizeLimit
*/
public Long getFsSizeLimit() {
return this.fsSizeLimit;
}
/**
* @return highWatermark
*/
public Integer getHighWatermark() {
return this.highWatermark;
}
/**
* @return ignoreDelete
*/
public Boolean getIgnoreDelete() {
return this.ignoreDelete;
}
/**
* @return inPlace
*/
public Boolean getInPlace() {
return this.inPlace;
}
/**
* @return inRate
*/
public Long getInRate() {
return this.inRate;
}
/**
* @return indexId
*/
public String getIndexId() {
return this.indexId;
}
/**
* @return kmsRotatePeriod
*/
public String getKmsRotatePeriod() {
return this.kmsRotatePeriod;
}
/**
* @return lagPeriod
*/
public Long getLagPeriod() {
return this.lagPeriod;
}
/**
* @return localPath
*/
public String getLocalPath() {
return this.localPath;
}
/**
* @return lowWatermark
*/
public Integer getLowWatermark() {
return this.lowWatermark;
}
/**
* @return mnsHealth
*/
public String getMnsHealth() {
return this.mnsHealth;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return nfsV4Optimization
*/
public Boolean getNfsV4Optimization() {
return this.nfsV4Optimization;
}
/**
* @return noPartition
*/
public Boolean getNoPartition() {
return this.noPartition;
}
/**
* @return obsoleteBuckets
*/
public String getObsoleteBuckets() {
return this.obsoleteBuckets;
}
/**
* @return ossBucketName
*/
public String getOssBucketName() {
return this.ossBucketName;
}
/**
* @return ossBucketSsl
*/
public Boolean getOssBucketSsl() {
return this.ossBucketSsl;
}
/**
* @return ossEndpoint
*/
public String getOssEndpoint() {
return this.ossEndpoint;
}
/**
* @return ossHealth
*/
public String getOssHealth() {
return this.ossHealth;
}
/**
* @return ossUsed
*/
public Long getOssUsed() {
return this.ossUsed;
}
/**
* @return outRate
*/
public Long getOutRate() {
return this.outRate;
}
/**
* @return partialSyncPaths
*/
public String getPartialSyncPaths() {
return this.partialSyncPaths;
}
/**
* @return pathPrefix
*/
public String getPathPrefix() {
return this.pathPrefix;
}
/**
* @return pollingInterval
*/
public Integer getPollingInterval() {
return this.pollingInterval;
}
/**
* @return protocol
*/
public String getProtocol() {
return this.protocol;
}
/**
* @return remainingMetaSpace
*/
public Long getRemainingMetaSpace() {
return this.remainingMetaSpace;
}
/**
* @return remoteSync
*/
public Boolean getRemoteSync() {
return this.remoteSync;
}
/**
* @return remoteSyncDownload
*/
public Boolean getRemoteSyncDownload() {
return this.remoteSyncDownload;
}
/**
* @return roClientList
*/
public String getRoClientList() {
return this.roClientList;
}
/**
* @return roUserList
*/
public String getRoUserList() {
return this.roUserList;
}
/**
* @return rwClientList
*/
public String getRwClientList() {
return this.rwClientList;
}
/**
* @return rwUserList
*/
public String getRwUserList() {
return this.rwUserList;
}
/**
* @return serverSideAlgorithm
*/
public String getServerSideAlgorithm() {
return this.serverSideAlgorithm;
}
/**
* @return serverSideCmk
*/
public String getServerSideCmk() {
return this.serverSideCmk;
}
/**
* @return serverSideEncryption
*/
public Boolean getServerSideEncryption() {
return this.serverSideEncryption;
}
/**
* @return size
*/
public Long getSize() {
return this.size;
}
/**
* @return squash
*/
public String getSquash() {
return this.squash;
}
/**
* @return state
*/
public String getState() {
return this.state;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return supportArchive
*/
public Boolean getSupportArchive() {
return this.supportArchive;
}
/**
* @return syncProgress
*/
public Integer getSyncProgress() {
return this.syncProgress;
}
/**
* @return throttling
*/
public Boolean getThrottling() {
return this.throttling;
}
/**
* @return totalDownload
*/
public Long getTotalDownload() {
return this.totalDownload;
}
/**
* @return totalUpload
*/
public Long getTotalUpload() {
return this.totalUpload;
}
/**
* @return transferAcceleration
*/
public Boolean getTransferAcceleration() {
return this.transferAcceleration;
}
/**
* @return uploadQueue
*/
public Long getUploadQueue() {
return this.uploadQueue;
}
/**
* @return used
*/
public Long getUsed() {
return this.used;
}
/**
* @return windowsAcl
*/
public Boolean getWindowsAcl() {
return this.windowsAcl;
}
public static final class Builder {
private Boolean accessBasedEnumeration;
private Long activeMessages;
private String address;
private Integer beLimit;
private Boolean browsable;
private String bucketInfos;
private Boolean bucketsStub;
private Boolean bypassCacheRead;
private String cacheMode;
private String clientSideCmk;
private Boolean clientSideEncryption;
private Boolean directIO;
private String diskId;
private String diskType;
private Integer downloadLimit;
private Long downloadQueue;
private Long downloadRate;
private Boolean enabled;
private String expressSyncId;
private Boolean fastReclaim;
private Integer feLimit;
private Long fileNumLimit;
private Long fsSizeLimit;
private Integer highWatermark;
private Boolean ignoreDelete;
private Boolean inPlace;
private Long inRate;
private String indexId;
private String kmsRotatePeriod;
private Long lagPeriod;
private String localPath;
private Integer lowWatermark;
private String mnsHealth;
private String name;
private Boolean nfsV4Optimization;
private Boolean noPartition;
private String obsoleteBuckets;
private String ossBucketName;
private Boolean ossBucketSsl;
private String ossEndpoint;
private String ossHealth;
private Long ossUsed;
private Long outRate;
private String partialSyncPaths;
private String pathPrefix;
private Integer pollingInterval;
private String protocol;
private Long remainingMetaSpace;
private Boolean remoteSync;
private Boolean remoteSyncDownload;
private String roClientList;
private String roUserList;
private String rwClientList;
private String rwUserList;
private String serverSideAlgorithm;
private String serverSideCmk;
private Boolean serverSideEncryption;
private Long size;
private String squash;
private String state;
private String status;
private Boolean supportArchive;
private Integer syncProgress;
private Boolean throttling;
private Long totalDownload;
private Long totalUpload;
private Boolean transferAcceleration;
private Long uploadQueue;
private Long used;
private Boolean windowsAcl;
/**
* AccessBasedEnumeration.
*/
public Builder accessBasedEnumeration(Boolean accessBasedEnumeration) {
this.accessBasedEnumeration = accessBasedEnumeration;
return this;
}
/**
* ActiveMessages.
*/
public Builder activeMessages(Long activeMessages) {
this.activeMessages = activeMessages;
return this;
}
/**
* Address.
*/
public Builder address(String address) {
this.address = address;
return this;
}
/**
* BeLimit.
*/
public Builder beLimit(Integer beLimit) {
this.beLimit = beLimit;
return this;
}
/**
* Browsable.
*/
public Builder browsable(Boolean browsable) {
this.browsable = browsable;
return this;
}
/**
* BucketInfos.
*/
public Builder bucketInfos(String bucketInfos) {
this.bucketInfos = bucketInfos;
return this;
}
/**
* BucketsStub.
*/
public Builder bucketsStub(Boolean bucketsStub) {
this.bucketsStub = bucketsStub;
return this;
}
/**
* BypassCacheRead.
*/
public Builder bypassCacheRead(Boolean bypassCacheRead) {
this.bypassCacheRead = bypassCacheRead;
return this;
}
/**
* CacheMode.
*/
public Builder cacheMode(String cacheMode) {
this.cacheMode = cacheMode;
return this;
}
/**
* ClientSideCmk.
*/
public Builder clientSideCmk(String clientSideCmk) {
this.clientSideCmk = clientSideCmk;
return this;
}
/**
* ClientSideEncryption.
*/
public Builder clientSideEncryption(Boolean clientSideEncryption) {
this.clientSideEncryption = clientSideEncryption;
return this;
}
/**
* DirectIO.
*/
public Builder directIO(Boolean directIO) {
this.directIO = directIO;
return this;
}
/**
* DiskId.
*/
public Builder diskId(String diskId) {
this.diskId = diskId;
return this;
}
/**
* DiskType.
*/
public Builder diskType(String diskType) {
this.diskType = diskType;
return this;
}
/**
* DownloadLimit.
*/
public Builder downloadLimit(Integer downloadLimit) {
this.downloadLimit = downloadLimit;
return this;
}
/**
* DownloadQueue.
*/
public Builder downloadQueue(Long downloadQueue) {
this.downloadQueue = downloadQueue;
return this;
}
/**
* DownloadRate.
*/
public Builder downloadRate(Long downloadRate) {
this.downloadRate = downloadRate;
return this;
}
/**
* Enabled.
*/
public Builder enabled(Boolean enabled) {
this.enabled = enabled;
return this;
}
/**
* ExpressSyncId.
*/
public Builder expressSyncId(String expressSyncId) {
this.expressSyncId = expressSyncId;
return this;
}
/**
* FastReclaim.
*/
public Builder fastReclaim(Boolean fastReclaim) {
this.fastReclaim = fastReclaim;
return this;
}
/**
* FeLimit.
*/
public Builder feLimit(Integer feLimit) {
this.feLimit = feLimit;
return this;
}
/**
* FileNumLimit.
*/
public Builder fileNumLimit(Long fileNumLimit) {
this.fileNumLimit = fileNumLimit;
return this;
}
/**
* FsSizeLimit.
*/
public Builder fsSizeLimit(Long fsSizeLimit) {
this.fsSizeLimit = fsSizeLimit;
return this;
}
/**
* HighWatermark.
*/
public Builder highWatermark(Integer highWatermark) {
this.highWatermark = highWatermark;
return this;
}
/**
* IgnoreDelete.
*/
public Builder ignoreDelete(Boolean ignoreDelete) {
this.ignoreDelete = ignoreDelete;
return this;
}
/**
* InPlace.
*/
public Builder inPlace(Boolean inPlace) {
this.inPlace = inPlace;
return this;
}
/**
* InRate.
*/
public Builder inRate(Long inRate) {
this.inRate = inRate;
return this;
}
/**
* IndexId.
*/
public Builder indexId(String indexId) {
this.indexId = indexId;
return this;
}
/**
* KmsRotatePeriod.
*/
public Builder kmsRotatePeriod(String kmsRotatePeriod) {
this.kmsRotatePeriod = kmsRotatePeriod;
return this;
}
/**
* LagPeriod.
*/
public Builder lagPeriod(Long lagPeriod) {
this.lagPeriod = lagPeriod;
return this;
}
/**
* LocalPath.
*/
public Builder localPath(String localPath) {
this.localPath = localPath;
return this;
}
/**
* LowWatermark.
*/
public Builder lowWatermark(Integer lowWatermark) {
this.lowWatermark = lowWatermark;
return this;
}
/**
* MnsHealth.
*/
public Builder mnsHealth(String mnsHealth) {
this.mnsHealth = mnsHealth;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* NfsV4Optimization.
*/
public Builder nfsV4Optimization(Boolean nfsV4Optimization) {
this.nfsV4Optimization = nfsV4Optimization;
return this;
}
/**
* NoPartition.
*/
public Builder noPartition(Boolean noPartition) {
this.noPartition = noPartition;
return this;
}
/**
* ObsoleteBuckets.
*/
public Builder obsoleteBuckets(String obsoleteBuckets) {
this.obsoleteBuckets = obsoleteBuckets;
return this;
}
/**
* OssBucketName.
*/
public Builder ossBucketName(String ossBucketName) {
this.ossBucketName = ossBucketName;
return this;
}
/**
* OssBucketSsl.
*/
public Builder ossBucketSsl(Boolean ossBucketSsl) {
this.ossBucketSsl = ossBucketSsl;
return this;
}
/**
* OssEndpoint.
*/
public Builder ossEndpoint(String ossEndpoint) {
this.ossEndpoint = ossEndpoint;
return this;
}
/**
* OssHealth.
*/
public Builder ossHealth(String ossHealth) {
this.ossHealth = ossHealth;
return this;
}
/**
* OssUsed.
*/
public Builder ossUsed(Long ossUsed) {
this.ossUsed = ossUsed;
return this;
}
/**
* OutRate.
*/
public Builder outRate(Long outRate) {
this.outRate = outRate;
return this;
}
/**
* PartialSyncPaths.
*/
public Builder partialSyncPaths(String partialSyncPaths) {
this.partialSyncPaths = partialSyncPaths;
return this;
}
/**
* OSS Prefix。
*/
public Builder pathPrefix(String pathPrefix) {
this.pathPrefix = pathPrefix;
return this;
}
/**
* PollingInterval.
*/
public Builder pollingInterval(Integer pollingInterval) {
this.pollingInterval = pollingInterval;
return this;
}
/**
* Protocol.
*/
public Builder protocol(String protocol) {
this.protocol = protocol;
return this;
}
/**
* RemainingMetaSpace.
*/
public Builder remainingMetaSpace(Long remainingMetaSpace) {
this.remainingMetaSpace = remainingMetaSpace;
return this;
}
/**
* RemoteSync.
*/
public Builder remoteSync(Boolean remoteSync) {
this.remoteSync = remoteSync;
return this;
}
/**
* RemoteSyncDownload.
*/
public Builder remoteSyncDownload(Boolean remoteSyncDownload) {
this.remoteSyncDownload = remoteSyncDownload;
return this;
}
/**
* RoClientList.
*/
public Builder roClientList(String roClientList) {
this.roClientList = roClientList;
return this;
}
/**
* RoUserList.
*/
public Builder roUserList(String roUserList) {
this.roUserList = roUserList;
return this;
}
/**
* RwClientList.
*/
public Builder rwClientList(String rwClientList) {
this.rwClientList = rwClientList;
return this;
}
/**
* RwUserList.
*/
public Builder rwUserList(String rwUserList) {
this.rwUserList = rwUserList;
return this;
}
/**
* ServerSideAlgorithm.
*/
public Builder serverSideAlgorithm(String serverSideAlgorithm) {
this.serverSideAlgorithm = serverSideAlgorithm;
return this;
}
/**
* ServerSideCmk.
*/
public Builder serverSideCmk(String serverSideCmk) {
this.serverSideCmk = serverSideCmk;
return this;
}
/**
* ServerSideEncryption.
*/
public Builder serverSideEncryption(Boolean serverSideEncryption) {
this.serverSideEncryption = serverSideEncryption;
return this;
}
/**
* Size.
*/
public Builder size(Long size) {
this.size = size;
return this;
}
/**
* Squash.
*/
public Builder squash(String squash) {
this.squash = squash;
return this;
}
/**
* State.
*/
public Builder state(String state) {
this.state = state;
return this;
}
/**
* Status.
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* SupportArchive.
*/
public Builder supportArchive(Boolean supportArchive) {
this.supportArchive = supportArchive;
return this;
}
/**
* SyncProgress.
*/
public Builder syncProgress(Integer syncProgress) {
this.syncProgress = syncProgress;
return this;
}
/**
* Throttling.
*/
public Builder throttling(Boolean throttling) {
this.throttling = throttling;
return this;
}
/**
* TotalDownload.
*/
public Builder totalDownload(Long totalDownload) {
this.totalDownload = totalDownload;
return this;
}
/**
* TotalUpload.
*/
public Builder totalUpload(Long totalUpload) {
this.totalUpload = totalUpload;
return this;
}
/**
* TransferAcceleration.
*/
public Builder transferAcceleration(Boolean transferAcceleration) {
this.transferAcceleration = transferAcceleration;
return this;
}
/**
* UploadQueue.
*/
public Builder uploadQueue(Long uploadQueue) {
this.uploadQueue = uploadQueue;
return this;
}
/**
* Used.
*/
public Builder used(Long used) {
this.used = used;
return this;
}
/**
* WindowsAcl.
*/
public Builder windowsAcl(Boolean windowsAcl) {
this.windowsAcl = windowsAcl;
return this;
}
public FileShare build() {
return new FileShare(this);
}
}
}
public static class FileShares extends TeaModel {
@NameInMap("FileShare")
private java.util.List < FileShare> fileShare;
private FileShares(Builder builder) {
this.fileShare = builder.fileShare;
}
public static Builder builder() {
return new Builder();
}
public static FileShares create() {
return builder().build();
}
/**
* @return fileShare
*/
public java.util.List < FileShare> getFileShare() {
return this.fileShare;
}
public static final class Builder {
private java.util.List < FileShare> fileShare;
/**
* FileShare.
*/
public Builder fileShare(java.util.List < FileShare> fileShare) {
this.fileShare = fileShare;
return this;
}
public FileShares build() {
return new FileShares(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/DescribeGatewayFileStatusRequest.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 DescribeGatewayFileStatusRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayFileStatusRequest</p>
*/
public class DescribeGatewayFileStatusRequest extends Request {
@Query
@NameInMap("FilePath")
@Validation(required = true)
private String filePath;
@Query
@NameInMap("GatewayId")
@Validation(required = true)
private String gatewayId;
@Query
@NameInMap("IndexId")
@Validation(required = true)
private String indexId;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeGatewayFileStatusRequest(Builder builder) {
super(builder);
this.filePath = builder.filePath;
this.gatewayId = builder.gatewayId;
this.indexId = builder.indexId;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayFileStatusRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return filePath
*/
public String getFilePath() {
return this.filePath;
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return indexId
*/
public String getIndexId() {
return this.indexId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeGatewayFileStatusRequest, Builder> {
private String filePath;
private String gatewayId;
private String indexId;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeGatewayFileStatusRequest request) {
super(request);
this.filePath = request.filePath;
this.gatewayId = request.gatewayId;
this.indexId = request.indexId;
this.securityToken = request.securityToken;
}
/**
* FilePath.
*/
public Builder filePath(String filePath) {
this.putQueryParameter("FilePath", filePath);
this.filePath = filePath;
return this;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* IndexId.
*/
public Builder indexId(String indexId) {
this.putQueryParameter("IndexId", indexId);
this.indexId = indexId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeGatewayFileStatusRequest build() {
return new DescribeGatewayFileStatusRequest(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/DescribeGatewayFileStatusResponse.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 DescribeGatewayFileStatusResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayFileStatusResponse</p>
*/
public class DescribeGatewayFileStatusResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayFileStatusResponseBody body;
private DescribeGatewayFileStatusResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayFileStatusResponse 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 DescribeGatewayFileStatusResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayFileStatusResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayFileStatusResponseBody body);
@Override
DescribeGatewayFileStatusResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayFileStatusResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayFileStatusResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayFileStatusResponse 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(DescribeGatewayFileStatusResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayFileStatusResponse build() {
return new DescribeGatewayFileStatusResponse(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/DescribeGatewayFileStatusResponseBody.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 DescribeGatewayFileStatusResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayFileStatusResponseBody</p>
*/
public class DescribeGatewayFileStatusResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Status")
private String status;
@NameInMap("Success")
private Boolean success;
private DescribeGatewayFileStatusResponseBody(Builder builder) {
this.code = builder.code;
this.message = builder.message;
this.requestId = builder.requestId;
this.status = builder.status;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayFileStatusResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private String code;
private String message;
private String requestId;
private String status;
private Boolean success;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Status.
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DescribeGatewayFileStatusResponseBody build() {
return new DescribeGatewayFileStatusResponseBody(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/DescribeGatewayImagesRequest.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 DescribeGatewayImagesRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayImagesRequest</p>
*/
public class DescribeGatewayImagesRequest extends Request {
@Query
@NameInMap("SecurityToken")
private String securityToken;
@Query
@NameInMap("Type")
@Validation(required = true)
private String type;
private DescribeGatewayImagesRequest(Builder builder) {
super(builder);
this.securityToken = builder.securityToken;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayImagesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder extends Request.Builder<DescribeGatewayImagesRequest, Builder> {
private String securityToken;
private String type;
private Builder() {
super();
}
private Builder(DescribeGatewayImagesRequest request) {
super(request);
this.securityToken = request.securityToken;
this.type = request.type;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
/**
* Type.
*/
public Builder type(String type) {
this.putQueryParameter("Type", type);
this.type = type;
return this;
}
@Override
public DescribeGatewayImagesRequest build() {
return new DescribeGatewayImagesRequest(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/DescribeGatewayImagesResponse.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 DescribeGatewayImagesResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayImagesResponse</p>
*/
public class DescribeGatewayImagesResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayImagesResponseBody body;
private DescribeGatewayImagesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayImagesResponse 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 DescribeGatewayImagesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayImagesResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayImagesResponseBody body);
@Override
DescribeGatewayImagesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayImagesResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayImagesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayImagesResponse 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(DescribeGatewayImagesResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayImagesResponse build() {
return new DescribeGatewayImagesResponse(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/DescribeGatewayImagesResponseBody.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 DescribeGatewayImagesResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayImagesResponseBody</p>
*/
public class DescribeGatewayImagesResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("Images")
private Images images;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private DescribeGatewayImagesResponseBody(Builder builder) {
this.code = builder.code;
this.images = builder.images;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayImagesResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return images
*/
public Images getImages() {
return this.images;
}
/**
* @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 Images images;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Images.
*/
public Builder images(Images images) {
this.images = images;
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 DescribeGatewayImagesResponseBody build() {
return new DescribeGatewayImagesResponseBody(this);
}
}
public static class Image extends TeaModel {
@NameInMap("Description")
private String description;
@NameInMap("MD5")
private String mD5;
@NameInMap("ModifiedDate")
private String modifiedDate;
@NameInMap("Name")
private String name;
@NameInMap("Size")
private Long size;
@NameInMap("Title")
private String title;
@NameInMap("Type")
private String type;
@NameInMap("Url")
private String url;
@NameInMap("Version")
private String version;
private Image(Builder builder) {
this.description = builder.description;
this.mD5 = builder.mD5;
this.modifiedDate = builder.modifiedDate;
this.name = builder.name;
this.size = builder.size;
this.title = builder.title;
this.type = builder.type;
this.url = builder.url;
this.version = builder.version;
}
public static Builder builder() {
return new Builder();
}
public static Image create() {
return builder().build();
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return mD5
*/
public String getMD5() {
return this.mD5;
}
/**
* @return modifiedDate
*/
public String getModifiedDate() {
return this.modifiedDate;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return size
*/
public Long getSize() {
return this.size;
}
/**
* @return title
*/
public String getTitle() {
return this.title;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return url
*/
public String getUrl() {
return this.url;
}
/**
* @return version
*/
public String getVersion() {
return this.version;
}
public static final class Builder {
private String description;
private String mD5;
private String modifiedDate;
private String name;
private Long size;
private String title;
private String type;
private String url;
private String version;
/**
* Description.
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* MD5.
*/
public Builder mD5(String mD5) {
this.mD5 = mD5;
return this;
}
/**
* ModifiedDate.
*/
public Builder modifiedDate(String modifiedDate) {
this.modifiedDate = modifiedDate;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* Size.
*/
public Builder size(Long size) {
this.size = size;
return this;
}
/**
* Title.
*/
public Builder title(String title) {
this.title = title;
return this;
}
/**
* Type.
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* Url.
*/
public Builder url(String url) {
this.url = url;
return this;
}
/**
* Version.
*/
public Builder version(String version) {
this.version = version;
return this;
}
public Image build() {
return new Image(this);
}
}
}
public static class Images extends TeaModel {
@NameInMap("Image")
private java.util.List < Image> image;
private Images(Builder builder) {
this.image = builder.image;
}
public static Builder builder() {
return new Builder();
}
public static Images create() {
return builder().build();
}
/**
* @return image
*/
public java.util.List < Image> getImage() {
return this.image;
}
public static final class Builder {
private java.util.List < Image> image;
/**
* Image.
*/
public Builder image(java.util.List < Image> image) {
this.image = image;
return this;
}
public Images build() {
return new Images(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/DescribeGatewayInfoRequest.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 DescribeGatewayInfoRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayInfoRequest</p>
*/
public class DescribeGatewayInfoRequest extends Request {
@Query
@NameInMap("GatewayId")
@Validation(required = true)
private String gatewayId;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeGatewayInfoRequest(Builder builder) {
super(builder);
this.gatewayId = builder.gatewayId;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayInfoRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeGatewayInfoRequest, Builder> {
private String gatewayId;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeGatewayInfoRequest request) {
super(request);
this.gatewayId = request.gatewayId;
this.securityToken = request.securityToken;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeGatewayInfoRequest build() {
return new DescribeGatewayInfoRequest(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/DescribeGatewayInfoResponse.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 DescribeGatewayInfoResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayInfoResponse</p>
*/
public class DescribeGatewayInfoResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayInfoResponseBody body;
private DescribeGatewayInfoResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayInfoResponse 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 DescribeGatewayInfoResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayInfoResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayInfoResponseBody body);
@Override
DescribeGatewayInfoResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayInfoResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayInfoResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayInfoResponse 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(DescribeGatewayInfoResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayInfoResponse build() {
return new DescribeGatewayInfoResponse(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/DescribeGatewayInfoResponseBody.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 DescribeGatewayInfoResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayInfoResponseBody</p>
*/
public class DescribeGatewayInfoResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("GatewayInfos")
private GatewayInfos gatewayInfos;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private DescribeGatewayInfoResponseBody(Builder builder) {
this.code = builder.code;
this.gatewayInfos = builder.gatewayInfos;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayInfoResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return gatewayInfos
*/
public GatewayInfos getGatewayInfos() {
return this.gatewayInfos;
}
/**
* @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 GatewayInfos gatewayInfos;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* GatewayInfos.
*/
public Builder gatewayInfos(GatewayInfos gatewayInfos) {
this.gatewayInfos = gatewayInfos;
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 DescribeGatewayInfoResponseBody build() {
return new DescribeGatewayInfoResponseBody(this);
}
}
public static class GatewayInfo extends TeaModel {
@NameInMap("Info")
private String info;
@NameInMap("Time")
private Long time;
private GatewayInfo(Builder builder) {
this.info = builder.info;
this.time = builder.time;
}
public static Builder builder() {
return new Builder();
}
public static GatewayInfo create() {
return builder().build();
}
/**
* @return info
*/
public String getInfo() {
return this.info;
}
/**
* @return time
*/
public Long getTime() {
return this.time;
}
public static final class Builder {
private String info;
private Long time;
/**
* Info.
*/
public Builder info(String info) {
this.info = info;
return this;
}
/**
* Time.
*/
public Builder time(Long time) {
this.time = time;
return this;
}
public GatewayInfo build() {
return new GatewayInfo(this);
}
}
}
public static class GatewayInfos extends TeaModel {
@NameInMap("GatewayInfo")
private java.util.List < GatewayInfo> gatewayInfo;
private GatewayInfos(Builder builder) {
this.gatewayInfo = builder.gatewayInfo;
}
public static Builder builder() {
return new Builder();
}
public static GatewayInfos create() {
return builder().build();
}
/**
* @return gatewayInfo
*/
public java.util.List < GatewayInfo> getGatewayInfo() {
return this.gatewayInfo;
}
public static final class Builder {
private java.util.List < GatewayInfo> gatewayInfo;
/**
* GatewayInfo.
*/
public Builder gatewayInfo(java.util.List < GatewayInfo> gatewayInfo) {
this.gatewayInfo = gatewayInfo;
return this;
}
public GatewayInfos build() {
return new GatewayInfos(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/DescribeGatewayLDAPInfoRequest.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 DescribeGatewayLDAPInfoRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayLDAPInfoRequest</p>
*/
public class DescribeGatewayLDAPInfoRequest extends Request {
@Query
@NameInMap("GatewayId")
@Validation(required = true)
private String gatewayId;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeGatewayLDAPInfoRequest(Builder builder) {
super(builder);
this.gatewayId = builder.gatewayId;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayLDAPInfoRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeGatewayLDAPInfoRequest, Builder> {
private String gatewayId;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeGatewayLDAPInfoRequest request) {
super(request);
this.gatewayId = request.gatewayId;
this.securityToken = request.securityToken;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeGatewayLDAPInfoRequest build() {
return new DescribeGatewayLDAPInfoRequest(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/DescribeGatewayLDAPInfoResponse.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 DescribeGatewayLDAPInfoResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayLDAPInfoResponse</p>
*/
public class DescribeGatewayLDAPInfoResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayLDAPInfoResponseBody body;
private DescribeGatewayLDAPInfoResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayLDAPInfoResponse 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 DescribeGatewayLDAPInfoResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayLDAPInfoResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayLDAPInfoResponseBody body);
@Override
DescribeGatewayLDAPInfoResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayLDAPInfoResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayLDAPInfoResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayLDAPInfoResponse 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(DescribeGatewayLDAPInfoResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayLDAPInfoResponse build() {
return new DescribeGatewayLDAPInfoResponse(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/DescribeGatewayLDAPInfoResponseBody.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 DescribeGatewayLDAPInfoResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayLDAPInfoResponseBody</p>
*/
public class DescribeGatewayLDAPInfoResponseBody extends TeaModel {
@NameInMap("BaseDN")
private String baseDN;
@NameInMap("Code")
private String code;
@NameInMap("IsEnabled")
private Boolean isEnabled;
@NameInMap("IsTls")
private Boolean isTls;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("RootDN")
private String rootDN;
@NameInMap("ServerIp")
private String serverIp;
@NameInMap("Success")
private Boolean success;
private DescribeGatewayLDAPInfoResponseBody(Builder builder) {
this.baseDN = builder.baseDN;
this.code = builder.code;
this.isEnabled = builder.isEnabled;
this.isTls = builder.isTls;
this.message = builder.message;
this.requestId = builder.requestId;
this.rootDN = builder.rootDN;
this.serverIp = builder.serverIp;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayLDAPInfoResponseBody create() {
return builder().build();
}
/**
* @return baseDN
*/
public String getBaseDN() {
return this.baseDN;
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return isEnabled
*/
public Boolean getIsEnabled() {
return this.isEnabled;
}
/**
* @return isTls
*/
public Boolean getIsTls() {
return this.isTls;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return rootDN
*/
public String getRootDN() {
return this.rootDN;
}
/**
* @return serverIp
*/
public String getServerIp() {
return this.serverIp;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private String baseDN;
private String code;
private Boolean isEnabled;
private Boolean isTls;
private String message;
private String requestId;
private String rootDN;
private String serverIp;
private Boolean success;
/**
* BaseDN.
*/
public Builder baseDN(String baseDN) {
this.baseDN = baseDN;
return this;
}
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* IsEnabled.
*/
public Builder isEnabled(Boolean isEnabled) {
this.isEnabled = isEnabled;
return this;
}
/**
* IsTls.
*/
public Builder isTls(Boolean isTls) {
this.isTls = isTls;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* RootDN.
*/
public Builder rootDN(String rootDN) {
this.rootDN = rootDN;
return this;
}
/**
* ServerIp.
*/
public Builder serverIp(String serverIp) {
this.serverIp = serverIp;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DescribeGatewayLDAPInfoResponseBody build() {
return new DescribeGatewayLDAPInfoResponseBody(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/DescribeGatewayLocationsRequest.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 DescribeGatewayLocationsRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayLocationsRequest</p>
*/
public class DescribeGatewayLocationsRequest extends Request {
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeGatewayLocationsRequest(Builder builder) {
super(builder);
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayLocationsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeGatewayLocationsRequest, Builder> {
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeGatewayLocationsRequest request) {
super(request);
this.securityToken = request.securityToken;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeGatewayLocationsRequest build() {
return new DescribeGatewayLocationsRequest(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/DescribeGatewayLocationsResponse.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 DescribeGatewayLocationsResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayLocationsResponse</p>
*/
public class DescribeGatewayLocationsResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayLocationsResponseBody body;
private DescribeGatewayLocationsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayLocationsResponse 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 DescribeGatewayLocationsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayLocationsResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayLocationsResponseBody body);
@Override
DescribeGatewayLocationsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayLocationsResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayLocationsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayLocationsResponse 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(DescribeGatewayLocationsResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayLocationsResponse build() {
return new DescribeGatewayLocationsResponse(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/DescribeGatewayLocationsResponseBody.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 DescribeGatewayLocationsResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayLocationsResponseBody</p>
*/
public class DescribeGatewayLocationsResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("Locations")
private String locations;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private DescribeGatewayLocationsResponseBody(Builder builder) {
this.code = builder.code;
this.locations = builder.locations;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayLocationsResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return locations
*/
public String getLocations() {
return this.locations;
}
/**
* @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 String locations;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Locations.
*/
public Builder locations(String locations) {
this.locations = locations;
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 DescribeGatewayLocationsResponseBody build() {
return new DescribeGatewayLocationsResponseBody(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/DescribeGatewayLoggingRequest.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 DescribeGatewayLoggingRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayLoggingRequest</p>
*/
public class DescribeGatewayLoggingRequest extends Request {
@Query
@NameInMap("GatewayId")
@Validation(required = true)
private String gatewayId;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeGatewayLoggingRequest(Builder builder) {
super(builder);
this.gatewayId = builder.gatewayId;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayLoggingRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeGatewayLoggingRequest, Builder> {
private String gatewayId;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeGatewayLoggingRequest request) {
super(request);
this.gatewayId = request.gatewayId;
this.securityToken = request.securityToken;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeGatewayLoggingRequest build() {
return new DescribeGatewayLoggingRequest(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/DescribeGatewayLoggingResponse.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 DescribeGatewayLoggingResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayLoggingResponse</p>
*/
public class DescribeGatewayLoggingResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayLoggingResponseBody body;
private DescribeGatewayLoggingResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayLoggingResponse 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 DescribeGatewayLoggingResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayLoggingResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayLoggingResponseBody body);
@Override
DescribeGatewayLoggingResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayLoggingResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayLoggingResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayLoggingResponse 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(DescribeGatewayLoggingResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayLoggingResponse build() {
return new DescribeGatewayLoggingResponse(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/DescribeGatewayLoggingResponseBody.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 DescribeGatewayLoggingResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayLoggingResponseBody</p>
*/
public class DescribeGatewayLoggingResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("GatewayLoggingStatus")
private String gatewayLoggingStatus;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("SlsLogstore")
private String slsLogstore;
@NameInMap("SlsProject")
private String slsProject;
@NameInMap("Success")
private Boolean success;
private DescribeGatewayLoggingResponseBody(Builder builder) {
this.code = builder.code;
this.gatewayLoggingStatus = builder.gatewayLoggingStatus;
this.message = builder.message;
this.requestId = builder.requestId;
this.slsLogstore = builder.slsLogstore;
this.slsProject = builder.slsProject;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayLoggingResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return gatewayLoggingStatus
*/
public String getGatewayLoggingStatus() {
return this.gatewayLoggingStatus;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return slsLogstore
*/
public String getSlsLogstore() {
return this.slsLogstore;
}
/**
* @return slsProject
*/
public String getSlsProject() {
return this.slsProject;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private String code;
private String gatewayLoggingStatus;
private String message;
private String requestId;
private String slsLogstore;
private String slsProject;
private Boolean success;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* GatewayLoggingStatus.
*/
public Builder gatewayLoggingStatus(String gatewayLoggingStatus) {
this.gatewayLoggingStatus = gatewayLoggingStatus;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* SlsLogstore.
*/
public Builder slsLogstore(String slsLogstore) {
this.slsLogstore = slsLogstore;
return this;
}
/**
* SlsProject.
*/
public Builder slsProject(String slsProject) {
this.slsProject = slsProject;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DescribeGatewayLoggingResponseBody build() {
return new DescribeGatewayLoggingResponseBody(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/DescribeGatewayLogsRequest.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 DescribeGatewayLogsRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayLogsRequest</p>
*/
public class DescribeGatewayLogsRequest extends Request {
@Query
@NameInMap("GatewayId")
@Validation(required = true)
private String gatewayId;
@Query
@NameInMap("LogFilePath")
private String logFilePath;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeGatewayLogsRequest(Builder builder) {
super(builder);
this.gatewayId = builder.gatewayId;
this.logFilePath = builder.logFilePath;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayLogsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return logFilePath
*/
public String getLogFilePath() {
return this.logFilePath;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeGatewayLogsRequest, Builder> {
private String gatewayId;
private String logFilePath;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeGatewayLogsRequest request) {
super(request);
this.gatewayId = request.gatewayId;
this.logFilePath = request.logFilePath;
this.securityToken = request.securityToken;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* LogFilePath.
*/
public Builder logFilePath(String logFilePath) {
this.putQueryParameter("LogFilePath", logFilePath);
this.logFilePath = logFilePath;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeGatewayLogsRequest build() {
return new DescribeGatewayLogsRequest(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/DescribeGatewayLogsResponse.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 DescribeGatewayLogsResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayLogsResponse</p>
*/
public class DescribeGatewayLogsResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayLogsResponseBody body;
private DescribeGatewayLogsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayLogsResponse 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 DescribeGatewayLogsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayLogsResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayLogsResponseBody body);
@Override
DescribeGatewayLogsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayLogsResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayLogsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayLogsResponse 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(DescribeGatewayLogsResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayLogsResponse build() {
return new DescribeGatewayLogsResponse(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/DescribeGatewayLogsResponseBody.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 DescribeGatewayLogsResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayLogsResponseBody</p>
*/
public class DescribeGatewayLogsResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("LogFilePaths")
private String logFilePaths;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
private DescribeGatewayLogsResponseBody(Builder builder) {
this.code = builder.code;
this.logFilePaths = builder.logFilePaths;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayLogsResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return logFilePaths
*/
public String getLogFilePaths() {
return this.logFilePaths;
}
/**
* @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 String logFilePaths;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* LogFilePaths.
*/
public Builder logFilePaths(String logFilePaths) {
this.logFilePaths = logFilePaths;
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 DescribeGatewayLogsResponseBody build() {
return new DescribeGatewayLogsResponseBody(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/DescribeGatewayModificationClassesRequest.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 DescribeGatewayModificationClassesRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayModificationClassesRequest</p>
*/
public class DescribeGatewayModificationClassesRequest extends Request {
@Query
@NameInMap("GatewayId")
@Validation(required = true)
private String gatewayId;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeGatewayModificationClassesRequest(Builder builder) {
super(builder);
this.gatewayId = builder.gatewayId;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayModificationClassesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeGatewayModificationClassesRequest, Builder> {
private String gatewayId;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeGatewayModificationClassesRequest request) {
super(request);
this.gatewayId = request.gatewayId;
this.securityToken = request.securityToken;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeGatewayModificationClassesRequest build() {
return new DescribeGatewayModificationClassesRequest(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/DescribeGatewayModificationClassesResponse.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 DescribeGatewayModificationClassesResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayModificationClassesResponse</p>
*/
public class DescribeGatewayModificationClassesResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayModificationClassesResponseBody body;
private DescribeGatewayModificationClassesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayModificationClassesResponse 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 DescribeGatewayModificationClassesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayModificationClassesResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayModificationClassesResponseBody body);
@Override
DescribeGatewayModificationClassesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayModificationClassesResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayModificationClassesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayModificationClassesResponse 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(DescribeGatewayModificationClassesResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayModificationClassesResponse build() {
return new DescribeGatewayModificationClassesResponse(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/DescribeGatewayModificationClassesResponseBody.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 DescribeGatewayModificationClassesResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayModificationClassesResponseBody</p>
*/
public class DescribeGatewayModificationClassesResponseBody extends TeaModel {
@NameInMap("Code")
private String code;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
@NameInMap("TargetGatewayClasses")
private TargetGatewayClasses targetGatewayClasses;
private DescribeGatewayModificationClassesResponseBody(Builder builder) {
this.code = builder.code;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
this.targetGatewayClasses = builder.targetGatewayClasses;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayModificationClassesResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
/**
* @return targetGatewayClasses
*/
public TargetGatewayClasses getTargetGatewayClasses() {
return this.targetGatewayClasses;
}
public static final class Builder {
private String code;
private String message;
private String requestId;
private Boolean success;
private TargetGatewayClasses targetGatewayClasses;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
/**
* TargetGatewayClasses.
*/
public Builder targetGatewayClasses(TargetGatewayClasses targetGatewayClasses) {
this.targetGatewayClasses = targetGatewayClasses;
return this;
}
public DescribeGatewayModificationClassesResponseBody build() {
return new DescribeGatewayModificationClassesResponseBody(this);
}
}
public static class TargetGatewayClass extends TeaModel {
@NameInMap("GatewayClass")
private String gatewayClass;
@NameInMap("IsAvailable")
private Boolean isAvailable;
private TargetGatewayClass(Builder builder) {
this.gatewayClass = builder.gatewayClass;
this.isAvailable = builder.isAvailable;
}
public static Builder builder() {
return new Builder();
}
public static TargetGatewayClass create() {
return builder().build();
}
/**
* @return gatewayClass
*/
public String getGatewayClass() {
return this.gatewayClass;
}
/**
* @return isAvailable
*/
public Boolean getIsAvailable() {
return this.isAvailable;
}
public static final class Builder {
private String gatewayClass;
private Boolean isAvailable;
/**
* GatewayClass.
*/
public Builder gatewayClass(String gatewayClass) {
this.gatewayClass = gatewayClass;
return this;
}
/**
* IsAvailable.
*/
public Builder isAvailable(Boolean isAvailable) {
this.isAvailable = isAvailable;
return this;
}
public TargetGatewayClass build() {
return new TargetGatewayClass(this);
}
}
}
public static class TargetGatewayClasses extends TeaModel {
@NameInMap("TargetGatewayClass")
private java.util.List < TargetGatewayClass> targetGatewayClass;
private TargetGatewayClasses(Builder builder) {
this.targetGatewayClass = builder.targetGatewayClass;
}
public static Builder builder() {
return new Builder();
}
public static TargetGatewayClasses create() {
return builder().build();
}
/**
* @return targetGatewayClass
*/
public java.util.List < TargetGatewayClass> getTargetGatewayClass() {
return this.targetGatewayClass;
}
public static final class Builder {
private java.util.List < TargetGatewayClass> targetGatewayClass;
/**
* TargetGatewayClass.
*/
public Builder targetGatewayClass(java.util.List < TargetGatewayClass> targetGatewayClass) {
this.targetGatewayClass = targetGatewayClass;
return this;
}
public TargetGatewayClasses build() {
return new TargetGatewayClasses(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/DescribeGatewayNFSClientsRequest.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 DescribeGatewayNFSClientsRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayNFSClientsRequest</p>
*/
public class DescribeGatewayNFSClientsRequest extends Request {
@Query
@NameInMap("GatewayId")
@Validation(required = true)
private String gatewayId;
@Query
@NameInMap("PageNumber")
private Integer pageNumber;
@Query
@NameInMap("PageSize")
private Integer pageSize;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeGatewayNFSClientsRequest(Builder builder) {
super(builder);
this.gatewayId = builder.gatewayId;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayNFSClientsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeGatewayNFSClientsRequest, Builder> {
private String gatewayId;
private Integer pageNumber;
private Integer pageSize;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeGatewayNFSClientsRequest request) {
super(request);
this.gatewayId = request.gatewayId;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.securityToken = request.securityToken;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeGatewayNFSClientsRequest build() {
return new DescribeGatewayNFSClientsRequest(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/DescribeGatewayNFSClientsResponse.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 DescribeGatewayNFSClientsResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayNFSClientsResponse</p>
*/
public class DescribeGatewayNFSClientsResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayNFSClientsResponseBody body;
private DescribeGatewayNFSClientsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayNFSClientsResponse 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 DescribeGatewayNFSClientsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayNFSClientsResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayNFSClientsResponseBody body);
@Override
DescribeGatewayNFSClientsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayNFSClientsResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayNFSClientsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayNFSClientsResponse 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(DescribeGatewayNFSClientsResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayNFSClientsResponse build() {
return new DescribeGatewayNFSClientsResponse(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/DescribeGatewayNFSClientsResponseBody.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 DescribeGatewayNFSClientsResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayNFSClientsResponseBody</p>
*/
public class DescribeGatewayNFSClientsResponseBody extends TeaModel {
@NameInMap("ClientInfoList")
private ClientInfoList clientInfoList;
@NameInMap("Code")
private String code;
@NameInMap("Message")
private String message;
@NameInMap("PageNumber")
private Integer pageNumber;
@NameInMap("PageSize")
private Integer pageSize;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Success")
private Boolean success;
@NameInMap("TotalCount")
private Integer totalCount;
@NameInMap("Version3Enabled")
private Boolean version3Enabled;
@NameInMap("Version40Enabled")
private Boolean version40Enabled;
@NameInMap("Version41Enabled")
private Boolean version41Enabled;
private DescribeGatewayNFSClientsResponseBody(Builder builder) {
this.clientInfoList = builder.clientInfoList;
this.code = builder.code;
this.message = builder.message;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.success = builder.success;
this.totalCount = builder.totalCount;
this.version3Enabled = builder.version3Enabled;
this.version40Enabled = builder.version40Enabled;
this.version41Enabled = builder.version41Enabled;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayNFSClientsResponseBody create() {
return builder().build();
}
/**
* @return clientInfoList
*/
public ClientInfoList getClientInfoList() {
return this.clientInfoList;
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
/**
* @return version3Enabled
*/
public Boolean getVersion3Enabled() {
return this.version3Enabled;
}
/**
* @return version40Enabled
*/
public Boolean getVersion40Enabled() {
return this.version40Enabled;
}
/**
* @return version41Enabled
*/
public Boolean getVersion41Enabled() {
return this.version41Enabled;
}
public static final class Builder {
private ClientInfoList clientInfoList;
private String code;
private String message;
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Boolean success;
private Integer totalCount;
private Boolean version3Enabled;
private Boolean version40Enabled;
private Boolean version41Enabled;
/**
* ClientInfoList.
*/
public Builder clientInfoList(ClientInfoList clientInfoList) {
this.clientInfoList = clientInfoList;
return this;
}
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
/**
* TotalCount.
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
/**
* Version3Enabled.
*/
public Builder version3Enabled(Boolean version3Enabled) {
this.version3Enabled = version3Enabled;
return this;
}
/**
* Version40Enabled.
*/
public Builder version40Enabled(Boolean version40Enabled) {
this.version40Enabled = version40Enabled;
return this;
}
/**
* Version41Enabled.
*/
public Builder version41Enabled(Boolean version41Enabled) {
this.version41Enabled = version41Enabled;
return this;
}
public DescribeGatewayNFSClientsResponseBody build() {
return new DescribeGatewayNFSClientsResponseBody(this);
}
}
public static class ClientInfo extends TeaModel {
@NameInMap("ClientIpAddr")
private String clientIpAddr;
@NameInMap("HasNFSv3")
private Boolean hasNFSv3;
@NameInMap("HasNFSv40")
private Boolean hasNFSv40;
@NameInMap("HasNFSv41")
private Boolean hasNFSv41;
private ClientInfo(Builder builder) {
this.clientIpAddr = builder.clientIpAddr;
this.hasNFSv3 = builder.hasNFSv3;
this.hasNFSv40 = builder.hasNFSv40;
this.hasNFSv41 = builder.hasNFSv41;
}
public static Builder builder() {
return new Builder();
}
public static ClientInfo create() {
return builder().build();
}
/**
* @return clientIpAddr
*/
public String getClientIpAddr() {
return this.clientIpAddr;
}
/**
* @return hasNFSv3
*/
public Boolean getHasNFSv3() {
return this.hasNFSv3;
}
/**
* @return hasNFSv40
*/
public Boolean getHasNFSv40() {
return this.hasNFSv40;
}
/**
* @return hasNFSv41
*/
public Boolean getHasNFSv41() {
return this.hasNFSv41;
}
public static final class Builder {
private String clientIpAddr;
private Boolean hasNFSv3;
private Boolean hasNFSv40;
private Boolean hasNFSv41;
/**
* ClientIpAddr.
*/
public Builder clientIpAddr(String clientIpAddr) {
this.clientIpAddr = clientIpAddr;
return this;
}
/**
* HasNFSv3.
*/
public Builder hasNFSv3(Boolean hasNFSv3) {
this.hasNFSv3 = hasNFSv3;
return this;
}
/**
* HasNFSv40.
*/
public Builder hasNFSv40(Boolean hasNFSv40) {
this.hasNFSv40 = hasNFSv40;
return this;
}
/**
* HasNFSv41.
*/
public Builder hasNFSv41(Boolean hasNFSv41) {
this.hasNFSv41 = hasNFSv41;
return this;
}
public ClientInfo build() {
return new ClientInfo(this);
}
}
}
public static class ClientInfoList extends TeaModel {
@NameInMap("ClientInfo")
private java.util.List < ClientInfo> clientInfo;
private ClientInfoList(Builder builder) {
this.clientInfo = builder.clientInfo;
}
public static Builder builder() {
return new Builder();
}
public static ClientInfoList create() {
return builder().build();
}
/**
* @return clientInfo
*/
public java.util.List < ClientInfo> getClientInfo() {
return this.clientInfo;
}
public static final class Builder {
private java.util.List < ClientInfo> clientInfo;
/**
* ClientInfo.
*/
public Builder clientInfo(java.util.List < ClientInfo> clientInfo) {
this.clientInfo = clientInfo;
return this;
}
public ClientInfoList build() {
return new ClientInfoList(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/DescribeGatewayRequest.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 DescribeGatewayRequest} extends {@link RequestModel}
*
* <p>DescribeGatewayRequest</p>
*/
public class DescribeGatewayRequest extends Request {
@Query
@NameInMap("GatewayId")
@Validation(required = true)
private String gatewayId;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeGatewayRequest(Builder builder) {
super(builder);
this.gatewayId = builder.gatewayId;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder<DescribeGatewayRequest, Builder> {
private String gatewayId;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeGatewayRequest request) {
super(request);
this.gatewayId = request.gatewayId;
this.securityToken = request.securityToken;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeGatewayRequest build() {
return new DescribeGatewayRequest(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/DescribeGatewayResponse.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 DescribeGatewayResponse} extends {@link TeaModel}
*
* <p>DescribeGatewayResponse</p>
*/
public class DescribeGatewayResponse extends Response {
@NameInMap("headers")
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
private Integer statusCode;
@NameInMap("body")
private DescribeGatewayResponseBody body;
private DescribeGatewayResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DescribeGatewayResponse 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 DescribeGatewayResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DescribeGatewayResponse, Builder> {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(DescribeGatewayResponseBody body);
@Override
DescribeGatewayResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DescribeGatewayResponse, Builder>
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private DescribeGatewayResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DescribeGatewayResponse 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(DescribeGatewayResponseBody body) {
this.body = body;
return this;
}
@Override
public DescribeGatewayResponse build() {
return new DescribeGatewayResponse(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/DescribeGatewayResponseBody.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 DescribeGatewayResponseBody} extends {@link TeaModel}
*
* <p>DescribeGatewayResponseBody</p>
*/
public class DescribeGatewayResponseBody extends TeaModel {
@NameInMap("ActivatedTime")
private Long activatedTime;
@NameInMap("BuyURL")
private String buyURL;
@NameInMap("Capacity")
private Integer capacity;
@NameInMap("Category")
private String category;
@NameInMap("Code")
private String code;
@NameInMap("CommonBuyInstanceId")
private String commonBuyInstanceId;
@NameInMap("CreatedTime")
private Long createdTime;
@NameInMap("DataLoadInterval")
private Integer dataLoadInterval;
@NameInMap("DataLoadType")
private String dataLoadType;
@NameInMap("Description")
private String description;
@NameInMap("EcsInstanceId")
private String ecsInstanceId;
@NameInMap("ElasticGateway")
private Boolean elasticGateway;
@NameInMap("ElasticNodes")
private ElasticNodes elasticNodes;
@NameInMap("ExpireStatus")
private Integer expireStatus;
@NameInMap("ExpiredTime")
private Long expiredTime;
@NameInMap("GatewayClass")
private String gatewayClass;
@NameInMap("GatewayId")
private String gatewayId;
@NameInMap("GatewayRegionId")
private String gatewayRegionId;
@NameInMap("GatewayType")
private String gatewayType;
@NameInMap("GatewayVersion")
private String gatewayVersion;
@NameInMap("HighAvailability")
private Boolean highAvailability;
@NameInMap("InnerIp")
private String innerIp;
@NameInMap("InnerIpv6Ip")
private String innerIpv6Ip;
@NameInMap("Ip")
private String ip;
@NameInMap("IsPostPaid")
private Boolean isPostPaid;
@NameInMap("IsReleaseAfterExpiration")
private Boolean isReleaseAfterExpiration;
@NameInMap("LastErrorKey")
private String lastErrorKey;
@NameInMap("Location")
private String location;
@NameInMap("MaxThroughput")
private Integer maxThroughput;
@NameInMap("Message")
private String message;
@NameInMap("Name")
private String name;
@NameInMap("PublicNetworkBandwidth")
private Integer publicNetworkBandwidth;
@NameInMap("RenewURL")
private String renewURL;
@NameInMap("RequestId")
private String requestId;
@NameInMap("Status")
private String status;
@NameInMap("StorageBundleId")
private String storageBundleId;
@NameInMap("Success")
private Boolean success;
@NameInMap("TaskId")
private String taskId;
@NameInMap("Type")
private String type;
@NameInMap("UntrustedEnvInstanceType")
private String untrustedEnvInstanceType;
@NameInMap("UntrustedEnvOssEndpoint")
private String untrustedEnvOssEndpoint;
@NameInMap("VSwitchId")
private String vSwitchId;
@NameInMap("VpcId")
private String vpcId;
private DescribeGatewayResponseBody(Builder builder) {
this.activatedTime = builder.activatedTime;
this.buyURL = builder.buyURL;
this.capacity = builder.capacity;
this.category = builder.category;
this.code = builder.code;
this.commonBuyInstanceId = builder.commonBuyInstanceId;
this.createdTime = builder.createdTime;
this.dataLoadInterval = builder.dataLoadInterval;
this.dataLoadType = builder.dataLoadType;
this.description = builder.description;
this.ecsInstanceId = builder.ecsInstanceId;
this.elasticGateway = builder.elasticGateway;
this.elasticNodes = builder.elasticNodes;
this.expireStatus = builder.expireStatus;
this.expiredTime = builder.expiredTime;
this.gatewayClass = builder.gatewayClass;
this.gatewayId = builder.gatewayId;
this.gatewayRegionId = builder.gatewayRegionId;
this.gatewayType = builder.gatewayType;
this.gatewayVersion = builder.gatewayVersion;
this.highAvailability = builder.highAvailability;
this.innerIp = builder.innerIp;
this.innerIpv6Ip = builder.innerIpv6Ip;
this.ip = builder.ip;
this.isPostPaid = builder.isPostPaid;
this.isReleaseAfterExpiration = builder.isReleaseAfterExpiration;
this.lastErrorKey = builder.lastErrorKey;
this.location = builder.location;
this.maxThroughput = builder.maxThroughput;
this.message = builder.message;
this.name = builder.name;
this.publicNetworkBandwidth = builder.publicNetworkBandwidth;
this.renewURL = builder.renewURL;
this.requestId = builder.requestId;
this.status = builder.status;
this.storageBundleId = builder.storageBundleId;
this.success = builder.success;
this.taskId = builder.taskId;
this.type = builder.type;
this.untrustedEnvInstanceType = builder.untrustedEnvInstanceType;
this.untrustedEnvOssEndpoint = builder.untrustedEnvOssEndpoint;
this.vSwitchId = builder.vSwitchId;
this.vpcId = builder.vpcId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGatewayResponseBody create() {
return builder().build();
}
/**
* @return activatedTime
*/
public Long getActivatedTime() {
return this.activatedTime;
}
/**
* @return buyURL
*/
public String getBuyURL() {
return this.buyURL;
}
/**
* @return capacity
*/
public Integer getCapacity() {
return this.capacity;
}
/**
* @return category
*/
public String getCategory() {
return this.category;
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return commonBuyInstanceId
*/
public String getCommonBuyInstanceId() {
return this.commonBuyInstanceId;
}
/**
* @return createdTime
*/
public Long getCreatedTime() {
return this.createdTime;
}
/**
* @return dataLoadInterval
*/
public Integer getDataLoadInterval() {
return this.dataLoadInterval;
}
/**
* @return dataLoadType
*/
public String getDataLoadType() {
return this.dataLoadType;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return ecsInstanceId
*/
public String getEcsInstanceId() {
return this.ecsInstanceId;
}
/**
* @return elasticGateway
*/
public Boolean getElasticGateway() {
return this.elasticGateway;
}
/**
* @return elasticNodes
*/
public ElasticNodes getElasticNodes() {
return this.elasticNodes;
}
/**
* @return expireStatus
*/
public Integer getExpireStatus() {
return this.expireStatus;
}
/**
* @return expiredTime
*/
public Long getExpiredTime() {
return this.expiredTime;
}
/**
* @return gatewayClass
*/
public String getGatewayClass() {
return this.gatewayClass;
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return gatewayRegionId
*/
public String getGatewayRegionId() {
return this.gatewayRegionId;
}
/**
* @return gatewayType
*/
public String getGatewayType() {
return this.gatewayType;
}
/**
* @return gatewayVersion
*/
public String getGatewayVersion() {
return this.gatewayVersion;
}
/**
* @return highAvailability
*/
public Boolean getHighAvailability() {
return this.highAvailability;
}
/**
* @return innerIp
*/
public String getInnerIp() {
return this.innerIp;
}
/**
* @return innerIpv6Ip
*/
public String getInnerIpv6Ip() {
return this.innerIpv6Ip;
}
/**
* @return ip
*/
public String getIp() {
return this.ip;
}
/**
* @return isPostPaid
*/
public Boolean getIsPostPaid() {
return this.isPostPaid;
}
/**
* @return isReleaseAfterExpiration
*/
public Boolean getIsReleaseAfterExpiration() {
return this.isReleaseAfterExpiration;
}
/**
* @return lastErrorKey
*/
public String getLastErrorKey() {
return this.lastErrorKey;
}
/**
* @return location
*/
public String getLocation() {
return this.location;
}
/**
* @return maxThroughput
*/
public Integer getMaxThroughput() {
return this.maxThroughput;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return publicNetworkBandwidth
*/
public Integer getPublicNetworkBandwidth() {
return this.publicNetworkBandwidth;
}
/**
* @return renewURL
*/
public String getRenewURL() {
return this.renewURL;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return storageBundleId
*/
public String getStorageBundleId() {
return this.storageBundleId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
/**
* @return taskId
*/
public String getTaskId() {
return this.taskId;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
/**
* @return untrustedEnvInstanceType
*/
public String getUntrustedEnvInstanceType() {
return this.untrustedEnvInstanceType;
}
/**
* @return untrustedEnvOssEndpoint
*/
public String getUntrustedEnvOssEndpoint() {
return this.untrustedEnvOssEndpoint;
}
/**
* @return vSwitchId
*/
public String getVSwitchId() {
return this.vSwitchId;
}
/**
* @return vpcId
*/
public String getVpcId() {
return this.vpcId;
}
public static final class Builder {
private Long activatedTime;
private String buyURL;
private Integer capacity;
private String category;
private String code;
private String commonBuyInstanceId;
private Long createdTime;
private Integer dataLoadInterval;
private String dataLoadType;
private String description;
private String ecsInstanceId;
private Boolean elasticGateway;
private ElasticNodes elasticNodes;
private Integer expireStatus;
private Long expiredTime;
private String gatewayClass;
private String gatewayId;
private String gatewayRegionId;
private String gatewayType;
private String gatewayVersion;
private Boolean highAvailability;
private String innerIp;
private String innerIpv6Ip;
private String ip;
private Boolean isPostPaid;
private Boolean isReleaseAfterExpiration;
private String lastErrorKey;
private String location;
private Integer maxThroughput;
private String message;
private String name;
private Integer publicNetworkBandwidth;
private String renewURL;
private String requestId;
private String status;
private String storageBundleId;
private Boolean success;
private String taskId;
private String type;
private String untrustedEnvInstanceType;
private String untrustedEnvOssEndpoint;
private String vSwitchId;
private String vpcId;
/**
* ActivatedTime.
*/
public Builder activatedTime(Long activatedTime) {
this.activatedTime = activatedTime;
return this;
}
/**
* BuyURL.
*/
public Builder buyURL(String buyURL) {
this.buyURL = buyURL;
return this;
}
/**
* Capacity.
*/
public Builder capacity(Integer capacity) {
this.capacity = capacity;
return this;
}
/**
* Category.
*/
public Builder category(String category) {
this.category = category;
return this;
}
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* CommonBuyInstanceId.
*/
public Builder commonBuyInstanceId(String commonBuyInstanceId) {
this.commonBuyInstanceId = commonBuyInstanceId;
return this;
}
/**
* CreatedTime.
*/
public Builder createdTime(Long createdTime) {
this.createdTime = createdTime;
return this;
}
/**
* DataLoadInterval.
*/
public Builder dataLoadInterval(Integer dataLoadInterval) {
this.dataLoadInterval = dataLoadInterval;
return this;
}
/**
* DataLoadType.
*/
public Builder dataLoadType(String dataLoadType) {
this.dataLoadType = dataLoadType;
return this;
}
/**
* Description.
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* EcsInstanceId.
*/
public Builder ecsInstanceId(String ecsInstanceId) {
this.ecsInstanceId = ecsInstanceId;
return this;
}
/**
* ElasticGateway.
*/
public Builder elasticGateway(Boolean elasticGateway) {
this.elasticGateway = elasticGateway;
return this;
}
/**
* ElasticNodes.
*/
public Builder elasticNodes(ElasticNodes elasticNodes) {
this.elasticNodes = elasticNodes;
return this;
}
/**
* ExpireStatus.
*/
public Builder expireStatus(Integer expireStatus) {
this.expireStatus = expireStatus;
return this;
}
/**
* ExpiredTime.
*/
public Builder expiredTime(Long expiredTime) {
this.expiredTime = expiredTime;
return this;
}
/**
* GatewayClass.
*/
public Builder gatewayClass(String gatewayClass) {
this.gatewayClass = gatewayClass;
return this;
}
/**
* GatewayId.
*/
public Builder gatewayId(String gatewayId) {
this.gatewayId = gatewayId;
return this;
}
/**
* GatewayRegionId.
*/
public Builder gatewayRegionId(String gatewayRegionId) {
this.gatewayRegionId = gatewayRegionId;
return this;
}
/**
* GatewayType.
*/
public Builder gatewayType(String gatewayType) {
this.gatewayType = gatewayType;
return this;
}
/**
* GatewayVersion.
*/
public Builder gatewayVersion(String gatewayVersion) {
this.gatewayVersion = gatewayVersion;
return this;
}
/**
* HighAvailability.
*/
public Builder highAvailability(Boolean highAvailability) {
this.highAvailability = highAvailability;
return this;
}
/**
* InnerIp.
*/
public Builder innerIp(String innerIp) {
this.innerIp = innerIp;
return this;
}
/**
* InnerIpv6Ip.
*/
public Builder innerIpv6Ip(String innerIpv6Ip) {
this.innerIpv6Ip = innerIpv6Ip;
return this;
}
/**
* Ip.
*/
public Builder ip(String ip) {
this.ip = ip;
return this;
}
/**
* IsPostPaid.
*/
public Builder isPostPaid(Boolean isPostPaid) {
this.isPostPaid = isPostPaid;
return this;
}
/**
* IsReleaseAfterExpiration.
*/
public Builder isReleaseAfterExpiration(Boolean isReleaseAfterExpiration) {
this.isReleaseAfterExpiration = isReleaseAfterExpiration;
return this;
}
/**
* LastErrorKey.
*/
public Builder lastErrorKey(String lastErrorKey) {
this.lastErrorKey = lastErrorKey;
return this;
}
/**
* Location.
*/
public Builder location(String location) {
this.location = location;
return this;
}
/**
* MaxThroughput.
*/
public Builder maxThroughput(Integer maxThroughput) {
this.maxThroughput = maxThroughput;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* PublicNetworkBandwidth.
*/
public Builder publicNetworkBandwidth(Integer publicNetworkBandwidth) {
this.publicNetworkBandwidth = publicNetworkBandwidth;
return this;
}
/**
* RenewURL.
*/
public Builder renewURL(String renewURL) {
this.renewURL = renewURL;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Status.
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* StorageBundleId.
*/
public Builder storageBundleId(String storageBundleId) {
this.storageBundleId = storageBundleId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
/**
* TaskId.
*/
public Builder taskId(String taskId) {
this.taskId = taskId;
return this;
}
/**
* Type.
*/
public Builder type(String type) {
this.type = type;
return this;
}
/**
* UntrustedEnvInstanceType.
*/
public Builder untrustedEnvInstanceType(String untrustedEnvInstanceType) {
this.untrustedEnvInstanceType = untrustedEnvInstanceType;
return this;
}
/**
* UntrustedEnvOssEndpoint.
*/
public Builder untrustedEnvOssEndpoint(String untrustedEnvOssEndpoint) {
this.untrustedEnvOssEndpoint = untrustedEnvOssEndpoint;
return this;
}
/**
* VSwitchId.
*/
public Builder vSwitchId(String vSwitchId) {
this.vSwitchId = vSwitchId;
return this;
}
/**
* VpcId.
*/
public Builder vpcId(String vpcId) {
this.vpcId = vpcId;
return this;
}
public DescribeGatewayResponseBody build() {
return new DescribeGatewayResponseBody(this);
}
}
public static class ElasticNodes extends TeaModel {
@NameInMap("ElasticNode")
private java.util.List < String > elasticNode;
private ElasticNodes(Builder builder) {
this.elasticNode = builder.elasticNode;
}
public static Builder builder() {
return new Builder();
}
public static ElasticNodes create() {
return builder().build();
}
/**
* @return elasticNode
*/
public java.util.List < String > getElasticNode() {
return this.elasticNode;
}
public static final class Builder {
private java.util.List < String > elasticNode;
/**
* ElasticNode.
*/
public Builder elasticNode(java.util.List < String > elasticNode) {
this.elasticNode = elasticNode;
return this;
}
public ElasticNodes build() {
return new ElasticNodes(this);
}
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.