Package com.oracle.bmc.ailanguage.model
Class EndpointSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.ailanguage.model.EndpointSummary.Builder
-
- Enclosing class:
- EndpointSummary
public static class EndpointSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointSummary.Builderalias(String alias)Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.EndpointSummarybuild()EndpointSummary.BuildercompartmentId(String compartmentId)The OCID for the Endpoint compartment.EndpointSummary.Buildercopy(EndpointSummary model)EndpointSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.EndpointSummary.Builderdescription(String description)A short description of the endpoint.EndpointSummary.BuilderdisplayName(String displayName)A user-friendly display name for the resource.EndpointSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.EndpointSummary.Builderid(String id)Unique identifier endpoint OCID of an endpoint that is immutable on creation.EndpointSummary.BuilderinferenceUnits(Integer inferenceUnits)Number of replicas required for this endpoint.EndpointSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.EndpointSummary.BuilderlifecycleState(Endpoint.LifecycleState lifecycleState)The state of the endpoint.EndpointSummary.BuildermodelId(String modelId)The OCID of the model to associate with the endpoint.EndpointSummary.BuilderprojectId(String projectId)The OCID of the project to associate with the endpoint.EndpointSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.EndpointSummary.BuildertimeCreated(Date timeCreated)The time the the endpoint was created.
-
-
-
Method Detail
-
id
public EndpointSummary.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 EndpointSummary.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
-
displayName
public EndpointSummary.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 EndpointSummary.Builder compartmentId(String compartmentId)
The OCID for the Endpoint compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
projectId
public EndpointSummary.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 EndpointSummary.Builder description(String description)
A short description of the endpoint.- Parameters:
description- the value to set- Returns:
- this builder
-
timeCreated
public EndpointSummary.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
-
lifecycleState
public EndpointSummary.Builder lifecycleState(Endpoint.LifecycleState lifecycleState)
The state of the endpoint.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public EndpointSummary.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 EndpointSummary.Builder inferenceUnits(Integer inferenceUnits)
Number of replicas required for this endpoint.This will be optional parameter. Default will be 1.
- Parameters:
inferenceUnits- the value to set- Returns:
- this builder
-
modelId
public EndpointSummary.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 EndpointSummary.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 EndpointSummary.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 EndpointSummary.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 EndpointSummary build()
-
copy
public EndpointSummary.Builder copy(EndpointSummary model)
-
-