com.aliyun.sdk.service.adb20211201.models.DescribeJobResourceUsageRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-adb20211201 Show documentation
Show all versions of alibabacloud-adb20211201 Show documentation
Alibaba Cloud adb (20211201) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.adb20211201.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeJobResourceUsageRequest} extends {@link RequestModel}
*
* DescribeJobResourceUsageRequest
*/
public class DescribeJobResourceUsageRequest 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("StartTime")
@com.aliyun.core.annotation.Validation(required = true)
private String startTime;
private DescribeJobResourceUsageRequest(Builder builder) {
super(builder);
this.DBClusterId = builder.DBClusterId;
this.endTime = builder.endTime;
this.startTime = builder.startTime;
}
public static Builder builder() {
return new Builder();
}
public static DescribeJobResourceUsageRequest 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 startTime
*/
public String getStartTime() {
return this.startTime;
}
public static final class Builder extends Request.Builder {
private String DBClusterId;
private String endTime;
private String startTime;
private Builder() {
super();
}
private Builder(DescribeJobResourceUsageRequest request) {
super(request);
this.DBClusterId = request.DBClusterId;
this.endTime = request.endTime;
this.startTime = request.startTime;
}
/**
* The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
*/
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:mm:ssZ format. The time must be in UTC. The end time must be later than the start time.
*/
public Builder endTime(String endTime) {
this.putQueryParameter("EndTime", endTime);
this.endTime = endTime;
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.
*/
public Builder startTime(String startTime) {
this.putQueryParameter("StartTime", startTime);
this.startTime = startTime;
return this;
}
@Override
public DescribeJobResourceUsageRequest build() {
return new DescribeJobResourceUsageRequest(this);
}
}
}