Class VirtualApplianceNetworkInterfaceConfiguration
java.lang.Object
com.azure.resourcemanager.network.models.VirtualApplianceNetworkInterfaceConfiguration
Represents a single NIC configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of VirtualApplianceNetworkInterfaceConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionnicType()Get the nicType property: NIC type.Get the properties property: Represents a single NIC configuration properties.voidvalidate()Validates the instance.withNicType(NicTypeInRequest nicType) Set the nicType property: NIC type.Set the properties property: Represents a single NIC configuration properties.
-
Constructor Details
-
VirtualApplianceNetworkInterfaceConfiguration
public VirtualApplianceNetworkInterfaceConfiguration()Creates an instance of VirtualApplianceNetworkInterfaceConfiguration class.
-
-
Method Details
-
nicType
Get the nicType property: NIC type. This should be either PublicNic or PrivateNic.- Returns:
- the nicType value.
-
withNicType
Set the nicType property: NIC type. This should be either PublicNic or PrivateNic.- Parameters:
nicType- the nicType value to set.- Returns:
- the VirtualApplianceNetworkInterfaceConfiguration object itself.
-
properties
Get the properties property: Represents a single NIC configuration properties.- Returns:
- the properties value.
-
withProperties
public VirtualApplianceNetworkInterfaceConfiguration withProperties(VirtualApplianceNetworkInterfaceConfigurationProperties properties) Set the properties property: Represents a single NIC configuration properties.- Parameters:
properties- the properties value to set.- Returns:
- the VirtualApplianceNetworkInterfaceConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-