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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
idpublic 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
 
 - 
displayNamepublic 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
 
 - 
descriptionpublic OdaPrivateEndpoint.Builder description(String description) Description of the ODA private endpoint.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic 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
 
 - 
timeCreatedpublic 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
 
 - 
timeUpdatedpublic 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
 
 - 
lifecycleStatepublic OdaPrivateEndpoint.Builder lifecycleState(OdaPrivateEndpoint.LifecycleState lifecycleState) The current state of the ODA private endpoint.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
subnetIdpublic 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
 
 - 
nsgIdspublic OdaPrivateEndpoint.Builder nsgIds(List<String> nsgIds) List of OCIDs of network security groups- Parameters:
- nsgIds- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
buildpublic OdaPrivateEndpoint build() 
 - 
copypublic OdaPrivateEndpoint.Builder copy(OdaPrivateEndpoint model) 
 
- 
 
-