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

com.aliyun.sdk.service.ens20171110.models.DescribeInstanceMonitorDataRequest Maven / Gradle / Ivy

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 DescribeInstanceMonitorDataRequest} extends {@link RequestModel}
 *
 * 

DescribeInstanceMonitorDataRequest

*/ public class DescribeInstanceMonitorDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Period") private String period; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeInstanceMonitorDataRequest(Builder builder) { super(builder); this.endTime = builder.endTime; this.instanceId = builder.instanceId; this.period = builder.period; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeInstanceMonitorDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return period */ public String getPeriod() { return this.period; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder { private String endTime; private String instanceId; private String period; private String startTime; private Builder() { super(); } private Builder(DescribeInstanceMonitorDataRequest request) { super(request); this.endTime = request.endTime; this.instanceId = request.instanceId; this.period = request.period; this.startTime = request.startTime; } /** *

The end of the time range to query.

*

Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. If the value of the seconds place is not 00, the start time is automatically set to the next minute.

* * example: *

2019-10-30T08:00:00Z

*/ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** *

The ID of the instance. You can specify only one instance ID.

* * example: *

yourInstance ID

*/ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** *

The precision of the monitoring data that you want to obtain. Valid values: 60, 300, 1200, 3600, and 14400. Default value: 60. Unit: seconds.

* * example: *

60

*/ public Builder period(String period) { this.putQueryParameter("Period", period); this.period = period; return this; } /** *

The beginning of the time range to query.

*

Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. If the value of the seconds place is not 00, the start time is automatically set to the next minute.

* * example: *

2019-10-29T23:00:00Z

*/ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeInstanceMonitorDataRequest build() { return new DescribeInstanceMonitorDataRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy