Package com.oracle.bmc.ailanguage.model
Class CreateEndpointDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.ailanguage.model.CreateEndpointDetails.Builder
 
- 
- Enclosing class:
- CreateEndpointDetails
 
 public static class CreateEndpointDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateEndpointDetails.Builderalias(String alias)Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.CreateEndpointDetailsbuild()CreateEndpointDetails.BuildercompartmentId(String compartmentId)The OCID compartment identifier for the endpointCreateEndpointDetails.Buildercopy(CreateEndpointDetails model)CreateEndpointDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateEndpointDetails.Builderdescription(String description)A short description of the an endpoint.CreateEndpointDetails.BuilderdisplayName(String displayName)A user-friendly display name for the resource.CreateEndpointDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateEndpointDetails.BuilderinferenceUnits(Integer inferenceUnits)Number of replicas required for this endpoint.CreateEndpointDetails.BuildermodelId(String modelId)The OCID of the model to associate with the endpoint.
 
- 
- 
- 
Method Detail- 
displayNamepublic CreateEndpointDetails.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
 
 - 
aliaspublic CreateEndpointDetails.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
 
 - 
descriptionpublic CreateEndpointDetails.Builder description(String description) A short description of the an endpoint.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic CreateEndpointDetails.Builder compartmentId(String compartmentId) The OCID compartment identifier for the endpoint- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
modelIdpublic CreateEndpointDetails.Builder modelId(String modelId) The OCID of the model to associate with the endpoint.- Parameters:
- modelId- the value to set
- Returns:
- this builder
 
 - 
inferenceUnitspublic CreateEndpointDetails.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
 
 - 
freeformTagspublic CreateEndpointDetails.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 CreateEndpointDetails.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
 
 - 
buildpublic CreateEndpointDetails build() 
 - 
copypublic CreateEndpointDetails.Builder copy(CreateEndpointDetails model) 
 
- 
 
-