Class Endpoint.Builder
- java.lang.Object
- 
- com.oracle.bmc.generativeai.model.Endpoint.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Endpointbuild()Endpoint.BuildercompartmentId(String compartmentId)The compartment OCID to create the endpoint in.Endpoint.BuildercontentModerationConfig(ContentModerationConfig contentModerationConfig)Endpoint.Buildercopy(Endpoint model)Endpoint.BuilderdedicatedAiClusterId(String dedicatedAiClusterId)The OCID of the dedicated AI cluster on which the model will be deployed to.Endpoint.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Endpoint.Builderdescription(String description)An optional description of the endpoint.Endpoint.BuilderdisplayName(String displayName)A user-friendly name.Endpoint.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.Endpoint.BuildergenerativeAiPrivateEndpointId(String generativeAiPrivateEndpointId)The OCID of the Generative AI private endpoint to which this endpoint is attached to.Endpoint.Builderid(String id)An OCID that uniquely identifies this endpoint resource.Endpoint.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state of the endpoint in more detail that can provide actionable information.Endpoint.BuilderlifecycleState(Endpoint.LifecycleState lifecycleState)The current state of the endpoint.Endpoint.BuildermodelId(String modelId)The OCID of the model that’s used to create this endpoint.Endpoint.BuilderpreviousState(Endpoint previousState)Endpoint.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.Endpoint.BuildertimeCreated(Date timeCreated)The date and time that the endpoint was created in the format of an RFC3339 datetime string.Endpoint.BuildertimeUpdated(Date timeUpdated)The date and time that the endpoint was updated in the format of an RFC3339 datetime string.
 
- 
- 
- 
Method Detail- 
idpublic Endpoint.Builder id(String id) An OCID that uniquely identifies this endpoint resource.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Endpoint.Builder displayName(String displayName) A user-friendly name.Does not have to be unique, and it’s changeable. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic Endpoint.Builder description(String description) An optional description of the endpoint.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
modelIdpublic Endpoint.Builder modelId(String modelId) The OCID of the model that’s used to create this endpoint.- Parameters:
- modelId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Endpoint.Builder compartmentId(String compartmentId) The compartment OCID to create the endpoint in.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
dedicatedAiClusterIdpublic Endpoint.Builder dedicatedAiClusterId(String dedicatedAiClusterId) The OCID of the dedicated AI cluster on which the model will be deployed to.- Parameters:
- dedicatedAiClusterId- the value to set
- Returns:
- this builder
 
 - 
generativeAiPrivateEndpointIdpublic Endpoint.Builder generativeAiPrivateEndpointId(String generativeAiPrivateEndpointId) The OCID of the Generative AI private endpoint to which this endpoint is attached to.- Parameters:
- generativeAiPrivateEndpointId- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Endpoint.Builder timeCreated(Date timeCreated) The date and time that the endpoint was created in the format of an RFC3339 datetime string.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic Endpoint.Builder timeUpdated(Date timeUpdated) The date and time that the endpoint was updated in the format of an RFC3339 datetime string.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Endpoint.Builder lifecycleState(Endpoint.LifecycleState lifecycleState) The current state of the endpoint.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic Endpoint.Builder lifecycleDetails(String lifecycleDetails) A message describing the current state of the endpoint in more detail that can provide actionable information.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
contentModerationConfigpublic Endpoint.Builder contentModerationConfig(ContentModerationConfig contentModerationConfig) 
 - 
previousStatepublic Endpoint.Builder previousState(Endpoint previousState) 
 - 
freeformTagspublic Endpoint.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
 
 - 
definedTagspublic Endpoint.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
 
 - 
systemTagspublic Endpoint.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic Endpoint build() 
 - 
copypublic Endpoint.Builder copy(Endpoint model) 
 
- 
 
-