All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.ens20171110.models.DescribeStorageGatewayResponseBody Maven / Gradle / Ivy

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 DescribeStorageGatewayResponseBody} extends {@link TeaModel}
 *
 * 

DescribeStorageGatewayResponseBody

*/ public class DescribeStorageGatewayResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("StorageGateways") private java.util.List storageGateways; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeStorageGatewayResponseBody(Builder builder) { this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.storageGateways = builder.storageGateways; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeStorageGatewayResponseBody create() { return builder().build(); } /** * @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 storageGateways */ public java.util.List getStorageGateways() { return this.storageGateways; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer pageNumber; private Integer pageSize; private String requestId; private java.util.List storageGateways; private Integer totalCount; /** *

The page number. Default value: 1.

* * example: *

1

*/ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** *

The number of entries per page.

*

Default value: 10.

* * example: *

10

*/ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** *

Id of the request

* * example: *

6666C5A5-75ED-422E-A022-7121FA18C968

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** *

The list information.

*/ public Builder storageGateways(java.util.List storageGateways) { this.storageGateways = storageGateways; return this; } /** *

The total number of entries returned.

* * example: *

16

*/ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeStorageGatewayResponseBody build() { return new DescribeStorageGatewayResponseBody(this); } } /** * * {@link DescribeStorageGatewayResponseBody} extends {@link TeaModel} * *

DescribeStorageGatewayResponseBody

*/ public static class StorageGateways extends TeaModel { @com.aliyun.core.annotation.NameInMap("CidrBlock") private String cidrBlock; @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("EnsRegionId") private String ensRegionId; @com.aliyun.core.annotation.NameInMap("ServiceIp") private String serviceIp; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("StorageGatewayId") private String storageGatewayId; @com.aliyun.core.annotation.NameInMap("StorageGatewayName") private String storageGatewayName; @com.aliyun.core.annotation.NameInMap("StorageGatewayType") private Integer storageGatewayType; @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; private StorageGateways(Builder builder) { this.cidrBlock = builder.cidrBlock; this.creationTime = builder.creationTime; this.description = builder.description; this.ensRegionId = builder.ensRegionId; this.serviceIp = builder.serviceIp; this.status = builder.status; this.storageGatewayId = builder.storageGatewayId; this.storageGatewayName = builder.storageGatewayName; this.storageGatewayType = builder.storageGatewayType; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static StorageGateways create() { return builder().build(); } /** * @return cidrBlock */ public String getCidrBlock() { return this.cidrBlock; } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return description */ public String getDescription() { return this.description; } /** * @return ensRegionId */ public String getEnsRegionId() { return this.ensRegionId; } /** * @return serviceIp */ public String getServiceIp() { return this.serviceIp; } /** * @return status */ public String getStatus() { return this.status; } /** * @return storageGatewayId */ public String getStorageGatewayId() { return this.storageGatewayId; } /** * @return storageGatewayName */ public String getStorageGatewayName() { return this.storageGatewayName; } /** * @return storageGatewayType */ public Integer getStorageGatewayType() { return this.storageGatewayType; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder { private String cidrBlock; private String creationTime; private String description; private String ensRegionId; private String serviceIp; private String status; private String storageGatewayId; private String storageGatewayName; private Integer storageGatewayType; private String vpcId; /** *

The internal CIDR block.

* * example: *

192.168.2.0/24

*/ public Builder cidrBlock(String cidrBlock) { this.cidrBlock = cidrBlock; return this; } /** *

The time when the storage gateway was created. The time is displayed in UTC.

* * example: *

2024-05-14T03:07:47Z

*/ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** *

The description of the storage gateway.

* * example: *

testDescription

*/ public Builder description(String description) { this.description = description; return this; } /** *

The ID of the node.

* * example: *

cn-beijing-cmcc

*/ public Builder ensRegionId(String ensRegionId) { this.ensRegionId = ensRegionId; return this; } /** *

The IP address of the service.

* * example: *

...

*/ public Builder serviceIp(String serviceIp) { this.serviceIp = serviceIp; return this; } /** *

The status of the storage gateway. Valid values:

*
    *
  • creating
  • *
  • available
  • *
  • deleting
  • *
  • deleted
  • *
* * example: *

available

*/ public Builder status(String status) { this.status = status; return this; } /** *

The ID of the storage gateway.

* * example: *

sgw-***

*/ public Builder storageGatewayId(String storageGatewayId) { this.storageGatewayId = storageGatewayId; return this; } /** *

The name of the storage gateway.

* * example: *

testGateway

*/ public Builder storageGatewayName(String storageGatewayName) { this.storageGatewayName = storageGatewayName; return this; } /** *

The type of the storage gateway. Default value: 1, which indicates iSCSI.

* * example: *

1

*/ public Builder storageGatewayType(Integer storageGatewayType) { this.storageGatewayType = storageGatewayType; return this; } /** *

The ID of the VPC.

* * example: *

n-***

*/ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } public StorageGateways build() { return new StorageGateways(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy