Class WorkloadNetworkDhcpRelay

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

public final class WorkloadNetworkDhcpRelay extends WorkloadNetworkDhcpEntity
NSX DHCP Relay.
  • Constructor Details

    • WorkloadNetworkDhcpRelay

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

    • serverAddresses

      public List<String> serverAddresses()
      Get the serverAddresses property: DHCP Relay Addresses. Max 3.
      Returns:
      the serverAddresses value.
    • withServerAddresses

      public WorkloadNetworkDhcpRelay withServerAddresses(List<String> serverAddresses)
      Set the serverAddresses property: DHCP Relay Addresses. Max 3.
      Parameters:
      serverAddresses - the serverAddresses value to set.
      Returns:
      the WorkloadNetworkDhcpRelay object itself.
    • withDisplayName

      public WorkloadNetworkDhcpRelay 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 WorkloadNetworkDhcpRelay 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.