com.aliyun.ens20171110.models.DescribeDisksRequest Maven / Gradle / Ivy
Show all versions of ens20171110 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ens20171110.models;
import com.aliyun.tea.*;
public class DescribeDisksRequest extends TeaModel {
/**
* The category of the disk.
*
* - cloud_efficiency: ultra disk.
* - cloud_ssd: all-flash disk.
* - local_hdd: local HDD.
* - local_ssd: local SSD.
*
*
* example:
* local_ssd
*/
@NameInMap("Category")
public String category;
/**
* The billing method.
*
* - prePay: subscription.
* - postpay: pay-as-you-go.
*
*
* example:
* prepay
*/
@NameInMap("DiskChargeType")
public String diskChargeType;
/**
* The ID of the disk.
*
* example:
* d-5soak1gqa507lyfzvz0xo****
*/
@NameInMap("DiskId")
public String diskId;
/**
* The ID of the disk.
*
* example:
* [\"d-wz99njena32z90ki****\"]
*/
@NameInMap("DiskIds")
public String diskIds;
/**
* The name of the disk.
*
* example:
* DiskName
*/
@NameInMap("DiskName")
public String diskName;
/**
* The purchase method of the disk. Valid values:
*
* - ServiceDisk: The disk is purchased when ENS is activated.
* - ResoureDisk: The disk is purchased when the instance is created.
* - PostPayDisk: The disk is separately purchased.
*
*
* example:
* PostPayDisk
*/
@NameInMap("DiskType")
public String diskType;
/**
* The ID of the edge node.
*
* example:
* cn-kunming-telecom
*/
@NameInMap("EnsRegionId")
public String ensRegionId;
/**
* The node information.
*
* example:
* ["cn-suzhou-telecom","cn-chengdu-telecom"]
*/
@NameInMap("EnsRegionIds")
public String ensRegionIds;
/**
* The ID of the instance to which the disk is attached.
*
* example:
* i-5t77rb0yoz79m28ku60sx****
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* The order in which you want to sort the returned data. Example: {"EnsRegionId":"desc"}. By default, the nodes are sorted by IDs in descending order.
*
* example:
* { "DiskNameSort":"desc","EnsRegionIdSort":"asc" }
*/
@NameInMap("OrderByParams")
public String orderByParams;
/**
* The number of the page to return. Pages start from page 1.
* Default value: 1.
*
* example:
* 1
*/
@NameInMap("PageNumber")
public String pageNumber;
/**
* The number of entries to return on each page. Maximum value: 50.
* Default value: 10.
*
* example:
* 10
*/
@NameInMap("PageSize")
public String pageSize;
/**
* The ID of the snapshot.
*
* example:
* s-897654321****
*/
@NameInMap("SnapshotId")
public String snapshotId;
/**
* The status of the disk. Valid values:
*
* - In-use: The disk is in use.
* - Available: The disk can be attached.
* - Attaching: The disk is being attached.
* - Detaching: The disk is being detached.
* - Creating: The disk is being created.
* - ReIniting: The disk is being reset.
* - Deleting: The disk is being released.
* - Deleted: The disk is released.
* - Expiring: The disk is about to expire.
*
*
* example:
* Available
*/
@NameInMap("Status")
public String status;
/**
* The type of the disk. Valid values:
*
* - system: system disk.
* - data: data disk.
*
*
* example:
* system
*/
@NameInMap("Type")
public String type;
public static DescribeDisksRequest build(java.util.Map map) throws Exception {
DescribeDisksRequest self = new DescribeDisksRequest();
return TeaModel.build(map, self);
}
public DescribeDisksRequest setCategory(String category) {
this.category = category;
return this;
}
public String getCategory() {
return this.category;
}
public DescribeDisksRequest setDiskChargeType(String diskChargeType) {
this.diskChargeType = diskChargeType;
return this;
}
public String getDiskChargeType() {
return this.diskChargeType;
}
public DescribeDisksRequest setDiskId(String diskId) {
this.diskId = diskId;
return this;
}
public String getDiskId() {
return this.diskId;
}
public DescribeDisksRequest setDiskIds(String diskIds) {
this.diskIds = diskIds;
return this;
}
public String getDiskIds() {
return this.diskIds;
}
public DescribeDisksRequest setDiskName(String diskName) {
this.diskName = diskName;
return this;
}
public String getDiskName() {
return this.diskName;
}
public DescribeDisksRequest setDiskType(String diskType) {
this.diskType = diskType;
return this;
}
public String getDiskType() {
return this.diskType;
}
public DescribeDisksRequest setEnsRegionId(String ensRegionId) {
this.ensRegionId = ensRegionId;
return this;
}
public String getEnsRegionId() {
return this.ensRegionId;
}
public DescribeDisksRequest setEnsRegionIds(String ensRegionIds) {
this.ensRegionIds = ensRegionIds;
return this;
}
public String getEnsRegionIds() {
return this.ensRegionIds;
}
public DescribeDisksRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public DescribeDisksRequest setOrderByParams(String orderByParams) {
this.orderByParams = orderByParams;
return this;
}
public String getOrderByParams() {
return this.orderByParams;
}
public DescribeDisksRequest setPageNumber(String pageNumber) {
this.pageNumber = pageNumber;
return this;
}
public String getPageNumber() {
return this.pageNumber;
}
public DescribeDisksRequest setPageSize(String pageSize) {
this.pageSize = pageSize;
return this;
}
public String getPageSize() {
return this.pageSize;
}
public DescribeDisksRequest setSnapshotId(String snapshotId) {
this.snapshotId = snapshotId;
return this;
}
public String getSnapshotId() {
return this.snapshotId;
}
public DescribeDisksRequest setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public DescribeDisksRequest setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}