Class NetworkFirewall.Builder
- java.lang.Object
-
- com.oracle.bmc.networkfirewall.model.NetworkFirewall.Builder
-
- Enclosing class:
- NetworkFirewall
public static class NetworkFirewall.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkFirewall.Builder
availabilityDomain(String availabilityDomain)
Availability Domain where Network Firewall instance is created.NetworkFirewall
build()
NetworkFirewall.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing the Network Firewall.NetworkFirewall.Builder
copy(NetworkFirewall model)
NetworkFirewall.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.NetworkFirewall.Builder
displayName(String displayName)
A user-friendly name for the Network Firewall.NetworkFirewall.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.NetworkFirewall.Builder
id(String id)
The OCID of the Network Firewall resource.NetworkFirewall.Builder
ipv4Address(String ipv4Address)
IPv4 address for the Network Firewall.NetworkFirewall.Builder
ipv6Address(String ipv6Address)
IPv6 address for the Network Firewall.NetworkFirewall.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.NetworkFirewall.Builder
lifecycleState(LifecycleState lifecycleState)
The current state of the Network Firewall.NetworkFirewall.Builder
networkFirewallPolicyId(String networkFirewallPolicyId)
The OCID of the Network Firewall Policy.NetworkFirewall.Builder
networkSecurityGroupIds(List<String> networkSecurityGroupIds)
An array of network security groups OCID associated with the Network Firewall.NetworkFirewall.Builder
subnetId(String subnetId)
The OCID of the subnet associated with the Network Firewall.NetworkFirewall.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.NetworkFirewall.Builder
timeCreated(Date timeCreated)
The time at which the Network Firewall was created in the format defined by RFC3339.NetworkFirewall.Builder
timeUpdated(Date timeUpdated)
The time at which the Network Firewall was updated in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public NetworkFirewall.Builder id(String id)
The OCID of the Network Firewall resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public NetworkFirewall.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the Network Firewall.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public NetworkFirewall.Builder displayName(String displayName)
A user-friendly name for the Network Firewall.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
subnetId
public NetworkFirewall.Builder subnetId(String subnetId)
The OCID of the subnet associated with the Network Firewall.- Parameters:
subnetId
- the value to set- Returns:
- this builder
-
ipv4Address
public NetworkFirewall.Builder ipv4Address(String ipv4Address)
IPv4 address for the Network Firewall.- Parameters:
ipv4Address
- the value to set- Returns:
- this builder
-
ipv6Address
public NetworkFirewall.Builder ipv6Address(String ipv6Address)
IPv6 address for the Network Firewall.- Parameters:
ipv6Address
- the value to set- Returns:
- this builder
-
networkFirewallPolicyId
public NetworkFirewall.Builder networkFirewallPolicyId(String networkFirewallPolicyId)
The OCID of the Network Firewall Policy.- Parameters:
networkFirewallPolicyId
- the value to set- Returns:
- this builder
-
availabilityDomain
public NetworkFirewall.Builder availabilityDomain(String availabilityDomain)
Availability Domain where Network Firewall instance is created.To get a list of availability domains for a tenancy, use the
listAvailabilityDomains
operation. Example: kIdk:PHX-AD-1- Parameters:
availabilityDomain
- the value to set- Returns:
- this builder
-
networkSecurityGroupIds
public NetworkFirewall.Builder networkSecurityGroupIds(List<String> networkSecurityGroupIds)
An array of network security groups OCID associated with the Network Firewall.- Parameters:
networkSecurityGroupIds
- the value to set- Returns:
- this builder
-
timeCreated
public NetworkFirewall.Builder timeCreated(Date timeCreated)
The time at which the Network Firewall was created in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public NetworkFirewall.Builder timeUpdated(Date timeUpdated)
The time at which the Network Firewall was updated in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public NetworkFirewall.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the Network Firewall.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public NetworkFirewall.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, it can be used to provide actionable information for a resource in ‘FAILED’ state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public NetworkFirewall.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
-
definedTags
public NetworkFirewall.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
-
systemTags
public NetworkFirewall.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”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public NetworkFirewall build()
-
copy
public NetworkFirewall.Builder copy(NetworkFirewall model)
-
-