Class UriFolderDataVersion
- 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.UriFolderDataVersion
-
public final class UriFolderDataVersion extends DataVersionBaseDetails
uri-folder data version entity.
-
-
Constructor Summary
Constructors Constructor Description UriFolderDataVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.UriFolderDataVersion
withDataUri(String dataUri)
Set the dataUri property: [Required] Uri of the data.UriFolderDataVersion
withDescription(String description)
Set the description property: The asset description text.UriFolderDataVersion
withIsAnonymous(Boolean isAnonymous)
Set the isAnonymous property: If the name version are system generated (anonymous registration).UriFolderDataVersion
withIsArchived(Boolean isArchived)
Set the isArchived property: Is the asset archived?.UriFolderDataVersion
withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.UriFolderDataVersion
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 UriFolderDataVersion 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 UriFolderDataVersion 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 UriFolderDataVersion 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 UriFolderDataVersion 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 UriFolderDataVersion 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 UriFolderDataVersion 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.
-
-