Class InterfaceProperties
- java.lang.Object
-
- com.azure.resourcemanager.mobilenetwork.models.InterfaceProperties
-
public final class InterfaceProperties extends Object
Interface properties.
-
-
Constructor Summary
Constructors Constructor Description InterfaceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
ipv4Address()
Get the ipv4Address property: The IPv4 address.String
ipv4Gateway()
Get the ipv4Gateway property: The default IPv4 gateway (router).String
ipv4Subnet()
Get the ipv4Subnet property: The IPv4 subnet.String
name()
Get the name property: The logical name for this interface.void
validate()
Validates the instance.InterfaceProperties
withIpv4Address(String ipv4Address)
Set the ipv4Address property: The IPv4 address.InterfaceProperties
withIpv4Gateway(String ipv4Gateway)
Set the ipv4Gateway property: The default IPv4 gateway (router).InterfaceProperties
withIpv4Subnet(String ipv4Subnet)
Set the ipv4Subnet property: The IPv4 subnet.InterfaceProperties
withName(String name)
Set the name property: The logical name for this interface.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The logical name for this interface. This should match one of the interfaces configured on your Azure Stack Edge machine.- Returns:
- the name value.
-
withName
public InterfaceProperties withName(String name)
Set the name property: The logical name for this interface. This should match one of the interfaces configured on your Azure Stack Edge machine.- Parameters:
name
- the name value to set.- Returns:
- the InterfaceProperties object itself.
-
ipv4Address
public String ipv4Address()
Get the ipv4Address property: The IPv4 address.- Returns:
- the ipv4Address value.
-
withIpv4Address
public InterfaceProperties withIpv4Address(String ipv4Address)
Set the ipv4Address property: The IPv4 address.- Parameters:
ipv4Address
- the ipv4Address value to set.- Returns:
- the InterfaceProperties object itself.
-
ipv4Subnet
public String ipv4Subnet()
Get the ipv4Subnet property: The IPv4 subnet.- Returns:
- the ipv4Subnet value.
-
withIpv4Subnet
public InterfaceProperties withIpv4Subnet(String ipv4Subnet)
Set the ipv4Subnet property: The IPv4 subnet.- Parameters:
ipv4Subnet
- the ipv4Subnet value to set.- Returns:
- the InterfaceProperties object itself.
-
ipv4Gateway
public String ipv4Gateway()
Get the ipv4Gateway property: The default IPv4 gateway (router).- Returns:
- the ipv4Gateway value.
-
withIpv4Gateway
public InterfaceProperties withIpv4Gateway(String ipv4Gateway)
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.
-
-