Package com.oracle.bmc.datasafe.model
Class SqlFirewallViolationAggregationDimensions.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.SqlFirewallViolationAggregationDimensions.Builder
-
- Enclosing class:
- SqlFirewallViolationAggregationDimensions
public static class SqlFirewallViolationAggregationDimensions.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
operationTime
public SqlFirewallViolationAggregationDimensions.Builder operationTime(List<Date> operationTime)
The time of the SQL violation occurrence in the target database.- Parameters:
operationTime
- the value to set- Returns:
- this builder
-
dbUserName
public SqlFirewallViolationAggregationDimensions.Builder dbUserName(List<String> dbUserName)
The name of the database user.- Parameters:
dbUserName
- the value to set- Returns:
- this builder
-
targetId
public SqlFirewallViolationAggregationDimensions.Builder targetId(List<String> targetId)
The OCID of the target database.- Parameters:
targetId
- the value to set- Returns:
- this builder
-
targetName
public SqlFirewallViolationAggregationDimensions.Builder targetName(List<String> targetName)
The name of the target database.- Parameters:
targetName
- the value to set- Returns:
- this builder
-
clientProgram
public SqlFirewallViolationAggregationDimensions.Builder clientProgram(List<String> clientProgram)
The application from which the SQL violation was generated.Examples SQL Plus or SQL Developer.
- Parameters:
clientProgram
- the value to set- Returns:
- this builder
-
operation
public SqlFirewallViolationAggregationDimensions.Builder operation(List<String> operation)
The name of the action executed by the user on the target database, for example, ALTER, CREATE, DROP.- Parameters:
operation
- the value to set- Returns:
- this builder
-
clientOsUserName
public SqlFirewallViolationAggregationDimensions.Builder clientOsUserName(List<String> clientOsUserName)
The name of the operating system user for the database session.- Parameters:
clientOsUserName
- the value to set- Returns:
- this builder
-
violationCause
public SqlFirewallViolationAggregationDimensions.Builder violationCause(List<String> violationCause)
Indicates whether SQL or context violation.- Parameters:
violationCause
- the value to set- Returns:
- this builder
-
clientIp
public SqlFirewallViolationAggregationDimensions.Builder clientIp(List<String> clientIp)
The IP address of the host from which the session was spawned.- Parameters:
clientIp
- the value to set- Returns:
- this builder
-
violationAction
public SqlFirewallViolationAggregationDimensions.Builder violationAction(List<String> violationAction)
The action taken for this SQL violation.- Parameters:
violationAction
- the value to set- Returns:
- this builder
-
sqlLevel
public SqlFirewallViolationAggregationDimensions.Builder sqlLevel(List<SqlFirewallViolationAggregationDimensions.SqlLevel> sqlLevel)
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.
- Parameters:
sqlLevel
- the value to set- Returns:
- this builder
-
build
public SqlFirewallViolationAggregationDimensions build()
-
copy
public SqlFirewallViolationAggregationDimensions.Builder copy(SqlFirewallViolationAggregationDimensions model)
-
-