Class DataVersionBaseDetails
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.ResourceBase
-
- com.azure.resourcemanager.machinelearning.models.AssetBase
-
- com.azure.resourcemanager.machinelearning.models.DataVersionBaseDetails
-
- Direct Known Subclasses:
MLTableData
,UriFileDataVersion
,UriFolderDataVersion
public class DataVersionBaseDetails extends AssetBase
Data version base definition.
-
-
Constructor Summary
Constructors Constructor Description DataVersionBaseDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
dataUri()
Get the dataUri property: [Required] Uri of the data.void
validate()
Validates the instance.DataVersionBaseDetails
withDataUri(String dataUri)
Set the dataUri property: [Required] Uri of the data.DataVersionBaseDetails
withDescription(String description)
Set the description property: The asset description text.DataVersionBaseDetails
withIsAnonymous(Boolean isAnonymous)
Set the isAnonymous property: If the name version are system generated (anonymous registration).DataVersionBaseDetails
withIsArchived(Boolean isArchived)
Set the isArchived property: Is the asset archived?.DataVersionBaseDetails
withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.DataVersionBaseDetails
withTags(Map<String,String> tags)
Set the tags property: Tag dictionary.-
Methods inherited from class com.azure.resourcemanager.machinelearning.models.AssetBase
isAnonymous, isArchived
-
Methods inherited from class com.azure.resourcemanager.machinelearning.models.ResourceBase
description, properties, tags
-
-
-
-
Method Detail
-
dataUri
public String dataUri()
Get the dataUri property: [Required] Uri of the data. Usage/meaning depends on Microsoft.MachineLearning.ManagementFrontEnd.Contracts.V20220201Preview.Assets.DataVersionBase.DataType.- Returns:
- the dataUri value.
-
withDataUri
public DataVersionBaseDetails withDataUri(String dataUri)
Set the dataUri property: [Required] Uri of the data. Usage/meaning depends on Microsoft.MachineLearning.ManagementFrontEnd.Contracts.V20220201Preview.Assets.DataVersionBase.DataType.- Parameters:
dataUri
- the dataUri value to set.- Returns:
- the DataVersionBaseDetails object itself.
-
withIsAnonymous
public DataVersionBaseDetails withIsAnonymous(Boolean isAnonymous)
Set the isAnonymous property: If the name version are system generated (anonymous registration).- Overrides:
withIsAnonymous
in classAssetBase
- Parameters:
isAnonymous
- the isAnonymous value to set.- Returns:
- the AssetBase object itself.
-
withIsArchived
public DataVersionBaseDetails withIsArchived(Boolean isArchived)
Set the isArchived property: Is the asset archived?.- Overrides:
withIsArchived
in classAssetBase
- Parameters:
isArchived
- the isArchived value to set.- Returns:
- the AssetBase object itself.
-
withDescription
public DataVersionBaseDetails withDescription(String description)
Set the description property: The asset description text.- Overrides:
withDescription
in classAssetBase
- Parameters:
description
- the description value to set.- Returns:
- the ResourceBase object itself.
-
withProperties
public DataVersionBaseDetails withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.- Overrides:
withProperties
in classAssetBase
- Parameters:
properties
- the properties value to set.- Returns:
- the ResourceBase object itself.
-
withTags
public DataVersionBaseDetails withTags(Map<String,String> tags)
Set the tags property: Tag dictionary. Tags can be added, removed, and updated.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAssetBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-