com.aliyun.sdk.service.ens20171110.models.RescaleDeviceServiceResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ens20171110 Show documentation
Show all versions of alibabacloud-ens20171110 Show documentation
Alibaba Cloud Ens (20171110) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.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 RescaleDeviceServiceResponseBody} extends {@link TeaModel}
*
* RescaleDeviceServiceResponseBody
*/
public class RescaleDeviceServiceResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DeviceIds")
private java.util.List deviceIds;
@com.aliyun.core.annotation.NameInMap("OrderId")
private String orderId;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ResourceDetailInfos")
private java.util.List resourceDetailInfos;
private RescaleDeviceServiceResponseBody(Builder builder) {
this.deviceIds = builder.deviceIds;
this.orderId = builder.orderId;
this.requestId = builder.requestId;
this.resourceDetailInfos = builder.resourceDetailInfos;
}
public static Builder builder() {
return new Builder();
}
public static RescaleDeviceServiceResponseBody create() {
return builder().build();
}
/**
* @return deviceIds
*/
public java.util.List getDeviceIds() {
return this.deviceIds;
}
/**
* @return orderId
*/
public String getOrderId() {
return this.orderId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return resourceDetailInfos
*/
public java.util.List getResourceDetailInfos() {
return this.resourceDetailInfos;
}
public static final class Builder {
private java.util.List deviceIds;
private String orderId;
private String requestId;
private java.util.List resourceDetailInfos;
/**
* The IDs of the devices.
*/
public Builder deviceIds(java.util.List deviceIds) {
this.deviceIds = deviceIds;
return this;
}
/**
* The ID of the order.
*
* example:
* b3b5bb9a-4e0b-4cac-8ebf-e5e015726723
*/
public Builder orderId(String orderId) {
this.orderId = orderId;
return this;
}
/**
* The ID of the request.
*
* example:
* 3F3F3570-E721-53F6-853F-37B7725AC6CB
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The key properties of the device.
*/
public Builder resourceDetailInfos(java.util.List resourceDetailInfos) {
this.resourceDetailInfos = resourceDetailInfos;
return this;
}
public RescaleDeviceServiceResponseBody build() {
return new RescaleDeviceServiceResponseBody(this);
}
}
/**
*
* {@link RescaleDeviceServiceResponseBody} extends {@link TeaModel}
*
* RescaleDeviceServiceResponseBody
*/
public static class ResourceDetailInfos extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ID")
private String id;
@com.aliyun.core.annotation.NameInMap("IP")
private String ip;
@com.aliyun.core.annotation.NameInMap("ISP")
private String ISP;
@com.aliyun.core.annotation.NameInMap("Mac")
private String mac;
@com.aliyun.core.annotation.NameInMap("RegionID")
private String regionID;
@com.aliyun.core.annotation.NameInMap("Server")
private String server;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
private ResourceDetailInfos(Builder builder) {
this.id = builder.id;
this.ip = builder.ip;
this.ISP = builder.ISP;
this.mac = builder.mac;
this.regionID = builder.regionID;
this.server = builder.server;
this.status = builder.status;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static ResourceDetailInfos create() {
return builder().build();
}
/**
* @return id
*/
public String getId() {
return this.id;
}
/**
* @return ip
*/
public String getIp() {
return this.ip;
}
/**
* @return ISP
*/
public String getISP() {
return this.ISP;
}
/**
* @return mac
*/
public String getMac() {
return this.mac;
}
/**
* @return regionID
*/
public String getRegionID() {
return this.regionID;
}
/**
* @return server
*/
public String getServer() {
return this.server;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private String id;
private String ip;
private String ISP;
private String mac;
private String regionID;
private String server;
private String status;
private String type;
/**
* The ID of the device.
*
* example:
* h-uf6009zoa6hdbjyqxcn1
*/
public Builder id(String id) {
this.id = id;
return this;
}
/**
* The IP address of the device.
*
* example:
* 10.152.196.36
*/
public Builder ip(String ip) {
this.ip = ip;
return this;
}
/**
* The Internet service provider (ISP) to which the device belongs.
*
* example:
* telecom
*/
public Builder ISP(String ISP) {
this.ISP = ISP;
return this;
}
/**
* The media access control (MAC) address of the device.
*
* example:
* 24:0B:88:04:71:E0
*/
public Builder mac(String mac) {
this.mac = mac;
return this;
}
/**
* The ID of the edge node to which the device belongs.
*
* example:
* cn-chongqing-1
*/
public Builder regionID(String regionID) {
this.regionID = regionID;
return this;
}
/**
* The name of the server on which the device is deployed.
*
* example:
* ens-nc2
*/
public Builder server(String server) {
this.server = server;
return this;
}
/**
* The status of the device.
*
* example:
* Running
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* The type of the instance.
*
* example:
* ens.ac6.large
*/
public Builder type(String type) {
this.type = type;
return this;
}
public ResourceDetailInfos build() {
return new ResourceDetailInfos(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy