Class Endpoint


  • public final class Endpoint
    extends Object
    The endpoint details.
    • Constructor Detail

      • Endpoint

        public Endpoint()
    • Method Detail

      • endpointUrl

        public String endpointUrl()
        Get the endpointUrl property: The URL of the endpoint.
        Returns:
        the endpointUrl value.
      • withEndpointUrl

        public Endpoint withEndpointUrl​(String endpointUrl)
        Set the endpointUrl property: The URL of the endpoint.
        Parameters:
        endpointUrl - the endpointUrl value to set.
        Returns:
        the Endpoint object itself.
      • withType

        public Endpoint withType​(VideoAnalyzerEndpointType type)
        Set the type property: The type of the endpoint.
        Parameters:
        type - the type value to set.
        Returns:
        the Endpoint object itself.
      • validate

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