Package com.oracle.bmc.datasafe.model
Class SqlFirewallViolationSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.SqlFirewallViolationSummary.Builder
-
- Enclosing class:
- SqlFirewallViolationSummary
public static class SqlFirewallViolationSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlFirewallViolationSummarybuild()SqlFirewallViolationSummary.BuilderclientIp(String clientIp)The IP address of the host machine from which the session was generated.SqlFirewallViolationSummary.BuilderclientOsUserName(String clientOsUserName)The name of the operating system user for the database session.SqlFirewallViolationSummary.BuilderclientProgram(String clientProgram)The application from which the SQL violation was generated.SqlFirewallViolationSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the SQL violation.SqlFirewallViolationSummary.Buildercopy(SqlFirewallViolationSummary model)SqlFirewallViolationSummary.BuildercurrentDbUserName(String currentDbUserName)The name of the user that SQL was executed as.SqlFirewallViolationSummary.BuilderdbUserName(String dbUserName)The name of the database user.SqlFirewallViolationSummary.Builderid(String id)The OCID of the SQL violation.SqlFirewallViolationSummary.Builderoperation(String operation)The name of the action executed by the user on the target database.SqlFirewallViolationSummary.BuilderoperationTime(Date operationTime)The time of the SQL violation occurrence in the target database.SqlFirewallViolationSummary.BuildersqlAccessedObjects(String sqlAccessedObjects)The objects accessed by the SQL.SqlFirewallViolationSummary.BuildersqlLevel(SqlFirewallViolationSummary.SqlLevel sqlLevel)Specifies the level of SQL for this violation.SqlFirewallViolationSummary.BuildersqlText(String sqlText)The SQL text caught by the firewall.SqlFirewallViolationSummary.BuildertargetId(String targetId)The OCID of the target database.SqlFirewallViolationSummary.BuildertargetName(String targetName)The name of the target database.SqlFirewallViolationSummary.BuildertimeCollected(Date timeCollected)The timestamp when this SQL violation was collected from the target database by Data Safe.SqlFirewallViolationSummary.BuilderviolationAction(SqlFirewallViolationSummary.ViolationAction violationAction)The action taken for this SQL violation.SqlFirewallViolationSummary.BuilderviolationCause(String violationCause)Indicates whether SQL or context violation.
-
-
-
Method Detail
-
id
public SqlFirewallViolationSummary.Builder id(String id)
The OCID of the SQL violation.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public SqlFirewallViolationSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the SQL violation.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
dbUserName
public SqlFirewallViolationSummary.Builder dbUserName(String dbUserName)
The name of the database user.- Parameters:
dbUserName- the value to set- Returns:
- this builder
-
targetId
public SqlFirewallViolationSummary.Builder targetId(String targetId)
The OCID of the target database.- Parameters:
targetId- the value to set- Returns:
- this builder
-
targetName
public SqlFirewallViolationSummary.Builder targetName(String targetName)
The name of the target database.- Parameters:
targetName- the value to set- Returns:
- this builder
-
operationTime
public SqlFirewallViolationSummary.Builder operationTime(Date operationTime)
The time of the SQL violation occurrence in the target database.- Parameters:
operationTime- the value to set- Returns:
- this builder
-
timeCollected
public SqlFirewallViolationSummary.Builder timeCollected(Date timeCollected)
The timestamp when this SQL violation was collected from the target database by Data Safe.- Parameters:
timeCollected- the value to set- Returns:
- this builder
-
clientOsUserName
public SqlFirewallViolationSummary.Builder clientOsUserName(String clientOsUserName)
The name of the operating system user for the database session.- Parameters:
clientOsUserName- the value to set- Returns:
- this builder
-
operation
public SqlFirewallViolationSummary.Builder operation(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
-
sqlText
public SqlFirewallViolationSummary.Builder sqlText(String sqlText)
The SQL text caught by the firewall.- Parameters:
sqlText- the value to set- Returns:
- this builder
-
sqlAccessedObjects
public SqlFirewallViolationSummary.Builder sqlAccessedObjects(String sqlAccessedObjects)
The objects accessed by the SQL.- Parameters:
sqlAccessedObjects- the value to set- Returns:
- this builder
-
currentDbUserName
public SqlFirewallViolationSummary.Builder currentDbUserName(String currentDbUserName)
The name of the user that SQL was executed as.- Parameters:
currentDbUserName- the value to set- Returns:
- this builder
-
sqlLevel
public SqlFirewallViolationSummary.Builder sqlLevel(SqlFirewallViolationSummary.SqlLevel sqlLevel)
Specifies the level of SQL for this violation.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
-
clientIp
public SqlFirewallViolationSummary.Builder clientIp(String clientIp)
The IP address of the host machine from which the session was generated.- Parameters:
clientIp- the value to set- Returns:
- this builder
-
clientProgram
public SqlFirewallViolationSummary.Builder clientProgram(String clientProgram)
The application from which the SQL violation was generated.Examples include SQL Plus or SQL Developer.
- Parameters:
clientProgram- the value to set- Returns:
- this builder
-
violationCause
public SqlFirewallViolationSummary.Builder violationCause(String violationCause)
Indicates whether SQL or context violation.- Parameters:
violationCause- the value to set- Returns:
- this builder
-
violationAction
public SqlFirewallViolationSummary.Builder violationAction(SqlFirewallViolationSummary.ViolationAction violationAction)
The action taken for this SQL violation.- Parameters:
violationAction- the value to set- Returns:
- this builder
-
build
public SqlFirewallViolationSummary build()
-
copy
public SqlFirewallViolationSummary.Builder copy(SqlFirewallViolationSummary model)
-
-