com.aliyun.sdk.service.ens20171110.models.DescribeUserBandWidthDataRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ens20171110 Show documentation
Show all versions of alibabacloud-ens20171110 Show documentation
Alibaba Cloud Ens (20171110) Async SDK for Java
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 DescribeUserBandWidthDataRequest} extends {@link RequestModel}
*
* DescribeUserBandWidthDataRequest
*/
public class DescribeUserBandWidthDataRequest extends Request {
@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("EnsRegionId")
private String ensRegionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InstanceId")
private String instanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Isp")
private String isp;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Period")
@com.aliyun.core.annotation.Validation(required = true)
private String period;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StartTime")
@com.aliyun.core.annotation.Validation(required = true)
private String startTime;
private DescribeUserBandWidthDataRequest(Builder builder) {
super(builder);
this.endTime = builder.endTime;
this.ensRegionId = builder.ensRegionId;
this.instanceId = builder.instanceId;
this.isp = builder.isp;
this.period = builder.period;
this.startTime = builder.startTime;
}
public static Builder builder() {
return new Builder();
}
public static DescribeUserBandWidthDataRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return endTime
*/
public String getEndTime() {
return this.endTime;
}
/**
* @return ensRegionId
*/
public String getEnsRegionId() {
return this.ensRegionId;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return isp
*/
public String getIsp() {
return this.isp;
}
/**
* @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 ensRegionId;
private String instanceId;
private String isp;
private String period;
private String startTime;
private Builder() {
super();
}
private Builder(DescribeUserBandWidthDataRequest request) {
super(request);
this.endTime = request.endTime;
this.ensRegionId = request.ensRegionId;
this.instanceId = request.instanceId;
this.isp = request.isp;
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.
*
* This parameter is required.
*
* example:
* 2019-05-21T12:22:00Z
*/
public Builder endTime(String endTime) {
this.putQueryParameter("EndTime", endTime);
this.endTime = endTime;
return this;
}
/**
* The ID of the node. You can specify only one node ID. By default, all nodes are queried.
*
* example:
* cn-taiyuan-telecom
*/
public Builder ensRegionId(String ensRegionId) {
this.putQueryParameter("EnsRegionId", ensRegionId);
this.ensRegionId = ensRegionId;
return this;
}
/**
* The ID of the instance for which you want to query the data. You can specify only one instance ID. By default, all instances are queried.
*
* example:
* i-5inkeimcipxk26yqtzm4q****
*/
public Builder instanceId(String instanceId) {
this.putQueryParameter("InstanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* The Internet service provider (ISP). Valid values:
*
* - cmcc: China Mobile
* - telecom: China Telecom
* - unicom: China Unicom
* - multiCarrier: multi-line ISP
*
*
* example:
* cmcc
*/
public Builder isp(String isp) {
this.putQueryParameter("Isp", isp);
this.isp = isp;
return this;
}
/**
* The precision of the monitoring data that you want to obtain. Valid values: 300, 1200, 3600, and 14400. Default value: 300. Unit: seconds.
* This parameter is required.
*
* example:
* 300
*/
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.
*
* This parameter is required.
*
* example:
* 2019-05-21T10:22:00Z
*/
public Builder startTime(String startTime) {
this.putQueryParameter("StartTime", startTime);
this.startTime = startTime;
return this;
}
@Override
public DescribeUserBandWidthDataRequest build() {
return new DescribeUserBandWidthDataRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy