com.aliyun.sdk.service.ecs20140526.models.DescribeSnapshotsRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ecs20140526 Show documentation
Show all versions of alibabacloud-ecs20140526 Show documentation
Alibaba Cloud Ecs (20140526) Async SDK for Java
// 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 DescribeSnapshotsRequest} extends {@link RequestModel}
*
* DescribeSnapshotsRequest
*/
public class DescribeSnapshotsRequest extends Request {
@Query
@NameInMap("Filter")
private java.util.List < Filter> filter;
@Host
@NameInMap("SourceRegionId")
private String sourceRegionId;
@Query
@NameInMap("Category")
private String category;
@Query
@NameInMap("DiskId")
private String diskId;
@Query
@NameInMap("DryRun")
private Boolean dryRun;
@Query
@NameInMap("Encrypted")
private Boolean encrypted;
@Query
@NameInMap("InstanceId")
private String instanceId;
@Query
@NameInMap("KMSKeyId")
private String KMSKeyId;
@Query
@NameInMap("MaxResults")
@Validation(maximum = 100, minimum = 1)
private Integer maxResults;
@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("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("SnapshotIds")
private String snapshotIds;
@Query
@NameInMap("SnapshotLinkId")
private String snapshotLinkId;
@Query
@NameInMap("SnapshotName")
private String snapshotName;
@Query
@NameInMap("SnapshotType")
private String snapshotType;
@Query
@NameInMap("SourceDiskType")
private String sourceDiskType;
@Query
@NameInMap("Status")
private String status;
@Query
@NameInMap("Tag")
private java.util.List < Tag> tag;
@Query
@NameInMap("Usage")
private String usage;
private DescribeSnapshotsRequest(Builder builder) {
super(builder);
this.filter = builder.filter;
this.sourceRegionId = builder.sourceRegionId;
this.category = builder.category;
this.diskId = builder.diskId;
this.dryRun = builder.dryRun;
this.encrypted = builder.encrypted;
this.instanceId = builder.instanceId;
this.KMSKeyId = builder.KMSKeyId;
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.regionId = builder.regionId;
this.resourceGroupId = builder.resourceGroupId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.snapshotIds = builder.snapshotIds;
this.snapshotLinkId = builder.snapshotLinkId;
this.snapshotName = builder.snapshotName;
this.snapshotType = builder.snapshotType;
this.sourceDiskType = builder.sourceDiskType;
this.status = builder.status;
this.tag = builder.tag;
this.usage = builder.usage;
}
public static Builder builder() {
return new Builder();
}
public static DescribeSnapshotsRequest 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 category
*/
public String getCategory() {
return this.category;
}
/**
* @return diskId
*/
public String getDiskId() {
return this.diskId;
}
/**
* @return dryRun
*/
public Boolean getDryRun() {
return this.dryRun;
}
/**
* @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 maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @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 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 snapshotIds
*/
public String getSnapshotIds() {
return this.snapshotIds;
}
/**
* @return snapshotLinkId
*/
public String getSnapshotLinkId() {
return this.snapshotLinkId;
}
/**
* @return snapshotName
*/
public String getSnapshotName() {
return this.snapshotName;
}
/**
* @return snapshotType
*/
public String getSnapshotType() {
return this.snapshotType;
}
/**
* @return sourceDiskType
*/
public String getSourceDiskType() {
return this.sourceDiskType;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return tag
*/
public java.util.List < Tag> getTag() {
return this.tag;
}
/**
* @return usage
*/
public String getUsage() {
return this.usage;
}
public static final class Builder extends Request.Builder {
private java.util.List < Filter> filter;
private String sourceRegionId;
private String category;
private String diskId;
private Boolean dryRun;
private Boolean encrypted;
private String instanceId;
private String KMSKeyId;
private Integer maxResults;
private String nextToken;
private String ownerAccount;
private Long ownerId;
private Integer pageNumber;
private Integer pageSize;
private String regionId;
private String resourceGroupId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String snapshotIds;
private String snapshotLinkId;
private String snapshotName;
private String snapshotType;
private String sourceDiskType;
private String status;
private java.util.List < Tag> tag;
private String usage;
private Builder() {
super();
}
private Builder(DescribeSnapshotsRequest request) {
super(request);
this.filter = request.filter;
this.sourceRegionId = request.sourceRegionId;
this.category = request.category;
this.diskId = request.diskId;
this.dryRun = request.dryRun;
this.encrypted = request.encrypted;
this.instanceId = request.instanceId;
this.KMSKeyId = request.KMSKeyId;
this.maxResults = request.maxResults;
this.nextToken = request.nextToken;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.regionId = request.regionId;
this.resourceGroupId = request.resourceGroupId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.snapshotIds = request.snapshotIds;
this.snapshotLinkId = request.snapshotLinkId;
this.snapshotName = request.snapshotName;
this.snapshotType = request.snapshotType;
this.sourceDiskType = request.sourceDiskType;
this.status = request.status;
this.tag = request.tag;
this.usage = request.usage;
}
/**
* 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;
}
/**
* Category.
*/
public Builder category(String category) {
this.putQueryParameter("Category", category);
this.category = category;
return this;
}
/**
* DiskId.
*/
public Builder diskId(String diskId) {
this.putQueryParameter("DiskId", diskId);
this.diskId = diskId;
return this;
}
/**
* DryRun.
*/
public Builder dryRun(Boolean dryRun) {
this.putQueryParameter("DryRun", dryRun);
this.dryRun = dryRun;
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;
}
/**
* MaxResults.
*/
public Builder maxResults(Integer maxResults) {
this.putQueryParameter("MaxResults", maxResults);
this.maxResults = maxResults;
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;
}
/**
* 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;
}
/**
* SnapshotIds.
*/
public Builder snapshotIds(String snapshotIds) {
this.putQueryParameter("SnapshotIds", snapshotIds);
this.snapshotIds = snapshotIds;
return this;
}
/**
* SnapshotLinkId.
*/
public Builder snapshotLinkId(String snapshotLinkId) {
this.putQueryParameter("SnapshotLinkId", snapshotLinkId);
this.snapshotLinkId = snapshotLinkId;
return this;
}
/**
* SnapshotName.
*/
public Builder snapshotName(String snapshotName) {
this.putQueryParameter("SnapshotName", snapshotName);
this.snapshotName = snapshotName;
return this;
}
/**
* SnapshotType.
*/
public Builder snapshotType(String snapshotType) {
this.putQueryParameter("SnapshotType", snapshotType);
this.snapshotType = snapshotType;
return this;
}
/**
* SourceDiskType.
*/
public Builder sourceDiskType(String sourceDiskType) {
this.putQueryParameter("SourceDiskType", sourceDiskType);
this.sourceDiskType = sourceDiskType;
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;
}
/**
* Usage.
*/
public Builder usage(String usage) {
this.putQueryParameter("Usage", usage);
this.usage = usage;
return this;
}
@Override
public DescribeSnapshotsRequest build() {
return new DescribeSnapshotsRequest(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