ResourceBase Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. ResourceBase
- com.
Implements
public class ResourceBase
implements JsonSerializable<ResourceBase>
The ResourceBase model.
Constructor Summary
| Constructor | Description |
|---|---|
| ResourceBase() |
Creates an instance of Resource |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: The asset description text. |
|
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
| Map<String,String> |
properties()
Get the properties property: The asset property dictionary. |
| Map<String,String> |
tags()
Get the tags property: Tag dictionary. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Resource |
withDescription(String description)
Set the description property: The asset description text. |
|
Resource |
withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary. |
|
Resource |
withTags(Map<String,String> tags)
Set the tags property: Tag dictionary. |
Methods inherited from java.lang.Object
Constructor Details
ResourceBase
public ResourceBase()
Creates an instance of ResourceBase class.
Method Details
description
public String description()
Get the description property: The asset description text.
Returns:
fromJson
public static ResourceBase fromJson(JsonReader jsonReader)
Reads an instance of ResourceBase from the JsonReader.
Parameters:
Returns:
Throws:
properties
public Map<String,String> properties()
Get the properties property: The asset property dictionary.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Tag dictionary. Tags can be added, removed, and updated.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public ResourceBase withDescription(String description)
Set the description property: The asset description text.
Parameters:
Returns:
withProperties
public ResourceBase withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.
Parameters:
Returns:
withTags
public ResourceBase withTags(Map<String,String> tags)
Set the tags property: Tag dictionary. Tags can be added, removed, and updated.
Parameters:
Returns: