Class UnsecuredEndpoint
- java.lang.Object
-
- com.azure.resourcemanager.videoanalyzer.models.EndpointBase
-
- com.azure.resourcemanager.videoanalyzer.models.UnsecuredEndpoint
-
public final class UnsecuredEndpoint extends EndpointBase
Unsecured endpoint describes an endpoint that the pipeline can connect to over clear transport (no encryption in transit).
-
-
Constructor Summary
Constructors Constructor Description UnsecuredEndpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.UnsecuredEndpoint
withCredentials(CredentialsBase credentials)
Set the credentials property: Credentials to be presented to the endpoint.UnsecuredEndpoint
withTunnel(TunnelBase tunnel)
Set the tunnel property: Describes the tunnel through which Video Analyzer can connect to the endpoint URL.UnsecuredEndpoint
withUrl(String url)
Set the url property: The endpoint URL for Video Analyzer to connect to.-
Methods inherited from class com.azure.resourcemanager.videoanalyzer.models.EndpointBase
credentials, tunnel, url
-
-
-
-
Method Detail
-
withCredentials
public UnsecuredEndpoint withCredentials(CredentialsBase credentials)
Set the credentials property: Credentials to be presented to the endpoint.- Overrides:
withCredentials
in classEndpointBase
- Parameters:
credentials
- the credentials value to set.- Returns:
- the EndpointBase object itself.
-
withUrl
public UnsecuredEndpoint withUrl(String url)
Set the url property: The endpoint URL for Video Analyzer to connect to.- Overrides:
withUrl
in classEndpointBase
- Parameters:
url
- the url value to set.- Returns:
- the EndpointBase object itself.
-
withTunnel
public UnsecuredEndpoint withTunnel(TunnelBase tunnel)
Set the tunnel property: Describes the tunnel through which Video Analyzer can connect to the endpoint URL. This is an optional property, typically used when the endpoint is behind a firewall.- Overrides:
withTunnel
in classEndpointBase
- Parameters:
tunnel
- the tunnel value to set.- Returns:
- the EndpointBase object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classEndpointBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-