public static class SubInterfaceResponse.AddressGroup extends Object
| Constructor and Description |
|---|
AddressGroup(String primaryAddress,
List<String> secondaryAddresses,
String subnetMask,
int subnetPrefixLength)
Instantiates a new address group.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPrimaryAddress()
Gets primaryAddress.
|
List<String> |
getSecondaryAddresses()
Gets secondaryAddresses.
|
String |
getSubnetMask()
Gets subnetMask.
|
int |
getSubnetPrefixLength()
Gets subnetPrefixLength.
|
public AddressGroup(String primaryAddress, List<String> secondaryAddresses, String subnetMask, int subnetPrefixLength)
primaryAddress - the primary addresssecondaryAddresses - the secondary addressessubnetMask - the subnet masksubnetPrefixLength - the subnet prefix lengthpublic String getPrimaryAddress()
Primary Address of sub interface. IPv4 and IPv6 addresses are supported
String the primaryAddresspublic List<String> getSecondaryAddresses()
List of IPs assigned to interface. One or more ipAddress parameters are allowed, to enable assigning multiple IP addresses to a sub interface
public int getSubnetPrefixLength()
Copyright © 2020 iland Internet Solutions, Corp. All rights reserved.