com.aliyun.sdk.service.gpdb20160503.models.DescribeDBInstanceDataBloatResponseBody 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 DescribeDBInstanceDataBloatResponseBody} extends {@link TeaModel}
*
* DescribeDBInstanceDataBloatResponseBody
*/
public class DescribeDBInstanceDataBloatResponseBody extends TeaModel {
@NameInMap("Items")
private java.util.List < Items> items;
@NameInMap("PageNumber")
private Integer pageNumber;
@NameInMap("RequestId")
private String requestId;
@NameInMap("TotalCount")
private Integer totalCount;
private DescribeDBInstanceDataBloatResponseBody(Builder builder) {
this.items = builder.items;
this.pageNumber = builder.pageNumber;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeDBInstanceDataBloatResponseBody create() {
return builder().build();
}
/**
* @return items
*/
public java.util.List < Items> getItems() {
return this.items;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private java.util.List < Items> items;
private Integer pageNumber;
private String requestId;
private Integer totalCount;
/**
* Details of data bloat.
*/
public Builder items(java.util.List < Items> items) {
this.items = items;
return this;
}
/**
* The page number of the returned page.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* The ID of the request.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The total number of entries.
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public DescribeDBInstanceDataBloatResponseBody build() {
return new DescribeDBInstanceDataBloatResponseBody(this);
}
}
public static class Items extends TeaModel {
@NameInMap("BloatCeoff")
private String bloatCeoff;
@NameInMap("BloatSize")
private String bloatSize;
@NameInMap("DatabaseName")
private String databaseName;
@NameInMap("ExpectTableSize")
private String expectTableSize;
@NameInMap("RealTableSize")
private String realTableSize;
@NameInMap("SchemaName")
private String schemaName;
@NameInMap("Sequence")
private Integer sequence;
@NameInMap("StorageType")
private String storageType;
@NameInMap("SuggestedAction")
private String suggestedAction;
@NameInMap("TableName")
private String tableName;
@NameInMap("TimeLastUpdated")
private String timeLastUpdated;
@NameInMap("TimeLastVacuumed")
private String timeLastVacuumed;
private Items(Builder builder) {
this.bloatCeoff = builder.bloatCeoff;
this.bloatSize = builder.bloatSize;
this.databaseName = builder.databaseName;
this.expectTableSize = builder.expectTableSize;
this.realTableSize = builder.realTableSize;
this.schemaName = builder.schemaName;
this.sequence = builder.sequence;
this.storageType = builder.storageType;
this.suggestedAction = builder.suggestedAction;
this.tableName = builder.tableName;
this.timeLastUpdated = builder.timeLastUpdated;
this.timeLastVacuumed = builder.timeLastVacuumed;
}
public static Builder builder() {
return new Builder();
}
public static Items create() {
return builder().build();
}
/**
* @return bloatCeoff
*/
public String getBloatCeoff() {
return this.bloatCeoff;
}
/**
* @return bloatSize
*/
public String getBloatSize() {
return this.bloatSize;
}
/**
* @return databaseName
*/
public String getDatabaseName() {
return this.databaseName;
}
/**
* @return expectTableSize
*/
public String getExpectTableSize() {
return this.expectTableSize;
}
/**
* @return realTableSize
*/
public String getRealTableSize() {
return this.realTableSize;
}
/**
* @return schemaName
*/
public String getSchemaName() {
return this.schemaName;
}
/**
* @return sequence
*/
public Integer getSequence() {
return this.sequence;
}
/**
* @return storageType
*/
public String getStorageType() {
return this.storageType;
}
/**
* @return suggestedAction
*/
public String getSuggestedAction() {
return this.suggestedAction;
}
/**
* @return tableName
*/
public String getTableName() {
return this.tableName;
}
/**
* @return timeLastUpdated
*/
public String getTimeLastUpdated() {
return this.timeLastUpdated;
}
/**
* @return timeLastVacuumed
*/
public String getTimeLastVacuumed() {
return this.timeLastVacuumed;
}
public static final class Builder {
private String bloatCeoff;
private String bloatSize;
private String databaseName;
private String expectTableSize;
private String realTableSize;
private String schemaName;
private Integer sequence;
private String storageType;
private String suggestedAction;
private String tableName;
private String timeLastUpdated;
private String timeLastVacuumed;
/**
* The coefficient of data bloat. It is calculated by using the following formula:
*
*
* Bloat coefficient = Number of dead rows/Number of active rows.
*/
public Builder bloatCeoff(String bloatCeoff) {
this.bloatCeoff = bloatCeoff;
return this;
}
/**
* The bloat size of the table. It indicates the amount of space that can be released.
*/
public Builder bloatSize(String bloatSize) {
this.bloatSize = bloatSize;
return this;
}
/**
* The name of the database.
*/
public Builder databaseName(String databaseName) {
this.databaseName = databaseName;
return this;
}
/**
* The expected size of the table.
*
*
* It indicates the size of the table that has no data bloat.
*/
public Builder expectTableSize(String expectTableSize) {
this.expectTableSize = expectTableSize;
return this;
}
/**
* The actual size of the table.
*/
public Builder realTableSize(String realTableSize) {
this.realTableSize = realTableSize;
return this;
}
/**
* The name of the schema.
*/
public Builder schemaName(String schemaName) {
this.schemaName = schemaName;
return this;
}
/**
* The sequence number.
*/
public Builder sequence(Integer sequence) {
this.sequence = sequence;
return this;
}
/**
* The storage type of the table. Valid values:
*
*
* * **Heap Table**
* * **Append-Only Heap Table**
* * **Append-Only Columnar Table**
*/
public Builder storageType(String storageType) {
this.storageType = storageType;
return this;
}
/**
* This parameter is not returned.
*/
public Builder suggestedAction(String suggestedAction) {
this.suggestedAction = suggestedAction;
return this;
}
/**
* The name of the table.
*/
public Builder tableName(String tableName) {
this.tableName = tableName;
return this;
}
/**
* The time when the table was last deleted, inserted, or updated.
*/
public Builder timeLastUpdated(String timeLastUpdated) {
this.timeLastUpdated = timeLastUpdated;
return this;
}
/**
* The time when the table was last vacuumed. The time is displayed in UTC.
*/
public Builder timeLastVacuumed(String timeLastVacuumed) {
this.timeLastVacuumed = timeLastVacuumed;
return this;
}
public Items build() {
return new Items(this);
}
}
}
}