Package com.oracle.bmc.ailanguage.model
Class Endpoint.Builder
- java.lang.Object
- 
- com.oracle.bmc.ailanguage.model.Endpoint.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Endpoint.Builderalias(String alias)Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.Endpointbuild()Endpoint.BuildercompartmentId(String compartmentId)The OCID for the endpoint compartment.Endpoint.Buildercopy(Endpoint model)Endpoint.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Endpoint.Builderdescription(String description)A short description of the endpoint.Endpoint.BuilderdisplayName(String displayName)A user-friendly display name for the resource.Endpoint.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.Endpoint.Builderid(String id)Unique identifier endpoint OCID of an endpoint that is immutable on creation.Endpoint.BuilderinferenceUnits(Integer inferenceUnits)Number of replicas required for this endpoint.Endpoint.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.Endpoint.BuilderlifecycleState(Endpoint.LifecycleState lifecycleState)The state of the endpoint.Endpoint.BuildermodelId(String modelId)The OCID of the model to associate with the endpoint.Endpoint.BuilderprojectId(String projectId)The OCID of the project to associate with the Endpoint.Endpoint.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.Endpoint.BuildertimeCreated(Date timeCreated)The time the the endpoint was created.Endpoint.BuildertimeUpdated(Date timeUpdated)The time the endpoint was updated.
 
- 
- 
- 
Method Detail- 
idpublic Endpoint.Builder id(String id) Unique identifier endpoint OCID of an endpoint that is immutable on creation.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
aliaspublic Endpoint.Builder alias(String alias) Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.- Parameters:
- alias- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Endpoint.Builder displayName(String displayName) A user-friendly display name for the resource.It should be unique and can be modified. Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Endpoint.Builder compartmentId(String compartmentId) The OCID for the endpoint compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
projectIdpublic Endpoint.Builder projectId(String projectId) The OCID of the project to associate with the Endpoint.- Parameters:
- projectId- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic Endpoint.Builder description(String description) A short description of the endpoint.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Endpoint.Builder timeCreated(Date timeCreated) The time the the endpoint was created.An RFC3339 formatted datetime string. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic Endpoint.Builder timeUpdated(Date timeUpdated) The time the endpoint was updated.An RFC3339 formatted datetime string. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Endpoint.Builder lifecycleState(Endpoint.LifecycleState lifecycleState) The 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 in more detail.For example, can be used to provide actionable information for a resource in failed state. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
inferenceUnitspublic Endpoint.Builder inferenceUnits(Integer inferenceUnits) Number of replicas required for this endpoint.- Parameters:
- inferenceUnits- the value to set
- Returns:
- this builder
 
 - 
modelIdpublic Endpoint.Builder modelId(String modelId) The OCID of the model to associate with the endpoint.- Parameters:
- modelId- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic Endpoint.Builder freeformTags(Map<String,String> freeformTags) Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”} - 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. Example: {“foo-namespace”: {“bar-key”: “value”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic Endpoint.Builder systemTags(Map<String,Map<String,Object>> systemTags) Usage of system tag keys.These predefined keys are scoped to namespaces. 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) 
 
- 
 
-