Class AssetConversionOptions

java.lang.Object
com.azure.mixedreality.remoterendering.models.AssetConversionOptions

public final class AssetConversionOptions extends Object
Options for a conversion.
  • Constructor Details

    • AssetConversionOptions

      public AssetConversionOptions()
  • Method Details

    • setInputStorageContainerUrl

      public AssetConversionOptions setInputStorageContainerUrl(String inputStorageContainerUrl)
      Set the inputStorageContainerUrl property: The URL of the Azure blob storage container containing the input model.
      Parameters:
      inputStorageContainerUrl - the inputStorageContainerUrl value to set.
      Returns:
      the ConversionOptionsBuilder object itself.
    • setInputStorageContainerReadListSas

      public AssetConversionOptions setInputStorageContainerReadListSas(String inputStorageContainerReadListSas)
      Set the inputStorageContainerReadListSas property: A Azure blob storage container shared access signature giving read and list access to the storage container. Optional. If not is not provided the Azure Remote Rendering rendering account needs to be linked with the storage account containing the blob container.
      Parameters:
      inputStorageContainerReadListSas - the inputStorageContainerReadListSas value to set.
      Returns:
      the ConversionOptionsBuilder object itself.
    • setInputBlobPrefix

      public AssetConversionOptions setInputBlobPrefix(String inputBlobPrefix)
      Set the inputBlobPrefix property: Only Blobs starting with this prefix will be downloaded to perform the conversion.
      Parameters:
      inputBlobPrefix - the inputBlobPrefix value to set.
      Returns:
      the ConversionOptionsBuilder object itself.
    • setInputRelativeAssetPath

      public AssetConversionOptions setInputRelativeAssetPath(String inputRelativeAssetPath)
      Set the inputRelativeAssetPath property: The relative path starting at blobPrefix (or at the container root if blobPrefix is not specified) to the input model. Must point to file with a supported file format ending.
      Parameters:
      inputRelativeAssetPath - the inputRelativeAssetPath value to set.
      Returns:
      the ConversionOptionsBuilder object itself.
    • getInputStorageContainerUrl

      public String getInputStorageContainerUrl()
      Get the inputStorageContainerUrl property: The URL of the Azure blob storage container containing the input model.
      Returns:
      the inputStorageContainerUrl value.
    • getInputStorageContainerReadListSas

      public String getInputStorageContainerReadListSas()
      Get the inputStorageContainerReadListSas property: A Azure blob storage container shared access signature giving read and list access to the storage container. Optional. If not is not provided the Azure Remote Rendering rendering account needs to be linked with the storage account containing the blob container.
      Returns:
      the inputStorageContainerReadListSas value.
    • getInputBlobPrefix

      public String getInputBlobPrefix()
      Get the inputBlobPrefix property: Only Blobs starting with this prefix will be downloaded to perform the conversion.
      Returns:
      the inputBlobPrefix value.
    • getInputRelativeAssetPath

      public String getInputRelativeAssetPath()
      Get the inputRelativeAssetPath property: The relative path starting at blobPrefix (or at the container root if blobPrefix is not specified) to the input model. Must point to file with a supported file format ending.
      Returns:
      the inputRelativeAssetPath value.
    • setOutputStorageContainerUrl

      public AssetConversionOptions setOutputStorageContainerUrl(String outputStorageContainerUrl)
      Set the outputStorageContainerUrl property: The URL of the Azure blob storage container where the result of the conversion should be written to.
      Parameters:
      outputStorageContainerUrl - the outputStorageContainerUrl value to set.
      Returns:
      the ConversionOptionsBuilder object itself.
    • setOutputStorageContainerWriteSas

      public AssetConversionOptions setOutputStorageContainerWriteSas(String outputStorageContainerWriteSas)
      Set the storageContainerWriteSas property: A Azure blob storage container shared access signature giving write access to the storage container. Optional. If not is not provided the Azure Remote Rendering rendering account needs to be linked with the storage account containing the blob container.
      Parameters:
      outputStorageContainerWriteSas - the storageContainerWriteSas value to set.
      Returns:
      the ConversionOptionsBuilder object itself.
    • setOutputBlobPrefix

      public AssetConversionOptions setOutputBlobPrefix(String outputBlobPrefix)
      Set the blobPrefix property: A prefix which gets prepended in front of all files produced by the conversion process. Will be treated as a virtual folder.
      Parameters:
      outputBlobPrefix - the blobPrefix value to set.
      Returns:
      the ConversionOptionsBuilder object itself.
    • setOutputAssetFilename

      public AssetConversionOptions setOutputAssetFilename(String outputAssetFilename)
      Set the outputAssetFilename property: The file name of the output asset. Must end in '.arrAsset'.
      Parameters:
      outputAssetFilename - the outputAssetFilename value to set.
      Returns:
      the ConversionOptionsBuilder object itself.
    • getOutputStorageContainerUrl

      public String getOutputStorageContainerUrl()
      Get the outputStorageContainerUrl property: The URL of the Azure blob storage container where the result of the conversion should be written to.
      Returns:
      the outputStorageContainerUrl value.
    • getOutputStorageContainerWriteSas

      public String getOutputStorageContainerWriteSas()
      Get the outputStorageContainerWriteSas property: A Azure blob storage container shared access signature giving write access to the storage container. Optional. If it is not provided the Azure Remote Rendering rendering account needs to be linked with the storage account containing the blob container.
      Returns:
      the outputStorageContainerWriteSas value.
    • getOutputBlobPrefix

      public String getOutputBlobPrefix()
      Get the outputBlobPrefix property: A prefix which gets prepended in front of all files produced by the conversion process. Will be treated as a virtual folder.
      Returns:
      the outputBlobPrefix value.
    • getOutputAssetFilename

      public String getOutputAssetFilename()
      Get the outputAssetFilename property: The file name of the output asset. Must end in '.arrAsset'.
      Returns:
      the outputAssetFilename value.