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