public static class CreateModelDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
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 a model.
description
- the value to setpublic CreateModelDetails.Builder compartmentId(String compartmentId)
The OCID for the models compartment.
compartmentId
- the value to setpublic CreateModelDetails.Builder projectId(String projectId)
The OCID of the project to associate with the model.
projectId
- the value to setpublic CreateModelDetails.Builder modelDetails(ModelDetails modelDetails)
public CreateModelDetails.Builder trainingDataset(DatasetDetails trainingDataset)
public CreateModelDetails.Builder testStrategy(TestStrategy testStrategy)
public 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.