com.aliyun.sas20181203.models.DescribeOfflineMachinesResponseBody Maven / Gradle / Ivy
Show all versions of sas20181203 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;
import com.aliyun.tea.*;
public class DescribeOfflineMachinesResponseBody extends TeaModel {
/**
* The page number of the returned page.
*
* example:
* 1
*/
@NameInMap("CurrentPage")
public Integer currentPage;
/**
* An array that consists of the information about servers.
*/
@NameInMap("MachineList")
public java.util.List machineList;
/**
* The number of entries returned per page.
*
* example:
* 5
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* The ID of the request, which is used to locate and troubleshoot issues.
*
* example:
* 7E0618A9-D5EF-4220-9471-C42B5E92719F
*/
@NameInMap("RequestId")
public String requestId;
/**
* The total number of entries returned.
*
* example:
* 44
*/
@NameInMap("TotalCount")
public Integer totalCount;
public static DescribeOfflineMachinesResponseBody build(java.util.Map map) throws Exception {
DescribeOfflineMachinesResponseBody self = new DescribeOfflineMachinesResponseBody();
return TeaModel.build(map, self);
}
public DescribeOfflineMachinesResponseBody setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
return this;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public DescribeOfflineMachinesResponseBody setMachineList(java.util.List machineList) {
this.machineList = machineList;
return this;
}
public java.util.List getMachineList() {
return this.machineList;
}
public DescribeOfflineMachinesResponseBody setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public DescribeOfflineMachinesResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribeOfflineMachinesResponseBody setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public Integer getTotalCount() {
return this.totalCount;
}
public static class DescribeOfflineMachinesResponseBodyMachineList extends TeaModel {
/**
* The ID of the server.
*
* example:
* sas-bdrvxb4b****
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* The name of the server.
*
* example:
* sql-test-001
*/
@NameInMap("InstanceName")
public String instanceName;
/**
* The public IP address of the server.
*
* example:
* 120.79.XX.XX
*/
@NameInMap("InternetIp")
public String internetIp;
/**
* The private IP address of the server.
*
* example:
* 192.168.XX.XX
*/
@NameInMap("IntranetIp")
public String intranetIp;
/**
* The region in which the server resides.
*
* example:
* cn-hangzhou
*/
@NameInMap("MachineRegion")
public String machineRegion;
/**
* The operating system of the server. Valid values:
*
* - linux
* - windows
* - windows-2003
*
*
* example:
* linux
*/
@NameInMap("Os")
public String os;
/**
* The ID of the region in which the server resides.
*
* example:
* cn-shanghai
*/
@NameInMap("RegionId")
public String regionId;
/**
* The UUID of the server.
*
* example:
* 6d5b361f-958d-48a8-a9d2-d6e82c1****
*/
@NameInMap("Uuid")
public String uuid;
/**
* The source of the server. Valid values:
*
* - 0: an asset provided by Alibaba Cloud.
* - 1: a third-party cloud server
* - 2: a server in a data center
* - 3, 4, 5, and 7: other cloud asset
* - 8: a lightweight asset
*
*
* example:
* 0
*/
@NameInMap("Vendor")
public Integer vendor;
/**
* The name of the service provider (SP) for the server.
* Valid values:
*
* - ALIYUN: Alibaba Cloud
* - OUT: a third-party service provider
* - IDC: a data center
* - TENCENT: Tencent Cloud
* - HUAWEICLOUD: Huawei Cloud
* - Microsoft: Microsoft
* - AWS: Amazon Web Services (AWS)
* - TRIPARTITE: a lightweight server
*
*
* example:
* ALIYUN
*/
@NameInMap("VendorName")
public String vendorName;
public static DescribeOfflineMachinesResponseBodyMachineList build(java.util.Map map) throws Exception {
DescribeOfflineMachinesResponseBodyMachineList self = new DescribeOfflineMachinesResponseBodyMachineList();
return TeaModel.build(map, self);
}
public DescribeOfflineMachinesResponseBodyMachineList setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public DescribeOfflineMachinesResponseBodyMachineList setInstanceName(String instanceName) {
this.instanceName = instanceName;
return this;
}
public String getInstanceName() {
return this.instanceName;
}
public DescribeOfflineMachinesResponseBodyMachineList setInternetIp(String internetIp) {
this.internetIp = internetIp;
return this;
}
public String getInternetIp() {
return this.internetIp;
}
public DescribeOfflineMachinesResponseBodyMachineList setIntranetIp(String intranetIp) {
this.intranetIp = intranetIp;
return this;
}
public String getIntranetIp() {
return this.intranetIp;
}
public DescribeOfflineMachinesResponseBodyMachineList setMachineRegion(String machineRegion) {
this.machineRegion = machineRegion;
return this;
}
public String getMachineRegion() {
return this.machineRegion;
}
public DescribeOfflineMachinesResponseBodyMachineList setOs(String os) {
this.os = os;
return this;
}
public String getOs() {
return this.os;
}
public DescribeOfflineMachinesResponseBodyMachineList setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public DescribeOfflineMachinesResponseBodyMachineList setUuid(String uuid) {
this.uuid = uuid;
return this;
}
public String getUuid() {
return this.uuid;
}
public DescribeOfflineMachinesResponseBodyMachineList setVendor(Integer vendor) {
this.vendor = vendor;
return this;
}
public Integer getVendor() {
return this.vendor;
}
public DescribeOfflineMachinesResponseBodyMachineList setVendorName(String vendorName) {
this.vendorName = vendorName;
return this;
}
public String getVendorName() {
return this.vendorName;
}
}
}