public static class UpdateSqlFirewallPolicyDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public 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.
displayName
- the value to setpublic UpdateSqlFirewallPolicyDetails.Builder description(String description)
The description of the SQL Firewall policy.
description
- the value to setpublic UpdateSqlFirewallPolicyDetails.Builder status(UpdateSqlFirewallPolicyDetails.Status status)
Specifies whether the SQL Firewall policy is enabled or disabled.
status
- the value to setpublic UpdateSqlFirewallPolicyDetails.Builder enforcementScope(UpdateSqlFirewallPolicyDetails.EnforcementScope enforcementScope)
Specifies the SQL Firewall policy enforcement option.
enforcementScope
- the value to setpublic UpdateSqlFirewallPolicyDetails.Builder violationAction(UpdateSqlFirewallPolicyDetails.ViolationAction violationAction)
Specifies the SQL Firewall action based on detection of SQL Firewall violations.
violationAction
- the value to setpublic UpdateSqlFirewallPolicyDetails.Builder violationAudit(UpdateSqlFirewallPolicyDetails.ViolationAudit violationAudit)
Specifies whether a unified audit policy should be enabled for auditing the SQL Firewall policy violations.
violationAudit
- the value to setpublic UpdateSqlFirewallPolicyDetails.Builder allowedClientIps(List<String> allowedClientIps)
List of allowed ip addresses for the SQL Firewall policy.
allowedClientIps
- the value to setpublic UpdateSqlFirewallPolicyDetails.Builder allowedClientOsUsernames(List<String> allowedClientOsUsernames)
List of allowed operating system user names for the SQL Firewall policy.
allowedClientOsUsernames
- the value to setpublic UpdateSqlFirewallPolicyDetails.Builder allowedClientPrograms(List<String> allowedClientPrograms)
List of allowed client programs for the SQL Firewall policy.
allowedClientPrograms
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic UpdateSqlFirewallPolicyDetails build()
public UpdateSqlFirewallPolicyDetails.Builder copy(UpdateSqlFirewallPolicyDetails model)
Copyright © 2016–2024. All rights reserved.