Class InterfaceProperties
java.lang.Object
com.azure.resourcemanager.mobilenetwork.models.InterfaceProperties
Interface properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the ipv4Address property: The IPv4 address.Get the ipv4Gateway property: The default IPv4 gateway (router).Get the ipv4Subnet property: The IPv4 subnet.name()
Get the name property: The logical name for this interface.void
validate()
Validates the instance.withIpv4Address
(String ipv4Address) Set the ipv4Address property: The IPv4 address.withIpv4Gateway
(String ipv4Gateway) Set the ipv4Gateway property: The default IPv4 gateway (router).withIpv4Subnet
(String ipv4Subnet) Set the ipv4Subnet property: The IPv4 subnet.Set the name property: The logical name for this interface.
-
Constructor Details
-
InterfaceProperties
public InterfaceProperties()
-
-
Method Details
-
name
Get the name property: The logical name for this interface. This should match one of the interfaces configured on your Azure Stack Edge device.- Returns:
- the name value.
-
withName
Set the name property: The logical name for this interface. This should match one of the interfaces configured on your Azure Stack Edge device.- Parameters:
name
- the name value to set.- Returns:
- the InterfaceProperties object itself.
-
ipv4Address
Get the ipv4Address property: The IPv4 address.- Returns:
- the ipv4Address value.
-
withIpv4Address
Set the ipv4Address property: The IPv4 address.- Parameters:
ipv4Address
- the ipv4Address value to set.- Returns:
- the InterfaceProperties object itself.
-
ipv4Subnet
Get the ipv4Subnet property: The IPv4 subnet.- Returns:
- the ipv4Subnet value.
-
withIpv4Subnet
Set the ipv4Subnet property: The IPv4 subnet.- Parameters:
ipv4Subnet
- the ipv4Subnet value to set.- Returns:
- the InterfaceProperties object itself.
-
ipv4Gateway
Get the ipv4Gateway property: The default IPv4 gateway (router).- Returns:
- the ipv4Gateway value.
-
withIpv4Gateway
Set the ipv4Gateway property: The default IPv4 gateway (router).- Parameters:
ipv4Gateway
- the ipv4Gateway value to set.- Returns:
- the InterfaceProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-