Class OutboundNetworkingConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeai.model.OutboundNetworkingConfig.Builder
-
- Enclosing class:
- OutboundNetworkingConfig
public static class OutboundNetworkingConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutboundNetworkingConfigbuild()OutboundNetworkingConfig.Buildercopy(OutboundNetworkingConfig model)OutboundNetworkingConfig.BuildercustomSubnetId(String customSubnetId)ocid of customer subnet when networkMode=CustomOutboundNetworkingConfig.BuildernetworkMode(OutboundNetworkingConfig.NetworkMode networkMode)outbounding to managed internet or customer network.OutboundNetworkingConfig.BuildernsgIds(List<String> nsgIds)A list of the OCIDs of the network security groups that the private endpoint’s VNIC belongs to.
-
-
-
Method Detail
-
networkMode
public OutboundNetworkingConfig.Builder networkMode(OutboundNetworkingConfig.NetworkMode networkMode)
outbounding to managed internet or customer network.- Parameters:
networkMode- the value to set- Returns:
- this builder
-
customSubnetId
public OutboundNetworkingConfig.Builder customSubnetId(String customSubnetId)
ocid of customer subnet when networkMode=Custom- Parameters:
customSubnetId- the value to set- Returns:
- this builder
-
nsgIds
public OutboundNetworkingConfig.Builder nsgIds(List<String> nsgIds)
A list of the OCIDs of the network security groups that the private endpoint’s VNIC belongs to.- Parameters:
nsgIds- the value to set- Returns:
- this builder
-
build
public OutboundNetworkingConfig build()
-
copy
public OutboundNetworkingConfig.Builder copy(OutboundNetworkingConfig model)
-
-