ComponentContainerProperties Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. ResourceBase - com.
azure. resourcemanager. machinelearning. models. AssetContainer - com.
azure. resourcemanager. machinelearning. models. ComponentContainerProperties
- com.
- com.
- com.
public final class ComponentContainerProperties
extends AssetContainer
Component container definition. <see href="https://docs.microsoft.com/en-us/azure/machine-learning/reference-yaml-component-command" />.
Constructor Summary
| Constructor | Description |
|---|---|
| ComponentContainerProperties() |
Creates an instance of Component |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Component |
fromJson(JsonReader jsonReader)
Reads an instance of Component |
| String |
latestVersion()
Get the latest |
| String |
nextVersion()
Get the next |
|
Asset |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Component |
withDescription(String description)
Set the description property: The asset description text. |
|
Component |
withIsArchived(Boolean isArchived)
Set the is |
|
Component |
withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary. |
|
Component |
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
ComponentContainerProperties
public ComponentContainerProperties()
Creates an instance of ComponentContainerProperties class.
Method Details
fromJson
public static ComponentContainerProperties fromJson(JsonReader jsonReader)
Reads an instance of ComponentContainerProperties from the JsonReader.
Parameters:
Returns:
Throws:
latestVersion
public String latestVersion()
Get the latestVersion property: The latest version inside this container.
Overrides:
ComponentContainerProperties.latestVersion()Returns:
nextVersion
public String nextVersion()
Get the nextVersion property: The next auto incremental version.
Overrides:
ComponentContainerProperties.nextVersion()Returns:
provisioningState
public AssetProvisioningState provisioningState()
Get the provisioningState property: Provisioning state for the component container.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ComponentContainerProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
ComponentContainerProperties.validate()withDescription
public ComponentContainerProperties withDescription(String description)
Set the description property: The asset description text.
Overrides:
ComponentContainerProperties.withDescription(String description)Parameters:
withIsArchived
public ComponentContainerProperties withIsArchived(Boolean isArchived)
Set the isArchived property: Is the asset archived?.
Overrides:
ComponentContainerProperties.withIsArchived(Boolean isArchived)Parameters:
withProperties
public ComponentContainerProperties withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.
Overrides:
ComponentContainerProperties.withProperties(Map<String,String> properties)Parameters:
withTags
public ComponentContainerProperties withTags(Map<String,String> tags)
Set the tags property: Tag dictionary. Tags can be added, removed, and updated.
Overrides:
ComponentContainerProperties.withTags(Map<String,String> tags)Parameters: