Model Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearningservices. models. Model
- com.
public final class Model
An Azure Machine Learning Model.
Constructor Summary
Constructor | Description | |
---|---|---|
Model() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
createdTime()
Get the created |
List<Dataset |
datasets()
Get the datasets property: The list of datasets associated with the model. |
List<String> |
derivedModelIds()
Get the derived |
String |
description()
Get the description property: The Model description text. |
String |
experimentName()
Get the experiment |
String |
framework()
Get the framework property: The Model framework. |
String |
frameworkVersion()
Get the framework |
String |
id()
Get the id property: The Model Id. |
Map<String,String> |
kvTags()
Get the kv |
String |
mimeType()
Get the mime |
Offset |
modifiedTime()
Get the modified |
String |
name()
Get the name property: The Model name. |
String |
parentModelId()
Get the parent |
Map<String,String> |
properties()
Get the properties property: The Model property dictionary. |
Container |
resourceRequirements()
Get the resource |
String |
runId()
Get the run |
String |
sampleInputData()
Get the sample |
String |
sampleOutputData()
Get the sample |
Boolean |
unpack()
Get the unpack property: Indicates whether we need to unpack the Model during docker Image creation. |
String |
url()
Get the url property: The URL of the Model. |
void |
validate()
Validates the instance. |
Long |
version()
Get the version property: The Model version assigned by Model Management Service. |
Model |
withCreatedTime(OffsetDateTime createdTime)
Set the created |
Model |
withDatasets(List<DatasetReference> datasets)
Set the datasets property: The list of datasets associated with the model. |
Model |
withDerivedModelIds(List<String> derivedModelIds)
Set the derived |
Model |
withDescription(String description)
Set the description property: The Model description text. |
Model |
withExperimentName(String experimentName)
Set the experiment |
Model |
withFramework(String framework)
Set the framework property: The Model framework. |
Model |
withFrameworkVersion(String frameworkVersion)
Set the framework |
Model |
withId(String id)
Set the id property: The Model Id. |
Model |
withKvTags(Map<String,String> kvTags)
Set the kv |
Model |
withMimeType(String mimeType)
Set the mime |
Model |
withModifiedTime(OffsetDateTime modifiedTime)
Set the modified |
Model |
withName(String name)
Set the name property: The Model name. |
Model |
withParentModelId(String parentModelId)
Set the parent |
Model |
withProperties(Map<String,String> properties)
Set the properties property: The Model property dictionary. |
Model |
withResourceRequirements(ContainerResourceRequirements resourceRequirements)
Set the resource |
Model |
withRunId(String runId)
Set the run |
Model |
withSampleInputData(String sampleInputData)
Set the sample |
Model |
withSampleOutputData(String sampleOutputData)
Set the sample |
Model |
withUnpack(Boolean unpack)
Set the unpack property: Indicates whether we need to unpack the Model during docker Image creation. |
Model |
withUrl(String url)
Set the url property: The URL of the Model. |
Model |
withVersion(Long version)
Set the version property: The Model version assigned by Model Management Service. |
Methods inherited from java.lang.Object
Constructor Details
Model
public Model()
Method Details
createdTime
public OffsetDateTime createdTime()
Get the createdTime property: The Model creation time (UTC).
Returns:
datasets
public List
Get the datasets property: The list of datasets associated with the model.
Returns:
derivedModelIds
public List
Get the derivedModelIds property: Models derived from this model.
Returns:
description
public String description()
Get the description property: The Model description text.
Returns:
experimentName
public String experimentName()
Get the experimentName property: The name of the experiment where this model was created.
Returns:
framework
public String framework()
Get the framework property: The Model framework.
Returns:
frameworkVersion
public String frameworkVersion()
Get the frameworkVersion property: The Model framework version.
Returns:
id
public String id()
Get the id property: The Model Id.
Returns:
kvTags
public Map
Get the kvTags property: The Model tag dictionary. Items are mutable.
Returns:
mimeType
public String mimeType()
Get the mimeType property: The MIME type of Model content. For more details about MIME type, please open https://www.iana.org/assignments/media-types/media-types.xhtml.
Returns:
modifiedTime
public OffsetDateTime modifiedTime()
Get the modifiedTime property: The Model last modified time (UTC).
Returns:
name
public String name()
Get the name property: The Model name.
Returns:
parentModelId
public String parentModelId()
Get the parentModelId property: The Parent Model Id.
Returns:
properties
public Map
Get the properties property: The Model property dictionary. Properties are immutable.
Returns:
resourceRequirements
public ContainerResourceRequirements resourceRequirements()
Get the resourceRequirements property: Resource requirements for the model.
Returns:
runId
public String runId()
Get the runId property: The RunId that created this model.
Returns:
sampleInputData
public String sampleInputData()
Get the sampleInputData property: Sample Input Data for the Model. A reference to a dataset in the workspace in the format aml://dataset/{datasetId}.
Returns:
sampleOutputData
public String sampleOutputData()
Get the sampleOutputData property: Sample Output Data for the Model. A reference to a dataset in the workspace in the format aml://dataset/{datasetId}.
Returns:
unpack
public Boolean unpack()
Get the unpack property: Indicates whether we need to unpack the Model during docker Image creation.
Returns:
url
public String url()
Get the url property: The URL of the Model. Usually a SAS URL.
Returns:
validate
public void validate()
Validates the instance.
version
public Long version()
Get the version property: The Model version assigned by Model Management Service.
Returns:
withCreatedTime
public Model withCreatedTime(OffsetDateTime createdTime)
Set the createdTime property: The Model creation time (UTC).
Parameters:
Returns:
withDatasets
public Model withDatasets(List
Set the datasets property: The list of datasets associated with the model.
Parameters:
Returns:
withDerivedModelIds
public Model withDerivedModelIds(List
Set the derivedModelIds property: Models derived from this model.
Parameters:
Returns:
withDescription
public Model withDescription(String description)
Set the description property: The Model description text.
Parameters:
Returns:
withExperimentName
public Model withExperimentName(String experimentName)
Set the experimentName property: The name of the experiment where this model was created.
Parameters:
Returns:
withFramework
public Model withFramework(String framework)
Set the framework property: The Model framework.
Parameters:
Returns:
withFrameworkVersion
public Model withFrameworkVersion(String frameworkVersion)
Set the frameworkVersion property: The Model framework version.
Parameters:
Returns:
withId
public Model withId(String id)
Set the id property: The Model Id.
Parameters:
Returns:
withKvTags
public Model withKvTags(Map
Set the kvTags property: The Model tag dictionary. Items are mutable.
Parameters:
Returns:
withMimeType
public Model withMimeType(String mimeType)
Set the mimeType property: The MIME type of Model content. For more details about MIME type, please open https://www.iana.org/assignments/media-types/media-types.xhtml.
Parameters:
Returns:
withModifiedTime
public Model withModifiedTime(OffsetDateTime modifiedTime)
Set the modifiedTime property: The Model last modified time (UTC).
Parameters:
Returns:
withName
public Model withName(String name)
Set the name property: The Model name.
Parameters:
Returns:
withParentModelId
public Model withParentModelId(String parentModelId)
Set the parentModelId property: The Parent Model Id.
Parameters:
Returns:
withProperties
public Model withProperties(Map
Set the properties property: The Model property dictionary. Properties are immutable.
Parameters:
Returns:
withResourceRequirements
public Model withResourceRequirements(ContainerResourceRequirements resourceRequirements)
Set the resourceRequirements property: Resource requirements for the model.
Parameters:
Returns:
withRunId
public Model withRunId(String runId)
Set the runId property: The RunId that created this model.
Parameters:
Returns:
withSampleInputData
public Model withSampleInputData(String sampleInputData)
Set the sampleInputData property: Sample Input Data for the Model. A reference to a dataset in the workspace in the format aml://dataset/{datasetId}.
Parameters:
Returns:
withSampleOutputData
public Model withSampleOutputData(String sampleOutputData)
Set the sampleOutputData property: Sample Output Data for the Model. A reference to a dataset in the workspace in the format aml://dataset/{datasetId}.
Parameters:
Returns:
withUnpack
public Model withUnpack(Boolean unpack)
Set the unpack property: Indicates whether we need to unpack the Model during docker Image creation.
Parameters:
Returns:
withUrl
public Model withUrl(String url)
Set the url property: The URL of the Model. Usually a SAS URL.
Parameters:
Returns:
withVersion
public Model withVersion(Long version)
Set the version property: The Model version assigned by Model Management Service.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for