Package com.oracle.bmc.datascience.model
Class Model.Builder
- java.lang.Object
- 
- com.oracle.bmc.datascience.model.Model.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
idpublic Model.Builder id(String id) The OCID of the model.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Model.Builder compartmentId(String compartmentId) The OCID of the model’s compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
projectIdpublic Model.Builder projectId(String projectId) The OCID of the project associated with the model.- Parameters:
- projectId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic 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
 
 - 
descriptionpublic Model.Builder description(String description) A short description of the model.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Model.Builder lifecycleState(ModelLifecycleState lifecycleState) The state of the model.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic Model.Builder lifecycleDetails(String lifecycleDetails) Details about the lifecycle state of the model.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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
 
 - 
createdBypublic Model.Builder createdBy(String createdBy) The OCID of the user who created the model.- Parameters:
- createdBy- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
customMetadataListpublic Model.Builder customMetadataList(List<Metadata> customMetadataList) An array of custom metadata details for the model.- Parameters:
- customMetadataList- the value to set
- Returns:
- this builder
 
 - 
definedMetadataListpublic Model.Builder definedMetadataList(List<Metadata> definedMetadataList) An array of defined metadata details for the model.- Parameters:
- definedMetadataList- the value to set
- Returns:
- this builder
 
 - 
inputSchemapublic Model.Builder inputSchema(String inputSchema) Input schema file content in String format- Parameters:
- inputSchema- the value to set
- Returns:
- this builder
 
 - 
outputSchemapublic Model.Builder outputSchema(String outputSchema) Output schema file content in String format- Parameters:
- outputSchema- the value to set
- Returns:
- this builder
 
 - 
modelVersionSetIdpublic 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
 
 - 
modelVersionSetNamepublic 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
 
 - 
versionIdpublic Model.Builder versionId(Long versionId) Unique identifier assigned to each version of the model.- Parameters:
- versionId- the value to set
- Returns:
- this builder
 
 - 
versionLabelpublic 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
 
 - 
categorypublic Model.Builder category(ModelCategory category) The category of the model.- Parameters:
- category- the value to set
- Returns:
- this builder
 
 - 
isModelByReferencepublic 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
 
 - 
retentionSettingpublic Model.Builder retentionSetting(RetentionSetting retentionSetting) 
 - 
backupSettingpublic Model.Builder backupSetting(BackupSetting backupSetting) 
 - 
retentionOperationDetailspublic Model.Builder retentionOperationDetails(RetentionOperationDetails retentionOperationDetails) 
 - 
backupOperationDetailspublic Model.Builder backupOperationDetails(BackupOperationDetails backupOperationDetails) 
 - 
buildpublic Model build() 
 - 
copypublic Model.Builder copy(Model model) 
 
- 
 
-