Class 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 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).
    • Method Detail

      • getOperationTime

        public List<Date> getOperationTime()
        The time of the SQL violation occurrence in the target database.
        Returns:
        the value
      • getDbUserName

        public List<String> getDbUserName()
        The name of the database user.
        Returns:
        the value
      • getTargetId

        public List<String> getTargetId()
        The OCID of 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 class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel