java.lang.Object
com.azure.resourcemanager.network.models.VirtualApplianceIpConfigurationProperties
public final class VirtualApplianceIpConfigurationProperties
extends Object
Represents a single IP configuration properties.
-
Constructor Summary
Constructors
Creates an instance of VirtualApplianceIpConfigurationProperties class.
-
Method Summary
Get the primary property: Whether or not this is primary IP configuration of the NIC.
void
Set the primary property: Whether or not this is primary IP configuration of the NIC.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
VirtualApplianceIpConfigurationProperties
public VirtualApplianceIpConfigurationProperties()
Creates an instance of VirtualApplianceIpConfigurationProperties class.
-
Method Details
-
primary
Get the primary property: Whether or not this is primary IP configuration of the NIC.
- Returns:
- the primary value.
-
withPrimary
Set the primary property: Whether or not this is primary IP configuration of the NIC.
- Parameters:
primary - the primary value to set.
- Returns:
- the VirtualApplianceIpConfigurationProperties object itself.
-
validate
public void validate()
Validates the instance.
- Throws:
IllegalArgumentException - thrown if the instance is not valid.