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

com.aliyun.sdk.service.polardb20170801.models.DescribeDBClusterPerformanceRequest Maven / Gradle / Ivy

There is a newer version: 4.0.29
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.polardb20170801.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link DescribeDBClusterPerformanceRequest} extends {@link RequestModel}
 *
 * 

DescribeDBClusterPerformanceRequest

*/ public class DescribeDBClusterPerformanceRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBClusterId") @com.aliyun.core.annotation.Validation(required = true) private String DBClusterId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") @com.aliyun.core.annotation.Validation(required = true) private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Interval") private String interval; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Key") @com.aliyun.core.annotation.Validation(required = true) private String key; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") @com.aliyun.core.annotation.Validation(required = true) private String startTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") private String type; private DescribeDBClusterPerformanceRequest(Builder builder) { super(builder); this.DBClusterId = builder.DBClusterId; this.endTime = builder.endTime; this.interval = builder.interval; this.key = builder.key; this.startTime = builder.startTime; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static DescribeDBClusterPerformanceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return DBClusterId */ public String getDBClusterId() { return this.DBClusterId; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return interval */ public String getInterval() { return this.interval; } /** * @return key */ public String getKey() { return this.key; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return type */ public String getType() { return this.type; } public static final class Builder extends Request.Builder { private String DBClusterId; private String endTime; private String interval; private String key; private String startTime; private String type; private Builder() { super(); } private Builder(DescribeDBClusterPerformanceRequest request) { super(request); this.DBClusterId = request.DBClusterId; this.endTime = request.endTime; this.interval = request.interval; this.key = request.key; this.startTime = request.startTime; this.type = request.type; } /** * The cluster ID. */ public Builder DBClusterId(String DBClusterId) { this.putQueryParameter("DBClusterId", DBClusterId); this.DBClusterId = DBClusterId; return this; } /** * The end of the time range to query. Specify the time in the ISO 8601 standard in the `yyyy-MM-ddTHH:mmZ` format. The time must be in UTC. */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * The interval at which performance data is collected. Valid values: 5, 30, 60, 600, 1800, 3600, 86400, in seconds. */ public Builder interval(String interval) { this.putQueryParameter("Interval", interval); this.interval = interval; return this; } /** * The performance metrics that you want to query. Separate multiple metrics with commas (,). For more information, see [Performance parameters](~~141787~~). *

* * > You can specify a maximum of five performance metrics. */ public Builder key(String key) { this.putQueryParameter("Key", key); this.key = key; return this; } /** * The beginning of the time range to query. Specify the time in the ISO 8601 standard in the `yyyy-MM-ddTHH:mmZ` format. The time must be in UTC. */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } /** * Type. */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } @Override public DescribeDBClusterPerformanceRequest build() { return new DescribeDBClusterPerformanceRequest(this); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy