Class DbManagementPrivateEndpoint.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.DbManagementPrivateEndpoint.Builder
-
- Enclosing class:
- DbManagementPrivateEndpoint
public static class DbManagementPrivateEndpoint.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DbManagementPrivateEndpointbuild()DbManagementPrivateEndpoint.BuildercompartmentId(String compartmentId)The OCID of the compartment.DbManagementPrivateEndpoint.Buildercopy(DbManagementPrivateEndpoint model)DbManagementPrivateEndpoint.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DbManagementPrivateEndpoint.Builderdescription(String description)The description of the Database Management private endpoint.DbManagementPrivateEndpoint.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.DbManagementPrivateEndpoint.Builderid(String id)The OCID of the Database Management private endpoint.DbManagementPrivateEndpoint.BuilderisCluster(Boolean isCluster)Specifies whether the Database Management private endpoint can be used for Oracle Databases in a cluster.DbManagementPrivateEndpoint.BuilderisDnsResolutionEnabled(Boolean isDnsResolutionEnabled)Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name.DbManagementPrivateEndpoint.BuilderlifecycleState(LifecycleStates lifecycleState)The current lifecycle state of the Database Management private endpoint.DbManagementPrivateEndpoint.Buildername(String name)The display name of the Database Management private endpoint.DbManagementPrivateEndpoint.BuildernsgIds(List<String> nsgIds)The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs.DbManagementPrivateEndpoint.BuilderprivateIp(String privateIp)The IP addresses assigned to the Database Management private endpoint.DbManagementPrivateEndpoint.BuildersubnetId(String subnetId)The OCID of the subnet.DbManagementPrivateEndpoint.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.DbManagementPrivateEndpoint.BuildertimeCreated(Date timeCreated)The date and time the Database Managament private endpoint was created, in the format defined by RFC3339.DbManagementPrivateEndpoint.BuildervcnId(String vcnId)The OCID of the VCN.
-
-
-
Method Detail
-
id
public DbManagementPrivateEndpoint.Builder id(String id)
The OCID of the Database Management private endpoint.- Parameters:
id- the value to set- Returns:
- this builder
-
name
public DbManagementPrivateEndpoint.Builder name(String name)
The display name of the Database Management private endpoint.- Parameters:
name- the value to set- Returns:
- this builder
-
compartmentId
public DbManagementPrivateEndpoint.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
isCluster
public DbManagementPrivateEndpoint.Builder isCluster(Boolean isCluster)
Specifies whether the Database Management private endpoint can be used for Oracle Databases in a cluster.- Parameters:
isCluster- the value to set- Returns:
- this builder
-
isDnsResolutionEnabled
public DbManagementPrivateEndpoint.Builder isDnsResolutionEnabled(Boolean isDnsResolutionEnabled)
Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name.- Parameters:
isDnsResolutionEnabled- the value to set- Returns:
- this builder
-
vcnId
public DbManagementPrivateEndpoint.Builder vcnId(String vcnId)
The OCID of the VCN.- Parameters:
vcnId- the value to set- Returns:
- this builder
-
subnetId
public DbManagementPrivateEndpoint.Builder subnetId(String subnetId)
The OCID of the subnet.- Parameters:
subnetId- the value to set- Returns:
- this builder
-
privateIp
public DbManagementPrivateEndpoint.Builder privateIp(String privateIp)
The IP addresses assigned to the Database Management private endpoint.- Parameters:
privateIp- the value to set- Returns:
- this builder
-
description
public DbManagementPrivateEndpoint.Builder description(String description)
The description of the Database Management private endpoint.- Parameters:
description- the value to set- Returns:
- this builder
-
timeCreated
public DbManagementPrivateEndpoint.Builder timeCreated(Date timeCreated)
The date and time the Database Managament private endpoint was created, in the format defined by RFC3339.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
lifecycleState
public DbManagementPrivateEndpoint.Builder lifecycleState(LifecycleStates lifecycleState)
The current lifecycle state of the Database Management private endpoint.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
nsgIds
public DbManagementPrivateEndpoint.Builder nsgIds(List<String> nsgIds)
The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs.- Parameters:
nsgIds- the value to set- Returns:
- this builder
-
freeformTags
public DbManagementPrivateEndpoint.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple 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 DbManagementPrivateEndpoint.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
-
systemTags
public DbManagementPrivateEndpoint.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public DbManagementPrivateEndpoint build()
-
copy
public DbManagementPrivateEndpoint.Builder copy(DbManagementPrivateEndpoint model)
-
-