Package com.oracle.bmc.datasafe.model
Class SqlFirewallViolationAggregationDimensions
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.SqlFirewallViolationAggregationDimensions
-
@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 theSqlFirewallViolationAggregationDimensions.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 theSqlFirewallViolationAggregationDimensions.Builder
, which maintain a set of all explicitly set fields calledSqlFirewallViolationAggregationDimensions.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SqlFirewallViolationAggregationDimensions.Builder
static class
SqlFirewallViolationAggregationDimensions.SqlLevel
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
SqlFirewallViolationAggregationDimensions
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static SqlFirewallViolationAggregationDimensions.Builder builder()
Create a new builder.
-
toBuilder
public SqlFirewallViolationAggregationDimensions.Builder toBuilder()
-
getOperationTime
public List<Date> getOperationTime()
The time of the SQL violation occurrence in the target database.- Returns:
- the value
-
getTargetName
public List<String> getTargetName()
The name of the target database.- Returns:
- the value
-
getClientProgram
public List<String> getClientProgram()
The application from which the SQL violation was generated.Examples SQL Plus or SQL Developer.
- Returns:
- the value
-
getOperation
public List<String> getOperation()
The name of the action executed by the user on the target database, for example, ALTER, CREATE, DROP.- Returns:
- the value
-
getClientOsUserName
public List<String> getClientOsUserName()
The name of the operating system user for the database session.- Returns:
- the value
-
getViolationCause
public List<String> getViolationCause()
Indicates whether SQL or context violation.- Returns:
- the value
-
getClientIp
public List<String> getClientIp()
The IP address of the host from which the session was spawned.- Returns:
- the value
-
getViolationAction
public List<String> getViolationAction()
The action taken for this SQL violation.- Returns:
- the value
-
getSqlLevel
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.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-