Class WorkloadNetworkDhcpServer

java.lang.Object
com.azure.resourcemanager.avs.models.WorkloadNetworkDhcpEntity
com.azure.resourcemanager.avs.models.WorkloadNetworkDhcpServer

public final class WorkloadNetworkDhcpServer extends WorkloadNetworkDhcpEntity
NSX DHCP Server.
  • Constructor Details

    • WorkloadNetworkDhcpServer

      public WorkloadNetworkDhcpServer()
      Creates an instance of WorkloadNetworkDhcpServer class.
  • Method Details

    • serverAddress

      public String serverAddress()
      Get the serverAddress property: DHCP Server Address.
      Returns:
      the serverAddress value.
    • withServerAddress

      public WorkloadNetworkDhcpServer withServerAddress(String serverAddress)
      Set the serverAddress property: DHCP Server Address.
      Parameters:
      serverAddress - the serverAddress value to set.
      Returns:
      the WorkloadNetworkDhcpServer object itself.
    • leaseTime

      public Long leaseTime()
      Get the leaseTime property: DHCP Server Lease Time.
      Returns:
      the leaseTime value.
    • withLeaseTime

      public WorkloadNetworkDhcpServer withLeaseTime(Long leaseTime)
      Set the leaseTime property: DHCP Server Lease Time.
      Parameters:
      leaseTime - the leaseTime value to set.
      Returns:
      the WorkloadNetworkDhcpServer object itself.
    • withDisplayName

      public WorkloadNetworkDhcpServer withDisplayName(String displayName)
      Set the displayName property: Display name of the DHCP entity.
      Overrides:
      withDisplayName in class WorkloadNetworkDhcpEntity
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the WorkloadNetworkDhcpEntity object itself.
    • withRevision

      public WorkloadNetworkDhcpServer withRevision(Long revision)
      Set the revision property: NSX revision number.
      Overrides:
      withRevision in class WorkloadNetworkDhcpEntity
      Parameters:
      revision - the revision value to set.
      Returns:
      the WorkloadNetworkDhcpEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class WorkloadNetworkDhcpEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.