Class ComponentContainerDetails
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.ResourceBase
-
- com.azure.resourcemanager.machinelearning.models.AssetContainer
-
- com.azure.resourcemanager.machinelearning.models.ComponentContainerDetails
-
public final class ComponentContainerDetails extends AssetContainer
Component container definition. <see href="https://docs.microsoft.com/en-us/azure/machine-learning/reference-yaml-component-command" />.
-
-
Constructor Summary
Constructors Constructor Description ComponentContainerDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.ComponentContainerDetails
withDescription(String description)
Set the description property: The asset description text.ComponentContainerDetails
withIsArchived(Boolean isArchived)
Set the isArchived property: Is the asset archived?.ComponentContainerDetails
withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.ComponentContainerDetails
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
-
withIsArchived
public ComponentContainerDetails 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 ComponentContainerDetails 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 ComponentContainerDetails 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 ComponentContainerDetails 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.
-
-