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

com.aliyun.sdk.service.gpdb20160503.models.DescribeSQLLogsV2ResponseBody 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 DescribeSQLLogsV2ResponseBody} extends {@link TeaModel}
 *
 * 

DescribeSQLLogsV2ResponseBody

*/ public class DescribeSQLLogsV2ResponseBody 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("PageRecordCount") private Integer pageRecordCount; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeSQLLogsV2ResponseBody(Builder builder) { this.items = builder.items; this.pageNumber = builder.pageNumber; this.pageRecordCount = builder.pageRecordCount; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeSQLLogsV2ResponseBody create() { return builder().build(); } /** * @return items */ public java.util.List < Items> getItems() { return this.items; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageRecordCount */ public Integer getPageRecordCount() { return this.pageRecordCount; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List < Items> items; private Integer pageNumber; private Integer pageRecordCount; private String requestId; /** * Details of the SQL logs. */ 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 entries returned per page. */ public Builder pageRecordCount(Integer pageRecordCount) { this.pageRecordCount = pageRecordCount; return this; } /** * The ID of the request. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeSQLLogsV2ResponseBody build() { return new DescribeSQLLogsV2ResponseBody(this); } } public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("AccountName") private String accountName; @com.aliyun.core.annotation.NameInMap("DBName") private String DBName; @com.aliyun.core.annotation.NameInMap("DBRole") private String DBRole; @com.aliyun.core.annotation.NameInMap("ExecuteCost") private Float executeCost; @com.aliyun.core.annotation.NameInMap("ExecuteState") private String executeState; @com.aliyun.core.annotation.NameInMap("OperationClass") private String operationClass; @com.aliyun.core.annotation.NameInMap("OperationExecuteTime") private String operationExecuteTime; @com.aliyun.core.annotation.NameInMap("OperationType") private String operationType; @com.aliyun.core.annotation.NameInMap("ReturnRowCounts") private Long returnRowCounts; @com.aliyun.core.annotation.NameInMap("SQLText") private String SQLText; @com.aliyun.core.annotation.NameInMap("ScanRowCounts") private Long scanRowCounts; @com.aliyun.core.annotation.NameInMap("SourceIP") private String sourceIP; @com.aliyun.core.annotation.NameInMap("SourcePort") private Integer sourcePort; private Items(Builder builder) { this.accountName = builder.accountName; this.DBName = builder.DBName; this.DBRole = builder.DBRole; this.executeCost = builder.executeCost; this.executeState = builder.executeState; this.operationClass = builder.operationClass; this.operationExecuteTime = builder.operationExecuteTime; this.operationType = builder.operationType; this.returnRowCounts = builder.returnRowCounts; this.SQLText = builder.SQLText; this.scanRowCounts = builder.scanRowCounts; this.sourceIP = builder.sourceIP; this.sourcePort = builder.sourcePort; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return accountName */ public String getAccountName() { return this.accountName; } /** * @return DBName */ public String getDBName() { return this.DBName; } /** * @return DBRole */ public String getDBRole() { return this.DBRole; } /** * @return executeCost */ public Float getExecuteCost() { return this.executeCost; } /** * @return executeState */ public String getExecuteState() { return this.executeState; } /** * @return operationClass */ public String getOperationClass() { return this.operationClass; } /** * @return operationExecuteTime */ public String getOperationExecuteTime() { return this.operationExecuteTime; } /** * @return operationType */ public String getOperationType() { return this.operationType; } /** * @return returnRowCounts */ public Long getReturnRowCounts() { return this.returnRowCounts; } /** * @return SQLText */ public String getSQLText() { return this.SQLText; } /** * @return scanRowCounts */ public Long getScanRowCounts() { return this.scanRowCounts; } /** * @return sourceIP */ public String getSourceIP() { return this.sourceIP; } /** * @return sourcePort */ public Integer getSourcePort() { return this.sourcePort; } public static final class Builder { private String accountName; private String DBName; private String DBRole; private Float executeCost; private String executeState; private String operationClass; private String operationExecuteTime; private String operationType; private Long returnRowCounts; private String SQLText; private Long scanRowCounts; private String sourceIP; private Integer sourcePort; /** * The database account that executes the SQL statement. */ public Builder accountName(String accountName) { this.accountName = accountName; return this; } /** * The name of the database. */ public Builder DBName(String DBName) { this.DBName = DBName; return this; } /** * The role of the database. */ public Builder DBRole(String DBRole) { this.DBRole = DBRole; return this; } /** * The execution duration of the SQL statement. */ public Builder executeCost(Float executeCost) { this.executeCost = executeCost; return this; } /** * The execution status of the SQL statement. Valid values: *

* * * **success** * * **fail** */ public Builder executeState(String executeState) { this.executeState = executeState; return this; } /** * The type of the query language. */ public Builder operationClass(String operationClass) { this.operationClass = operationClass; return this; } /** * The time when the SQL statement was executed. */ public Builder operationExecuteTime(String operationExecuteTime) { this.operationExecuteTime = operationExecuteTime; return this; } /** * The type of the SQL statement. */ public Builder operationType(String operationType) { this.operationType = operationType; return this; } /** * The number of entries returned. */ public Builder returnRowCounts(Long returnRowCounts) { this.returnRowCounts = returnRowCounts; return this; } /** * The SQL statement. */ public Builder SQLText(String SQLText) { this.SQLText = SQLText; return this; } /** * The number of entries scanned. */ public Builder scanRowCounts(Long scanRowCounts) { this.scanRowCounts = scanRowCounts; return this; } /** * The source IP address. */ public Builder sourceIP(String sourceIP) { this.sourceIP = sourceIP; return this; } /** * The number of the source port. */ public Builder sourcePort(Integer sourcePort) { this.sourcePort = sourcePort; return this; } public Items build() { return new Items(this); } } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy