Class AssetContainer
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.ResourceBase
-
- com.azure.resourcemanager.machinelearning.models.AssetContainer
-
- Direct Known Subclasses:
CodeContainerDetails
,ComponentContainerDetails
,DataContainerDetails
,EnvironmentContainerDetails
,ModelContainerDetails
public class AssetContainer extends ResourceBase
The AssetContainer model.
-
-
Constructor Summary
Constructors Constructor Description AssetContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
isArchived()
Get the isArchived property: Is the asset archived?.String
latestVersion()
Get the latestVersion property: The latest version inside this container.String
nextVersion()
Get the nextVersion property: The next auto incremental version.void
validate()
Validates the instance.AssetContainer
withDescription(String description)
Set the description property: The asset description text.AssetContainer
withIsArchived(Boolean isArchived)
Set the isArchived property: Is the asset archived?.AssetContainer
withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.AssetContainer
withTags(Map<String,String> tags)
Set the tags property: Tag dictionary.-
Methods inherited from class com.azure.resourcemanager.machinelearning.models.ResourceBase
description, properties, tags
-
-
-
-
Method Detail
-
isArchived
public Boolean isArchived()
Get the isArchived property: Is the asset archived?.- Returns:
- the isArchived value.
-
withIsArchived
public AssetContainer withIsArchived(Boolean isArchived)
Set the isArchived property: Is the asset archived?.- Parameters:
isArchived
- the isArchived value to set.- Returns:
- the AssetContainer object itself.
-
latestVersion
public String latestVersion()
Get the latestVersion property: The latest version inside this container.- Returns:
- the latestVersion value.
-
nextVersion
public String nextVersion()
Get the nextVersion property: The next auto incremental version.- Returns:
- the nextVersion value.
-
withDescription
public AssetContainer withDescription(String description)
Set the description property: The asset description text.- Overrides:
withDescription
in classResourceBase
- Parameters:
description
- the description value to set.- Returns:
- the ResourceBase object itself.
-
withProperties
public AssetContainer withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.- Overrides:
withProperties
in classResourceBase
- Parameters:
properties
- the properties value to set.- Returns:
- the ResourceBase object itself.
-
withTags
public AssetContainer withTags(Map<String,String> tags)
Set the tags property: Tag dictionary. Tags can be added, removed, and updated.- Overrides:
withTags
in classResourceBase
- Parameters:
tags
- the tags value to set.- Returns:
- the ResourceBase object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classResourceBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-