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