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 OdaPrivateEndpointbuild()OdaPrivateEndpoint.BuildercompartmentId(String compartmentId)The OCID of the compartment that the ODA private endpoint belongs to.OdaPrivateEndpoint.Buildercopy(OdaPrivateEndpoint model)OdaPrivateEndpoint.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Usage of predefined tag keys.OdaPrivateEndpoint.Builderdescription(String description)Description of the ODA private endpoint.OdaPrivateEndpoint.BuilderdisplayName(String displayName)User-defined name for the ODA private endpoint.OdaPrivateEndpoint.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type, or scope.OdaPrivateEndpoint.Builderid(String id)The OCID that was assigned when the ODA private endpoint was created.OdaPrivateEndpoint.BuilderlifecycleState(OdaPrivateEndpoint.LifecycleState lifecycleState)The current state of the ODA private endpoint.OdaPrivateEndpoint.BuildernsgIds(List<String> nsgIds)List of OCIDs of network security groupsOdaPrivateEndpoint.BuildersubnetId(String subnetId)The OCID of the subnet that the private endpoint belongs to.OdaPrivateEndpoint.BuildertimeCreated(Date timeCreated)When the resource was created.OdaPrivateEndpoint.BuildertimeUpdated(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)
-
-