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

com.aliyun.sdk.service.ecs20140526.models.DescribeDisksRequest Maven / Gradle / Ivy

There is a newer version: 6.0.4
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.models;

import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link DescribeDisksRequest} extends {@link RequestModel}
 *
 * 

DescribeDisksRequest

*/ public class DescribeDisksRequest extends Request { @Query @NameInMap("Filter") private java.util.List < Filter> filter; @Host @NameInMap("SourceRegionId") private String sourceRegionId; @Query @NameInMap("AdditionalAttributes") private java.util.List < String > additionalAttributes; @Query @NameInMap("AutoSnapshotPolicyId") private String autoSnapshotPolicyId; @Query @NameInMap("Category") private String category; @Query @NameInMap("DeleteAutoSnapshot") private Boolean deleteAutoSnapshot; @Query @NameInMap("DeleteWithInstance") private Boolean deleteWithInstance; @Query @NameInMap("DiskChargeType") private String diskChargeType; @Query @NameInMap("DiskIds") private String diskIds; @Query @NameInMap("DiskName") private String diskName; @Query @NameInMap("DiskType") private String diskType; @Query @NameInMap("DryRun") private Boolean dryRun; @Query @NameInMap("EnableAutoSnapshot") private Boolean enableAutoSnapshot; @Query @NameInMap("EnableAutomatedSnapshotPolicy") private Boolean enableAutomatedSnapshotPolicy; @Query @NameInMap("EnableShared") private Boolean enableShared; @Query @NameInMap("Encrypted") private Boolean encrypted; @Query @NameInMap("InstanceId") private String instanceId; @Query @NameInMap("KMSKeyId") private String KMSKeyId; @Query @NameInMap("LockReason") private String lockReason; @Query @NameInMap("MaxResults") @Validation(maximum = 500, minimum = 1) private Integer maxResults; @Query @NameInMap("MultiAttach") private String multiAttach; @Query @NameInMap("NextToken") private String nextToken; @Query @NameInMap("OwnerAccount") private String ownerAccount; @Query @NameInMap("OwnerId") private Long ownerId; @Query @NameInMap("PageNumber") private Integer pageNumber; @Query @NameInMap("PageSize") @Validation(maximum = 100, minimum = 1) private Integer pageSize; @Query @NameInMap("Portable") private Boolean portable; @Query @NameInMap("RegionId") @Validation(required = true) private String regionId; @Query @NameInMap("ResourceGroupId") private String resourceGroupId; @Query @NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @Query @NameInMap("ResourceOwnerId") private Long resourceOwnerId; @Query @NameInMap("SnapshotId") private String snapshotId; @Query @NameInMap("Status") private String status; @Query @NameInMap("Tag") private java.util.List < Tag> tag; @Query @NameInMap("ZoneId") private String zoneId; private DescribeDisksRequest(Builder builder) { super(builder); this.filter = builder.filter; this.sourceRegionId = builder.sourceRegionId; this.additionalAttributes = builder.additionalAttributes; this.autoSnapshotPolicyId = builder.autoSnapshotPolicyId; this.category = builder.category; this.deleteAutoSnapshot = builder.deleteAutoSnapshot; this.deleteWithInstance = builder.deleteWithInstance; this.diskChargeType = builder.diskChargeType; this.diskIds = builder.diskIds; this.diskName = builder.diskName; this.diskType = builder.diskType; this.dryRun = builder.dryRun; this.enableAutoSnapshot = builder.enableAutoSnapshot; this.enableAutomatedSnapshotPolicy = builder.enableAutomatedSnapshotPolicy; this.enableShared = builder.enableShared; this.encrypted = builder.encrypted; this.instanceId = builder.instanceId; this.KMSKeyId = builder.KMSKeyId; this.lockReason = builder.lockReason; this.maxResults = builder.maxResults; this.multiAttach = builder.multiAttach; this.nextToken = builder.nextToken; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.portable = builder.portable; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.snapshotId = builder.snapshotId; this.status = builder.status; this.tag = builder.tag; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static DescribeDisksRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return filter */ public java.util.List < Filter> getFilter() { return this.filter; } /** * @return sourceRegionId */ public String getSourceRegionId() { return this.sourceRegionId; } /** * @return additionalAttributes */ public java.util.List < String > getAdditionalAttributes() { return this.additionalAttributes; } /** * @return autoSnapshotPolicyId */ public String getAutoSnapshotPolicyId() { return this.autoSnapshotPolicyId; } /** * @return category */ public String getCategory() { return this.category; } /** * @return deleteAutoSnapshot */ public Boolean getDeleteAutoSnapshot() { return this.deleteAutoSnapshot; } /** * @return deleteWithInstance */ public Boolean getDeleteWithInstance() { return this.deleteWithInstance; } /** * @return diskChargeType */ public String getDiskChargeType() { return this.diskChargeType; } /** * @return diskIds */ public String getDiskIds() { return this.diskIds; } /** * @return diskName */ public String getDiskName() { return this.diskName; } /** * @return diskType */ public String getDiskType() { return this.diskType; } /** * @return dryRun */ public Boolean getDryRun() { return this.dryRun; } /** * @return enableAutoSnapshot */ public Boolean getEnableAutoSnapshot() { return this.enableAutoSnapshot; } /** * @return enableAutomatedSnapshotPolicy */ public Boolean getEnableAutomatedSnapshotPolicy() { return this.enableAutomatedSnapshotPolicy; } /** * @return enableShared */ public Boolean getEnableShared() { return this.enableShared; } /** * @return encrypted */ public Boolean getEncrypted() { return this.encrypted; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return KMSKeyId */ public String getKMSKeyId() { return this.KMSKeyId; } /** * @return lockReason */ public String getLockReason() { return this.lockReason; } /** * @return maxResults */ public Integer getMaxResults() { return this.maxResults; } /** * @return multiAttach */ public String getMultiAttach() { return this.multiAttach; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return portable */ public Boolean getPortable() { return this.portable; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return snapshotId */ public String getSnapshotId() { return this.snapshotId; } /** * @return status */ public String getStatus() { return this.status; } /** * @return tag */ public java.util.List < Tag> getTag() { return this.tag; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder extends Request.Builder { private java.util.List < Filter> filter; private String sourceRegionId; private java.util.List < String > additionalAttributes; private String autoSnapshotPolicyId; private String category; private Boolean deleteAutoSnapshot; private Boolean deleteWithInstance; private String diskChargeType; private String diskIds; private String diskName; private String diskType; private Boolean dryRun; private Boolean enableAutoSnapshot; private Boolean enableAutomatedSnapshotPolicy; private Boolean enableShared; private Boolean encrypted; private String instanceId; private String KMSKeyId; private String lockReason; private Integer maxResults; private String multiAttach; private String nextToken; private String ownerAccount; private Long ownerId; private Integer pageNumber; private Integer pageSize; private Boolean portable; private String regionId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private String snapshotId; private String status; private java.util.List < Tag> tag; private String zoneId; private Builder() { super(); } private Builder(DescribeDisksRequest request) { super(request); this.filter = request.filter; this.sourceRegionId = request.sourceRegionId; this.additionalAttributes = request.additionalAttributes; this.autoSnapshotPolicyId = request.autoSnapshotPolicyId; this.category = request.category; this.deleteAutoSnapshot = request.deleteAutoSnapshot; this.deleteWithInstance = request.deleteWithInstance; this.diskChargeType = request.diskChargeType; this.diskIds = request.diskIds; this.diskName = request.diskName; this.diskType = request.diskType; this.dryRun = request.dryRun; this.enableAutoSnapshot = request.enableAutoSnapshot; this.enableAutomatedSnapshotPolicy = request.enableAutomatedSnapshotPolicy; this.enableShared = request.enableShared; this.encrypted = request.encrypted; this.instanceId = request.instanceId; this.KMSKeyId = request.KMSKeyId; this.lockReason = request.lockReason; this.maxResults = request.maxResults; this.multiAttach = request.multiAttach; this.nextToken = request.nextToken; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.portable = request.portable; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.snapshotId = request.snapshotId; this.status = request.status; this.tag = request.tag; this.zoneId = request.zoneId; } /** * Filter. */ public Builder filter(java.util.List < Filter> filter) { this.putQueryParameter("Filter", filter); this.filter = filter; return this; } /** * SourceRegionId. */ public Builder sourceRegionId(String sourceRegionId) { this.putHostParameter("SourceRegionId", sourceRegionId); this.sourceRegionId = sourceRegionId; return this; } /** * AdditionalAttributes. */ public Builder additionalAttributes(java.util.List < String > additionalAttributes) { this.putQueryParameter("AdditionalAttributes", additionalAttributes); this.additionalAttributes = additionalAttributes; return this; } /** * AutoSnapshotPolicyId. */ public Builder autoSnapshotPolicyId(String autoSnapshotPolicyId) { this.putQueryParameter("AutoSnapshotPolicyId", autoSnapshotPolicyId); this.autoSnapshotPolicyId = autoSnapshotPolicyId; return this; } /** * Category. */ public Builder category(String category) { this.putQueryParameter("Category", category); this.category = category; return this; } /** * DeleteAutoSnapshot. */ public Builder deleteAutoSnapshot(Boolean deleteAutoSnapshot) { this.putQueryParameter("DeleteAutoSnapshot", deleteAutoSnapshot); this.deleteAutoSnapshot = deleteAutoSnapshot; return this; } /** * DeleteWithInstance. */ public Builder deleteWithInstance(Boolean deleteWithInstance) { this.putQueryParameter("DeleteWithInstance", deleteWithInstance); this.deleteWithInstance = deleteWithInstance; return this; } /** * DiskChargeType. */ public Builder diskChargeType(String diskChargeType) { this.putQueryParameter("DiskChargeType", diskChargeType); this.diskChargeType = diskChargeType; return this; } /** * DiskIds. */ public Builder diskIds(String diskIds) { this.putQueryParameter("DiskIds", diskIds); this.diskIds = diskIds; return this; } /** * DiskName. */ public Builder diskName(String diskName) { this.putQueryParameter("DiskName", diskName); this.diskName = diskName; return this; } /** * DiskType. */ public Builder diskType(String diskType) { this.putQueryParameter("DiskType", diskType); this.diskType = diskType; return this; } /** * DryRun. */ public Builder dryRun(Boolean dryRun) { this.putQueryParameter("DryRun", dryRun); this.dryRun = dryRun; return this; } /** * EnableAutoSnapshot. */ public Builder enableAutoSnapshot(Boolean enableAutoSnapshot) { this.putQueryParameter("EnableAutoSnapshot", enableAutoSnapshot); this.enableAutoSnapshot = enableAutoSnapshot; return this; } /** * EnableAutomatedSnapshotPolicy. */ public Builder enableAutomatedSnapshotPolicy(Boolean enableAutomatedSnapshotPolicy) { this.putQueryParameter("EnableAutomatedSnapshotPolicy", enableAutomatedSnapshotPolicy); this.enableAutomatedSnapshotPolicy = enableAutomatedSnapshotPolicy; return this; } /** * EnableShared. */ public Builder enableShared(Boolean enableShared) { this.putQueryParameter("EnableShared", enableShared); this.enableShared = enableShared; return this; } /** * Encrypted. */ public Builder encrypted(Boolean encrypted) { this.putQueryParameter("Encrypted", encrypted); this.encrypted = encrypted; return this; } /** * InstanceId. */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * KMSKeyId. */ public Builder KMSKeyId(String KMSKeyId) { this.putQueryParameter("KMSKeyId", KMSKeyId); this.KMSKeyId = KMSKeyId; return this; } /** * LockReason. */ public Builder lockReason(String lockReason) { this.putQueryParameter("LockReason", lockReason); this.lockReason = lockReason; return this; } /** * MaxResults. */ public Builder maxResults(Integer maxResults) { this.putQueryParameter("MaxResults", maxResults); this.maxResults = maxResults; return this; } /** * MultiAttach. */ public Builder multiAttach(String multiAttach) { this.putQueryParameter("MultiAttach", multiAttach); this.multiAttach = multiAttach; return this; } /** * NextToken. */ public Builder nextToken(String nextToken) { this.putQueryParameter("NextToken", nextToken); this.nextToken = nextToken; return this; } /** * OwnerAccount. */ public Builder ownerAccount(String ownerAccount) { this.putQueryParameter("OwnerAccount", ownerAccount); this.ownerAccount = ownerAccount; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * 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; } /** * Portable. */ public Builder portable(Boolean portable) { this.putQueryParameter("Portable", portable); this.portable = portable; return this; } /** * RegionId. */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * ResourceGroupId. */ public Builder resourceGroupId(String resourceGroupId) { this.putQueryParameter("ResourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } /** * SnapshotId. */ public Builder snapshotId(String snapshotId) { this.putQueryParameter("SnapshotId", snapshotId); this.snapshotId = snapshotId; return this; } /** * Status. */ public Builder status(String status) { this.putQueryParameter("Status", status); this.status = status; return this; } /** * Tag. */ public Builder tag(java.util.List < Tag> tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } /** * ZoneId. */ public Builder zoneId(String zoneId) { this.putQueryParameter("ZoneId", zoneId); this.zoneId = zoneId; return this; } @Override public DescribeDisksRequest build() { return new DescribeDisksRequest(this); } } public static class Filter extends TeaModel { @NameInMap("Key") private String key; @NameInMap("Value") private String value; private Filter(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Filter create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public Filter build() { return new Filter(this); } } } public static class Tag extends TeaModel { @NameInMap("Key") private String key; @NameInMap("Value") private String value; private Tag(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Tag create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy