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

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

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.models;

import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
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 { @com.aliyun.core.annotation.NameInMap("Instances") private Instances instances; @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.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.

* * example: *

1

*/ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** *

The number of entries returned per page.

* * example: *

10

*/ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** *

The ID of the request.

* * example: *

B48A12CD-1295-4A38-A8F0-0E92C937****

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** *

The number of queried instances in the auto provisioning group.

* * example: *

2

*/ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeAutoProvisioningGroupInstancesResponseBody build() { return new DescribeAutoProvisioningGroupInstancesResponseBody(this); } } /** * * {@link DescribeAutoProvisioningGroupInstancesResponseBody} extends {@link TeaModel} * *

DescribeAutoProvisioningGroupInstancesResponseBody

*/ public static class Instance extends TeaModel { @com.aliyun.core.annotation.NameInMap("CPU") private Integer CPU; @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.NameInMap("IoOptimized") private Boolean ioOptimized; @com.aliyun.core.annotation.NameInMap("IsSpot") private Boolean isSpot; @com.aliyun.core.annotation.NameInMap("Memory") private Integer memory; @com.aliyun.core.annotation.NameInMap("NetworkType") private String networkType; @com.aliyun.core.annotation.NameInMap("OsType") private String osType; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.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.

* * example: *

2

*/ public Builder CPU(Integer CPU) { this.CPU = CPU; return this; } /** *

The time when the instance was created.

* * example: *

2017-12-10T04:04Z

*/ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** *

The ID of the instance.

* * example: *

i-bp67acfmxazb4p****

*/ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** *

The instance type of the ECS instance.

* * example: *

ecs.g5.large

*/ public Builder instanceType(String instanceType) { this.instanceType = instanceType; return this; } /** *

Indicates whether the instance is I/O optimized.

* * example: *

true

*/ public Builder ioOptimized(Boolean ioOptimized) { this.ioOptimized = ioOptimized; return this; } /** *

Indicates whether the instance is a preemptible instance.

* * example: *

true

*/ public Builder isSpot(Boolean isSpot) { this.isSpot = isSpot; return this; } /** *

The memory size of the instance. Unit: MiB.

* * example: *

1024

*/ public Builder memory(Integer memory) { this.memory = memory; return this; } /** *

The network type of the instance. Valid values:

*
    *
  • vpc
  • *
  • classic
  • *
* * example: *

vpc

*/ public Builder networkType(String networkType) { this.networkType = networkType; return this; } /** *

The operating system type of the instance. Valid values:

*
    *
  • windows
  • *
  • linux
  • *
* * example: *

linux

*/ public Builder osType(String osType) { this.osType = osType; return this; } /** *

The region ID of the instance.

* * example: *

cn-hangzhou

*/ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** *

The status of the instance.

* * example: *

Running

*/ public Builder status(String status) { this.status = status; return this; } /** *

The zone ID of the instance.

* * example: *

cn-hangzhou-g

*/ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public Instance build() { return new Instance(this); } } } /** * * {@link DescribeAutoProvisioningGroupInstancesResponseBody} extends {@link TeaModel} * *

DescribeAutoProvisioningGroupInstancesResponseBody

*/ public static class Instances extends TeaModel { @com.aliyun.core.annotation.NameInMap("Instance") private java.util.List 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 getInstance() { return this.instance; } public static final class Builder { private java.util.List instance; /** * Instance. */ public Builder instance(java.util.List instance) { this.instance = instance; return this; } public Instances build() { return new Instances(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy