Class PrivateEndpoint.Builder
- java.lang.Object
-
- com.oracle.bmc.resourcemanager.model.PrivateEndpoint.Builder
-
- Enclosing class:
- PrivateEndpoint
public static class PrivateEndpoint.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivateEndpoint
build()
PrivateEndpoint.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing this private endpoint.PrivateEndpoint.Builder
copy(PrivateEndpoint model)
PrivateEndpoint.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.PrivateEndpoint.Builder
description(String description)
Description of the private endpoint.PrivateEndpoint.Builder
displayName(String displayName)
A user-friendly name.PrivateEndpoint.Builder
dnsZones(List<String> dnsZones)
DNS zones to use for accessing private Git servers.PrivateEndpoint.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags associated with the resource.PrivateEndpoint.Builder
id(String id)
The OCID of the private endpoint.PrivateEndpoint.Builder
isUsedWithConfigurationSourceProvider(Boolean isUsedWithConfigurationSourceProvider)
When true, allows the private endpoint to be used with a configuration source provider.PrivateEndpoint.Builder
lifecycleState(PrivateEndpoint.LifecycleState lifecycleState)
The current lifecycle state of the private endpoint.PrivateEndpoint.Builder
nsgIdList(List<String> nsgIdList)
The OCIDs of network security groups (NSGs) for the private endpoint.PrivateEndpoint.Builder
sourceIps(List<String> sourceIps)
The source IP addresses that Resource Manager uses to connect to your network.PrivateEndpoint.Builder
subnetId(String subnetId)
The OCID of the subnet within the VCN for the private endpoint.PrivateEndpoint.Builder
timeCreated(Date timeCreated)
The date and time at which the private endpoint was created.PrivateEndpoint.Builder
vcnId(String vcnId)
The OCID of the VCN for the private endpoint.
-
-
-
Method Detail
-
id
public PrivateEndpoint.Builder id(String id)
The OCID of the private endpoint.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public PrivateEndpoint.Builder compartmentId(String compartmentId)
The OCID of the compartment containing this private endpoint.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public PrivateEndpoint.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 PrivateEndpoint.Builder description(String description)
Description of the private endpoint.Avoid entering confidential information.
- Parameters:
description
- the value to set- Returns:
- this builder
-
vcnId
public PrivateEndpoint.Builder vcnId(String vcnId)
The OCID of the VCN for the private endpoint.- Parameters:
vcnId
- the value to set- Returns:
- this builder
-
subnetId
public PrivateEndpoint.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
-
sourceIps
public PrivateEndpoint.Builder sourceIps(List<String> sourceIps)
The source IP addresses that Resource Manager uses to connect to your network.Automatically assigned by Resource Manager.
- Parameters:
sourceIps
- the value to set- Returns:
- this builder
-
nsgIdList
public PrivateEndpoint.Builder nsgIdList(List<String> nsgIdList)
- Parameters:
nsgIdList
- the value to set- Returns:
- this builder
-
isUsedWithConfigurationSourceProvider
public PrivateEndpoint.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
-
dnsZones
public PrivateEndpoint.Builder dnsZones(List<String> dnsZones)
DNS zones to use for accessing private Git servers.For private Git server instructions, see Private Git Server. Specify DNS fully qualified domain names (FQDNs); DNS Proxy forwards related DNS FQDN queries to the consumer DNS resolver. For DNS FQDNs not specified, queries go to service provider VCN resolver. Example: abc.oraclevcn.com
- Parameters:
dnsZones
- the value to set- Returns:
- this builder
-
timeCreated
public PrivateEndpoint.Builder timeCreated(Date timeCreated)
The date and time at which the private endpoint was created.Format is defined by RFC3339. Example: 2020-11-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleState
public PrivateEndpoint.Builder lifecycleState(PrivateEndpoint.LifecycleState lifecycleState)
The current lifecycle state of the private endpoint.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public PrivateEndpoint.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 PrivateEndpoint.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 PrivateEndpoint build()
-
copy
public PrivateEndpoint.Builder copy(PrivateEndpoint model)
-
-