AssetContainer Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. ResourceBase - com.
azure. resourcemanager. machinelearning. models. AssetContainer
- com.
- com.
public class AssetContainer
extends ResourceBase
The AssetContainer model.
Constructor Summary
| Constructor | Description |
|---|---|
| AssetContainer() |
Creates an instance of Asset |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Asset |
fromJson(JsonReader jsonReader)
Reads an instance of Asset |
| Boolean |
isArchived()
Get the is |
| String |
latestVersion()
Get the latest |
| String |
nextVersion()
Get the next |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Asset |
withDescription(String description)
Set the description property: The asset description text. |
|
Asset |
withIsArchived(Boolean isArchived)
Set the is |
|
Asset |
withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary. |
|
Asset |
withTags(Map<String,String> tags)
Set the tags property: Tag dictionary. |
Methods inherited from ResourceBase
Methods inherited from java.lang.Object
Constructor Details
AssetContainer
public AssetContainer()
Creates an instance of AssetContainer class.
Method Details
fromJson
public static AssetContainer fromJson(JsonReader jsonReader)
Reads an instance of AssetContainer from the JsonReader.
Parameters:
Returns:
Throws:
isArchived
public Boolean isArchived()
Get the isArchived property: Is the asset archived?.
Returns:
latestVersion
public String latestVersion()
Get the latestVersion property: The latest version inside this container.
Returns:
nextVersion
public String nextVersion()
Get the nextVersion property: The next auto incremental version.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AssetContainer.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
AssetContainer.validate()withDescription
public AssetContainer withDescription(String description)
Set the description property: The asset description text.
Overrides:
AssetContainer.withDescription(String description)Parameters:
withIsArchived
public AssetContainer withIsArchived(Boolean isArchived)
Set the isArchived property: Is the asset archived?.
Parameters:
Returns:
withProperties
public AssetContainer withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.
Overrides:
AssetContainer.withProperties(Map<String,String> properties)Parameters:
withTags
public AssetContainer withTags(Map<String,String> tags)
Set the tags property: Tag dictionary. Tags can be added, removed, and updated.
Overrides:
AssetContainer.withTags(Map<String,String> tags)Parameters: