public static class CreateModelProvenanceDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateModelProvenanceDetails |
build() |
CreateModelProvenanceDetails.Builder |
copy(CreateModelProvenanceDetails model) |
CreateModelProvenanceDetails.Builder |
gitBranch(String gitBranch)
For model reproducibility purposes.
|
CreateModelProvenanceDetails.Builder |
gitCommit(String gitCommit)
For model reproducibility purposes.
|
CreateModelProvenanceDetails.Builder |
repositoryUrl(String repositoryUrl)
For model reproducibility purposes.
|
CreateModelProvenanceDetails.Builder |
scriptDir(String scriptDir)
For model reproducibility purposes.
|
CreateModelProvenanceDetails.Builder |
trainingId(String trainingId)
The OCID
of a training session(Job or NotebookSession) in which the model was trained.
|
CreateModelProvenanceDetails.Builder |
trainingScript(String trainingScript)
For model reproducibility purposes.
|
public CreateModelProvenanceDetails.Builder repositoryUrl(String repositoryUrl)
For model reproducibility purposes. URL of the git repository associated with model training.
repositoryUrl
- the value to setpublic CreateModelProvenanceDetails.Builder gitBranch(String gitBranch)
For model reproducibility purposes. Branch of the git repository associated with model training.
gitBranch
- the value to setpublic CreateModelProvenanceDetails.Builder gitCommit(String gitCommit)
For model reproducibility purposes. Commit ID of the git repository associated with model training.
gitCommit
- the value to setpublic CreateModelProvenanceDetails.Builder scriptDir(String scriptDir)
For model reproducibility purposes. Path to model artifacts.
scriptDir
- the value to setpublic CreateModelProvenanceDetails.Builder trainingScript(String trainingScript)
For model reproducibility purposes. Path to the python script or notebook in which the model was trained."
trainingScript
- the value to setpublic CreateModelProvenanceDetails.Builder trainingId(String trainingId)
The OCID of a training session(Job or NotebookSession) in which the model was trained. It is used for model reproducibility purposes.
trainingId
- the value to setpublic CreateModelProvenanceDetails build()
public CreateModelProvenanceDetails.Builder copy(CreateModelProvenanceDetails model)
Copyright © 2016–2024. All rights reserved.