Class DatabaseToolsPrivateEndpoint.Builder
- java.lang.Object
-
- com.oracle.bmc.databasetools.model.DatabaseToolsPrivateEndpoint.Builder
-
- Enclosing class:
- DatabaseToolsPrivateEndpoint
public static class DatabaseToolsPrivateEndpoint.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabaseToolsPrivateEndpoint.Builder
additionalFqdns(List<String> additionalFqdns)
A list of additional FQDNs that can be also be used for the private endpoint.DatabaseToolsPrivateEndpoint
build()
DatabaseToolsPrivateEndpoint.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing the Database Tools private endpoint.DatabaseToolsPrivateEndpoint.Builder
copy(DatabaseToolsPrivateEndpoint model)
DatabaseToolsPrivateEndpoint.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.DatabaseToolsPrivateEndpoint.Builder
description(String description)
A description of the Database Tools private endpoint.DatabaseToolsPrivateEndpoint.Builder
displayName(String displayName)
A user-friendly name.DatabaseToolsPrivateEndpoint.Builder
endpointFqdn(String endpointFqdn)
Then FQDN to use for the private endpoint.DatabaseToolsPrivateEndpoint.Builder
endpointServiceId(String endpointServiceId)
The OCID of the Database Tools Endpoint Service.DatabaseToolsPrivateEndpoint.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.DatabaseToolsPrivateEndpoint.Builder
id(String id)
The OCID of the Database Tools private endpoint.DatabaseToolsPrivateEndpoint.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.DatabaseToolsPrivateEndpoint.Builder
lifecycleState(LifecycleState lifecycleState)
The current state of the Database Tools private endpoint.DatabaseToolsPrivateEndpoint.Builder
locks(List<ResourceLock> locks)
Locks associated with this resource.DatabaseToolsPrivateEndpoint.Builder
nsgIds(List<String> nsgIds)
The OCID of the network security groups that the private endpoint’s VNIC belongs to.DatabaseToolsPrivateEndpoint.Builder
privateEndpointIp(String privateEndpointIp)
The private IP address that represents the access point for the associated endpoint service.DatabaseToolsPrivateEndpoint.Builder
privateEndpointVnicId(String privateEndpointVnicId)
The OCID of the private endpoint’s VNIC.DatabaseToolsPrivateEndpoint.Builder
reverseConnectionConfiguration(DatabaseToolsPrivateEndpointReverseConnectionConfiguration reverseConnectionConfiguration)
DatabaseToolsPrivateEndpoint.Builder
subnetId(String subnetId)
The OCID of the subnet that the private endpoint belongs to.DatabaseToolsPrivateEndpoint.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.DatabaseToolsPrivateEndpoint.Builder
timeCreated(Date timeCreated)
The time the Database Tools private endpoint was created.DatabaseToolsPrivateEndpoint.Builder
timeUpdated(Date timeUpdated)
The time the Database Tools private endpoint was updated.DatabaseToolsPrivateEndpoint.Builder
vcnId(String vcnId)
The OCID of the VCN that the private endpoint belongs to.
-
-
-
Method Detail
-
compartmentId
public DatabaseToolsPrivateEndpoint.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the Database Tools private endpoint.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
definedTags
public DatabaseToolsPrivateEndpoint.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
freeformTags
public DatabaseToolsPrivateEndpoint.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
systemTags
public DatabaseToolsPrivateEndpoint.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
locks
public DatabaseToolsPrivateEndpoint.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks
- the value to set- Returns:
- this builder
-
displayName
public DatabaseToolsPrivateEndpoint.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 DatabaseToolsPrivateEndpoint.Builder description(String description)
A description of the Database Tools private endpoint.- Parameters:
description
- the value to set- Returns:
- this builder
-
id
public DatabaseToolsPrivateEndpoint.Builder id(String id)
The OCID of the Database Tools private endpoint.- Parameters:
id
- the value to set- Returns:
- this builder
-
endpointServiceId
public DatabaseToolsPrivateEndpoint.Builder endpointServiceId(String endpointServiceId)
The OCID of the Database Tools Endpoint Service.- Parameters:
endpointServiceId
- the value to set- Returns:
- this builder
-
timeCreated
public DatabaseToolsPrivateEndpoint.Builder timeCreated(Date timeCreated)
The time the Database Tools private endpoint was created.An RFC3339 formatted datetime string
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public DatabaseToolsPrivateEndpoint.Builder timeUpdated(Date timeUpdated)
The time the Database Tools private endpoint was updated.An RFC3339 formatted datetime string
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
vcnId
public DatabaseToolsPrivateEndpoint.Builder vcnId(String vcnId)
The OCID of the VCN that the private endpoint belongs to.- Parameters:
vcnId
- the value to set- Returns:
- this builder
-
subnetId
public DatabaseToolsPrivateEndpoint.Builder subnetId(String subnetId)
The OCID of the subnet that the private endpoint belongs to.- Parameters:
subnetId
- the value to set- Returns:
- this builder
-
privateEndpointVnicId
public DatabaseToolsPrivateEndpoint.Builder privateEndpointVnicId(String privateEndpointVnicId)
The OCID of the private endpoint’s VNIC.- Parameters:
privateEndpointVnicId
- the value to set- Returns:
- this builder
-
privateEndpointIp
public DatabaseToolsPrivateEndpoint.Builder privateEndpointIp(String privateEndpointIp)
The private IP address that represents the access point for the associated endpoint service.- Parameters:
privateEndpointIp
- the value to set- Returns:
- this builder
-
endpointFqdn
public DatabaseToolsPrivateEndpoint.Builder endpointFqdn(String endpointFqdn)
Then FQDN to use for the private endpoint.- Parameters:
endpointFqdn
- the value to set- Returns:
- this builder
-
additionalFqdns
public DatabaseToolsPrivateEndpoint.Builder additionalFqdns(List<String> additionalFqdns)
A list of additional FQDNs that can be also be used for the private endpoint.- Parameters:
additionalFqdns
- the value to set- Returns:
- this builder
-
lifecycleState
public DatabaseToolsPrivateEndpoint.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the Database Tools private endpoint.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public DatabaseToolsPrivateEndpoint.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
nsgIds
public DatabaseToolsPrivateEndpoint.Builder nsgIds(List<String> nsgIds)
The OCID of the network security groups that the private endpoint’s VNIC belongs to.For more information about NSGs, see
NetworkSecurityGroup
.- Parameters:
nsgIds
- the value to set- Returns:
- this builder
-
reverseConnectionConfiguration
public DatabaseToolsPrivateEndpoint.Builder reverseConnectionConfiguration(DatabaseToolsPrivateEndpointReverseConnectionConfiguration reverseConnectionConfiguration)
-
build
public DatabaseToolsPrivateEndpoint build()
-
copy
public DatabaseToolsPrivateEndpoint.Builder copy(DatabaseToolsPrivateEndpoint model)
-
-