com.aliyun.sdk.service.ecs20140526.models.DescribeManagedInstancesResponseBody 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 DescribeManagedInstancesResponseBody} extends {@link TeaModel}
*
* DescribeManagedInstancesResponseBody
*/
public class DescribeManagedInstancesResponseBody extends TeaModel {
@NameInMap("Instances")
private java.util.List < Instances> instances;
@NameInMap("PageNumber")
private Long pageNumber;
@NameInMap("PageSize")
private Long pageSize;
@NameInMap("RequestId")
private String requestId;
@NameInMap("TotalCount")
private Long totalCount;
private DescribeManagedInstancesResponseBody(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 DescribeManagedInstancesResponseBody create() {
return builder().build();
}
/**
* @return instances
*/
public java.util.List < Instances> getInstances() {
return this.instances;
}
/**
* @return pageNumber
*/
public Long getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Long getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalCount
*/
public Long getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private java.util.List < Instances> instances;
private Long pageNumber;
private Long pageSize;
private String requestId;
private Long totalCount;
/**
* Instances.
*/
public Builder instances(java.util.List < Instances> instances) {
this.instances = instances;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Long pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Long pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* TotalCount.
*/
public Builder totalCount(Long totalCount) {
this.totalCount = totalCount;
return this;
}
public DescribeManagedInstancesResponseBody build() {
return new DescribeManagedInstancesResponseBody(this);
}
}
public static class Instances extends TeaModel {
@NameInMap("ActivationId")
private String activationId;
@NameInMap("AgentVersion")
private String agentVersion;
@NameInMap("Connected")
private Boolean connected;
@NameInMap("Hostname")
private String hostname;
@NameInMap("InstanceId")
private String instanceId;
@NameInMap("InstanceName")
private String instanceName;
@NameInMap("InternetIp")
private String internetIp;
@NameInMap("IntranetIp")
private String intranetIp;
@NameInMap("InvocationCount")
private Long invocationCount;
@NameInMap("LastInvokedTime")
private String lastInvokedTime;
@NameInMap("MachineId")
private String machineId;
@NameInMap("OsType")
private String osType;
@NameInMap("OsVersion")
private String osVersion;
@NameInMap("RegistrationTime")
private String registrationTime;
private Instances(Builder builder) {
this.activationId = builder.activationId;
this.agentVersion = builder.agentVersion;
this.connected = builder.connected;
this.hostname = builder.hostname;
this.instanceId = builder.instanceId;
this.instanceName = builder.instanceName;
this.internetIp = builder.internetIp;
this.intranetIp = builder.intranetIp;
this.invocationCount = builder.invocationCount;
this.lastInvokedTime = builder.lastInvokedTime;
this.machineId = builder.machineId;
this.osType = builder.osType;
this.osVersion = builder.osVersion;
this.registrationTime = builder.registrationTime;
}
public static Builder builder() {
return new Builder();
}
public static Instances create() {
return builder().build();
}
/**
* @return activationId
*/
public String getActivationId() {
return this.activationId;
}
/**
* @return agentVersion
*/
public String getAgentVersion() {
return this.agentVersion;
}
/**
* @return connected
*/
public Boolean getConnected() {
return this.connected;
}
/**
* @return hostname
*/
public String getHostname() {
return this.hostname;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return instanceName
*/
public String getInstanceName() {
return this.instanceName;
}
/**
* @return internetIp
*/
public String getInternetIp() {
return this.internetIp;
}
/**
* @return intranetIp
*/
public String getIntranetIp() {
return this.intranetIp;
}
/**
* @return invocationCount
*/
public Long getInvocationCount() {
return this.invocationCount;
}
/**
* @return lastInvokedTime
*/
public String getLastInvokedTime() {
return this.lastInvokedTime;
}
/**
* @return machineId
*/
public String getMachineId() {
return this.machineId;
}
/**
* @return osType
*/
public String getOsType() {
return this.osType;
}
/**
* @return osVersion
*/
public String getOsVersion() {
return this.osVersion;
}
/**
* @return registrationTime
*/
public String getRegistrationTime() {
return this.registrationTime;
}
public static final class Builder {
private String activationId;
private String agentVersion;
private Boolean connected;
private String hostname;
private String instanceId;
private String instanceName;
private String internetIp;
private String intranetIp;
private Long invocationCount;
private String lastInvokedTime;
private String machineId;
private String osType;
private String osVersion;
private String registrationTime;
/**
* ActivationId.
*/
public Builder activationId(String activationId) {
this.activationId = activationId;
return this;
}
/**
* AgentVersion.
*/
public Builder agentVersion(String agentVersion) {
this.agentVersion = agentVersion;
return this;
}
/**
* Connected.
*/
public Builder connected(Boolean connected) {
this.connected = connected;
return this;
}
/**
* Hostname.
*/
public Builder hostname(String hostname) {
this.hostname = hostname;
return this;
}
/**
* InstanceId.
*/
public Builder instanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
/**
* InstanceName.
*/
public Builder instanceName(String instanceName) {
this.instanceName = instanceName;
return this;
}
/**
* InternetIp.
*/
public Builder internetIp(String internetIp) {
this.internetIp = internetIp;
return this;
}
/**
* IntranetIp.
*/
public Builder intranetIp(String intranetIp) {
this.intranetIp = intranetIp;
return this;
}
/**
* InvocationCount.
*/
public Builder invocationCount(Long invocationCount) {
this.invocationCount = invocationCount;
return this;
}
/**
* LastInvokedTime.
*/
public Builder lastInvokedTime(String lastInvokedTime) {
this.lastInvokedTime = lastInvokedTime;
return this;
}
/**
* MachineId.
*/
public Builder machineId(String machineId) {
this.machineId = machineId;
return this;
}
/**
* OsType.
*/
public Builder osType(String osType) {
this.osType = osType;
return this;
}
/**
* OsVersion.
*/
public Builder osVersion(String osVersion) {
this.osVersion = osVersion;
return this;
}
/**
* RegistrationTime.
*/
public Builder registrationTime(String registrationTime) {
this.registrationTime = registrationTime;
return this;
}
public Instances build() {
return new Instances(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy