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

com.aliyun.sdk.service.gpdb20160503.models.DescribeDataSharePerformanceRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.gpdb20160503.models;

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

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

DescribeDataSharePerformanceRequest

*/ public class DescribeDataSharePerformanceRequest 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("Key") @com.aliyun.core.annotation.Validation(required = true) private String key; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeDataSharePerformanceRequest(Builder builder) { super(builder); this.endTime = builder.endTime; this.key = builder.key; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeDataSharePerformanceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return key */ public String getKey() { return this.key; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder { private String endTime; private String key; private String regionId; private String resourceGroupId; private String startTime; private Builder() { super(); } private Builder(DescribeDataSharePerformanceRequest request) { super(request); this.endTime = request.endTime; this.key = request.key; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.startTime = request.startTime; } /** * The end of the time range to query. Specify the time in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC. */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * The name of the performance metric. Separate multiple values with commas (,). Valid values: *

* * * **adbpg_datashare_topic_count**: the number of shared topics. * * **adbpg_datashare_data_size_mb**: the amount of data shared. */ public Builder key(String key) { this.putQueryParameter("Key", key); this.key = key; return this; } /** * The region ID of the instance. *

* * > You can call the [DescribeRegions](~~86912~~) operation to query the most recent region list. */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * This parameter is no longer used. */ public Builder resourceGroupId(String resourceGroupId) { this.putQueryParameter("ResourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } /** * The beginning of the time range to query. Specify the time in the *yyyy-MM-dd*T*HH:mm*Z format. The time must be in UTC. */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeDataSharePerformanceRequest build() { return new DescribeDataSharePerformanceRequest(this); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy