Class OutputFileDestination

java.lang.Object
com.azure.compute.batch.models.OutputFileDestination
All Implemented Interfaces:
com.azure.json.JsonSerializable<OutputFileDestination>

public final class OutputFileDestination extends Object implements com.azure.json.JsonSerializable<OutputFileDestination>
The destination to which a file should be uploaded.
  • Constructor Details

    • OutputFileDestination

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

    • getContainer

      public OutputFileBlobContainerDestination getContainer()
      Get the container property: A location in Azure blob storage to which files are uploaded.
      Returns:
      the container value.
    • setContainer

      Set the container property: A location in Azure blob storage to which files are uploaded.
      Parameters:
      container - the container value to set.
      Returns:
      the OutputFileDestination object itself.
    • toJson

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

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