com.aliyun.sdk.service.ens20171110.models.DescribeEpnBandWidthDataResponseBody 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 DescribeEpnBandWidthDataResponseBody} extends {@link TeaModel}
*
* DescribeEpnBandWidthDataResponseBody
*/
public class DescribeEpnBandWidthDataResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("MonitorData")
private MonitorData monitorData;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeEpnBandWidthDataResponseBody(Builder builder) {
this.monitorData = builder.monitorData;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeEpnBandWidthDataResponseBody create() {
return builder().build();
}
/**
* @return monitorData
*/
public MonitorData getMonitorData() {
return this.monitorData;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private MonitorData monitorData;
private String requestId;
/**
* The monitoring data of the instance.
*/
public Builder monitorData(MonitorData monitorData) {
this.monitorData = monitorData;
return this;
}
/**
* The request ID.
*
* example:
* 1D289DAA-F6DA-5FC4-AE47-F5C8B6277BFC
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeEpnBandWidthDataResponseBody build() {
return new DescribeEpnBandWidthDataResponseBody(this);
}
}
/**
*
* {@link DescribeEpnBandWidthDataResponseBody} extends {@link TeaModel}
*
* DescribeEpnBandWidthDataResponseBody
*/
public static class BandWidthMonitorData extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DownBandWidth")
private Long downBandWidth;
@com.aliyun.core.annotation.NameInMap("InternetRX")
private Long internetRX;
@com.aliyun.core.annotation.NameInMap("InternetTX")
private Long internetTX;
@com.aliyun.core.annotation.NameInMap("TimeStamp")
private String timeStamp;
@com.aliyun.core.annotation.NameInMap("UpBandWidth")
private Long upBandWidth;
private BandWidthMonitorData(Builder builder) {
this.downBandWidth = builder.downBandWidth;
this.internetRX = builder.internetRX;
this.internetTX = builder.internetTX;
this.timeStamp = builder.timeStamp;
this.upBandWidth = builder.upBandWidth;
}
public static Builder builder() {
return new Builder();
}
public static BandWidthMonitorData create() {
return builder().build();
}
/**
* @return downBandWidth
*/
public Long getDownBandWidth() {
return this.downBandWidth;
}
/**
* @return internetRX
*/
public Long getInternetRX() {
return this.internetRX;
}
/**
* @return internetTX
*/
public Long getInternetTX() {
return this.internetTX;
}
/**
* @return timeStamp
*/
public String getTimeStamp() {
return this.timeStamp;
}
/**
* @return upBandWidth
*/
public Long getUpBandWidth() {
return this.upBandWidth;
}
public static final class Builder {
private Long downBandWidth;
private Long internetRX;
private Long internetTX;
private String timeStamp;
private Long upBandWidth;
/**
* The outbound bandwidth. Unit: bit/s.
*
* example:
* 0
*/
public Builder downBandWidth(Long downBandWidth) {
this.downBandWidth = downBandWidth;
return this;
}
/**
* The Internet traffic to the instance. Unit: bytes.
*
* example:
* 0
*/
public Builder internetRX(Long internetRX) {
this.internetRX = internetRX;
return this;
}
/**
* The Internet traffic from the instance. Unit: bytes.
*
* example:
* 0
*/
public Builder internetTX(Long internetTX) {
this.internetTX = internetTX;
return this;
}
/**
* The timestamp when the monitoring data was queried. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
*
* example:
* 2019-10-12T05:45:00Z
*/
public Builder timeStamp(String timeStamp) {
this.timeStamp = timeStamp;
return this;
}
/**
* The inbound bandwidth. Unit: bit/s.
*
* example:
* 0
*/
public Builder upBandWidth(Long upBandWidth) {
this.upBandWidth = upBandWidth;
return this;
}
public BandWidthMonitorData build() {
return new BandWidthMonitorData(this);
}
}
}
/**
*
* {@link DescribeEpnBandWidthDataResponseBody} extends {@link TeaModel}
*
* DescribeEpnBandWidthDataResponseBody
*/
public static class MonitorData extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BandWidthMonitorData")
private java.util.List bandWidthMonitorData;
@com.aliyun.core.annotation.NameInMap("MaxDownBandWidth")
private Long maxDownBandWidth;
@com.aliyun.core.annotation.NameInMap("MaxUpBandWidth")
private Long maxUpBandWidth;
private MonitorData(Builder builder) {
this.bandWidthMonitorData = builder.bandWidthMonitorData;
this.maxDownBandWidth = builder.maxDownBandWidth;
this.maxUpBandWidth = builder.maxUpBandWidth;
}
public static Builder builder() {
return new Builder();
}
public static MonitorData create() {
return builder().build();
}
/**
* @return bandWidthMonitorData
*/
public java.util.List getBandWidthMonitorData() {
return this.bandWidthMonitorData;
}
/**
* @return maxDownBandWidth
*/
public Long getMaxDownBandWidth() {
return this.maxDownBandWidth;
}
/**
* @return maxUpBandWidth
*/
public Long getMaxUpBandWidth() {
return this.maxUpBandWidth;
}
public static final class Builder {
private java.util.List bandWidthMonitorData;
private Long maxDownBandWidth;
private Long maxUpBandWidth;
/**
* The bandwidth data.
*/
public Builder bandWidthMonitorData(java.util.List bandWidthMonitorData) {
this.bandWidthMonitorData = bandWidthMonitorData;
return this;
}
/**
* The maximum outbound bandwidth within the queried time range. Unit: bit/s.
*
* example:
* 16817468
*/
public Builder maxDownBandWidth(Long maxDownBandWidth) {
this.maxDownBandWidth = maxDownBandWidth;
return this;
}
/**
* The maximum inbound bandwidth within the queried time range. Unit: bit/s.
*
* example:
* 231008
*/
public Builder maxUpBandWidth(Long maxUpBandWidth) {
this.maxUpBandWidth = maxUpBandWidth;
return this;
}
public MonitorData build() {
return new MonitorData(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy