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