Class TlsEndpoint
- java.lang.Object
-
- com.azure.media.videoanalyzer.edge.models.EndpointBase
-
- com.azure.media.videoanalyzer.edge.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(String url)
Creates an instance of TlsEndpoint class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CertificateSource
getTrustedCertificates()
Get the trustedCertificates property: List of trusted certificate authorities when authenticating a TLS connection.TlsValidationOptions
getValidationOptions()
Get the validationOptions property: Validation options to use when authenticating a TLS connection.TlsEndpoint
setCredentials(CredentialsBase credentials)
Set the credentials property: Credentials to be presented to the endpoint.TlsEndpoint
setTrustedCertificates(CertificateSource trustedCertificates)
Set the trustedCertificates property: List of trusted certificate authorities when authenticating a TLS connection.TlsEndpoint
setValidationOptions(TlsValidationOptions validationOptions)
Set the validationOptions property: Validation options to use when authenticating a TLS connection.-
Methods inherited from class com.azure.media.videoanalyzer.edge.models.EndpointBase
getCredentials, getUrl
-
-
-
-
Constructor Detail
-
TlsEndpoint
public TlsEndpoint(String url)
Creates an instance of TlsEndpoint class.- Parameters:
url
- the url value to set.
-
-
Method Detail
-
getTrustedCertificates
public CertificateSource getTrustedCertificates()
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.
-
setTrustedCertificates
public TlsEndpoint setTrustedCertificates(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.
-
getValidationOptions
public TlsValidationOptions getValidationOptions()
Get the validationOptions property: Validation options to use when authenticating a TLS connection. By default, strict validation is used.- Returns:
- the validationOptions value.
-
setValidationOptions
public TlsEndpoint setValidationOptions(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.
-
setCredentials
public TlsEndpoint setCredentials(CredentialsBase credentials)
Set the credentials property: Credentials to be presented to the endpoint.- Overrides:
setCredentials
in classEndpointBase
- Parameters:
credentials
- the credentials value to set.- Returns:
- the EndpointBase object itself.
-
-