com.aliyun.sdk.service.ens20171110.models.DescribeEnsResourceUsageRequest 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 DescribeEnsResourceUsageRequest} extends {@link RequestModel}
*
* DescribeEnsResourceUsageRequest
*/
public class DescribeEnsResourceUsageRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ExpiredEndTime")
private String expiredEndTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ExpiredStartTime")
private String expiredStartTime;
private DescribeEnsResourceUsageRequest(Builder builder) {
super(builder);
this.expiredEndTime = builder.expiredEndTime;
this.expiredStartTime = builder.expiredStartTime;
}
public static Builder builder() {
return new Builder();
}
public static DescribeEnsResourceUsageRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return expiredEndTime
*/
public String getExpiredEndTime() {
return this.expiredEndTime;
}
/**
* @return expiredStartTime
*/
public String getExpiredStartTime() {
return this.expiredStartTime;
}
public static final class Builder extends Request.Builder {
private String expiredEndTime;
private String expiredStartTime;
private Builder() {
super();
}
private Builder(DescribeEnsResourceUsageRequest request) {
super(request);
this.expiredEndTime = request.expiredEndTime;
this.expiredStartTime = request.expiredStartTime;
}
/**
* The end of the time range to query. Format: yyyy-MM-dd or yyyy-MM-dd HH:mm:ss.
*
* example:
* 2018-06-15T09:07:23Z
*/
public Builder expiredEndTime(String expiredEndTime) {
this.putQueryParameter("ExpiredEndTime", expiredEndTime);
this.expiredEndTime = expiredEndTime;
return this;
}
/**
* The beginning of the time range to query. Format: yyyy-MM-dd or yyyy-MM-dd HH:mm:ss.
*
* example:
* 2018-06-15T09:07:23Z
*/
public Builder expiredStartTime(String expiredStartTime) {
this.putQueryParameter("ExpiredStartTime", expiredStartTime);
this.expiredStartTime = expiredStartTime;
return this;
}
@Override
public DescribeEnsResourceUsageRequest build() {
return new DescribeEnsResourceUsageRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy