Class CreateDatabaseToolsPrivateEndpointDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.databasetools.model.CreateDatabaseToolsPrivateEndpointDetails.Builder
-
- Enclosing class:
- CreateDatabaseToolsPrivateEndpointDetails
public static class CreateDatabaseToolsPrivateEndpointDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
compartmentId
public CreateDatabaseToolsPrivateEndpointDetails.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 CreateDatabaseToolsPrivateEndpointDetails.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 CreateDatabaseToolsPrivateEndpointDetails.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
-
locks
public CreateDatabaseToolsPrivateEndpointDetails.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks
- the value to set- Returns:
- this builder
-
displayName
public CreateDatabaseToolsPrivateEndpointDetails.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 CreateDatabaseToolsPrivateEndpointDetails.Builder description(String description)
A description of the Database Tools private endpoint.- Parameters:
description
- the value to set- Returns:
- this builder
-
endpointServiceId
public CreateDatabaseToolsPrivateEndpointDetails.Builder endpointServiceId(String endpointServiceId)
The OCID of the DatabaseToolsEndpointService.- Parameters:
endpointServiceId
- the value to set- Returns:
- this builder
-
subnetId
public CreateDatabaseToolsPrivateEndpointDetails.Builder subnetId(String subnetId)
The OCID of the subnet that the private endpoint belongs to.- Parameters:
subnetId
- the value to set- Returns:
- this builder
-
privateEndpointIp
public CreateDatabaseToolsPrivateEndpointDetails.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
-
nsgIds
public CreateDatabaseToolsPrivateEndpointDetails.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
-
build
public CreateDatabaseToolsPrivateEndpointDetails build()
-
copy
public CreateDatabaseToolsPrivateEndpointDetails.Builder copy(CreateDatabaseToolsPrivateEndpointDetails model)
-
-