Class ImportedModel.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeai.model.ImportedModel.Builder
-
- Enclosing class:
- ImportedModel
public static class ImportedModel.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImportedModelbuild()ImportedModel.Buildercapabilities(List<ImportedModelCapability> capabilities)Specifies the intended use or supported capabilities of the imported model.ImportedModel.BuildercompartmentId(String compartmentId)The compartment OCID from which the model is imported.ImportedModel.Buildercopy(ImportedModel model)ImportedModel.BuilderdataSource(ModelDataSource dataSource)ImportedModel.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ImportedModel.Builderdescription(String description)An optional description of the imported model.ImportedModel.BuilderdisplayName(String displayName)A user-friendly name.ImportedModel.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ImportedModel.Builderid(String id)An OCID that uniquely identifies an imported model.ImportedModel.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current state of the imported model, providing more detailed and actionable context.ImportedModel.BuilderlifecycleState(ImportedModel.LifecycleState lifecycleState)The lifecycle state of the imported model.ImportedModel.BuilderpreviousState(ImportedModel previousState)ImportedModel.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ImportedModel.BuildertimeCreated(Date timeCreated)The date and time that the imported model was created in the format of an RFC3339 datetime string.ImportedModel.BuildertimeUpdated(Date timeUpdated)The date and time that the imported model was updated in the format of an RFC3339 datetime string.ImportedModel.Buildervendor(String vendor)The provider of the imported model.ImportedModel.Builderversion(String version)The version of the imported model.
-
-
-
Method Detail
-
id
public ImportedModel.Builder id(String id)
An OCID that uniquely identifies an imported model.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public ImportedModel.Builder displayName(String displayName)
A user-friendly name.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public ImportedModel.Builder description(String description)
An optional description of the imported model.- Parameters:
description- the value to set- Returns:
- this builder
-
compartmentId
public ImportedModel.Builder compartmentId(String compartmentId)
The compartment OCID from which the model is imported.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
capabilities
public ImportedModel.Builder capabilities(List<ImportedModelCapability> capabilities)
Specifies the intended use or supported capabilities of the imported model.- Parameters:
capabilities- the value to set- Returns:
- this builder
-
lifecycleState
public ImportedModel.Builder lifecycleState(ImportedModel.LifecycleState lifecycleState)
The lifecycle state of the imported model.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public ImportedModel.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current state of the imported model, providing more detailed and actionable context.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
vendor
public ImportedModel.Builder vendor(String vendor)
The provider of the imported model.- Parameters:
vendor- the value to set- Returns:
- this builder
-
version
public ImportedModel.Builder version(String version)
The version of the imported model.- Parameters:
version- the value to set- Returns:
- this builder
-
dataSource
public ImportedModel.Builder dataSource(ModelDataSource dataSource)
-
timeCreated
public ImportedModel.Builder timeCreated(Date timeCreated)
The date and time that the imported model was created in the format of an RFC3339 datetime string.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public ImportedModel.Builder timeUpdated(Date timeUpdated)
The date and time that the imported model was updated in the format of an RFC3339 datetime string.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
previousState
public ImportedModel.Builder previousState(ImportedModel previousState)
-
freeformTags
public ImportedModel.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"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public ImportedModel.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"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public ImportedModel.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public ImportedModel build()
-
copy
public ImportedModel.Builder copy(ImportedModel model)
-
-