Class TlsEndpoint
- java.lang.Object
-
- com.azure.resourcemanager.videoanalyzer.models.EndpointBase
-
- com.azure.resourcemanager.videoanalyzer.models.TlsEndpoint
-
public final class TlsEndpoint extends EndpointBase
TLS endpoint describes an endpoint that the pipeline can connect to over TLS transport (data is encrypted in transit).
-
-
Constructor Summary
Constructors Constructor Description TlsEndpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CertificateSource
trustedCertificates()
Get the trustedCertificates property: List of trusted certificate authorities when authenticating a TLS connection.void
validate()
Validates the instance.TlsValidationOptions
validationOptions()
Get the validationOptions property: Validation options to use when authenticating a TLS connection.TlsEndpoint
withCredentials(CredentialsBase credentials)
Set the credentials property: Credentials to be presented to the endpoint.TlsEndpoint
withTrustedCertificates(CertificateSource trustedCertificates)
Set the trustedCertificates property: List of trusted certificate authorities when authenticating a TLS connection.TlsEndpoint
withTunnel(TunnelBase tunnel)
Set the tunnel property: Describes the tunnel through which Video Analyzer can connect to the endpoint URL.TlsEndpoint
withUrl(String url)
Set the url property: The endpoint URL for Video Analyzer to connect to.TlsEndpoint
withValidationOptions(TlsValidationOptions validationOptions)
Set the validationOptions property: Validation options to use when authenticating a TLS connection.-
Methods inherited from class com.azure.resourcemanager.videoanalyzer.models.EndpointBase
credentials, tunnel, url
-
-
-
-
Method Detail
-
trustedCertificates
public CertificateSource trustedCertificates()
Get the trustedCertificates property: List of trusted certificate authorities when authenticating a TLS connection. A null list designates that Azure Video Analyzer's list of trusted authorities should be used.- Returns:
- the trustedCertificates value.
-
withTrustedCertificates
public TlsEndpoint withTrustedCertificates(CertificateSource trustedCertificates)
Set the trustedCertificates property: List of trusted certificate authorities when authenticating a TLS connection. A null list designates that Azure Video Analyzer's list of trusted authorities should be used.- Parameters:
trustedCertificates
- the trustedCertificates value to set.- Returns:
- the TlsEndpoint object itself.
-
validationOptions
public TlsValidationOptions validationOptions()
Get the validationOptions property: Validation options to use when authenticating a TLS connection. By default, strict validation is used.- Returns:
- the validationOptions value.
-
withValidationOptions
public TlsEndpoint withValidationOptions(TlsValidationOptions validationOptions)
Set the validationOptions property: Validation options to use when authenticating a TLS connection. By default, strict validation is used.- Parameters:
validationOptions
- the validationOptions value to set.- Returns:
- the TlsEndpoint object itself.
-
withCredentials
public TlsEndpoint 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 TlsEndpoint 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 TlsEndpoint 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.
-
-