Class OnvifHostName
java.lang.Object
com.azure.media.videoanalyzer.edge.models.OnvifHostName
The ONVIF device DNS properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the hostname property: The hostname of the ONVIF device.Get the fromDhcp property: Result value showing if the ONVIF device is configured to use DHCP.setFromDhcp
(Boolean fromDhcp) Set the fromDhcp property: Result value showing if the ONVIF device is configured to use DHCP.setHostname
(String hostname) Set the hostname property: The hostname of the ONVIF device.
-
Constructor Details
-
OnvifHostName
public OnvifHostName()
-
-
Method Details
-
isFromDhcp
Get the fromDhcp property: Result value showing if the ONVIF device is configured to use DHCP.- Returns:
- the fromDhcp value.
-
setFromDhcp
Set the fromDhcp property: Result value showing if the ONVIF device is configured to use DHCP.- Parameters:
fromDhcp
- the fromDhcp value to set.- Returns:
- the OnvifHostName object itself.
-
getHostname
Get the hostname property: The hostname of the ONVIF device.- Returns:
- the hostname value.
-
setHostname
Set the hostname property: The hostname of the ONVIF device.- Parameters:
hostname
- the hostname value to set.- Returns:
- the OnvifHostName object itself.
-