public static class SqlFirewallPolicySummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SqlFirewallPolicySummary |
build() |
SqlFirewallPolicySummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment containing the SQL Firewall policy.
|
SqlFirewallPolicySummary.Builder |
copy(SqlFirewallPolicySummary model) |
SqlFirewallPolicySummary.Builder |
dbUserName(String dbUserName)
The database user name.
|
SqlFirewallPolicySummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
SqlFirewallPolicySummary.Builder |
description(String description)
The description of the SQL Firewall policy.
|
SqlFirewallPolicySummary.Builder |
displayName(String displayName)
The display name of the SQL Firewall policy.
|
SqlFirewallPolicySummary.Builder |
enforcementScope(SqlFirewallPolicySummary.EnforcementScope enforcementScope)
Specifies the SQL Firewall policy enforcement option.
|
SqlFirewallPolicySummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
SqlFirewallPolicySummary.Builder |
id(String id)
The OCID of the SQL Firewall policy.
|
SqlFirewallPolicySummary.Builder |
lifecycleDetails(String lifecycleDetails)
Details about the current state of the SQL Firewall policy in Data Safe.
|
SqlFirewallPolicySummary.Builder |
lifecycleState(SqlFirewallPolicyLifecycleState lifecycleState)
The current state of the SQL Firewall policy.
|
SqlFirewallPolicySummary.Builder |
securityPolicyId(String securityPolicyId)
The OCID of the security policy corresponding to the SQL Firewall policy.
|
SqlFirewallPolicySummary.Builder |
sqlLevel(SqlFirewallPolicySummary.SqlLevel sqlLevel)
Specifies the level of SQL included for this SQL Firewall policy.
|
SqlFirewallPolicySummary.Builder |
status(SqlFirewallPolicySummary.Status status)
Specifies whether the SQL Firewall policy is enabled or disabled.
|
SqlFirewallPolicySummary.Builder |
timeCreated(Date timeCreated)
The time that the SQL Firewall policy was created, in the format defined by RFC3339.
|
SqlFirewallPolicySummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the SQL Firewall policy was last updated, in the format defined by
RFC3339.
|
SqlFirewallPolicySummary.Builder |
violationAction(SqlFirewallPolicySummary.ViolationAction violationAction)
Specifies the SQL Firewall action based on detection of SQL Firewall violations.
|
SqlFirewallPolicySummary.Builder |
violationAudit(SqlFirewallPolicySummary.ViolationAudit violationAudit)
Specifies whether a unified audit policy should be enabled for auditing the SQL Firewall
policy violations.
|
public SqlFirewallPolicySummary.Builder id(String id)
The OCID of the SQL Firewall policy.
id
- the value to setpublic SqlFirewallPolicySummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the SQL Firewall policy.
compartmentId
- the value to setpublic SqlFirewallPolicySummary.Builder displayName(String displayName)
The display name of the SQL Firewall policy.
displayName
- the value to setpublic SqlFirewallPolicySummary.Builder description(String description)
The description of the SQL Firewall policy.
description
- the value to setpublic SqlFirewallPolicySummary.Builder securityPolicyId(String securityPolicyId)
The OCID of the security policy corresponding to the SQL Firewall policy.
securityPolicyId
- the value to setpublic SqlFirewallPolicySummary.Builder dbUserName(String dbUserName)
The database user name.
dbUserName
- the value to setpublic SqlFirewallPolicySummary.Builder sqlLevel(SqlFirewallPolicySummary.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 SqlFirewallPolicySummary.Builder status(SqlFirewallPolicySummary.Status status)
Specifies whether the SQL Firewall policy is enabled or disabled.
status
- the value to setpublic SqlFirewallPolicySummary.Builder enforcementScope(SqlFirewallPolicySummary.EnforcementScope enforcementScope)
Specifies the SQL Firewall policy enforcement option.
enforcementScope
- the value to setpublic SqlFirewallPolicySummary.Builder violationAction(SqlFirewallPolicySummary.ViolationAction violationAction)
Specifies the SQL Firewall action based on detection of SQL Firewall violations.
violationAction
- the value to setpublic SqlFirewallPolicySummary.Builder violationAudit(SqlFirewallPolicySummary.ViolationAudit violationAudit)
Specifies whether a unified audit policy should be enabled for auditing the SQL Firewall policy violations.
violationAudit
- the value to setpublic SqlFirewallPolicySummary.Builder timeCreated(Date timeCreated)
The time that the SQL Firewall policy was created, in the format defined by RFC3339.
timeCreated
- the value to setpublic SqlFirewallPolicySummary.Builder timeUpdated(Date timeUpdated)
The date and time the SQL Firewall policy was last updated, in the format defined by RFC3339.
timeUpdated
- the value to setpublic SqlFirewallPolicySummary.Builder lifecycleState(SqlFirewallPolicyLifecycleState lifecycleState)
The current state of the SQL Firewall policy.
lifecycleState
- the value to setpublic SqlFirewallPolicySummary.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the SQL Firewall policy in Data Safe.
lifecycleDetails
- the value to setpublic SqlFirewallPolicySummary.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 SqlFirewallPolicySummary.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 SqlFirewallPolicySummary build()
public SqlFirewallPolicySummary.Builder copy(SqlFirewallPolicySummary model)
Copyright © 2016–2024. All rights reserved.