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.BuilderadditionalFqdns(List<String> additionalFqdns)A list of additional FQDNs that can be also be used for the private endpoint.DatabaseToolsPrivateEndpointbuild()DatabaseToolsPrivateEndpoint.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the Database Tools private endpoint.DatabaseToolsPrivateEndpoint.Buildercopy(DatabaseToolsPrivateEndpoint model)DatabaseToolsPrivateEndpoint.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DatabaseToolsPrivateEndpoint.Builderdescription(String description)A description of the Database Tools private endpoint.DatabaseToolsPrivateEndpoint.BuilderdisplayName(String displayName)A user-friendly name.DatabaseToolsPrivateEndpoint.BuilderendpointFqdn(String endpointFqdn)Then FQDN to use for the private endpoint.DatabaseToolsPrivateEndpoint.BuilderendpointServiceId(String endpointServiceId)The OCID of the Database Tools Endpoint Service.DatabaseToolsPrivateEndpoint.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.DatabaseToolsPrivateEndpoint.Builderid(String id)The OCID of the Database Tools private endpoint.DatabaseToolsPrivateEndpoint.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.DatabaseToolsPrivateEndpoint.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the Database Tools private endpoint.DatabaseToolsPrivateEndpoint.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.DatabaseToolsPrivateEndpoint.BuildernsgIds(List<String> nsgIds)The OCID of the network security groups that the private endpoint’s VNIC belongs to.DatabaseToolsPrivateEndpoint.BuilderprivateEndpointIp(String privateEndpointIp)The private IP address that represents the access point for the associated endpoint service.DatabaseToolsPrivateEndpoint.BuilderprivateEndpointVnicId(String privateEndpointVnicId)The OCID of the private endpoint’s VNIC.DatabaseToolsPrivateEndpoint.BuilderreverseConnectionConfiguration(DatabaseToolsPrivateEndpointReverseConnectionConfiguration reverseConnectionConfiguration)DatabaseToolsPrivateEndpoint.BuildersecurityAttributes(Map<String,Map<String,Object>> securityAttributes)Zero trust Packet Routing (ZPR) Security Attributes for this resource.DatabaseToolsPrivateEndpoint.BuildersubnetId(String subnetId)The OCID of the subnet that the private endpoint belongs to.DatabaseToolsPrivateEndpoint.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.DatabaseToolsPrivateEndpoint.BuildertimeCreated(Date timeCreated)The time the Database Tools private endpoint was created.DatabaseToolsPrivateEndpoint.BuildertimeUpdated(Date timeUpdated)The time the Database Tools private endpoint was updated.DatabaseToolsPrivateEndpoint.BuildervcnId(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
-
securityAttributes
public DatabaseToolsPrivateEndpoint.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes)
Zero trust Packet Routing (ZPR) Security Attributes for this resource.Each key is predefined and scoped to a namespace. For more information, see ZPR Artifacts. Example: {“Oracle-ZPR”: {“MaxEgressCount”: {“value”: “42”, “mode”: “audit”}}}
- Parameters:
securityAttributes- 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)
-
-