Package com.oracle.bmc.oda.model
Class OdaPrivateEndpoint.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.OdaPrivateEndpoint.Builder
-
- Enclosing class:
- OdaPrivateEndpoint
public static class OdaPrivateEndpoint.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OdaPrivateEndpoint
build()
OdaPrivateEndpoint.Builder
compartmentId(String compartmentId)
The OCID of the compartment that the ODA private endpoint belongs to.OdaPrivateEndpoint.Builder
copy(OdaPrivateEndpoint model)
OdaPrivateEndpoint.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.OdaPrivateEndpoint.Builder
description(String description)
Description of the ODA private endpoint.OdaPrivateEndpoint.Builder
displayName(String displayName)
User-defined name for the ODA private endpoint.OdaPrivateEndpoint.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.OdaPrivateEndpoint.Builder
id(String id)
The OCID that was assigned when the ODA private endpoint was created.OdaPrivateEndpoint.Builder
lifecycleState(OdaPrivateEndpoint.LifecycleState lifecycleState)
The current state of the ODA private endpoint.OdaPrivateEndpoint.Builder
nsgIds(List<String> nsgIds)
List of OCIDs of network security groupsOdaPrivateEndpoint.Builder
subnetId(String subnetId)
The OCID of the subnet that the private endpoint belongs to.OdaPrivateEndpoint.Builder
timeCreated(Date timeCreated)
When the resource was created.OdaPrivateEndpoint.Builder
timeUpdated(Date timeUpdated)
When the resource was last updated.
-
-
-
Method Detail
-
id
public OdaPrivateEndpoint.Builder id(String id)
The OCID that was assigned when the ODA private endpoint was created.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public OdaPrivateEndpoint.Builder displayName(String displayName)
User-defined name for the ODA private endpoint.Avoid entering confidential information. You can change this value.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public OdaPrivateEndpoint.Builder description(String description)
Description of the ODA private endpoint.- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public OdaPrivateEndpoint.Builder compartmentId(String compartmentId)
The OCID of the compartment that the ODA private endpoint belongs to.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public OdaPrivateEndpoint.Builder timeCreated(Date timeCreated)
When the resource was created.A date-time string as described in RFC 3339, section 14.29.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public OdaPrivateEndpoint.Builder timeUpdated(Date timeUpdated)
When the resource was last updated.A date-time string as described in RFC 3339, section 14.29.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public OdaPrivateEndpoint.Builder lifecycleState(OdaPrivateEndpoint.LifecycleState lifecycleState)
The current state of the ODA private endpoint.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
subnetId
public OdaPrivateEndpoint.Builder subnetId(String subnetId)
The OCID of the subnet that the private endpoint belongs to.- Parameters:
subnetId
- the value to set- Returns:
- this builder
-
nsgIds
public OdaPrivateEndpoint.Builder nsgIds(List<String> nsgIds)
List of OCIDs of network security groups- Parameters:
nsgIds
- the value to set- Returns:
- this builder
-
freeformTags
public OdaPrivateEndpoint.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public OdaPrivateEndpoint.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public OdaPrivateEndpoint build()
-
copy
public OdaPrivateEndpoint.Builder copy(OdaPrivateEndpoint model)
-
-