CodeVersionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. ResourceBase - com.
azure. resourcemanager. machinelearning. models. AssetBase - com.
azure. resourcemanager. machinelearning. models. CodeVersionProperties
- com.
- com.
- com.
public final class CodeVersionProperties
extends AssetBase
Code asset version details.
Constructor Summary
| Constructor | Description |
|---|---|
| CodeVersionProperties() |
Creates an instance of Code |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
codeUri()
Get the code |
|
static
Code |
fromJson(JsonReader jsonReader)
Reads an instance of Code |
|
Asset |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Code |
withCodeUri(String codeUri)
Set the code |
|
Code |
withDescription(String description)
Set the description property: The asset description text. |
|
Code |
withIsAnonymous(Boolean isAnonymous)
Set the is |
|
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 AssetBase
Methods inherited from ResourceBase
Methods inherited from java.lang.Object
Constructor Details
CodeVersionProperties
public CodeVersionProperties()
Creates an instance of CodeVersionProperties class.
Method Details
codeUri
public String codeUri()
Get the codeUri property: Uri where code is located.
Returns:
fromJson
public static CodeVersionProperties fromJson(JsonReader jsonReader)
Reads an instance of CodeVersionProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public AssetProvisioningState provisioningState()
Get the provisioningState property: Provisioning state for the code version.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
CodeVersionProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
CodeVersionProperties.validate()withCodeUri
public CodeVersionProperties withCodeUri(String codeUri)
Set the codeUri property: Uri where code is located.
Parameters:
Returns:
withDescription
public CodeVersionProperties withDescription(String description)
Set the description property: The asset description text.
Overrides:
CodeVersionProperties.withDescription(String description)Parameters:
withIsAnonymous
public CodeVersionProperties withIsAnonymous(Boolean isAnonymous)
Set the isAnonymous property: If the name version are system generated (anonymous registration).
Overrides:
CodeVersionProperties.withIsAnonymous(Boolean isAnonymous)Parameters:
withIsArchived
public CodeVersionProperties withIsArchived(Boolean isArchived)
Set the isArchived property: Is the asset archived?.
Overrides:
CodeVersionProperties.withIsArchived(Boolean isArchived)Parameters:
withProperties
public CodeVersionProperties withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.
Overrides:
CodeVersionProperties.withProperties(Map<String,String> properties)Parameters:
withTags
public CodeVersionProperties withTags(Map<String,String> tags)
Set the tags property: Tag dictionary. Tags can be added, removed, and updated.
Overrides:
CodeVersionProperties.withTags(Map<String,String> tags)Parameters: