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

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

There is a newer version: 5.0.29
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 DescribeAutoProvisioningGroupInstancesResponseBody} extends {@link TeaModel}
 *
 * 

DescribeAutoProvisioningGroupInstancesResponseBody

*/ public class DescribeAutoProvisioningGroupInstancesResponseBody extends TeaModel { @NameInMap("Instances") private Instances instances; @NameInMap("PageNumber") private Integer pageNumber; @NameInMap("PageSize") private Integer pageSize; @NameInMap("RequestId") private String requestId; @NameInMap("TotalCount") private Integer totalCount; private DescribeAutoProvisioningGroupInstancesResponseBody(Builder builder) { this.instances = builder.instances; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeAutoProvisioningGroupInstancesResponseBody create() { return builder().build(); } /** * @return instances */ public Instances getInstances() { return this.instances; } /** * @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 totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Instances instances; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; /** * An array consisting of Instance data. */ public Builder instances(Instances instances) { this.instances = instances; return this; } /** * The page number of the returned page. */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * The number of entries returned per page. */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * The ID of the request. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The number of queried instances in the auto provisioning group. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeAutoProvisioningGroupInstancesResponseBody build() { return new DescribeAutoProvisioningGroupInstancesResponseBody(this); } } public static class Instance extends TeaModel { @NameInMap("CPU") private Integer CPU; @NameInMap("CreationTime") private String creationTime; @NameInMap("InstanceId") private String instanceId; @NameInMap("InstanceType") private String instanceType; @NameInMap("IoOptimized") private Boolean ioOptimized; @NameInMap("IsSpot") private Boolean isSpot; @NameInMap("Memory") private Integer memory; @NameInMap("NetworkType") private String networkType; @NameInMap("OsType") private String osType; @NameInMap("RegionId") private String regionId; @NameInMap("Status") private String status; @NameInMap("ZoneId") private String zoneId; private Instance(Builder builder) { this.CPU = builder.CPU; this.creationTime = builder.creationTime; this.instanceId = builder.instanceId; this.instanceType = builder.instanceType; this.ioOptimized = builder.ioOptimized; this.isSpot = builder.isSpot; this.memory = builder.memory; this.networkType = builder.networkType; this.osType = builder.osType; this.regionId = builder.regionId; this.status = builder.status; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static Instance create() { return builder().build(); } /** * @return CPU */ public Integer getCPU() { return this.CPU; } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return ioOptimized */ public Boolean getIoOptimized() { return this.ioOptimized; } /** * @return isSpot */ public Boolean getIsSpot() { return this.isSpot; } /** * @return memory */ public Integer getMemory() { return this.memory; } /** * @return networkType */ public String getNetworkType() { return this.networkType; } /** * @return osType */ public String getOsType() { return this.osType; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return status */ public String getStatus() { return this.status; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private Integer CPU; private String creationTime; private String instanceId; private String instanceType; private Boolean ioOptimized; private Boolean isSpot; private Integer memory; private String networkType; private String osType; private String regionId; private String status; private String zoneId; /** * The number of vCPUs. */ public Builder CPU(Integer CPU) { this.CPU = CPU; return this; } /** * The time when the instance was created. */ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** * The ID of the instance. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * The instance type of the ECS instance. */ public Builder instanceType(String instanceType) { this.instanceType = instanceType; return this; } /** * Indicates whether the instance is I/O optimized. */ public Builder ioOptimized(Boolean ioOptimized) { this.ioOptimized = ioOptimized; return this; } /** * Indicates whether the instance is a preemptible instance. */ public Builder isSpot(Boolean isSpot) { this.isSpot = isSpot; return this; } /** * The memory size of the instance. Unit: MiB. */ public Builder memory(Integer memory) { this.memory = memory; return this; } /** * The network type of the instance. Valid values: *

* * * vpc * * classic */ public Builder networkType(String networkType) { this.networkType = networkType; return this; } /** * The operating system type of the instance. Valid values: *

* * * windows * * linux */ public Builder osType(String osType) { this.osType = osType; return this; } /** * The region ID of the instance. */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * The status of the instance. */ public Builder status(String status) { this.status = status; return this; } /** * The zone ID of the instance. */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public Instance build() { return new Instance(this); } } } public static class Instances extends TeaModel { @NameInMap("Instance") private java.util.List < Instance> instance; private Instances(Builder builder) { this.instance = builder.instance; } public static Builder builder() { return new Builder(); } public static Instances create() { return builder().build(); } /** * @return instance */ public java.util.List < Instance> getInstance() { return this.instance; } public static final class Builder { private java.util.List < Instance> instance; /** * Instance. */ public Builder instance(java.util.List < Instance> instance) { this.instance = instance; return this; } public Instances build() { return new Instances(this); } } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy