Package com.oracle.bmc.desktops.model
Class DesktopPoolPrivateAccessDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.desktops.model.DesktopPoolPrivateAccessDetails.Builder
-
- Enclosing class:
- DesktopPoolPrivateAccessDetails
public static class DesktopPoolPrivateAccessDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
vcnId
public DesktopPoolPrivateAccessDetails.Builder vcnId(String vcnId)
The OCID of the customer VCN.- Parameters:
vcnId- the value to set- Returns:
- this builder
-
endpointFqdn
public DesktopPoolPrivateAccessDetails.Builder endpointFqdn(String endpointFqdn)
The three-label FQDN to use for the private endpoint.The customer VCN’s DNS records are updated with this FQDN. This enables the customer to use the FQDN instead of the private endpoint’s private IP address to access the service (for example, xyz.oraclecloud.com).
- Parameters:
endpointFqdn- the value to set- Returns:
- this builder
-
subnetId
public DesktopPoolPrivateAccessDetails.Builder subnetId(String subnetId)
The OCID of the subnet in the customer VCN where the connectivity will be established.- Parameters:
subnetId- the value to set- Returns:
- this builder
-
nsgIds
public DesktopPoolPrivateAccessDetails.Builder nsgIds(List<String> nsgIds)
A list of network security groups for the private access.- Parameters:
nsgIds- the value to set- Returns:
- this builder
-
privateIp
public DesktopPoolPrivateAccessDetails.Builder privateIp(String privateIp)
The IPv4 address from the provided OCI subnet which needs to be assigned to the VNIC.If not provided, it will be auto-assigned with an available IPv4 address from the subnet.
- Parameters:
privateIp- the value to set- Returns:
- this builder
-
securityAttributes
public DesktopPoolPrivateAccessDetails.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes)
Security attributes for this resource.Each attribute can be referenced in a Zero Trust Packet Routing (ZPR) policy to control access to ZPR-supported resources.
Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}
- Parameters:
securityAttributes- the value to set- Returns:
- this builder
-
build
public DesktopPoolPrivateAccessDetails build()
-
copy
public DesktopPoolPrivateAccessDetails.Builder copy(DesktopPoolPrivateAccessDetails model)
-
-