Class DistributedDatabasePrivateEndpointSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.distributeddatabase.model.DistributedDatabasePrivateEndpointSummary.Builder
-
- Enclosing class:
- DistributedDatabasePrivateEndpointSummary
public static class DistributedDatabasePrivateEndpointSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public DistributedDatabasePrivateEndpointSummary.Builder id(String id)
DistributedDatabasePrivateEndpoint identifier- Parameters:
id
- the value to set- Returns:
- this builder
-
description
public DistributedDatabasePrivateEndpointSummary.Builder description(String description)
DistributedDatabasePrivateEndpoint description.- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public DistributedDatabasePrivateEndpointSummary.Builder compartmentId(String compartmentId)
Identifier of the compartment where private endpoint exists.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
subnetId
public DistributedDatabasePrivateEndpointSummary.Builder subnetId(String subnetId)
Identifier of the customer subnet against which private endpoint is created.- Parameters:
subnetId
- the value to set- Returns:
- this builder
-
vcnId
public DistributedDatabasePrivateEndpointSummary.Builder vcnId(String vcnId)
Identifier of the VCN in which subnet exists.- Parameters:
vcnId
- the value to set- Returns:
- this builder
-
displayName
public DistributedDatabasePrivateEndpointSummary.Builder displayName(String displayName)
Private endpoint display name.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
nsgIds
public DistributedDatabasePrivateEndpointSummary.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
-
timeCreated
public DistributedDatabasePrivateEndpointSummary.Builder timeCreated(Date timeCreated)
The time the the private endpoint was created.An RFC3339 formatted datetime string
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public DistributedDatabasePrivateEndpointSummary.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 DistributedDatabasePrivateEndpointSummary.Builder lifecycleState(DistributedDatabasePrivateEndpoint.LifecycleState lifecycleState)
Lifecycle state of private endpoint.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public DistributedDatabasePrivateEndpointSummary.Builder lifecycleDetails(String lifecycleDetails)
Detailed message for the lifecycle state.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public DistributedDatabasePrivateEndpointSummary.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 DistributedDatabasePrivateEndpointSummary.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 DistributedDatabasePrivateEndpointSummary.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 DistributedDatabasePrivateEndpointSummary build()
-
copy
public DistributedDatabasePrivateEndpointSummary.Builder copy(DistributedDatabasePrivateEndpointSummary model)
-
-