com.aliyun.sdk.service.cloudapi20160714.models.DescribeGroupLatencyResponseBody Maven / Gradle / Ivy
Show all versions of alibabacloud-cloudapi20160714 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeGroupLatencyResponseBody} extends {@link TeaModel}
*
* DescribeGroupLatencyResponseBody
*/
public class DescribeGroupLatencyResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("LatencyPacket")
private LatencyPacket latencyPacket;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeGroupLatencyResponseBody(Builder builder) {
this.latencyPacket = builder.latencyPacket;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeGroupLatencyResponseBody create() {
return builder().build();
}
/**
* @return latencyPacket
*/
public LatencyPacket getLatencyPacket() {
return this.latencyPacket;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private LatencyPacket latencyPacket;
private String requestId;
/**
* The latency information.
*/
public Builder latencyPacket(LatencyPacket latencyPacket) {
this.latencyPacket = latencyPacket;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeGroupLatencyResponseBody build() {
return new DescribeGroupLatencyResponseBody(this);
}
}
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:
*
*
* * latency: the backend processing latency
* * gatewayLatency: the API Gateway processing latency
*/
public Builder item(String item) {
this.item = item;
return this;
}
/**
* The point in time when the latency data was collected. The format is YYYY-MM-DDThh:mm:ssZ.
*/
public Builder itemTime(String itemTime) {
this.itemTime = itemTime;
return this;
}
/**
* The latency. Unit: ms.
*/
public Builder itemValue(String itemValue) {
this.itemValue = itemValue;
return this;
}
public MonitorItem build() {
return new MonitorItem(this);
}
}
}
public static class LatencyPacket extends TeaModel {
@com.aliyun.core.annotation.NameInMap("MonitorItem")
private java.util.List < MonitorItem> monitorItem;
private LatencyPacket(Builder builder) {
this.monitorItem = builder.monitorItem;
}
public static Builder builder() {
return new Builder();
}
public static LatencyPacket create() {
return builder().build();
}
/**
* @return monitorItem
*/
public java.util.List < MonitorItem> getMonitorItem() {
return this.monitorItem;
}
public static final class Builder {
private java.util.List < MonitorItem> monitorItem;
/**
* MonitorItem.
*/
public Builder monitorItem(java.util.List < MonitorItem> monitorItem) {
this.monitorItem = monitorItem;
return this;
}
public LatencyPacket build() {
return new LatencyPacket(this);
}
}
}
}