Class WorkloadNetworkDhcpEntity
java.lang.Object
com.azure.resourcemanager.avs.models.WorkloadNetworkDhcpEntity
- Direct Known Subclasses:
WorkloadNetworkDhcpRelay
,WorkloadNetworkDhcpServer
Base class for WorkloadNetworkDhcpServer and WorkloadNetworkDhcpRelay to inherit from.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WorkloadNetworkDhcpEntity class. -
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: Display name of the DHCP entity.Get the provisioningState property: The provisioning state.revision()
Get the revision property: NSX revision number.segments()
Get the segments property: NSX Segments consuming DHCP.void
validate()
Validates the instance.withDisplayName
(String displayName) Set the displayName property: Display name of the DHCP entity.withRevision
(Long revision) Set the revision property: NSX revision number.
-
Constructor Details
-
WorkloadNetworkDhcpEntity
public WorkloadNetworkDhcpEntity()Creates an instance of WorkloadNetworkDhcpEntity class.
-
-
Method Details
-
displayName
Get the displayName property: Display name of the DHCP entity.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Display name of the DHCP entity.- Parameters:
displayName
- the displayName value to set.- Returns:
- the WorkloadNetworkDhcpEntity object itself.
-
segments
Get the segments property: NSX Segments consuming DHCP.- Returns:
- the segments value.
-
provisioningState
Get the provisioningState property: The provisioning state.- Returns:
- the provisioningState value.
-
revision
Get the revision property: NSX revision number.- Returns:
- the revision value.
-
withRevision
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.
-