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