All Implemented Interfaces:
com.azure.json.JsonSerializable<ResourceBase>

public final class MLTableData extends DataVersionBaseProperties
MLTable data definition.
  • Constructor Details

    • MLTableData

      public MLTableData()
      Creates an instance of MLTableData class.
  • Method Details

    • dataType

      public DataType dataType()
      Get the dataType property: [Required] Specifies the type of data.
      Overrides:
      dataType in class DataVersionBaseProperties
      Returns:
      the dataType value.
    • referencedUris

      public List<String> referencedUris()
      Get the referencedUris property: Uris referenced in the MLTable definition (required for lineage).
      Returns:
      the referencedUris value.
    • withReferencedUris

      public MLTableData withReferencedUris(List<String> referencedUris)
      Set the referencedUris property: Uris referenced in the MLTable definition (required for lineage).
      Parameters:
      referencedUris - the referencedUris value to set.
      Returns:
      the MLTableData object itself.
    • withDataUri

      public MLTableData withDataUri(String dataUri)
      Set the dataUri property: [Required] Uri of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330.
      Overrides:
      withDataUri in class DataVersionBaseProperties
      Parameters:
      dataUri - the dataUri value to set.
      Returns:
      the DataVersionBaseProperties object itself.
    • withIsArchived

      public MLTableData withIsArchived(Boolean isArchived)
      Set the isArchived property: Is the asset archived?.
      Overrides:
      withIsArchived in class DataVersionBaseProperties
      Parameters:
      isArchived - the isArchived value to set.
      Returns:
      the AssetBase object itself.
    • withIsAnonymous

      public MLTableData withIsAnonymous(Boolean isAnonymous)
      Set the isAnonymous property: If the name version are system generated (anonymous registration).
      Overrides:
      withIsAnonymous in class DataVersionBaseProperties
      Parameters:
      isAnonymous - the isAnonymous value to set.
      Returns:
      the AssetBase object itself.
    • withDescription

      public MLTableData withDescription(String description)
      Set the description property: The asset description text.
      Overrides:
      withDescription in class DataVersionBaseProperties
      Parameters:
      description - the description value to set.
      Returns:
      the ResourceBase object itself.
    • withTags

      public MLTableData withTags(Map<String,String> tags)
      Set the tags property: Tag dictionary. Tags can be added, removed, and updated.
      Overrides:
      withTags in class DataVersionBaseProperties
      Parameters:
      tags - the tags value to set.
      Returns:
      the ResourceBase object itself.
    • withProperties

      public MLTableData withProperties(Map<String,String> properties)
      Set the properties property: The asset property dictionary.
      Overrides:
      withProperties in class DataVersionBaseProperties
      Parameters:
      properties - the properties value to set.
      Returns:
      the ResourceBase object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class DataVersionBaseProperties
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ResourceBase>
      Overrides:
      toJson in class DataVersionBaseProperties
      Throws:
      IOException
    • fromJson

      public static MLTableData fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of MLTableData from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of MLTableData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the MLTableData.