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 voidvalidate()Validates the instance.UnsecuredEndpointwithCredentials(CredentialsBase credentials)Set the credentials property: Credentials to be presented to the endpoint.UnsecuredEndpointwithTunnel(TunnelBase tunnel)Set the tunnel property: Describes the tunnel through which Video Analyzer can connect to the endpoint URL.UnsecuredEndpointwithUrl(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:
withCredentialsin 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:
withUrlin 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:
withTunnelin classEndpointBase- Parameters:
tunnel- the tunnel value to set.- Returns:
- the EndpointBase object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classEndpointBase- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-