com.aliyun.sdk.service.cloudapi20160714.models.DescribeGroupTrafficResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-cloudapi20160714 Show documentation
Show all versions of alibabacloud-cloudapi20160714 Show documentation
Alibaba Cloud CloudAPI (20160714) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.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 DescribeGroupTrafficResponseBody} extends {@link TeaModel}
*
* DescribeGroupTrafficResponseBody
*/
public class DescribeGroupTrafficResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TrafficPerSecond")
private TrafficPerSecond trafficPerSecond;
private DescribeGroupTrafficResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.trafficPerSecond = builder.trafficPerSecond;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGroupTrafficResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return trafficPerSecond
*/
public TrafficPerSecond getTrafficPerSecond() {
return this.trafficPerSecond;
}
public static final class Builder {
private String requestId;
private TrafficPerSecond trafficPerSecond;
/**
* The request ID.
*
* example:
* EF924FE4-2EDD-4CD3-89EC-34E4708574E7
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The traffic information per second.
*/
public Builder trafficPerSecond(TrafficPerSecond trafficPerSecond) {
this.trafficPerSecond = trafficPerSecond;
return this;
}
public DescribeGroupTrafficResponseBody build() {
return new DescribeGroupTrafficResponseBody(this);
}
}
/**
*
* {@link DescribeGroupTrafficResponseBody} extends {@link TeaModel}
*
* DescribeGroupTrafficResponseBody
*/
public static class MonitorItem extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Item")
private String item;
@com.aliyun.core.annotation.NameInMap("ItemTime")
private String itemTime;
@com.aliyun.core.annotation.NameInMap("ItemValue")
private String itemValue;
private MonitorItem(Builder builder) {
this.item = builder.item;
this.itemTime = builder.itemTime;
this.itemValue = builder.itemValue;
}
public static Builder builder() {
return new Builder();
}
public static MonitorItem create() {
return builder().build();
}
/**
* @return item
*/
public String getItem() {
return this.item;
}
/**
* @return itemTime
*/
public String getItemTime() {
return this.itemTime;
}
/**
* @return itemValue
*/
public String getItemValue() {
return this.itemValue;
}
public static final class Builder {
private String item;
private String itemTime;
private String itemValue;
/**
* The metric. Valid values:
*
* - inbound: traffic consumed by requests
* - outbound: traffic consumed by responses
*
*
* example:
* inbound
*/
public Builder item(String item) {
this.item = item;
return this;
}
/**
* The corresponding time. The time follows the ISO 8601 standard and UTC time is used. Format: YYYY-MM-DDThh:mm:ssZ.
*
* example:
* 2023-01-29T01:30:00Z
*/
public Builder itemTime(String itemTime) {
this.itemTime = itemTime;
return this;
}
/**
* The traffic volume per second.
*
* example:
* 100.0
*/
public Builder itemValue(String itemValue) {
this.itemValue = itemValue;
return this;
}
public MonitorItem build() {
return new MonitorItem(this);
}
}
}
/**
*
* {@link DescribeGroupTrafficResponseBody} extends {@link TeaModel}
*
* DescribeGroupTrafficResponseBody
*/
public static class TrafficPerSecond extends TeaModel {
@com.aliyun.core.annotation.NameInMap("MonitorItem")
private java.util.List monitorItem;
private TrafficPerSecond(Builder builder) {
this.monitorItem = builder.monitorItem;
}
public static Builder builder() {
return new Builder();
}
public static TrafficPerSecond create() {
return builder().build();
}
/**
* @return monitorItem
*/
public java.util.List getMonitorItem() {
return this.monitorItem;
}
public static final class Builder {
private java.util.List monitorItem;
/**
* MonitorItem.
*/
public Builder monitorItem(java.util.List monitorItem) {
this.monitorItem = monitorItem;
return this;
}
public TrafficPerSecond build() {
return new TrafficPerSecond(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy