Class DataContainerDetails
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.ResourceBase
-
- com.azure.resourcemanager.machinelearning.models.AssetContainer
-
- com.azure.resourcemanager.machinelearning.models.DataContainerDetails
-
public final class DataContainerDetails extends AssetContainer
Container for data asset versions.
-
-
Constructor Summary
Constructors Constructor Description DataContainerDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataType
dataType()
Get the dataType property: [Required] Specifies the type of data.void
validate()
Validates the instance.DataContainerDetails
withDataType(DataType dataType)
Set the dataType property: [Required] Specifies the type of data.DataContainerDetails
withDescription(String description)
Set the description property: The asset description text.DataContainerDetails
withIsArchived(Boolean isArchived)
Set the isArchived property: Is the asset archived?.DataContainerDetails
withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.DataContainerDetails
withTags(Map<String,String> tags)
Set the tags property: Tag dictionary.-
Methods inherited from class com.azure.resourcemanager.machinelearning.models.AssetContainer
isArchived, latestVersion, nextVersion
-
Methods inherited from class com.azure.resourcemanager.machinelearning.models.ResourceBase
description, properties, tags
-
-
-
-
Method Detail
-
dataType
public DataType dataType()
Get the dataType property: [Required] Specifies the type of data.- Returns:
- the dataType value.
-
withDataType
public DataContainerDetails withDataType(DataType dataType)
Set the dataType property: [Required] Specifies the type of data.- Parameters:
dataType
- the dataType value to set.- Returns:
- the DataContainerDetails object itself.
-
withIsArchived
public DataContainerDetails withIsArchived(Boolean isArchived)
Set the isArchived property: Is the asset archived?.- Overrides:
withIsArchived
in classAssetContainer
- Parameters:
isArchived
- the isArchived value to set.- Returns:
- the AssetContainer object itself.
-
withDescription
public DataContainerDetails withDescription(String description)
Set the description property: The asset description text.- Overrides:
withDescription
in classAssetContainer
- Parameters:
description
- the description value to set.- Returns:
- the ResourceBase object itself.
-
withProperties
public DataContainerDetails withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.- Overrides:
withProperties
in classAssetContainer
- Parameters:
properties
- the properties value to set.- Returns:
- the ResourceBase object itself.
-
withTags
public DataContainerDetails withTags(Map<String,String> tags)
Set the tags property: Tag dictionary. Tags can be added, removed, and updated.- Overrides:
withTags
in classAssetContainer
- Parameters:
tags
- the tags value to set.- Returns:
- the ResourceBase object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAssetContainer
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-