Class LiveEventEndpoint

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

public final class LiveEventEndpoint extends Object
The live event endpoint.
  • Constructor Details

    • LiveEventEndpoint

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

    • protocol

      public String protocol()
      Get the protocol property: The endpoint protocol.
      Returns:
      the protocol value.
    • withProtocol

      public LiveEventEndpoint withProtocol(String protocol)
      Set the protocol property: The endpoint protocol.
      Parameters:
      protocol - the protocol value to set.
      Returns:
      the LiveEventEndpoint object itself.
    • url

      public String url()
      Get the url property: The endpoint URL.
      Returns:
      the url value.
    • withUrl

      public LiveEventEndpoint withUrl(String url)
      Set the url property: The endpoint URL.
      Parameters:
      url - the url value to set.
      Returns:
      the LiveEventEndpoint object itself.
    • validate

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