Class CreatePrivateEndpointDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.globallydistributeddatabase.model.CreatePrivateEndpointDetails.Builder
-
- Enclosing class:
- CreatePrivateEndpointDetails
public static class CreatePrivateEndpointDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreatePrivateEndpointDetailsbuild()CreatePrivateEndpointDetails.BuildercompartmentId(String compartmentId)Identifier of the compartment where private endpoint is to be created.CreatePrivateEndpointDetails.Buildercopy(CreatePrivateEndpointDetails model)CreatePrivateEndpointDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreatePrivateEndpointDetails.Builderdescription(String description)PrivateEndpoint description.CreatePrivateEndpointDetails.BuilderdisplayName(String displayName)Private endpoint display name.CreatePrivateEndpointDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreatePrivateEndpointDetails.BuildernsgIds(List<String> nsgIds)The OCIDs of the network security groups that the private endpoint belongs to.CreatePrivateEndpointDetails.BuildersubnetId(String subnetId)Identifier of the customer subnet against which private endpoint is to be created.
-
-
-
Method Detail
-
compartmentId
public CreatePrivateEndpointDetails.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 CreatePrivateEndpointDetails.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 CreatePrivateEndpointDetails.Builder displayName(String displayName)
Private endpoint display name.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public CreatePrivateEndpointDetails.Builder description(String description)
PrivateEndpoint description.- Parameters:
description- the value to set- Returns:
- this builder
-
nsgIds
public CreatePrivateEndpointDetails.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 CreatePrivateEndpointDetails.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 CreatePrivateEndpointDetails.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 CreatePrivateEndpointDetails build()
-
copy
public CreatePrivateEndpointDetails.Builder copy(CreatePrivateEndpointDetails model)
-
-