Class NetworkInterface
- java.lang.Object
-
- com.azure.resourcemanager.hardwaresecuritymodules.models.NetworkInterface
-
public final class NetworkInterface extends Object
The network interface definition.
-
-
Constructor Summary
Constructors Constructor Description NetworkInterface()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
id()
Get the id property: The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...String
privateIpAddress()
Get the privateIpAddress property: Private Ip address of the interface.void
validate()
Validates the instance.NetworkInterface
withPrivateIpAddress(String privateIpAddress)
Set the privateIpAddress property: Private Ip address of the interface.
-
-
-
Method Detail
-
id
public String id()
Get the id property: The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...- Returns:
- the id value.
-
privateIpAddress
public String privateIpAddress()
Get the privateIpAddress property: Private Ip address of the interface.- Returns:
- the privateIpAddress value.
-
withPrivateIpAddress
public NetworkInterface withPrivateIpAddress(String privateIpAddress)
Set the privateIpAddress property: Private Ip address of the interface.- Parameters:
privateIpAddress
- the privateIpAddress value to set.- Returns:
- the NetworkInterface object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-