Package com.oracle.bmc.psql.model
Class NetworkDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.psql.model.NetworkDetails.Builder
-
- Enclosing class:
- NetworkDetails
public static class NetworkDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkDetailsbuild()NetworkDetails.Buildercopy(NetworkDetails model)NetworkDetails.BuilderisReaderEndpointEnabled(Boolean isReaderEndpointEnabled)Specifies if the reader endpoint is enabled on the dbSystem.NetworkDetails.BuildernsgIds(List<String> nsgIds)List of customer Network Security Group OCIDs associated with the database system.NetworkDetails.BuilderprimaryDbEndpointPrivateIp(String primaryDbEndpointPrivateIp)Private IP in customer subnet.NetworkDetails.BuildersubnetId(String subnetId)The OCID of the customer subnet associated with the database system.
-
-
-
Method Detail
-
subnetId
public NetworkDetails.Builder subnetId(String subnetId)
The OCID of the customer subnet associated with the database system.- Parameters:
subnetId- the value to set- Returns:
- this builder
-
primaryDbEndpointPrivateIp
public NetworkDetails.Builder primaryDbEndpointPrivateIp(String primaryDbEndpointPrivateIp)
Private IP in customer subnet.The value is optional. If the IP is not provided, the IP will be chosen from the available IP addresses from the specified subnet.
- Parameters:
primaryDbEndpointPrivateIp- the value to set- Returns:
- this builder
-
nsgIds
public NetworkDetails.Builder nsgIds(List<String> nsgIds)
List of customer Network Security Group OCIDs associated with the database system.- Parameters:
nsgIds- the value to set- Returns:
- this builder
-
isReaderEndpointEnabled
public NetworkDetails.Builder isReaderEndpointEnabled(Boolean isReaderEndpointEnabled)
Specifies if the reader endpoint is enabled on the dbSystem.- Parameters:
isReaderEndpointEnabled- the value to set- Returns:
- this builder
-
build
public NetworkDetails build()
-
copy
public NetworkDetails.Builder copy(NetworkDetails model)
-
-