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 Summary
Constructors Constructor Description WorkloadNetworkDhcpRelay()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
serverAddresses()
Get the serverAddresses property: DHCP Relay Addresses.void
validate()
Validates the instance.WorkloadNetworkDhcpRelay
withDisplayName(String displayName)
Set the displayName property: Display name of the DHCP entity.WorkloadNetworkDhcpRelay
withRevision(Long revision)
Set the revision property: NSX revision number.WorkloadNetworkDhcpRelay
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
-
-
-
-
Method Detail
-
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 classWorkloadNetworkDhcpEntity
- 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 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.
-
-