Class WorkloadNetworkDhcpEntity

java.lang.Object
com.azure.resourcemanager.avs.models.WorkloadNetworkDhcpEntity
Direct Known Subclasses:
WorkloadNetworkDhcpRelay, WorkloadNetworkDhcpServer

public class WorkloadNetworkDhcpEntity extends Object
Base class for WorkloadNetworkDhcpServer and WorkloadNetworkDhcpRelay to inherit from.
  • Constructor Details

    • WorkloadNetworkDhcpEntity

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

    • displayName

      public String displayName()
      Get the displayName property: Display name of the DHCP entity.
      Returns:
      the displayName value.
    • withDisplayName

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

      public List<String> segments()
      Get the segments property: NSX Segments consuming DHCP.
      Returns:
      the segments value.
    • provisioningState

      public WorkloadNetworkDhcpProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state.
      Returns:
      the provisioningState value.
    • revision

      public Long revision()
      Get the revision property: NSX revision number.
      Returns:
      the revision value.
    • withRevision

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

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