Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Model.Builder |
backupOperationDetails(BackupOperationDetails backupOperationDetails) |
Model.Builder |
backupSetting(BackupSetting backupSetting) |
Model |
build() |
Model.Builder |
compartmentId(String compartmentId)
The OCID
of the model’s compartment.
|
Model.Builder |
copy(Model model) |
Model.Builder |
createdBy(String createdBy)
The OCID
of the user who created the model.
|
Model.Builder |
customMetadataList(List<Metadata> customMetadataList)
An array of custom metadata details for the model.
|
Model.Builder |
definedMetadataList(List<Metadata> definedMetadataList)
An array of defined metadata details for the model.
|
Model.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Model.Builder |
description(String description)
A short description of the model.
|
Model.Builder |
displayName(String displayName)
A user-friendly display name for the resource.
|
Model.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
Model.Builder |
id(String id)
The OCID
of the model.
|
Model.Builder |
inputSchema(String inputSchema)
Input schema file content in String format
|
Model.Builder |
lifecycleDetails(String lifecycleDetails)
Details about the lifecycle state of the model.
|
Model.Builder |
lifecycleState(ModelLifecycleState lifecycleState)
The state of the model.
|
Model.Builder |
modelVersionSetId(String modelVersionSetId)
The OCID of the model version set that the model is associated to.
|
Model.Builder |
modelVersionSetName(String modelVersionSetName)
The name of the model version set that the model is associated to.
|
Model.Builder |
outputSchema(String outputSchema)
Output schema file content in String format
|
Model.Builder |
projectId(String projectId)
The OCID
of the project associated with the model.
|
Model.Builder |
retentionOperationDetails(RetentionOperationDetails retentionOperationDetails) |
Model.Builder |
retentionSetting(RetentionSetting retentionSetting) |
Model.Builder |
timeCreated(Date timeCreated)
The date and time the resource was created in the timestamp format defined by
RFC3339.
|
Model.Builder |
versionId(Long versionId)
Unique identifier assigned to each version of the model.
|
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.
|
public Model.Builder id(String id)
The OCID of the model.
id
- the value to setpublic Model.Builder compartmentId(String compartmentId)
The OCID of the model’s compartment.
compartmentId
- the value to setpublic Model.Builder projectId(String projectId)
The OCID of the project associated with the model.
projectId
- the value to setpublic 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.
displayName
- the value to setpublic Model.Builder description(String description)
A short description of the model.
description
- the value to setpublic Model.Builder lifecycleState(ModelLifecycleState lifecycleState)
The state of the model.
lifecycleState
- the value to setpublic Model.Builder lifecycleDetails(String lifecycleDetails)
Details about the lifecycle state of the model.
lifecycleDetails
- the value to setpublic 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
timeCreated
- the value to setpublic Model.Builder createdBy(String createdBy)
The OCID of the user who created the model.
createdBy
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic Model.Builder customMetadataList(List<Metadata> customMetadataList)
An array of custom metadata details for the model.
customMetadataList
- the value to setpublic Model.Builder definedMetadataList(List<Metadata> definedMetadataList)
An array of defined metadata details for the model.
definedMetadataList
- the value to setpublic Model.Builder inputSchema(String inputSchema)
Input schema file content in String format
inputSchema
- the value to setpublic Model.Builder outputSchema(String outputSchema)
Output schema file content in String format
outputSchema
- the value to setpublic Model.Builder modelVersionSetId(String modelVersionSetId)
The OCID of the model version set that the model is associated to.
modelVersionSetId
- the value to setpublic Model.Builder modelVersionSetName(String modelVersionSetName)
The name of the model version set that the model is associated to.
modelVersionSetName
- the value to setpublic Model.Builder versionId(Long versionId)
Unique identifier assigned to each version of the model.
versionId
- the value to setpublic 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.
versionLabel
- the value to setpublic Model.Builder retentionSetting(RetentionSetting retentionSetting)
public Model.Builder backupSetting(BackupSetting backupSetting)
public Model.Builder retentionOperationDetails(RetentionOperationDetails retentionOperationDetails)
public Model.Builder backupOperationDetails(BackupOperationDetails backupOperationDetails)
public Model build()
public Model.Builder copy(Model model)
Copyright © 2016–2024. All rights reserved.