Package com.oracle.bmc.datascience.model
Class Model.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.Model.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Model.BuilderbackupOperationDetails(BackupOperationDetails backupOperationDetails)Model.BuilderbackupSetting(BackupSetting backupSetting)Modelbuild()Model.Buildercategory(ModelCategory category)The category of the model.Model.BuildercompartmentId(String compartmentId)The OCID of the model’s compartment.Model.Buildercopy(Model model)Model.BuildercreatedBy(String createdBy)The OCID of the user who created the model.Model.BuildercustomMetadataList(List<Metadata> customMetadataList)An array of custom metadata details for the model.Model.BuilderdefinedMetadataList(List<Metadata> definedMetadataList)An array of defined metadata details for the model.Model.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Model.Builderdescription(String description)A short description of the model.Model.BuilderdisplayName(String displayName)A user-friendly display name for the resource.Model.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.Model.Builderid(String id)The OCID of the model.Model.BuilderinputSchema(String inputSchema)Input schema file content in String formatModel.BuilderisModelByReference(Boolean isModelByReference)Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy.Model.BuilderlifecycleDetails(String lifecycleDetails)Details about the lifecycle state of the model.Model.BuilderlifecycleState(ModelLifecycleState lifecycleState)The state of the model.Model.BuildermodelVersionSetId(String modelVersionSetId)The OCID of the model version set that the model is associated to.Model.BuildermodelVersionSetName(String modelVersionSetName)The name of the model version set that the model is associated to.Model.BuilderoutputSchema(String outputSchema)Output schema file content in String formatModel.BuilderprojectId(String projectId)The OCID of the project associated with the model.Model.BuilderretentionOperationDetails(RetentionOperationDetails retentionOperationDetails)Model.BuilderretentionSetting(RetentionSetting retentionSetting)Model.BuildertimeCreated(Date timeCreated)The date and time the resource was created in the timestamp format defined by RFC3339.Model.BuilderversionId(Long versionId)Unique identifier assigned to each version of the model.Model.BuilderversionLabel(String versionLabel)The version label can add an additional description of the lifecycle state of the model or the application using and training the model.
-
-
-
Method Detail
-
id
public Model.Builder id(String id)
The OCID of the model.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public Model.Builder compartmentId(String compartmentId)
The OCID of the model’s compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
projectId
public Model.Builder projectId(String projectId)
The OCID of the project associated with the model.- Parameters:
projectId- the value to set- Returns:
- this builder
-
displayName
public Model.Builder displayName(String displayName)
A user-friendly display name for the resource.It does not have to be unique and can be modified. Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public Model.Builder description(String description)
A short description of the model.- Parameters:
description- the value to set- Returns:
- this builder
-
lifecycleState
public Model.Builder lifecycleState(ModelLifecycleState lifecycleState)
The state of the model.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public Model.Builder lifecycleDetails(String lifecycleDetails)
Details about the lifecycle state of the model.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
timeCreated
public Model.Builder timeCreated(Date timeCreated)
The date and time the resource was created in the timestamp format defined by RFC3339.Example: 2019-08-25T21:10:29.41Z
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
createdBy
public Model.Builder createdBy(String createdBy)
The OCID of the user who created the model.- Parameters:
createdBy- the value to set- Returns:
- this builder
-
freeformTags
public Model.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. See Resource Tags. Example: {“Department”: “Finance”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public Model.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
customMetadataList
public Model.Builder customMetadataList(List<Metadata> customMetadataList)
An array of custom metadata details for the model.- Parameters:
customMetadataList- the value to set- Returns:
- this builder
-
definedMetadataList
public Model.Builder definedMetadataList(List<Metadata> definedMetadataList)
An array of defined metadata details for the model.- Parameters:
definedMetadataList- the value to set- Returns:
- this builder
-
inputSchema
public Model.Builder inputSchema(String inputSchema)
Input schema file content in String format- Parameters:
inputSchema- the value to set- Returns:
- this builder
-
outputSchema
public Model.Builder outputSchema(String outputSchema)
Output schema file content in String format- Parameters:
outputSchema- the value to set- Returns:
- this builder
-
modelVersionSetId
public Model.Builder modelVersionSetId(String modelVersionSetId)
The OCID of the model version set that the model is associated to.- Parameters:
modelVersionSetId- the value to set- Returns:
- this builder
-
modelVersionSetName
public Model.Builder modelVersionSetName(String modelVersionSetName)
The name of the model version set that the model is associated to.- Parameters:
modelVersionSetName- the value to set- Returns:
- this builder
-
versionId
public Model.Builder versionId(Long versionId)
Unique identifier assigned to each version of the model.- Parameters:
versionId- the value to set- Returns:
- this builder
-
versionLabel
public Model.Builder versionLabel(String versionLabel)
The version label can add an additional description of the lifecycle state of the model or the application using and training the model.- Parameters:
versionLabel- the value to set- Returns:
- this builder
-
category
public Model.Builder category(ModelCategory category)
The category of the model.- Parameters:
category- the value to set- Returns:
- this builder
-
isModelByReference
public Model.Builder isModelByReference(Boolean isModelByReference)
Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy.- Parameters:
isModelByReference- the value to set- Returns:
- this builder
-
retentionSetting
public Model.Builder retentionSetting(RetentionSetting retentionSetting)
-
backupSetting
public Model.Builder backupSetting(BackupSetting backupSetting)
-
retentionOperationDetails
public Model.Builder retentionOperationDetails(RetentionOperationDetails retentionOperationDetails)
-
backupOperationDetails
public Model.Builder backupOperationDetails(BackupOperationDetails backupOperationDetails)
-
build
public Model build()
-
copy
public Model.Builder copy(Model model)
-
-