All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.gpdb20160503.models.DescribeLogBackupsResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.gpdb20160503.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link DescribeLogBackupsResponseBody} extends {@link TeaModel}
 *
 * 

DescribeLogBackupsResponseBody

*/ public class DescribeLogBackupsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Items") private java.util.List < Items> items; @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; @com.aliyun.core.annotation.NameInMap("TotalLogSize") private Long totalLogSize; private DescribeLogBackupsResponseBody(Builder builder) { this.items = builder.items; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; this.totalLogSize = builder.totalLogSize; } public static Builder builder() { return new Builder(); } public static DescribeLogBackupsResponseBody create() { return builder().build(); } /** * @return items */ public java.util.List < Items> getItems() { return this.items; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } /** * @return totalLogSize */ public Long getTotalLogSize() { return this.totalLogSize; } public static final class Builder { private java.util.List < Items> items; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; private Long totalLogSize; /** * Details of the backup sets. */ 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 number of backup sets on the current page. */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; 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; } /** * The total size of logs in the time range. Unit: bytes. */ public Builder totalLogSize(Long totalLogSize) { this.totalLogSize = totalLogSize; return this; } public DescribeLogBackupsResponseBody build() { return new DescribeLogBackupsResponseBody(this); } } public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("BackupId") private String backupId; @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.NameInMap("LogFileName") private String logFileName; @com.aliyun.core.annotation.NameInMap("LogFileSize") private Long logFileSize; @com.aliyun.core.annotation.NameInMap("LogTime") private String logTime; @com.aliyun.core.annotation.NameInMap("SegmentName") private String segmentName; private Items(Builder builder) { this.backupId = builder.backupId; this.DBInstanceId = builder.DBInstanceId; this.logFileName = builder.logFileName; this.logFileSize = builder.logFileSize; this.logTime = builder.logTime; this.segmentName = builder.segmentName; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return backupId */ public String getBackupId() { return this.backupId; } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return logFileName */ public String getLogFileName() { return this.logFileName; } /** * @return logFileSize */ public Long getLogFileSize() { return this.logFileSize; } /** * @return logTime */ public String getLogTime() { return this.logTime; } /** * @return segmentName */ public String getSegmentName() { return this.segmentName; } public static final class Builder { private String backupId; private String DBInstanceId; private String logFileName; private Long logFileSize; private String logTime; private String segmentName; /** * The ID of the backup set. */ public Builder backupId(String backupId) { this.backupId = backupId; return this; } /** * The ID of the coordinator node. */ public Builder DBInstanceId(String DBInstanceId) { this.DBInstanceId = DBInstanceId; return this; } /** * The name of the log backup set that is stored in Object Storage Service (OSS). */ public Builder logFileName(String logFileName) { this.logFileName = logFileName; return this; } /** * The size of the log backup set. Unit: bytes. */ public Builder logFileSize(Long logFileSize) { this.logFileSize = logFileSize; return this; } /** * The timestamp of the log. */ public Builder logTime(String logTime) { this.logTime = logTime; return this; } /** * The name of the compute node. */ public Builder segmentName(String segmentName) { this.segmentName = segmentName; return this; } public Items build() { return new Items(this); } } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy