Package com.oracle.bmc.datasafe.model
Class UpdateSqlFirewallPolicyDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.model.UpdateSqlFirewallPolicyDetails.Builder
 
- 
- Enclosing class:
- UpdateSqlFirewallPolicyDetails
 
 public static class UpdateSqlFirewallPolicyDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
displayNamepublic UpdateSqlFirewallPolicyDetails.Builder displayName(String displayName) The display name of the SQL Firewall policy.The name does not have to be unique, and it is changeable. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic UpdateSqlFirewallPolicyDetails.Builder description(String description) The description of the SQL Firewall policy.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
statuspublic UpdateSqlFirewallPolicyDetails.Builder status(UpdateSqlFirewallPolicyDetails.Status status) Specifies whether the SQL Firewall policy is enabled or disabled.- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
enforcementScopepublic UpdateSqlFirewallPolicyDetails.Builder enforcementScope(UpdateSqlFirewallPolicyDetails.EnforcementScope enforcementScope) Specifies the SQL Firewall policy enforcement option.- Parameters:
- enforcementScope- the value to set
- Returns:
- this builder
 
 - 
violationActionpublic UpdateSqlFirewallPolicyDetails.Builder violationAction(UpdateSqlFirewallPolicyDetails.ViolationAction violationAction) Specifies the SQL Firewall action based on detection of SQL Firewall violations.- Parameters:
- violationAction- the value to set
- Returns:
- this builder
 
 - 
violationAuditpublic UpdateSqlFirewallPolicyDetails.Builder violationAudit(UpdateSqlFirewallPolicyDetails.ViolationAudit violationAudit) Specifies whether a unified audit policy should be enabled for auditing the SQL Firewall policy violations.- Parameters:
- violationAudit- the value to set
- Returns:
- this builder
 
 - 
allowedClientIpspublic UpdateSqlFirewallPolicyDetails.Builder allowedClientIps(List<String> allowedClientIps) List of allowed ip addresses for the SQL Firewall policy.- Parameters:
- allowedClientIps- the value to set
- Returns:
- this builder
 
 - 
allowedClientOsUsernamespublic UpdateSqlFirewallPolicyDetails.Builder allowedClientOsUsernames(List<String> allowedClientOsUsernames) List of allowed operating system user names for the SQL Firewall policy.- Parameters:
- allowedClientOsUsernames- the value to set
- Returns:
- this builder
 
 - 
allowedClientProgramspublic UpdateSqlFirewallPolicyDetails.Builder allowedClientPrograms(List<String> allowedClientPrograms) List of allowed client programs for the SQL Firewall policy.- Parameters:
- allowedClientPrograms- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic UpdateSqlFirewallPolicyDetails.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"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic UpdateSqlFirewallPolicyDetails.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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic UpdateSqlFirewallPolicyDetails build() 
 - 
copypublic UpdateSqlFirewallPolicyDetails.Builder copy(UpdateSqlFirewallPolicyDetails model) 
 
- 
 
-