com.aliyun.sdk.service.ens20171110.models.DescribeMeasurementDataRequest 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 DescribeMeasurementDataRequest} extends {@link RequestModel}
*
* DescribeMeasurementDataRequest
*/
public class DescribeMeasurementDataRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EndDate")
@com.aliyun.core.annotation.Validation(required = true)
private String endDate;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StartDate")
@com.aliyun.core.annotation.Validation(required = true)
private String startDate;
private DescribeMeasurementDataRequest(Builder builder) {
super(builder);
this.endDate = builder.endDate;
this.startDate = builder.startDate;
}
public static Builder builder() {
return new Builder();
}
public static DescribeMeasurementDataRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return endDate
*/
public String getEndDate() {
return this.endDate;
}
/**
* @return startDate
*/
public String getStartDate() {
return this.startDate;
}
public static final class Builder extends Request.Builder {
private String endDate;
private String startDate;
private Builder() {
super();
}
private Builder(DescribeMeasurementDataRequest request) {
super(request);
this.endDate = request.endDate;
this.startDate = request.startDate;
}
/**
* The end of the time range to query. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
* This parameter is required.
*
* example:
* 2019-08-30T00:00:00Z
*/
public Builder endDate(String endDate) {
this.putQueryParameter("EndDate", endDate);
this.endDate = endDate;
return this;
}
/**
* The beginning of the time range to query. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
* This parameter is required.
*
* example:
* 2019-06-01T00:00:00Z
*/
public Builder startDate(String startDate) {
this.putQueryParameter("StartDate", startDate);
this.startDate = startDate;
return this;
}
@Override
public DescribeMeasurementDataRequest build() {
return new DescribeMeasurementDataRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy