com.aliyun.sdk.service.gpdb20160503.models.DescribeSQLLogCountResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.gpdb20160503.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeSQLLogCountResponseBody} extends {@link TeaModel}
*
* DescribeSQLLogCountResponseBody
*/
public class DescribeSQLLogCountResponseBody extends TeaModel {
@NameInMap("DBClusterId")
private String DBClusterId;
@NameInMap("EndTime")
private String endTime;
@NameInMap("Items")
private java.util.List < Items> items;
@NameInMap("RequestId")
private String requestId;
@NameInMap("StartTime")
private String startTime;
private DescribeSQLLogCountResponseBody(Builder builder) {
this.DBClusterId = builder.DBClusterId;
this.endTime = builder.endTime;
this.items = builder.items;
this.requestId = builder.requestId;
this.startTime = builder.startTime;
}
public static Builder builder() {
return new Builder();
}
public static DescribeSQLLogCountResponseBody create() {
return builder().build();
}
/**
* @return DBClusterId
*/
public String getDBClusterId() {
return this.DBClusterId;
}
/**
* @return endTime
*/
public String getEndTime() {
return this.endTime;
}
/**
* @return items
*/
public java.util.List < Items> getItems() {
return this.items;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return startTime
*/
public String getStartTime() {
return this.startTime;
}
public static final class Builder {
private String DBClusterId;
private String endTime;
private java.util.List < Items> items;
private String requestId;
private String startTime;
/**
* The instance ID.
*/
public Builder DBClusterId(String DBClusterId) {
this.DBClusterId = DBClusterId;
return this;
}
/**
* The end time of the query.
*/
public Builder endTime(String endTime) {
this.endTime = endTime;
return this;
}
/**
* The name of the instance.
*/
public Builder items(java.util.List < Items> items) {
this.items = items;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The start time of the query.
*/
public Builder startTime(String startTime) {
this.startTime = startTime;
return this;
}
public DescribeSQLLogCountResponseBody build() {
return new DescribeSQLLogCountResponseBody(this);
}
}
public static class Values extends TeaModel {
@NameInMap("Point")
private java.util.List < String > point;
private Values(Builder builder) {
this.point = builder.point;
}
public static Builder builder() {
return new Builder();
}
public static Values create() {
return builder().build();
}
/**
* @return point
*/
public java.util.List < String > getPoint() {
return this.point;
}
public static final class Builder {
private java.util.List < String > point;
/**
* The time when the audit logs were generated and the number of the audit logs.
*/
public Builder point(java.util.List < String > point) {
this.point = point;
return this;
}
public Values build() {
return new Values(this);
}
}
}
public static class Series extends TeaModel {
@NameInMap("Values")
private java.util.List < Values> values;
private Series(Builder builder) {
this.values = builder.values;
}
public static Builder builder() {
return new Builder();
}
public static Series create() {
return builder().build();
}
/**
* @return values
*/
public java.util.List < Values> getValues() {
return this.values;
}
public static final class Builder {
private java.util.List < Values> values;
/**
* Details of the audit logs.
*/
public Builder values(java.util.List < Values> values) {
this.values = values;
return this;
}
public Series build() {
return new Series(this);
}
}
}
public static class Items extends TeaModel {
@NameInMap("Name")
private String name;
@NameInMap("Series")
private java.util.List < Series> series;
private Items(Builder builder) {
this.name = builder.name;
this.series = builder.series;
}
public static Builder builder() {
return new Builder();
}
public static Items create() {
return builder().build();
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return series
*/
public java.util.List < Series> getSeries() {
return this.series;
}
public static final class Builder {
private String name;
private java.util.List < Series> series;
/**
* The name of the table.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* Details of the audit logs.
*/
public Builder series(java.util.List < Series> series) {
this.series = series;
return this;
}
public Items build() {
return new Items(this);
}
}
}
}