Class CreateDistributedDatabasePrivateEndpointDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.distributeddatabase.model.CreateDistributedDatabasePrivateEndpointDetails.Builder
-
- Enclosing class:
- CreateDistributedDatabasePrivateEndpointDetails
public static class CreateDistributedDatabasePrivateEndpointDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
compartmentId
public CreateDistributedDatabasePrivateEndpointDetails.Builder compartmentId(String compartmentId)
Identifier of the compartment where private endpoint is to be created.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
subnetId
public CreateDistributedDatabasePrivateEndpointDetails.Builder subnetId(String subnetId)
Identifier of the customer subnet against which private endpoint is to be created.- Parameters:
subnetId
- the value to set- Returns:
- this builder
-
displayName
public CreateDistributedDatabasePrivateEndpointDetails.Builder displayName(String displayName)
Private endpoint display name.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public CreateDistributedDatabasePrivateEndpointDetails.Builder description(String description)
DistributedDatabasePrivateEndpoint description.- Parameters:
description
- the value to set- Returns:
- this builder
-
nsgIds
public CreateDistributedDatabasePrivateEndpointDetails.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
-
freeformTags
public CreateDistributedDatabasePrivateEndpointDetails.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 CreateDistributedDatabasePrivateEndpointDetails.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
-
build
public CreateDistributedDatabasePrivateEndpointDetails build()
-
copy
public CreateDistributedDatabasePrivateEndpointDetails.Builder copy(CreateDistributedDatabasePrivateEndpointDetails model)
-
-