public static class CreateModelDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateModelDetails.Builder displayName(String displayName)
A user-friendly name.
displayName
- the value to setpublic CreateModelDetails.Builder compartmentId(String compartmentId)
The compartment OCID for fine-tuned models. For pretrained models, this value is null.
compartmentId
- the value to setpublic CreateModelDetails.Builder vendor(String vendor)
The provider of the model.
vendor
- the value to setpublic CreateModelDetails.Builder version(String version)
The version of the model.
version
- the value to setpublic CreateModelDetails.Builder description(String description)
An optional description of the model.
description
- the value to setpublic CreateModelDetails.Builder baseModelId(String baseModelId)
The OCID of the base model that’s used for fine-tuning.
baseModelId
- the value to setpublic CreateModelDetails.Builder fineTuneDetails(FineTuneDetails fineTuneDetails)
public CreateModelDetails.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"}
freeformTags
- the value to setpublic CreateModelDetails.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"}}
definedTags
- the value to setpublic CreateModelDetails build()
public CreateModelDetails.Builder copy(CreateModelDetails model)
Copyright © 2016–2024. All rights reserved.