@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class SqlFirewallViolationAggregationDimensions extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The details of the aggregation dimensions used for summarizing SQL violations.
Note: Objects should always be created or deserialized using the SqlFirewallViolationAggregationDimensions.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the SqlFirewallViolationAggregationDimensions.Builder
, which maintain a
set of all explicitly set fields called SqlFirewallViolationAggregationDimensions.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
SqlFirewallViolationAggregationDimensions.Builder |
static class |
SqlFirewallViolationAggregationDimensions.SqlLevel |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
SqlFirewallViolationAggregationDimensions(List<Date> operationTime,
List<String> dbUserName,
List<String> targetId,
List<String> targetName,
List<String> clientProgram,
List<String> operation,
List<String> clientOsUserName,
List<String> violationCause,
List<String> clientIp,
List<String> violationAction,
List<SqlFirewallViolationAggregationDimensions.SqlLevel> sqlLevel)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SqlFirewallViolationAggregationDimensions.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<String> |
getClientIp()
The IP address of the host from which the session was spawned.
|
List<String> |
getClientOsUserName()
The name of the operating system user for the database session.
|
List<String> |
getClientProgram()
The application from which the SQL violation was generated.
|
List<String> |
getDbUserName()
The name of the database user.
|
List<String> |
getOperation()
The name of the action executed by the user on the target database, for example, ALTER,
CREATE, DROP.
|
List<Date> |
getOperationTime()
The time of the SQL violation occurrence in the target database.
|
List<SqlFirewallViolationAggregationDimensions.SqlLevel> |
getSqlLevel()
Specifies the level of SQL included for this SQL Firewall policy.
|
List<String> |
getTargetId()
The OCID of the target database.
|
List<String> |
getTargetName()
The name of the target database.
|
List<String> |
getViolationAction()
The action taken for this SQL violation.
|
List<String> |
getViolationCause()
Indicates whether SQL or context violation.
|
int |
hashCode() |
SqlFirewallViolationAggregationDimensions.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"operationTime","dbUserName","targetId","targetName","clientProgram","operation","clientOsUserName","violationCause","clientIp","violationAction","sqlLevel"}) public SqlFirewallViolationAggregationDimensions(List<Date> operationTime, List<String> dbUserName, List<String> targetId, List<String> targetName, List<String> clientProgram, List<String> operation, List<String> clientOsUserName, List<String> violationCause, List<String> clientIp, List<String> violationAction, List<SqlFirewallViolationAggregationDimensions.SqlLevel> sqlLevel)
public static SqlFirewallViolationAggregationDimensions.Builder builder()
Create a new builder.
public SqlFirewallViolationAggregationDimensions.Builder toBuilder()
public List<Date> getOperationTime()
The time of the SQL violation occurrence in the target database.
public List<String> getTargetName()
The name of the target database.
public List<String> getClientProgram()
The application from which the SQL violation was generated. Examples SQL Plus or SQL Developer.
public List<String> getOperation()
The name of the action executed by the user on the target database, for example, ALTER, CREATE, DROP.
public List<String> getClientOsUserName()
The name of the operating system user for the database session.
public List<String> getViolationCause()
Indicates whether SQL or context violation.
public List<String> getClientIp()
The IP address of the host from which the session was spawned.
public List<String> getViolationAction()
The action taken for this SQL violation.
public List<SqlFirewallViolationAggregationDimensions.SqlLevel> getSqlLevel()
Specifies the level of SQL included for this SQL Firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.