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