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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
idpublic SqlFirewallViolationSummary.Builder id(String id) The OCID of the SQL violation.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic SqlFirewallViolationSummary.Builder compartmentId(String compartmentId) The OCID of the compartment containing the SQL violation.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
dbUserNamepublic SqlFirewallViolationSummary.Builder dbUserName(String dbUserName) The name of the database user.- Parameters:
- dbUserName- the value to set
- Returns:
- this builder
 
 - 
targetIdpublic SqlFirewallViolationSummary.Builder targetId(String targetId) The OCID of the target database.- Parameters:
- targetId- the value to set
- Returns:
- this builder
 
 - 
targetNamepublic SqlFirewallViolationSummary.Builder targetName(String targetName) The name of the target database.- Parameters:
- targetName- the value to set
- Returns:
- this builder
 
 - 
operationTimepublic 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
 
 - 
timeCollectedpublic 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
 
 - 
clientOsUserNamepublic 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
 
 - 
operationpublic 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
 
 - 
sqlTextpublic SqlFirewallViolationSummary.Builder sqlText(String sqlText) The SQL text caught by the firewall.- Parameters:
- sqlText- the value to set
- Returns:
- this builder
 
 - 
sqlAccessedObjectspublic SqlFirewallViolationSummary.Builder sqlAccessedObjects(String sqlAccessedObjects) The objects accessed by the SQL.- Parameters:
- sqlAccessedObjects- the value to set
- Returns:
- this builder
 
 - 
currentDbUserNamepublic SqlFirewallViolationSummary.Builder currentDbUserName(String currentDbUserName) The name of the user that SQL was executed as.- Parameters:
- currentDbUserName- the value to set
- Returns:
- this builder
 
 - 
sqlLevelpublic 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
 
 - 
clientIppublic 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
 
 - 
clientProgrampublic 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
 
 - 
violationCausepublic SqlFirewallViolationSummary.Builder violationCause(String violationCause) Indicates whether SQL or context violation.- Parameters:
- violationCause- the value to set
- Returns:
- this builder
 
 - 
violationActionpublic SqlFirewallViolationSummary.Builder violationAction(SqlFirewallViolationSummary.ViolationAction violationAction) The action taken for this SQL violation.- Parameters:
- violationAction- the value to set
- Returns:
- this builder
 
 - 
buildpublic SqlFirewallViolationSummary build() 
 - 
copypublic SqlFirewallViolationSummary.Builder copy(SqlFirewallViolationSummary model) 
 
- 
 
-