Package com.oracle.bmc.datasafe.model
Class CreateDataSafePrivateEndpointDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.CreateDataSafePrivateEndpointDetails.Builder
-
- Enclosing class:
- CreateDataSafePrivateEndpointDetails
public static class CreateDataSafePrivateEndpointDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public CreateDataSafePrivateEndpointDetails.Builder displayName(String displayName)
The display name for the private endpoint.The name does not have to be unique, and it’s changeable.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public CreateDataSafePrivateEndpointDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
vcnId
public CreateDataSafePrivateEndpointDetails.Builder vcnId(String vcnId)
The OCID of the VCN.- Parameters:
vcnId
- the value to set- Returns:
- this builder
-
subnetId
public CreateDataSafePrivateEndpointDetails.Builder subnetId(String subnetId)
The OCID of the subnet.- Parameters:
subnetId
- the value to set- Returns:
- this builder
-
privateEndpointIp
public CreateDataSafePrivateEndpointDetails.Builder privateEndpointIp(String privateEndpointIp)
The private IP address of the private endpoint.- Parameters:
privateEndpointIp
- the value to set- Returns:
- this builder
-
description
public CreateDataSafePrivateEndpointDetails.Builder description(String description)
The description of the private endpoint.- Parameters:
description
- the value to set- Returns:
- this builder
-
nsgIds
public CreateDataSafePrivateEndpointDetails.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 CreateDataSafePrivateEndpointDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {"Department": "Finance"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public CreateDataSafePrivateEndpointDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public CreateDataSafePrivateEndpointDetails build()
-
copy
public CreateDataSafePrivateEndpointDetails.Builder copy(CreateDataSafePrivateEndpointDetails model)
-
-