Class DistributedDatabasePrivateEndpoint.Builder
- java.lang.Object
-
- com.oracle.bmc.distributeddatabase.model.DistributedDatabasePrivateEndpoint.Builder
-
- Enclosing class:
- DistributedDatabasePrivateEndpoint
public static class DistributedDatabasePrivateEndpoint.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DistributedDatabasePrivateEndpoint
build()
DistributedDatabasePrivateEndpoint.Builder
compartmentId(String compartmentId)
Identifier of the compartment in which private endpoint exists.DistributedDatabasePrivateEndpoint.Builder
copy(DistributedDatabasePrivateEndpoint model)
DistributedDatabasePrivateEndpoint.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.DistributedDatabasePrivateEndpoint.Builder
description(String description)
DistributedDatabasePrivateEndpoint description.DistributedDatabasePrivateEndpoint.Builder
displayName(String displayName)
DistributedDatabasePrivateEndpoint display name.DistributedDatabasePrivateEndpoint.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.DistributedDatabasePrivateEndpoint.Builder
globallyDistributedAutonomousDatabases(List<DistributedAutonomousDatabaseAssociatedWithPrivateEndpoint> globallyDistributedAutonomousDatabases)
The details of the non-deleted Globally distributed autonomous databases that consumes the given private endpoint.DistributedDatabasePrivateEndpoint.Builder
globallyDistributedDatabases(List<DistributedDatabaseAssociatedWithPrivateEndpoint> globallyDistributedDatabases)
The details of the non-deleted Globally distributed databases that consumes the given private endpoint.DistributedDatabasePrivateEndpoint.Builder
id(String id)
The identifier of the Private Endpoint.DistributedDatabasePrivateEndpoint.Builder
lifecycleDetails(String lifecycleDetails)
Detailed message for the lifecycle state.DistributedDatabasePrivateEndpoint.Builder
lifecycleState(DistributedDatabasePrivateEndpoint.LifecycleState lifecycleState)
Lifecycle states for private endpoint.DistributedDatabasePrivateEndpoint.Builder
nsgIds(List<String> nsgIds)
The OCIDs of the network security groups that the private endpoint belongs to.DistributedDatabasePrivateEndpoint.Builder
privateIp(String privateIp)
IP address of the Private Endpoint.DistributedDatabasePrivateEndpoint.Builder
proxyComputeInstanceId(String proxyComputeInstanceId)
The identifier of the proxy compute instance.DistributedDatabasePrivateEndpoint.Builder
subnetId(String subnetId)
Identifier of the subnet in which private endpoint exists.DistributedDatabasePrivateEndpoint.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.DistributedDatabasePrivateEndpoint.Builder
timeCreated(Date timeCreated)
The time the DistributedDatabasePrivateEndpoint was first created.DistributedDatabasePrivateEndpoint.Builder
timeUpdated(Date timeUpdated)
The time the Private Endpoint was last updated.DistributedDatabasePrivateEndpoint.Builder
vcnId(String vcnId)
Identifier of the VCN in which subnet exists.
-
-
-
Method Detail
-
id
public DistributedDatabasePrivateEndpoint.Builder id(String id)
The identifier of the Private Endpoint.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public DistributedDatabasePrivateEndpoint.Builder compartmentId(String compartmentId)
Identifier of the compartment in which private endpoint exists.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
subnetId
public DistributedDatabasePrivateEndpoint.Builder subnetId(String subnetId)
Identifier of the subnet in which private endpoint exists.- Parameters:
subnetId
- the value to set- Returns:
- this builder
-
vcnId
public DistributedDatabasePrivateEndpoint.Builder vcnId(String vcnId)
Identifier of the VCN in which subnet exists.- Parameters:
vcnId
- the value to set- Returns:
- this builder
-
displayName
public DistributedDatabasePrivateEndpoint.Builder displayName(String displayName)
DistributedDatabasePrivateEndpoint display name.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public DistributedDatabasePrivateEndpoint.Builder description(String description)
DistributedDatabasePrivateEndpoint description.- Parameters:
description
- the value to set- Returns:
- this builder
-
privateIp
public DistributedDatabasePrivateEndpoint.Builder privateIp(String privateIp)
IP address of the Private Endpoint.- Parameters:
privateIp
- the value to set- Returns:
- this builder
-
nsgIds
public DistributedDatabasePrivateEndpoint.Builder nsgIds(List<String> nsgIds)
The OCIDs of the network security groups that the private endpoint belongs to.- Parameters:
nsgIds
- the value to set- Returns:
- this builder
-
globallyDistributedDatabases
public DistributedDatabasePrivateEndpoint.Builder globallyDistributedDatabases(List<DistributedDatabaseAssociatedWithPrivateEndpoint> globallyDistributedDatabases)
The details of the non-deleted Globally distributed databases that consumes the given private endpoint.- Parameters:
globallyDistributedDatabases
- the value to set- Returns:
- this builder
-
globallyDistributedAutonomousDatabases
public DistributedDatabasePrivateEndpoint.Builder globallyDistributedAutonomousDatabases(List<DistributedAutonomousDatabaseAssociatedWithPrivateEndpoint> globallyDistributedAutonomousDatabases)
The details of the non-deleted Globally distributed autonomous databases that consumes the given private endpoint.- Parameters:
globallyDistributedAutonomousDatabases
- the value to set- Returns:
- this builder
-
timeCreated
public DistributedDatabasePrivateEndpoint.Builder timeCreated(Date timeCreated)
The time the DistributedDatabasePrivateEndpoint was first created.An RFC3339 formatted datetime string
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public DistributedDatabasePrivateEndpoint.Builder timeUpdated(Date timeUpdated)
The time the Private Endpoint was last updated.An RFC3339 formatted datetime string
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public DistributedDatabasePrivateEndpoint.Builder lifecycleState(DistributedDatabasePrivateEndpoint.LifecycleState lifecycleState)
Lifecycle states for private endpoint.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public DistributedDatabasePrivateEndpoint.Builder lifecycleDetails(String lifecycleDetails)
Detailed message for the lifecycle state.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
proxyComputeInstanceId
public DistributedDatabasePrivateEndpoint.Builder proxyComputeInstanceId(String proxyComputeInstanceId)
The identifier of the proxy compute instance.- Parameters:
proxyComputeInstanceId
- the value to set- Returns:
- this builder
-
freeformTags
public DistributedDatabasePrivateEndpoint.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
-
definedTags
public DistributedDatabasePrivateEndpoint.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
-
systemTags
public DistributedDatabasePrivateEndpoint.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
-
build
public DistributedDatabasePrivateEndpoint build()
-
copy
public DistributedDatabasePrivateEndpoint.Builder copy(DistributedDatabasePrivateEndpoint model)
-
-