com.aliyun.sdk.service.gpdb20160503.models.DescribeDownloadSQLLogsResponseBody 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 DescribeDownloadSQLLogsResponseBody} extends {@link TeaModel}
*
* DescribeDownloadSQLLogsResponseBody
*/
public class DescribeDownloadSQLLogsResponseBody extends TeaModel {
@NameInMap("Records")
private java.util.List < Records> records;
@NameInMap("RequestId")
private String requestId;
private DescribeDownloadSQLLogsResponseBody(Builder builder) {
this.records = builder.records;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeDownloadSQLLogsResponseBody create() {
return builder().build();
}
/**
* @return records
*/
public java.util.List < Records> getRecords() {
return this.records;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List < Records> records;
private String requestId;
/**
* The URL that is used to download the file.
*/
public Builder records(java.util.List < Records> records) {
this.records = records;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeDownloadSQLLogsResponseBody build() {
return new DescribeDownloadSQLLogsResponseBody(this);
}
}
public static class Records extends TeaModel {
@NameInMap("DownloadId")
private Long downloadId;
@NameInMap("DownloadUrl")
private String downloadUrl;
@NameInMap("ExceptionMsg")
private String exceptionMsg;
@NameInMap("FileName")
private String fileName;
@NameInMap("Status")
private String status;
private Records(Builder builder) {
this.downloadId = builder.downloadId;
this.downloadUrl = builder.downloadUrl;
this.exceptionMsg = builder.exceptionMsg;
this.fileName = builder.fileName;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static Records create() {
return builder().build();
}
/**
* @return downloadId
*/
public Long getDownloadId() {
return this.downloadId;
}
/**
* @return downloadUrl
*/
public String getDownloadUrl() {
return this.downloadUrl;
}
/**
* @return exceptionMsg
*/
public String getExceptionMsg() {
return this.exceptionMsg;
}
/**
* @return fileName
*/
public String getFileName() {
return this.fileName;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private Long downloadId;
private String downloadUrl;
private String exceptionMsg;
private String fileName;
private String status;
/**
* DownloadId.
*/
public Builder downloadId(Long downloadId) {
this.downloadId = downloadId;
return this;
}
/**
* DownloadUrl.
*/
public Builder downloadUrl(String downloadUrl) {
this.downloadUrl = downloadUrl;
return this;
}
/**
* ExceptionMsg.
*/
public Builder exceptionMsg(String exceptionMsg) {
this.exceptionMsg = exceptionMsg;
return this;
}
/**
* FileName.
*/
public Builder fileName(String fileName) {
this.fileName = fileName;
return this;
}
/**
* Status.
*/
public Builder status(String status) {
this.status = status;
return this;
}
public Records build() {
return new Records(this);
}
}
}
}