Class TritonModelJobOutput

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

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

    • TritonModelJobOutput

      public TritonModelJobOutput()
      Creates an instance of TritonModelJobOutput 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 TritonModelJobOutput withUri(String uri)
      Set the uri property: Output Asset URI.
      Parameters:
      uri - the uri value to set.
      Returns:
      the TritonModelJobOutput object itself.
    • mode

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

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

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