public class SubInterfaceResponse extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SubInterfaceResponse.AddressGroup
Address Group.
|
Constructor and Description |
---|
SubInterfaceResponse(boolean isConnected,
String label,
String name,
int index,
int tunnelId,
int vlanId,
boolean enableSendRedirects,
long mtu,
List<SubInterfaceResponse.AddressGroup> addressGroups)
Instantiates a new sub interface response.
|
Modifier and Type | Method and Description |
---|---|
List<SubInterfaceResponse.AddressGroup> |
getAddressGroups()
Gets addressGroups.
|
int |
getIndex()
Gets index.
|
String |
getLabel()
Gets label.
|
long |
getMtu()
Gets mtu.
|
String |
getName()
Gets name.
|
int |
getTunnelId()
Gets tunnelId.
|
int |
getVlanId()
Gets vlanId.
|
boolean |
isConnected()
Gets isConnected.
|
boolean |
isEnableSendRedirects()
Gets enableSendRedirects.
|
public SubInterfaceResponse(boolean isConnected, String label, String name, int index, int tunnelId, int vlanId, boolean enableSendRedirects, long mtu, List<SubInterfaceResponse.AddressGroup> addressGroups)
isConnected
- the is connectedlabel
- the labelname
- the nameindex
- the indextunnelId
- the tunnel idvlanId
- the vlan idenableSendRedirects
- the enable send redirectsmtu
- the mtuaddressGroups
- the address groupspublic boolean isConnected()
Whether or not the sub interface is connected
public String getLabel()
Label for the vNic. System provides default labels starting with: vNic_10
String
the labelpublic int getIndex()
The index number of the sub interface. System provides default index starting with: 10
public int getTunnelId()
The Tunnel ID. Number between 1 and 4094
public int getVlanId()
The VLAN ID. Number between 0 and 4094
public boolean isEnableSendRedirects()
Whether or not send redirects is enabled
public long getMtu()
The maximum transmission value for the data packets. Default is 1500
public List<SubInterfaceResponse.AddressGroup> getAddressGroups()
The list of address groups assigned to the sub interface
List
of SubInterfaceResponse.AddressGroup
the addressGroupsCopyright © 2020 iland Internet Solutions, Corp. All rights reserved.