public static class PrivateEndpoint.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public PrivateEndpoint.Builder id(String id)
The OCID of the private endpoint.
id
- the value to setpublic PrivateEndpoint.Builder compartmentId(String compartmentId)
The OCID of the compartment containing this private endpoint.
compartmentId
- the value to setpublic PrivateEndpoint.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic PrivateEndpoint.Builder description(String description)
Description of the private endpoint. Avoid entering confidential information.
description
- the value to setpublic PrivateEndpoint.Builder vcnId(String vcnId)
The OCID of the VCN for the private endpoint.
vcnId
- the value to setpublic PrivateEndpoint.Builder subnetId(String subnetId)
The OCID of the subnet within the VCN for the private endpoint.
subnetId
- the value to setpublic PrivateEndpoint.Builder sourceIps(List<String> sourceIps)
The source IP addresses that Resource Manager uses to connect to your network. Automatically assigned by Resource Manager.
sourceIps
- the value to setpublic PrivateEndpoint.Builder nsgIdList(List<String> nsgIdList)
The OCIDs of network security groups (NSGs) for the private endpoint. Order does not matter.
nsgIdList
- the value to setpublic PrivateEndpoint.Builder isUsedWithConfigurationSourceProvider(Boolean isUsedWithConfigurationSourceProvider)
When true
, allows the private endpoint to be used with a configuration source
provider.
isUsedWithConfigurationSourceProvider
- the value to setpublic 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
dnsZones
- the value to setpublic 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
timeCreated
- the value to setpublic PrivateEndpoint.Builder lifecycleState(PrivateEndpoint.LifecycleState lifecycleState)
The current lifecycle state of the private endpoint.
lifecycleState
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic PrivateEndpoint build()
public PrivateEndpoint.Builder copy(PrivateEndpoint model)
Copyright © 2016–2024. All rights reserved.