Package com.oracle.bmc.datasafe.model
Class DataSafePrivateEndpoint.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.DataSafePrivateEndpoint.Builder
-
- Enclosing class:
- DataSafePrivateEndpoint
public static class DataSafePrivateEndpoint.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataSafePrivateEndpoint
build()
DataSafePrivateEndpoint.Builder
compartmentId(String compartmentId)
The OCID of the compartment.DataSafePrivateEndpoint.Builder
copy(DataSafePrivateEndpoint model)
DataSafePrivateEndpoint.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.DataSafePrivateEndpoint.Builder
description(String description)
The description of the private endpoint.DataSafePrivateEndpoint.Builder
displayName(String displayName)
The display name of the private endpoint.DataSafePrivateEndpoint.Builder
endpointFqdn(String endpointFqdn)
The three-label fully qualified domain name (FQDN) of the private endpoint.DataSafePrivateEndpoint.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.DataSafePrivateEndpoint.Builder
id(String id)
The OCID of the Data Safe private endpoint.DataSafePrivateEndpoint.Builder
lifecycleState(LifecycleState lifecycleState)
The current state of the private endpoint.DataSafePrivateEndpoint.Builder
nsgIds(List<String> nsgIds)
The OCIDs of the network security groups that the private endpoint belongs to.DataSafePrivateEndpoint.Builder
privateEndpointId(String privateEndpointId)
The OCID of the underlying private endpoint.DataSafePrivateEndpoint.Builder
privateEndpointIp(String privateEndpointIp)
The private IP address of the private endpoint.DataSafePrivateEndpoint.Builder
subnetId(String subnetId)
The OCID of the subnet.DataSafePrivateEndpoint.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.DataSafePrivateEndpoint.Builder
timeCreated(Date timeCreated)
The date and time the private endpoint was created, in the format defined by RFC3339.DataSafePrivateEndpoint.Builder
vcnId(String vcnId)
The OCID of the VCN.
-
-
-
Method Detail
-
id
public DataSafePrivateEndpoint.Builder id(String id)
The OCID of the Data Safe private endpoint.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public DataSafePrivateEndpoint.Builder displayName(String displayName)
The display name of the private endpoint.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public DataSafePrivateEndpoint.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
vcnId
public DataSafePrivateEndpoint.Builder vcnId(String vcnId)
The OCID of the VCN.- Parameters:
vcnId
- the value to set- Returns:
- this builder
-
subnetId
public DataSafePrivateEndpoint.Builder subnetId(String subnetId)
The OCID of the subnet.- Parameters:
subnetId
- the value to set- Returns:
- this builder
-
privateEndpointId
public DataSafePrivateEndpoint.Builder privateEndpointId(String privateEndpointId)
The OCID of the underlying private endpoint.- Parameters:
privateEndpointId
- the value to set- Returns:
- this builder
-
privateEndpointIp
public DataSafePrivateEndpoint.Builder privateEndpointIp(String privateEndpointIp)
The private IP address of the private endpoint.- Parameters:
privateEndpointIp
- the value to set- Returns:
- this builder
-
endpointFqdn
public DataSafePrivateEndpoint.Builder endpointFqdn(String endpointFqdn)
The three-label fully qualified domain name (FQDN) of the private endpoint.The customer VCN’s DNS records are updated with this FQDN.
- Parameters:
endpointFqdn
- the value to set- Returns:
- this builder
-
description
public DataSafePrivateEndpoint.Builder description(String description)
The description of the private endpoint.- Parameters:
description
- the value to set- Returns:
- this builder
-
timeCreated
public DataSafePrivateEndpoint.Builder timeCreated(Date timeCreated)
The date and time the private endpoint was created, in the format defined by RFC3339.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleState
public DataSafePrivateEndpoint.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the private endpoint.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
nsgIds
public DataSafePrivateEndpoint.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 DataSafePrivateEndpoint.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 DataSafePrivateEndpoint.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
-
systemTags
public DataSafePrivateEndpoint.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public DataSafePrivateEndpoint build()
-
copy
public DataSafePrivateEndpoint.Builder copy(DataSafePrivateEndpoint model)
-
-