Package com.oracle.bmc.ailanguage.model
Class Endpoint.Builder
- java.lang.Object
-
- com.oracle.bmc.ailanguage.model.Endpoint.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Endpoint.Builder
alias(String alias)
Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.Endpoint
build()
Endpoint.Builder
compartmentId(String compartmentId)
The OCID for the endpoint compartment.Endpoint.Builder
computeType(Endpoint.ComputeType computeType)
Compute infra type for endpoint.Endpoint.Builder
copy(Endpoint model)
Endpoint.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Endpoint.Builder
description(String description)
A short description of the endpoint.Endpoint.Builder
displayName(String displayName)
A user-friendly display name for the resource.Endpoint.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Endpoint.Builder
id(String id)
Unique identifier endpoint OCID of an endpoint that is immutable on creation.Endpoint.Builder
inferenceUnits(Integer inferenceUnits)
Number of replicas required for this endpoint.Endpoint.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.Endpoint.Builder
lifecycleState(Endpoint.LifecycleState lifecycleState)
The state of the endpoint.Endpoint.Builder
modelId(String modelId)
The OCID of the model to associate with the endpoint.Endpoint.Builder
projectId(String projectId)
The OCID of the project to associate with the Endpoint.Endpoint.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.Endpoint.Builder
timeCreated(Date timeCreated)
The time the the endpoint was created.Endpoint.Builder
timeUpdated(Date timeUpdated)
The time the endpoint was updated.
-
-
-
Method Detail
-
id
public 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
-
alias
public 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
-
computeType
public Endpoint.Builder computeType(Endpoint.ComputeType computeType)
Compute infra type for endpoint.- Parameters:
computeType
- the value to set- Returns:
- this builder
-
displayName
public 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
-
compartmentId
public Endpoint.Builder compartmentId(String compartmentId)
The OCID for the endpoint compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
projectId
public Endpoint.Builder projectId(String projectId)
The OCID of the project to associate with the Endpoint.- Parameters:
projectId
- the value to set- Returns:
- this builder
-
description
public Endpoint.Builder description(String description)
A short description of the endpoint.- Parameters:
description
- the value to set- Returns:
- this builder
-
timeCreated
public 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
-
timeUpdated
public 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
-
lifecycleState
public Endpoint.Builder lifecycleState(Endpoint.LifecycleState lifecycleState)
The state of the endpoint.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public 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
-
inferenceUnits
public Endpoint.Builder inferenceUnits(Integer inferenceUnits)
Number of replicas required for this endpoint.- Parameters:
inferenceUnits
- the value to set- Returns:
- this builder
-
modelId
public Endpoint.Builder modelId(String modelId)
The OCID of the model to associate with the endpoint.- Parameters:
modelId
- the value to set- Returns:
- this builder
-
freeformTags
public 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
-
definedTags
public 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
-
systemTags
public 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
-
build
public Endpoint build()
-
copy
public Endpoint.Builder copy(Endpoint model)
-
-