public static class NetworkFirewallPolicy.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NetworkFirewallPolicy.Builder |
applicationLists(Map<String,List<Application>> applicationLists)
Map defining application lists of the policy.
|
NetworkFirewallPolicy |
build() |
NetworkFirewallPolicy.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment containing the NetworkFirewall Policy.
|
NetworkFirewallPolicy.Builder |
copy(NetworkFirewallPolicy model) |
NetworkFirewallPolicy.Builder |
decryptionProfiles(Map<String,DecryptionProfile> decryptionProfiles)
Map defining decryption profiles of the policy.
|
NetworkFirewallPolicy.Builder |
decryptionRules(List<DecryptionRule> decryptionRules)
List of Decryption Rules defining the behavior of the policy.
|
NetworkFirewallPolicy.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
NetworkFirewallPolicy.Builder |
displayName(String displayName)
A user-friendly optional name for the firewall policy.
|
NetworkFirewallPolicy.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
NetworkFirewallPolicy.Builder |
id(String id)
The OCID
of the resource - Network Firewall Policy.
|
NetworkFirewallPolicy.Builder |
ipAddressLists(Map<String,List<String>> ipAddressLists)
Map defining IP address lists of the policy.
|
NetworkFirewallPolicy.Builder |
isFirewallAttached(Boolean isFirewallAttached)
To determine if any Network Firewall is associated with this Network Firewall Policy.
|
NetworkFirewallPolicy.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
NetworkFirewallPolicy.Builder |
lifecycleState(LifecycleState lifecycleState)
The current state of the Network Firewall Policy.
|
NetworkFirewallPolicy.Builder |
mappedSecrets(Map<String,MappedSecret> mappedSecrets)
Map defining secrets of the policy.
|
NetworkFirewallPolicy.Builder |
securityRules(List<SecurityRule> securityRules)
List of Security Rules defining the behavior of the policy.
|
NetworkFirewallPolicy.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
NetworkFirewallPolicy.Builder |
timeCreated(Date timeCreated)
The time instant at which the Network Firewall Policy was created in the format defined
by RFC3339.
|
NetworkFirewallPolicy.Builder |
timeUpdated(Date timeUpdated)
The time instant at which the Network Firewall Policy was updated in the format defined
by RFC3339.
|
NetworkFirewallPolicy.Builder |
urlLists(Map<String,List<UrlPattern>> urlLists)
Map defining URL pattern lists of the policy.
|
public NetworkFirewallPolicy.Builder id(String id)
The OCID of the resource - Network Firewall Policy.
id
- the value to setpublic NetworkFirewallPolicy.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the NetworkFirewall Policy.
compartmentId
- the value to setpublic NetworkFirewallPolicy.Builder displayName(String displayName)
A user-friendly optional name for the firewall policy. Avoid entering confidential information.
displayName
- the value to setpublic NetworkFirewallPolicy.Builder timeCreated(Date timeCreated)
The time instant at which the Network Firewall Policy was created in the format defined
by RFC3339. Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic NetworkFirewallPolicy.Builder timeUpdated(Date timeUpdated)
The time instant at which the Network Firewall Policy was updated in the format defined
by RFC3339. Example: 2016-08-25T21:10:29.600Z
timeUpdated
- the value to setpublic NetworkFirewallPolicy.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the Network Firewall Policy.
lifecycleState
- the value to setpublic NetworkFirewallPolicy.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
lifecycleDetails
- the value to setpublic NetworkFirewallPolicy.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 NetworkFirewallPolicy.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 NetworkFirewallPolicy.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 NetworkFirewallPolicy.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 NetworkFirewallPolicy.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 NetworkFirewallPolicy.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 NetworkFirewallPolicy.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 NetworkFirewallPolicy.Builder isFirewallAttached(Boolean isFirewallAttached)
To determine if any Network Firewall is associated with this Network Firewall Policy.
isFirewallAttached
- the value to setpublic NetworkFirewallPolicy.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 NetworkFirewallPolicy.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 NetworkFirewallPolicy.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic NetworkFirewallPolicy build()
public NetworkFirewallPolicy.Builder copy(NetworkFirewallPolicy model)
Copyright © 2016–2023. All rights reserved.