Class WorkloadNetworkSegmentPortVif
java.lang.Object
com.azure.resourcemanager.avs.models.WorkloadNetworkSegmentPortVif
Ports and any VIF attached to segment.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WorkloadNetworkSegmentPortVif class. -
Method Summary
Modifier and TypeMethodDescriptionportName()
Get the portName property: Name of port or VIF attached to segment.void
validate()
Validates the instance.withPortName
(String portName) Set the portName property: Name of port or VIF attached to segment.
-
Constructor Details
-
WorkloadNetworkSegmentPortVif
public WorkloadNetworkSegmentPortVif()Creates an instance of WorkloadNetworkSegmentPortVif class.
-
-
Method Details
-
portName
Get the portName property: Name of port or VIF attached to segment.- Returns:
- the portName value.
-
withPortName
Set the portName property: Name of port or VIF attached to segment.- Parameters:
portName
- the portName value to set.- Returns:
- the WorkloadNetworkSegmentPortVif object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-