Class EndpointBase
- java.lang.Object
-
- com.azure.media.videoanalyzer.edge.models.EndpointBase
-
- Direct Known Subclasses:
TlsEndpoint
,UnsecuredEndpoint
public class EndpointBase extends Object
Base class for endpoints.
-
-
Constructor Summary
Constructors Constructor Description EndpointBase(String url)
Creates an instance of EndpointBase class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CredentialsBase
getCredentials()
Get the credentials property: Credentials to be presented to the endpoint.String
getUrl()
Get the url property: The endpoint URL for Video Analyzer to connect to.EndpointBase
setCredentials(CredentialsBase credentials)
Set the credentials property: Credentials to be presented to the endpoint.
-
-
-
Constructor Detail
-
EndpointBase
public EndpointBase(String url)
Creates an instance of EndpointBase class.- Parameters:
url
- the url value to set.
-
-
Method Detail
-
getCredentials
public CredentialsBase getCredentials()
Get the credentials property: Credentials to be presented to the endpoint.- Returns:
- the credentials value.
-
setCredentials
public EndpointBase setCredentials(CredentialsBase credentials)
Set the credentials property: Credentials to be presented to the endpoint.- Parameters:
credentials
- the credentials value to set.- Returns:
- the EndpointBase object itself.
-
getUrl
public String getUrl()
Get the url property: The endpoint URL for Video Analyzer to connect to.- Returns:
- the url value.
-
-