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 Summary
Constructors Constructor Description WorkloadNetworkDhcpEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
displayName()
Get the displayName property: Display name of the DHCP entity.WorkloadNetworkDhcpProvisioningState
provisioningState()
Get the provisioningState property: The provisioning state.Long
revision()
Get the revision property: NSX revision number.List<String>
segments()
Get the segments property: NSX Segments consuming DHCP.void
validate()
Validates the instance.WorkloadNetworkDhcpEntity
withDisplayName(String displayName)
Set the displayName property: Display name of the DHCP entity.WorkloadNetworkDhcpEntity
withRevision(Long revision)
Set the revision property: NSX revision number.
-
-
-
Method Detail
-
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.
-
-