public static class CreateNetworkFirewallPolicyDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateNetworkFirewallPolicyDetails.Builder displayName(String displayName)
A user-friendly optional name for the firewall policy. Avoid entering confidential information.
displayName
- the value to setpublic CreateNetworkFirewallPolicyDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the NetworkFirewall Policy.
compartmentId
- the value to setpublic CreateNetworkFirewallPolicyDetails.Builder mappedSecrets(Map<String,MappedSecret> mappedSecrets)
Map defining secrets of the policy. The value of an entry is a “mapped secret” consisting of a purpose and source. The associated key is the identifier by which the mapped secret is referenced.
mappedSecrets
- the value to setpublic CreateNetworkFirewallPolicyDetails.Builder applicationLists(Map<String,List<Application>> applicationLists)
Map defining application lists of the policy. The value of an entry is a list of “applications”, each consisting of a protocol identifier (such as TCP, UDP, or ICMP) and protocol-specific parameters (such as a port range). The associated key is the identifier by which the application list is referenced.
applicationLists
- the value to setpublic CreateNetworkFirewallPolicyDetails.Builder urlLists(Map<String,List<UrlPattern>> urlLists)
Map defining URL pattern lists of the policy. The value of an entry is a list of URL patterns. The associated key is the identifier by which the URL pattern list is referenced.
urlLists
- the value to setpublic CreateNetworkFirewallPolicyDetails.Builder ipAddressLists(Map<String,List<String>> ipAddressLists)
Map defining IP address lists of the policy. The value of an entry is a list of IP addresses or prefixes in CIDR notation. The associated key is the identifier by which the IP address list is referenced.
ipAddressLists
- the value to setpublic CreateNetworkFirewallPolicyDetails.Builder securityRules(List<SecurityRule> securityRules)
List of Security Rules defining the behavior of the policy. The first rule with a matching condition determines the action taken upon network traffic.
securityRules
- the value to setpublic CreateNetworkFirewallPolicyDetails.Builder decryptionRules(List<DecryptionRule> decryptionRules)
List of Decryption Rules defining the behavior of the policy. The first rule with a matching condition determines the action taken upon network traffic.
decryptionRules
- the value to setpublic CreateNetworkFirewallPolicyDetails.Builder decryptionProfiles(Map<String,DecryptionProfile> decryptionProfiles)
Map defining decryption profiles of the policy. The value of an entry is a decryption profile. The associated key is the identifier by which the decryption profile is referenced.
decryptionProfiles
- the value to setpublic CreateNetworkFirewallPolicyDetails.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic CreateNetworkFirewallPolicyDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic CreateNetworkFirewallPolicyDetails build()
public CreateNetworkFirewallPolicyDetails.Builder copy(CreateNetworkFirewallPolicyDetails model)
Copyright © 2016–2023. All rights reserved.