Class MLFlowModelJobOutput

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

public final class MLFlowModelJobOutput extends JobOutput
The MLFlowModelJobOutput model.
  • Constructor Details

    • MLFlowModelJobOutput

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

    • jobOutputType

      public JobOutputType jobOutputType()
      Get the jobOutputType property: [Required] Specifies the type of job.
      Overrides:
      jobOutputType in class JobOutput
      Returns:
      the jobOutputType value.
    • uri

      public String uri()
      Get the uri property: Output Asset URI.
      Returns:
      the uri value.
    • withUri

      public MLFlowModelJobOutput withUri(String uri)
      Set the uri property: Output Asset URI.
      Parameters:
      uri - the uri value to set.
      Returns:
      the MLFlowModelJobOutput object itself.
    • mode

      public OutputDeliveryMode mode()
      Get the mode property: Output Asset Delivery Mode.
      Returns:
      the mode value.
    • withMode

      public MLFlowModelJobOutput withMode(OutputDeliveryMode mode)
      Set the mode property: Output Asset Delivery Mode.
      Parameters:
      mode - the mode value to set.
      Returns:
      the MLFlowModelJobOutput object itself.
    • withDescription

      public MLFlowModelJobOutput withDescription(String description)
      Set the description property: Description for the output.
      Overrides:
      withDescription in class JobOutput
      Parameters:
      description - the description value to set.
      Returns:
      the JobOutput object itself.
    • validate

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

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