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