public static class CreateModelDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateModelDetails |
build() |
CreateModelDetails.Builder |
compartmentId(String compartmentId)
The OCID for the ai model’s compartment.
|
CreateModelDetails.Builder |
copy(CreateModelDetails model) |
CreateModelDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateModelDetails.Builder |
description(String description)
A short description of the ai model.
|
CreateModelDetails.Builder |
displayName(String displayName)
A user-friendly display name for the resource.
|
CreateModelDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateModelDetails.Builder |
modelTrainingDetails(ModelTrainingDetails modelTrainingDetails) |
CreateModelDetails.Builder |
projectId(String projectId)
The OCID
of the project to associate with the model.
|
public CreateModelDetails.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.
displayName
- the value to setpublic CreateModelDetails.Builder description(String description)
A short description of the ai model.
description
- the value to setpublic CreateModelDetails.Builder compartmentId(String compartmentId)
The OCID for the ai model’s compartment.
compartmentId
- the value to setpublic CreateModelDetails.Builder modelTrainingDetails(ModelTrainingDetails modelTrainingDetails)
public CreateModelDetails.Builder projectId(String projectId)
The OCID of the project to associate with the model.
projectId
- the value to setpublic CreateModelDetails.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic CreateModelDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic CreateModelDetails build()
public CreateModelDetails.Builder copy(CreateModelDetails model)
Copyright © 2016–2024. All rights reserved.