Class NetworkFirewall.Builder
- java.lang.Object
- 
- com.oracle.bmc.networkfirewall.model.NetworkFirewall.Builder
 
- 
- Enclosing class:
- NetworkFirewall
 
 public static class NetworkFirewall.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkFirewall.BuilderavailabilityDomain(String availabilityDomain)Availability Domain where Network Firewall instance is created.NetworkFirewallbuild()NetworkFirewall.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the Network Firewall.NetworkFirewall.Buildercopy(NetworkFirewall model)NetworkFirewall.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.NetworkFirewall.BuilderdisplayName(String displayName)A user-friendly name for the Network Firewall.NetworkFirewall.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.NetworkFirewall.Builderid(String id)The OCID of the Network Firewall resource.NetworkFirewall.Builderipv4Address(String ipv4Address)IPv4 address for the Network Firewall.NetworkFirewall.Builderipv6Address(String ipv6Address)IPv6 address for the Network Firewall.NetworkFirewall.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.NetworkFirewall.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the Network Firewall.NetworkFirewall.BuildernatConfiguration(NatConfigurationResponse natConfiguration)NetworkFirewall.BuildernetworkFirewallPolicyId(String networkFirewallPolicyId)The OCID of the Network Firewall Policy.NetworkFirewall.BuildernetworkSecurityGroupIds(List<String> networkSecurityGroupIds)An array of network security groups OCID associated with the Network Firewall.NetworkFirewall.BuildersubnetId(String subnetId)The OCID of the subnet associated with the Network Firewall.NetworkFirewall.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.NetworkFirewall.BuildertimeCreated(Date timeCreated)The time at which the Network Firewall was created in the format defined by RFC3339.NetworkFirewall.BuildertimeUpdated(Date timeUpdated)The time at which the Network Firewall was updated in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
idpublic NetworkFirewall.Builder id(String id) The OCID of the Network Firewall resource.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic NetworkFirewall.Builder compartmentId(String compartmentId) The OCID of the compartment containing the Network Firewall.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic 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
 
 - 
subnetIdpublic NetworkFirewall.Builder subnetId(String subnetId) The OCID of the subnet associated with the Network Firewall.- Parameters:
- subnetId- the value to set
- Returns:
- this builder
 
 - 
ipv4Addresspublic NetworkFirewall.Builder ipv4Address(String ipv4Address) IPv4 address for the Network Firewall.- Parameters:
- ipv4Address- the value to set
- Returns:
- this builder
 
 - 
ipv6Addresspublic NetworkFirewall.Builder ipv6Address(String ipv6Address) IPv6 address for the Network Firewall.- Parameters:
- ipv6Address- the value to set
- Returns:
- this builder
 
 - 
networkFirewallPolicyIdpublic NetworkFirewall.Builder networkFirewallPolicyId(String networkFirewallPolicyId) The OCID of the Network Firewall Policy.- Parameters:
- networkFirewallPolicyId- the value to set
- Returns:
- this builder
 
 - 
availabilityDomainpublic 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 listAvailabilityDomainsoperation. Example: kIdk:PHX-AD-1- Parameters:
- availabilityDomain- the value to set
- Returns:
- this builder
 
 - 
natConfigurationpublic NetworkFirewall.Builder natConfiguration(NatConfigurationResponse natConfiguration) 
 - 
networkSecurityGroupIdspublic 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
 
 - 
timeCreatedpublic 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
 
 - 
timeUpdatedpublic 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
 
 - 
lifecycleStatepublic NetworkFirewall.Builder lifecycleState(LifecycleState lifecycleState) The current state of the Network Firewall.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic 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
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
systemTagspublic 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
 
 - 
buildpublic NetworkFirewall build() 
 - 
copypublic NetworkFirewall.Builder copy(NetworkFirewall model) 
 
- 
 
-