Class WorkloadNetworkDhcpRelay
java.lang.Object
com.azure.resourcemanager.avs.models.WorkloadNetworkDhcpEntity
com.azure.resourcemanager.avs.models.WorkloadNetworkDhcpRelay
NSX DHCP Relay.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WorkloadNetworkDhcpRelay class. -
Method Summary
Modifier and TypeMethodDescriptionGet the serverAddresses property: DHCP Relay Addresses.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.withServerAddresses
(List<String> serverAddresses) Set the serverAddresses property: DHCP Relay Addresses.Methods inherited from class com.azure.resourcemanager.avs.models.WorkloadNetworkDhcpEntity
displayName, provisioningState, revision, segments
-
Constructor Details
-
WorkloadNetworkDhcpRelay
public WorkloadNetworkDhcpRelay()Creates an instance of WorkloadNetworkDhcpRelay class.
-
-
Method Details
-
serverAddresses
Get the serverAddresses property: DHCP Relay Addresses. Max 3.- Returns:
- the serverAddresses value.
-
withServerAddresses
Set the serverAddresses property: DHCP Relay Addresses. Max 3.- Parameters:
serverAddresses
- the serverAddresses value to set.- Returns:
- the WorkloadNetworkDhcpRelay object itself.
-
withDisplayName
Set the displayName property: Display name of the DHCP entity.- Overrides:
withDisplayName
in classWorkloadNetworkDhcpEntity
- Parameters:
displayName
- the displayName value to set.- Returns:
- the WorkloadNetworkDhcpEntity object itself.
-
withRevision
Set the revision property: NSX revision number.- Overrides:
withRevision
in classWorkloadNetworkDhcpEntity
- Parameters:
revision
- the revision value to set.- Returns:
- the WorkloadNetworkDhcpEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classWorkloadNetworkDhcpEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-