Class LakeHouseArtifact

java.lang.Object
com.azure.resourcemanager.machinelearning.models.OneLakeArtifact
com.azure.resourcemanager.machinelearning.models.LakeHouseArtifact
All Implemented Interfaces:
com.azure.json.JsonSerializable<OneLakeArtifact>

public final class LakeHouseArtifact extends OneLakeArtifact
The LakeHouseArtifact model.
  • Constructor Details

    • LakeHouseArtifact

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

    • artifactType

      public OneLakeArtifactType artifactType()
      Get the artifactType property: [Required] OneLake artifact type.
      Overrides:
      artifactType in class OneLakeArtifact
      Returns:
      the artifactType value.
    • withArtifactName

      public LakeHouseArtifact withArtifactName(String artifactName)
      Set the artifactName property: [Required] OneLake artifact name.
      Overrides:
      withArtifactName in class OneLakeArtifact
      Parameters:
      artifactName - the artifactName value to set.
      Returns:
      the OneLakeArtifact object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class OneLakeArtifact
      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<OneLakeArtifact>
      Overrides:
      toJson in class OneLakeArtifact
      Throws:
      IOException
    • fromJson

      public static LakeHouseArtifact fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of LakeHouseArtifact from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of LakeHouseArtifact 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 LakeHouseArtifact.