Class OnvifHostName

java.lang.Object
com.azure.media.videoanalyzer.edge.models.OnvifHostName

public final class OnvifHostName extends Object
The ONVIF device DNS properties.
  • Constructor Details

    • OnvifHostName

      public OnvifHostName()
  • Method Details

    • isFromDhcp

      public Boolean isFromDhcp()
      Get the fromDhcp property: Result value showing if the ONVIF device is configured to use DHCP.
      Returns:
      the fromDhcp value.
    • setFromDhcp

      public OnvifHostName setFromDhcp(Boolean fromDhcp)
      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

      public String getHostname()
      Get the hostname property: The hostname of the ONVIF device.
      Returns:
      the hostname value.
    • setHostname

      public OnvifHostName setHostname(String hostname)
      Set the hostname property: The hostname of the ONVIF device.
      Parameters:
      hostname - the hostname value to set.
      Returns:
      the OnvifHostName object itself.