Class CreatePrivateEndpointDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.resourcemanager.model.CreatePrivateEndpointDetails.Builder
-
- Enclosing class:
- CreatePrivateEndpointDetails
public static class CreatePrivateEndpointDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreatePrivateEndpointDetailsbuild()CreatePrivateEndpointDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment containing this private endpoint.CreatePrivateEndpointDetails.Buildercopy(CreatePrivateEndpointDetails model)CreatePrivateEndpointDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreatePrivateEndpointDetails.Builderdescription(String description)Description of the private endpoint.CreatePrivateEndpointDetails.BuilderdisplayName(String displayName)A user-friendly name.CreatePrivateEndpointDetails.BuilderdnsZones(List<String> dnsZones)DNS Proxy forwards any DNS FQDN queries over into the consumer DNS resolver if the DNS FQDN is included in the dns zones list otherwise it goes to service provider VCN resolver.CreatePrivateEndpointDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags associated with the resource.CreatePrivateEndpointDetails.BuilderisUsedWithConfigurationSourceProvider(Boolean isUsedWithConfigurationSourceProvider)When true, allows the private endpoint to be used with a configuration source provider.CreatePrivateEndpointDetails.BuildernsgIdList(List<String> nsgIdList)The OCIDs of network security groups (NSGs) for the private endpoint.CreatePrivateEndpointDetails.BuildersecurityAttributes(Map<String,Map<String,Object>> securityAttributes)Security attributes are labels for a resource that can be referenced in a Zero Trust Packet Routing (ZPR) policy to control access to ZPR-supported resources.CreatePrivateEndpointDetails.BuildersubnetId(String subnetId)The OCID of the subnet within the VCN for the private endpoint.CreatePrivateEndpointDetails.BuildervcnId(String vcnId)The OCID of the VCN for the private endpoint.
-
-
-
Method Detail
-
compartmentId
public CreatePrivateEndpointDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment containing this private endpoint.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public CreatePrivateEndpointDetails.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public CreatePrivateEndpointDetails.Builder description(String description)
Description of the private endpoint.Avoid entering confidential information.
- Parameters:
description- the value to set- Returns:
- this builder
-
vcnId
public CreatePrivateEndpointDetails.Builder vcnId(String vcnId)
The OCID of the VCN for the private endpoint.- Parameters:
vcnId- the value to set- Returns:
- this builder
-
subnetId
public CreatePrivateEndpointDetails.Builder subnetId(String subnetId)
The OCID of the subnet within the VCN for the private endpoint.- Parameters:
subnetId- the value to set- Returns:
- this builder
-
dnsZones
public CreatePrivateEndpointDetails.Builder dnsZones(List<String> dnsZones)
DNS Proxy forwards any DNS FQDN queries over into the consumer DNS resolver if the DNS FQDN is included in the dns zones list otherwise it goes to service provider VCN resolver.- Parameters:
dnsZones- the value to set- Returns:
- this builder
-
nsgIdList
public CreatePrivateEndpointDetails.Builder nsgIdList(List<String> nsgIdList)
- Parameters:
nsgIdList- the value to set- Returns:
- this builder
-
isUsedWithConfigurationSourceProvider
public CreatePrivateEndpointDetails.Builder isUsedWithConfigurationSourceProvider(Boolean isUsedWithConfigurationSourceProvider)
When true, allows the private endpoint to be used with a configuration source provider.- Parameters:
isUsedWithConfigurationSourceProvider- the value to set- Returns:
- this builder
-
freeformTags
public CreatePrivateEndpointDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags associated with the resource.Each tag is a 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
-
definedTags
public CreatePrivateEndpointDetails.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
-
securityAttributes
public CreatePrivateEndpointDetails.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes)
Security attributes are labels for a resource that 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": "enforce"}}}
- Parameters:
securityAttributes- the value to set- Returns:
- this builder
-
build
public CreatePrivateEndpointDetails build()
-
copy
public CreatePrivateEndpointDetails.Builder copy(CreatePrivateEndpointDetails model)
-
-