Package com.oracle.bmc.streaming.model
Class PrivateEndpointDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.streaming.model.PrivateEndpointDetails.Builder
-
- Enclosing class:
- PrivateEndpointDetails
public static class PrivateEndpointDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivateEndpointDetails
build()
PrivateEndpointDetails.Builder
copy(PrivateEndpointDetails model)
PrivateEndpointDetails.Builder
nsgIds(List<String> nsgIds)
The optional list of network security groups to be used with the private endpoint of the stream pool.PrivateEndpointDetails.Builder
privateEndpointIp(String privateEndpointIp)
The optional private IP you want to be associated with your private stream pool.PrivateEndpointDetails.Builder
subnetId(String subnetId)
If specified, the stream pool will be private and only accessible from inside that subnet.
-
-
-
Method Detail
-
subnetId
public PrivateEndpointDetails.Builder subnetId(String subnetId)
If specified, the stream pool will be private and only accessible from inside that subnet.Producing-to and consuming-from a stream inside a private stream pool can also only be done from inside the subnet. That value cannot be changed.
- Parameters:
subnetId
- the value to set- Returns:
- this builder
-
privateEndpointIp
public PrivateEndpointDetails.Builder privateEndpointIp(String privateEndpointIp)
The optional private IP you want to be associated with your private stream pool.That parameter can only be specified when the subnetId parameter is set. It cannot be changed. The private IP needs to be part of the CIDR range of the specified subnetId or the creation will fail. If not specified a random IP inside the subnet will be chosen. After the stream pool is created, a custom FQDN, pointing to this private IP, is created. The FQDN is then used to access the service instead of the private IP.
- Parameters:
privateEndpointIp
- the value to set- Returns:
- this builder
-
nsgIds
public PrivateEndpointDetails.Builder nsgIds(List<String> nsgIds)
The optional list of network security groups to be used with the private endpoint of the stream pool.That value cannot be changed.
- Parameters:
nsgIds
- the value to set- Returns:
- this builder
-
build
public PrivateEndpointDetails build()
-
copy
public PrivateEndpointDetails.Builder copy(PrivateEndpointDetails model)
-
-