public static class ListProxySQLExecAuditLogResponseBody.ListProxySQLExecAuditLogResponseBodyProxySQLExecAuditLogListProxySQLExecAuditLog
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Long |
affectRows
Indicates the total number of rows returned after the SQL statement was executed.
|
Long |
elapsedTime
The amount of time that is consumed to execute the SQL statement.
|
String |
execState
The execution status of the SQL statement.
|
Long |
instanceId
The ID of the database instance.
|
String |
instanceName
The name of the database instance.
|
String |
opTime
The time at which the user executes the SQL statement on the database instance.
|
String |
remark
The description.
|
String |
schemaName
The name of the database.
|
String |
SQL
The SQL statement that was executed.
|
String |
SQLType
The type of the SQL statement.
|
Long |
userId
The ID of the user.
|
String |
userName
The nickname of the user.
|
@NameInMap(value="AffectRows") public Long affectRows
Indicates the total number of rows returned after the SQL statement was executed. If an SELECT SQL statement is executed, the return value of this parameter indicates the total number of the queried data rows.
example:1
@NameInMap(value="ElapsedTime") public Long elapsedTime
The amount of time that is consumed to execute the SQL statement. Unit: milliseconds.
example:1324
@NameInMap(value="ExecState") public String execState
The execution status of the SQL statement. Valid values:
SUCCESS
@NameInMap(value="InstanceId") public Long instanceId
The ID of the database instance.
example:4***
@NameInMap(value="InstanceName") public String instanceName
The name of the database instance.
example:pc-uf662nrg017c6****.mysql.polardb.rds.aliyuncs.com:3306【test】
@NameInMap(value="OpTime") public String opTime
The time at which the user executes the SQL statement on the database instance. The value of this parameter must be a timestamp that follows the UNIX time format.
example:1636876446000
@NameInMap(value="Remark") public String remark
The description.
example:success
@NameInMap(value="SQL") public String SQL
The SQL statement that was executed.
example:select 1;
@NameInMap(value="SQLType") public String SQLType
The type of the SQL statement. Valid values:
example:You can choose Operation Audit > Secure Access Proxy in the top navigation bar of the DMS console to view more types of SQL statements.
SELECT
@NameInMap(value="SchemaName") public String schemaName
The name of the database.
example:test_db
@NameInMap(value="UserId") public Long userId
The ID of the user.
example:4****
@NameInMap(value="UserName") public String userName
The nickname of the user.
example:testNickName
public ListProxySQLExecAuditLogResponseBodyProxySQLExecAuditLogListProxySQLExecAuditLog()
public static ListProxySQLExecAuditLogResponseBody.ListProxySQLExecAuditLogResponseBodyProxySQLExecAuditLogListProxySQLExecAuditLog build(Map<String,?> map) throws Exception
Exceptionpublic ListProxySQLExecAuditLogResponseBody.ListProxySQLExecAuditLogResponseBodyProxySQLExecAuditLogListProxySQLExecAuditLog setAffectRows(Long affectRows)
public Long getAffectRows()
public ListProxySQLExecAuditLogResponseBody.ListProxySQLExecAuditLogResponseBodyProxySQLExecAuditLogListProxySQLExecAuditLog setElapsedTime(Long elapsedTime)
public Long getElapsedTime()
public ListProxySQLExecAuditLogResponseBody.ListProxySQLExecAuditLogResponseBodyProxySQLExecAuditLogListProxySQLExecAuditLog setExecState(String execState)
public String getExecState()
public ListProxySQLExecAuditLogResponseBody.ListProxySQLExecAuditLogResponseBodyProxySQLExecAuditLogListProxySQLExecAuditLog setInstanceId(Long instanceId)
public Long getInstanceId()
public ListProxySQLExecAuditLogResponseBody.ListProxySQLExecAuditLogResponseBodyProxySQLExecAuditLogListProxySQLExecAuditLog setInstanceName(String instanceName)
public String getInstanceName()
public ListProxySQLExecAuditLogResponseBody.ListProxySQLExecAuditLogResponseBodyProxySQLExecAuditLogListProxySQLExecAuditLog setOpTime(String opTime)
public String getOpTime()
public ListProxySQLExecAuditLogResponseBody.ListProxySQLExecAuditLogResponseBodyProxySQLExecAuditLogListProxySQLExecAuditLog setRemark(String remark)
public String getRemark()
public ListProxySQLExecAuditLogResponseBody.ListProxySQLExecAuditLogResponseBodyProxySQLExecAuditLogListProxySQLExecAuditLog setSQL(String SQL)
public String getSQL()
public ListProxySQLExecAuditLogResponseBody.ListProxySQLExecAuditLogResponseBodyProxySQLExecAuditLogListProxySQLExecAuditLog setSQLType(String SQLType)
public String getSQLType()
public ListProxySQLExecAuditLogResponseBody.ListProxySQLExecAuditLogResponseBodyProxySQLExecAuditLogListProxySQLExecAuditLog setSchemaName(String schemaName)
public String getSchemaName()
public ListProxySQLExecAuditLogResponseBody.ListProxySQLExecAuditLogResponseBodyProxySQLExecAuditLogListProxySQLExecAuditLog setUserId(Long userId)
public Long getUserId()
public ListProxySQLExecAuditLogResponseBody.ListProxySQLExecAuditLogResponseBodyProxySQLExecAuditLogListProxySQLExecAuditLog setUserName(String userName)
public String getUserName()
Copyright © 2025. All rights reserved.