com.aliyun.sdk.service.cloudapi20160714.models.DescribeInstanceQpsResponseBody 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
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeInstanceQpsResponseBody} extends {@link TeaModel}
*
* DescribeInstanceQpsResponseBody
*/
public class DescribeInstanceQpsResponseBody extends TeaModel {
@NameInMap("InstanceQps")
private InstanceQps instanceQps;
@NameInMap("RequestId")
private String requestId;
private DescribeInstanceQpsResponseBody(Builder builder) {
this.instanceQps = builder.instanceQps;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeInstanceQpsResponseBody create() {
return builder().build();
}
/**
* @return instanceQps
*/
public InstanceQps getInstanceQps() {
return this.instanceQps;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private InstanceQps instanceQps;
private String requestId;
/**
* The list of requests sent to the APIs in the instance.
*/
public Builder instanceQps(InstanceQps instanceQps) {
this.instanceQps = instanceQps;
return this;
}
/**
* The ID of the request.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeInstanceQpsResponseBody build() {
return new DescribeInstanceQpsResponseBody(this);
}
}
public static class MonitorItem extends TeaModel {
@NameInMap("ItemTime")
private String itemTime;
@NameInMap("ItemValue")
private String itemValue;
private MonitorItem(Builder builder) {
this.itemTime = builder.itemTime;
this.itemValue = builder.itemValue;
}
public static Builder builder() {
return new Builder();
}
public static MonitorItem create() {
return builder().build();
}
/**
* @return itemTime
*/
public String getItemTime() {
return this.itemTime;
}
/**
* @return itemValue
*/
public String getItemValue() {
return this.itemValue;
}
public static final class Builder {
private String itemTime;
private String itemValue;
/**
* The monitoring time. The time follows the ISO 8601 standard. Format: YYYY-MM-DDThh:mm:ssZ
*/
public Builder itemTime(String itemTime) {
this.itemTime = itemTime;
return this;
}
/**
* The number of requests sent to the APIs in the instance.
*/
public Builder itemValue(String itemValue) {
this.itemValue = itemValue;
return this;
}
public MonitorItem build() {
return new MonitorItem(this);
}
}
}
public static class InstanceQps extends TeaModel {
@NameInMap("MonitorItem")
private java.util.List < MonitorItem> monitorItem;
private InstanceQps(Builder builder) {
this.monitorItem = builder.monitorItem;
}
public static Builder builder() {
return new Builder();
}
public static InstanceQps 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 InstanceQps build() {
return new InstanceQps(this);
}
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy