public static class SqlFirewallAllowedSql.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SqlFirewallAllowedSql |
build() |
SqlFirewallAllowedSql.Builder |
compartmentId(String compartmentId)
The OCID of the compartment containing the SQL Firewall allowed SQL.
|
SqlFirewallAllowedSql.Builder |
copy(SqlFirewallAllowedSql model) |
SqlFirewallAllowedSql.Builder |
currentUser(String currentUser)
The name of the user that SQL was executed as.
|
SqlFirewallAllowedSql.Builder |
dbUserName(String dbUserName)
The database user name.
|
SqlFirewallAllowedSql.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
SqlFirewallAllowedSql.Builder |
description(String description)
The description of the SQL Firewall allowed SQL.
|
SqlFirewallAllowedSql.Builder |
displayName(String displayName)
The display name of the SQL Firewall allowed SQL.
|
SqlFirewallAllowedSql.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
SqlFirewallAllowedSql.Builder |
id(String id)
The OCID of the SQL Firewall allowed SQL.
|
SqlFirewallAllowedSql.Builder |
lifecycleState(SqlFirewallAllowedSqlLifecycleState lifecycleState)
The current state of the SQL Firewall allowed SQL.
|
SqlFirewallAllowedSql.Builder |
sqlAccessedObjects(List<String> sqlAccessedObjects)
The objects accessed by the SQL.
|
SqlFirewallAllowedSql.Builder |
sqlFirewallPolicyId(String sqlFirewallPolicyId)
The OCID of the SQL Firewall policy corresponding to the SQL Firewall allowed SQL.
|
SqlFirewallAllowedSql.Builder |
sqlLevel(SqlFirewallAllowedSql.SqlLevel sqlLevel)
Specifies the level of SQL included for this SQL Firewall policy.
|
SqlFirewallAllowedSql.Builder |
sqlText(String sqlText)
The SQL text of the SQL Firewall allowed SQL.
|
SqlFirewallAllowedSql.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
SqlFirewallAllowedSql.Builder |
timeCollected(Date timeCollected)
The time the the SQL Firewall allowed SQL was collected from the target database, in the
format defined by RFC3339.
|
SqlFirewallAllowedSql.Builder |
timeUpdated(Date timeUpdated)
The last date and time the SQL Firewall allowed SQL was updated, in the format defined by
RFC3339.
|
SqlFirewallAllowedSql.Builder |
version(Float version)
Version of the associated SQL Firewall policy.
|
public SqlFirewallAllowedSql.Builder id(String id)
The OCID of the SQL Firewall allowed SQL.
id
- the value to setpublic SqlFirewallAllowedSql.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the SQL Firewall allowed SQL.
compartmentId
- the value to setpublic SqlFirewallAllowedSql.Builder displayName(String displayName)
The display name of the SQL Firewall allowed SQL.
displayName
- the value to setpublic SqlFirewallAllowedSql.Builder description(String description)
The description of the SQL Firewall allowed SQL.
description
- the value to setpublic SqlFirewallAllowedSql.Builder sqlFirewallPolicyId(String sqlFirewallPolicyId)
The OCID of the SQL Firewall policy corresponding to the SQL Firewall allowed SQL.
sqlFirewallPolicyId
- the value to setpublic SqlFirewallAllowedSql.Builder currentUser(String currentUser)
The name of the user that SQL was executed as.
currentUser
- the value to setpublic SqlFirewallAllowedSql.Builder dbUserName(String dbUserName)
The database user name.
dbUserName
- the value to setpublic SqlFirewallAllowedSql.Builder sqlText(String sqlText)
The SQL text of the SQL Firewall allowed SQL.
sqlText
- the value to setpublic SqlFirewallAllowedSql.Builder sqlLevel(SqlFirewallAllowedSql.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.
sqlLevel
- the value to setpublic SqlFirewallAllowedSql.Builder sqlAccessedObjects(List<String> sqlAccessedObjects)
The objects accessed by the SQL.
sqlAccessedObjects
- the value to setpublic SqlFirewallAllowedSql.Builder version(Float version)
Version of the associated SQL Firewall policy. This identifies whether the allowed SQLs were added in the same batch or not.
version
- the value to setpublic SqlFirewallAllowedSql.Builder timeCollected(Date timeCollected)
The time the the SQL Firewall allowed SQL was collected from the target database, in the format defined by RFC3339.
timeCollected
- the value to setpublic SqlFirewallAllowedSql.Builder timeUpdated(Date timeUpdated)
The last date and time the SQL Firewall allowed SQL was updated, in the format defined by RFC3339.
timeUpdated
- the value to setpublic SqlFirewallAllowedSql.Builder lifecycleState(SqlFirewallAllowedSqlLifecycleState lifecycleState)
The current state of the SQL Firewall allowed SQL.
lifecycleState
- the value to setpublic SqlFirewallAllowedSql.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic SqlFirewallAllowedSql.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic SqlFirewallAllowedSql.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. For more
information, see Resource Tags. Example: {"orcl-cloud": {"free-tier-retained":
"true"}}
systemTags
- the value to setpublic SqlFirewallAllowedSql build()
public SqlFirewallAllowedSql.Builder copy(SqlFirewallAllowedSql model)
Copyright © 2016–2024. All rights reserved.