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 CreatePrivateEndpointDetails
build()
CreatePrivateEndpointDetails.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing this private endpoint.CreatePrivateEndpointDetails.Builder
copy(CreatePrivateEndpointDetails model)
CreatePrivateEndpointDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CreatePrivateEndpointDetails.Builder
description(String description)
Description of the private endpoint.CreatePrivateEndpointDetails.Builder
displayName(String displayName)
The private endpoint display name.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.CreatePrivateEndpointDetails.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags associated with the resource.CreatePrivateEndpointDetails.Builder
isUsedWithConfigurationSourceProvider(Boolean isUsedWithConfigurationSourceProvider)
When true, allows the private endpoint to be used with a configuration source provider.CreatePrivateEndpointDetails.Builder
nsgIdList(List<String> nsgIdList)
The OCIDs of network security groups (NSGs) for the private endpoint.CreatePrivateEndpointDetails.Builder
subnetId(String subnetId)
The OCID of the subnet within the VCN for the private endpoint.CreatePrivateEndpointDetails.Builder
vcnId(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)
The private endpoint display name.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
-
build
public CreatePrivateEndpointDetails build()
-
copy
public CreatePrivateEndpointDetails.Builder copy(CreatePrivateEndpointDetails model)
-
-