com.aliyun.sdk.service.ecs20140526.models.DescribeInstancesRequest 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 DescribeInstancesRequest} extends {@link RequestModel}
*
* DescribeInstancesRequest
*/
public class DescribeInstancesRequest 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("DeviceAvailable")
private Boolean deviceAvailable;
@Query
@NameInMap("DryRun")
private Boolean dryRun;
@Query
@NameInMap("EipAddresses")
private String eipAddresses;
@Query
@NameInMap("HpcClusterId")
private String hpcClusterId;
@Query
@NameInMap("HttpEndpoint")
private String httpEndpoint;
@Query
@NameInMap("HttpPutResponseHopLimit")
private Integer httpPutResponseHopLimit;
@Query
@NameInMap("HttpTokens")
private String httpTokens;
@Query
@NameInMap("ImageId")
private String imageId;
@Query
@NameInMap("InnerIpAddresses")
private String innerIpAddresses;
@Query
@NameInMap("InstanceChargeType")
private String instanceChargeType;
@Query
@NameInMap("InstanceIds")
private String instanceIds;
@Query
@NameInMap("InstanceName")
private String instanceName;
@Query
@NameInMap("InstanceNetworkType")
private String instanceNetworkType;
@Query
@NameInMap("InstanceType")
private String instanceType;
@Query
@NameInMap("InstanceTypeFamily")
private String instanceTypeFamily;
@Query
@NameInMap("InternetChargeType")
private String internetChargeType;
@Query
@NameInMap("IoOptimized")
private Boolean ioOptimized;
@Query
@NameInMap("Ipv6Address")
private java.util.List < String > ipv6Address;
@Query
@NameInMap("KeyPairName")
private String keyPairName;
@Query
@NameInMap("LockReason")
private String lockReason;
@Query
@NameInMap("MaxResults")
@Validation(maximum = 100, minimum = 1)
private Integer maxResults;
@Query
@NameInMap("NeedSaleCycle")
private Boolean needSaleCycle;
@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("PrivateIpAddresses")
private String privateIpAddresses;
@Query
@NameInMap("PublicIpAddresses")
private String publicIpAddresses;
@Query
@NameInMap("RdmaIpAddresses")
private String rdmaIpAddresses;
@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("SecurityGroupId")
private String securityGroupId;
@Query
@NameInMap("Status")
private String status;
@Query
@NameInMap("Tag")
private java.util.List < Tag> tag;
@Query
@NameInMap("VSwitchId")
private String vSwitchId;
@Query
@NameInMap("VpcId")
private String vpcId;
@Query
@NameInMap("ZoneId")
private String zoneId;
private DescribeInstancesRequest(Builder builder) {
super(builder);
this.filter = builder.filter;
this.sourceRegionId = builder.sourceRegionId;
this.additionalAttributes = builder.additionalAttributes;
this.deviceAvailable = builder.deviceAvailable;
this.dryRun = builder.dryRun;
this.eipAddresses = builder.eipAddresses;
this.hpcClusterId = builder.hpcClusterId;
this.httpEndpoint = builder.httpEndpoint;
this.httpPutResponseHopLimit = builder.httpPutResponseHopLimit;
this.httpTokens = builder.httpTokens;
this.imageId = builder.imageId;
this.innerIpAddresses = builder.innerIpAddresses;
this.instanceChargeType = builder.instanceChargeType;
this.instanceIds = builder.instanceIds;
this.instanceName = builder.instanceName;
this.instanceNetworkType = builder.instanceNetworkType;
this.instanceType = builder.instanceType;
this.instanceTypeFamily = builder.instanceTypeFamily;
this.internetChargeType = builder.internetChargeType;
this.ioOptimized = builder.ioOptimized;
this.ipv6Address = builder.ipv6Address;
this.keyPairName = builder.keyPairName;
this.lockReason = builder.lockReason;
this.maxResults = builder.maxResults;
this.needSaleCycle = builder.needSaleCycle;
this.nextToken = builder.nextToken;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.privateIpAddresses = builder.privateIpAddresses;
this.publicIpAddresses = builder.publicIpAddresses;
this.rdmaIpAddresses = builder.rdmaIpAddresses;
this.regionId = builder.regionId;
this.resourceGroupId = builder.resourceGroupId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.securityGroupId = builder.securityGroupId;
this.status = builder.status;
this.tag = builder.tag;
this.vSwitchId = builder.vSwitchId;
this.vpcId = builder.vpcId;
this.zoneId = builder.zoneId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeInstancesRequest 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 deviceAvailable
*/
public Boolean getDeviceAvailable() {
return this.deviceAvailable;
}
/**
* @return dryRun
*/
public Boolean getDryRun() {
return this.dryRun;
}
/**
* @return eipAddresses
*/
public String getEipAddresses() {
return this.eipAddresses;
}
/**
* @return hpcClusterId
*/
public String getHpcClusterId() {
return this.hpcClusterId;
}
/**
* @return httpEndpoint
*/
public String getHttpEndpoint() {
return this.httpEndpoint;
}
/**
* @return httpPutResponseHopLimit
*/
public Integer getHttpPutResponseHopLimit() {
return this.httpPutResponseHopLimit;
}
/**
* @return httpTokens
*/
public String getHttpTokens() {
return this.httpTokens;
}
/**
* @return imageId
*/
public String getImageId() {
return this.imageId;
}
/**
* @return innerIpAddresses
*/
public String getInnerIpAddresses() {
return this.innerIpAddresses;
}
/**
* @return instanceChargeType
*/
public String getInstanceChargeType() {
return this.instanceChargeType;
}
/**
* @return instanceIds
*/
public String getInstanceIds() {
return this.instanceIds;
}
/**
* @return instanceName
*/
public String getInstanceName() {
return this.instanceName;
}
/**
* @return instanceNetworkType
*/
public String getInstanceNetworkType() {
return this.instanceNetworkType;
}
/**
* @return instanceType
*/
public String getInstanceType() {
return this.instanceType;
}
/**
* @return instanceTypeFamily
*/
public String getInstanceTypeFamily() {
return this.instanceTypeFamily;
}
/**
* @return internetChargeType
*/
public String getInternetChargeType() {
return this.internetChargeType;
}
/**
* @return ioOptimized
*/
public Boolean getIoOptimized() {
return this.ioOptimized;
}
/**
* @return ipv6Address
*/
public java.util.List < String > getIpv6Address() {
return this.ipv6Address;
}
/**
* @return keyPairName
*/
public String getKeyPairName() {
return this.keyPairName;
}
/**
* @return lockReason
*/
public String getLockReason() {
return this.lockReason;
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return needSaleCycle
*/
public Boolean getNeedSaleCycle() {
return this.needSaleCycle;
}
/**
* @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 privateIpAddresses
*/
public String getPrivateIpAddresses() {
return this.privateIpAddresses;
}
/**
* @return publicIpAddresses
*/
public String getPublicIpAddresses() {
return this.publicIpAddresses;
}
/**
* @return rdmaIpAddresses
*/
public String getRdmaIpAddresses() {
return this.rdmaIpAddresses;
}
/**
* @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 securityGroupId
*/
public String getSecurityGroupId() {
return this.securityGroupId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return tag
*/
public java.util.List < Tag> getTag() {
return this.tag;
}
/**
* @return vSwitchId
*/
public String getVSwitchId() {
return this.vSwitchId;
}
/**
* @return vpcId
*/
public String getVpcId() {
return this.vpcId;
}
/**
* @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 Boolean deviceAvailable;
private Boolean dryRun;
private String eipAddresses;
private String hpcClusterId;
private String httpEndpoint;
private Integer httpPutResponseHopLimit;
private String httpTokens;
private String imageId;
private String innerIpAddresses;
private String instanceChargeType;
private String instanceIds;
private String instanceName;
private String instanceNetworkType;
private String instanceType;
private String instanceTypeFamily;
private String internetChargeType;
private Boolean ioOptimized;
private java.util.List < String > ipv6Address;
private String keyPairName;
private String lockReason;
private Integer maxResults;
private Boolean needSaleCycle;
private String nextToken;
private String ownerAccount;
private Long ownerId;
private Integer pageNumber;
private Integer pageSize;
private String privateIpAddresses;
private String publicIpAddresses;
private String rdmaIpAddresses;
private String regionId;
private String resourceGroupId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String securityGroupId;
private String status;
private java.util.List < Tag> tag;
private String vSwitchId;
private String vpcId;
private String zoneId;
private Builder() {
super();
}
private Builder(DescribeInstancesRequest request) {
super(request);
this.filter = request.filter;
this.sourceRegionId = request.sourceRegionId;
this.additionalAttributes = request.additionalAttributes;
this.deviceAvailable = request.deviceAvailable;
this.dryRun = request.dryRun;
this.eipAddresses = request.eipAddresses;
this.hpcClusterId = request.hpcClusterId;
this.httpEndpoint = request.httpEndpoint;
this.httpPutResponseHopLimit = request.httpPutResponseHopLimit;
this.httpTokens = request.httpTokens;
this.imageId = request.imageId;
this.innerIpAddresses = request.innerIpAddresses;
this.instanceChargeType = request.instanceChargeType;
this.instanceIds = request.instanceIds;
this.instanceName = request.instanceName;
this.instanceNetworkType = request.instanceNetworkType;
this.instanceType = request.instanceType;
this.instanceTypeFamily = request.instanceTypeFamily;
this.internetChargeType = request.internetChargeType;
this.ioOptimized = request.ioOptimized;
this.ipv6Address = request.ipv6Address;
this.keyPairName = request.keyPairName;
this.lockReason = request.lockReason;
this.maxResults = request.maxResults;
this.needSaleCycle = request.needSaleCycle;
this.nextToken = request.nextToken;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.privateIpAddresses = request.privateIpAddresses;
this.publicIpAddresses = request.publicIpAddresses;
this.rdmaIpAddresses = request.rdmaIpAddresses;
this.regionId = request.regionId;
this.resourceGroupId = request.resourceGroupId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.securityGroupId = request.securityGroupId;
this.status = request.status;
this.tag = request.tag;
this.vSwitchId = request.vSwitchId;
this.vpcId = request.vpcId;
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;
}
/**
* DeviceAvailable.
*/
public Builder deviceAvailable(Boolean deviceAvailable) {
this.putQueryParameter("DeviceAvailable", deviceAvailable);
this.deviceAvailable = deviceAvailable;
return this;
}
/**
* DryRun.
*/
public Builder dryRun(Boolean dryRun) {
this.putQueryParameter("DryRun", dryRun);
this.dryRun = dryRun;
return this;
}
/**
* EipAddresses.
*/
public Builder eipAddresses(String eipAddresses) {
this.putQueryParameter("EipAddresses", eipAddresses);
this.eipAddresses = eipAddresses;
return this;
}
/**
* HpcClusterId.
*/
public Builder hpcClusterId(String hpcClusterId) {
this.putQueryParameter("HpcClusterId", hpcClusterId);
this.hpcClusterId = hpcClusterId;
return this;
}
/**
* HttpEndpoint.
*/
public Builder httpEndpoint(String httpEndpoint) {
this.putQueryParameter("HttpEndpoint", httpEndpoint);
this.httpEndpoint = httpEndpoint;
return this;
}
/**
* HttpPutResponseHopLimit.
*/
public Builder httpPutResponseHopLimit(Integer httpPutResponseHopLimit) {
this.putQueryParameter("HttpPutResponseHopLimit", httpPutResponseHopLimit);
this.httpPutResponseHopLimit = httpPutResponseHopLimit;
return this;
}
/**
* HttpTokens.
*/
public Builder httpTokens(String httpTokens) {
this.putQueryParameter("HttpTokens", httpTokens);
this.httpTokens = httpTokens;
return this;
}
/**
* ImageId.
*/
public Builder imageId(String imageId) {
this.putQueryParameter("ImageId", imageId);
this.imageId = imageId;
return this;
}
/**
* InnerIpAddresses.
*/
public Builder innerIpAddresses(String innerIpAddresses) {
this.putQueryParameter("InnerIpAddresses", innerIpAddresses);
this.innerIpAddresses = innerIpAddresses;
return this;
}
/**
* InstanceChargeType.
*/
public Builder instanceChargeType(String instanceChargeType) {
this.putQueryParameter("InstanceChargeType", instanceChargeType);
this.instanceChargeType = instanceChargeType;
return this;
}
/**
* InstanceIds.
*/
public Builder instanceIds(String instanceIds) {
this.putQueryParameter("InstanceIds", instanceIds);
this.instanceIds = instanceIds;
return this;
}
/**
* InstanceName.
*/
public Builder instanceName(String instanceName) {
this.putQueryParameter("InstanceName", instanceName);
this.instanceName = instanceName;
return this;
}
/**
* InstanceNetworkType.
*/
public Builder instanceNetworkType(String instanceNetworkType) {
this.putQueryParameter("InstanceNetworkType", instanceNetworkType);
this.instanceNetworkType = instanceNetworkType;
return this;
}
/**
* InstanceType.
*/
public Builder instanceType(String instanceType) {
this.putQueryParameter("InstanceType", instanceType);
this.instanceType = instanceType;
return this;
}
/**
* InstanceTypeFamily.
*/
public Builder instanceTypeFamily(String instanceTypeFamily) {
this.putQueryParameter("InstanceTypeFamily", instanceTypeFamily);
this.instanceTypeFamily = instanceTypeFamily;
return this;
}
/**
* InternetChargeType.
*/
public Builder internetChargeType(String internetChargeType) {
this.putQueryParameter("InternetChargeType", internetChargeType);
this.internetChargeType = internetChargeType;
return this;
}
/**
* IoOptimized.
*/
public Builder ioOptimized(Boolean ioOptimized) {
this.putQueryParameter("IoOptimized", ioOptimized);
this.ioOptimized = ioOptimized;
return this;
}
/**
* Ipv6Address.
*/
public Builder ipv6Address(java.util.List < String > ipv6Address) {
this.putQueryParameter("Ipv6Address", ipv6Address);
this.ipv6Address = ipv6Address;
return this;
}
/**
* KeyPairName.
*/
public Builder keyPairName(String keyPairName) {
this.putQueryParameter("KeyPairName", keyPairName);
this.keyPairName = keyPairName;
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;
}
/**
* NeedSaleCycle.
*/
public Builder needSaleCycle(Boolean needSaleCycle) {
this.putQueryParameter("NeedSaleCycle", needSaleCycle);
this.needSaleCycle = needSaleCycle;
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;
}
/**
* PrivateIpAddresses.
*/
public Builder privateIpAddresses(String privateIpAddresses) {
this.putQueryParameter("PrivateIpAddresses", privateIpAddresses);
this.privateIpAddresses = privateIpAddresses;
return this;
}
/**
* PublicIpAddresses.
*/
public Builder publicIpAddresses(String publicIpAddresses) {
this.putQueryParameter("PublicIpAddresses", publicIpAddresses);
this.publicIpAddresses = publicIpAddresses;
return this;
}
/**
* RdmaIpAddresses.
*/
public Builder rdmaIpAddresses(String rdmaIpAddresses) {
this.putQueryParameter("RdmaIpAddresses", rdmaIpAddresses);
this.rdmaIpAddresses = rdmaIpAddresses;
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;
}
/**
* SecurityGroupId.
*/
public Builder securityGroupId(String securityGroupId) {
this.putQueryParameter("SecurityGroupId", securityGroupId);
this.securityGroupId = securityGroupId;
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;
}
/**
* VSwitchId.
*/
public Builder vSwitchId(String vSwitchId) {
this.putQueryParameter("VSwitchId", vSwitchId);
this.vSwitchId = vSwitchId;
return this;
}
/**
* VpcId.
*/
public Builder vpcId(String vpcId) {
this.putQueryParameter("VpcId", vpcId);
this.vpcId = vpcId;
return this;
}
/**
* ZoneId.
*/
public Builder zoneId(String zoneId) {
this.putQueryParameter("ZoneId", zoneId);
this.zoneId = zoneId;
return this;
}
@Override
public DescribeInstancesRequest build() {
return new DescribeInstancesRequest(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