All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.cloudapi20160714.models.DescribeInstanceLatencyResponseBody Maven / Gradle / Ivy

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 DescribeInstanceLatencyResponseBody} extends {@link TeaModel}
 *
 * 

DescribeInstanceLatencyResponseBody

*/ public class DescribeInstanceLatencyResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceLatency") private InstanceLatency instanceLatency; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeInstanceLatencyResponseBody(Builder builder) { this.instanceLatency = builder.instanceLatency; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeInstanceLatencyResponseBody create() { return builder().build(); } /** * @return instanceLatency */ public InstanceLatency getInstanceLatency() { return this.instanceLatency; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private InstanceLatency instanceLatency; private String requestId; /** *

The list of average latencies in the instance.

*/ public Builder instanceLatency(InstanceLatency instanceLatency) { this.instanceLatency = instanceLatency; return this; } /** *

The ID of the request.

* * example: *

CEF72CEB-54B6-4AE8-B225-F876FF7BZ004

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeInstanceLatencyResponseBody build() { return new DescribeInstanceLatencyResponseBody(this); } } /** * * {@link DescribeInstanceLatencyResponseBody} extends {@link TeaModel} * *

DescribeInstanceLatencyResponseBody

*/ 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:

*
    *
  • gatewayLatency API: the processing latency of API Gateway
  • *
  • latency: the processing latency of the backend service.
  • *
* * example: *

latency

*/ public Builder item(String item) { this.item = item; return this; } /** *

The monitoring time. The time follows the ISO 8601 standard and UTC time is used. Format: YYYY-MM-DDThh:mm:ssZ

* * example: *

2022-09-06T02:05:13Z

*/ public Builder itemTime(String itemTime) { this.itemTime = itemTime; return this; } /** *

The value of the average latency.

* * example: *

10

*/ public Builder itemValue(String itemValue) { this.itemValue = itemValue; return this; } public MonitorItem build() { return new MonitorItem(this); } } } /** * * {@link DescribeInstanceLatencyResponseBody} extends {@link TeaModel} * *

DescribeInstanceLatencyResponseBody

*/ public static class InstanceLatency extends TeaModel { @com.aliyun.core.annotation.NameInMap("MonitorItem") private java.util.List monitorItem; private InstanceLatency(Builder builder) { this.monitorItem = builder.monitorItem; } public static Builder builder() { return new Builder(); } public static InstanceLatency 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 InstanceLatency build() { return new InstanceLatency(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy