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
of the compartment to create the model in.
|
CreateModelDetails.Builder |
copy(CreateModelDetails model) |
CreateModelDetails.Builder |
customMetadataList(List<Metadata> customMetadataList)
An array of custom metadata details for the model.
|
CreateModelDetails.Builder |
definedMetadataList(List<Metadata> definedMetadataList)
An array of defined metadata details for the 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 model.
|
CreateModelDetails.Builder |
displayName(String displayName)
A user-friendly display name for the resource.
|
CreateModelDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
CreateModelDetails.Builder |
inputSchema(String inputSchema)
Input schema file content in String format
|
CreateModelDetails.Builder |
modelVersionSetId(String modelVersionSetId)
The OCID of the model version set that the model is associated to.
|
CreateModelDetails.Builder |
outputSchema(String outputSchema)
Output schema file content in String format
|
CreateModelDetails.Builder |
projectId(String projectId)
The OCID
of the project to associate with the model.
|
CreateModelDetails.Builder |
versionLabel(String versionLabel)
The version label can add an additional description of the lifecycle state of the model
or the application using/training the model.
|
public CreateModelDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment to create the model in.
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 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. Example: My Model
displayName
- the value to setpublic CreateModelDetails.Builder description(String description)
A short description of the model.
description
- the value to setpublic CreateModelDetails.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"}
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. See
Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic CreateModelDetails.Builder customMetadataList(List<Metadata> customMetadataList)
An array of custom metadata details for the model.
customMetadataList
- the value to setpublic CreateModelDetails.Builder definedMetadataList(List<Metadata> definedMetadataList)
An array of defined metadata details for the model.
definedMetadataList
- the value to setpublic CreateModelDetails.Builder inputSchema(String inputSchema)
Input schema file content in String format
inputSchema
- the value to setpublic CreateModelDetails.Builder outputSchema(String outputSchema)
Output schema file content in String format
outputSchema
- the value to setpublic CreateModelDetails.Builder modelVersionSetId(String modelVersionSetId)
The OCID of the model version set that the model is associated to.
modelVersionSetId
- the value to setpublic CreateModelDetails.Builder versionLabel(String versionLabel)
The version label can add an additional description of the lifecycle state of the model or the application using/training the model.
versionLabel
- the value to setpublic CreateModelDetails build()
public CreateModelDetails.Builder copy(CreateModelDetails model)
Copyright © 2016–2024. All rights reserved.