Class EnabledProtocols

java.lang.Object
com.azure.resourcemanager.mediaservices.models.EnabledProtocols

public final class EnabledProtocols extends Object
Class to specify which protocols are enabled.
  • Constructor Details

    • EnabledProtocols

      public EnabledProtocols()
  • Method Details

    • download

      public boolean download()
      Get the download property: Enable Download protocol or not.
      Returns:
      the download value.
    • withDownload

      public EnabledProtocols withDownload(boolean download)
      Set the download property: Enable Download protocol or not.
      Parameters:
      download - the download value to set.
      Returns:
      the EnabledProtocols object itself.
    • dash

      public boolean dash()
      Get the dash property: Enable DASH protocol or not.
      Returns:
      the dash value.
    • withDash

      public EnabledProtocols withDash(boolean dash)
      Set the dash property: Enable DASH protocol or not.
      Parameters:
      dash - the dash value to set.
      Returns:
      the EnabledProtocols object itself.
    • hls

      public boolean hls()
      Get the hls property: Enable HLS protocol or not.
      Returns:
      the hls value.
    • withHls

      public EnabledProtocols withHls(boolean hls)
      Set the hls property: Enable HLS protocol or not.
      Parameters:
      hls - the hls value to set.
      Returns:
      the EnabledProtocols object itself.
    • smoothStreaming

      public boolean smoothStreaming()
      Get the smoothStreaming property: Enable SmoothStreaming protocol or not.
      Returns:
      the smoothStreaming value.
    • withSmoothStreaming

      public EnabledProtocols withSmoothStreaming(boolean smoothStreaming)
      Set the smoothStreaming property: Enable SmoothStreaming protocol or not.
      Parameters:
      smoothStreaming - the smoothStreaming value to set.
      Returns:
      the EnabledProtocols object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.