com.aliyun.sdk.service.ens20171110.models.DescribeStorageGatewayRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ens20171110 Show documentation
Show all versions of alibabacloud-ens20171110 Show documentation
Alibaba Cloud Ens (20171110) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeStorageGatewayRequest} extends {@link RequestModel}
*
* DescribeStorageGatewayRequest
*/
public class DescribeStorageGatewayRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EnsRegionId")
private String ensRegionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("GatewayId")
private String gatewayId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("GatewayType")
private String gatewayType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
private String pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private String pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VpcId")
private String vpcId;
private DescribeStorageGatewayRequest(Builder builder) {
super(builder);
this.ensRegionId = builder.ensRegionId;
this.gatewayId = builder.gatewayId;
this.gatewayType = builder.gatewayType;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.vpcId = builder.vpcId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeStorageGatewayRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return ensRegionId
*/
public String getEnsRegionId() {
return this.ensRegionId;
}
/**
* @return gatewayId
*/
public String getGatewayId() {
return this.gatewayId;
}
/**
* @return gatewayType
*/
public String getGatewayType() {
return this.gatewayType;
}
/**
* @return pageNumber
*/
public String getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public String getPageSize() {
return this.pageSize;
}
/**
* @return vpcId
*/
public String getVpcId() {
return this.vpcId;
}
public static final class Builder extends Request.Builder {
private String ensRegionId;
private String gatewayId;
private String gatewayType;
private String pageNumber;
private String pageSize;
private String vpcId;
private Builder() {
super();
}
private Builder(DescribeStorageGatewayRequest request) {
super(request);
this.ensRegionId = request.ensRegionId;
this.gatewayId = request.gatewayId;
this.gatewayType = request.gatewayType;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.vpcId = request.vpcId;
}
/**
* The ID of the node.
*
* example:
* cn-beijing-cmcc
*/
public Builder ensRegionId(String ensRegionId) {
this.putQueryParameter("EnsRegionId", ensRegionId);
this.ensRegionId = ensRegionId;
return this;
}
/**
* The ID of the gateway.
*
* example:
* sgw-****
*/
public Builder gatewayId(String gatewayId) {
this.putQueryParameter("GatewayId", gatewayId);
this.gatewayId = gatewayId;
return this;
}
/**
* The type of the gateway. Set this parameter to 1. 1 indicates iSCSI.
*
* example:
* 1
*/
public Builder gatewayType(String gatewayType) {
this.putQueryParameter("GatewayType", gatewayType);
this.gatewayType = gatewayType;
return this;
}
/**
* The page number. Default value: 1.
*
* example:
* 1
*/
public Builder pageNumber(String pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* The number of entries per page.
*
* example:
* 10
*/
public Builder pageSize(String pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* The ID of the virtual private cloud (VPC).
*
* example:
* n-***
*/
public Builder vpcId(String vpcId) {
this.putQueryParameter("VpcId", vpcId);
this.vpcId = vpcId;
return this;
}
@Override
public DescribeStorageGatewayRequest build() {
return new DescribeStorageGatewayRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy