public class Port extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Port.Binding |
static class |
Port.Ip |
| Constructor and Description |
|---|
Port() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getAdminStateUp() |
Port.Binding |
getBinding() |
String |
getDeviceId() |
String |
getDeviceOwner() |
String |
getId() |
List<Port.Ip> |
getList() |
String |
getMacAddress() |
String |
getName() |
String |
getNetworkId() |
List<String> |
getSecurityGroups() |
String |
getStatus() |
String |
getTenantId() |
void |
setAdminStateUp(Boolean adminStateUp) |
void |
setBinding(Port.Binding binding) |
void |
setDeviceId(String deviceId) |
void |
setDeviceOwner(String deviceOwner) |
void |
setId(String id) |
void |
setList(List<Port.Ip> list) |
void |
setMacAddress(String macAddress) |
void |
setName(String name) |
void |
setNetworkId(String networkId) |
void |
setSecurityGroups(List<String> securityGroups) |
void |
setStatus(String status) |
void |
setTenantId(String tenantId) |
String |
toString() |
public Boolean getAdminStateUp()
public void setAdminStateUp(Boolean adminStateUp)
adminStateUp - the adminStateUp to setpublic String getDeviceId()
public void setDeviceId(String deviceId)
deviceId - the deviceId to setpublic String getDeviceOwner()
public void setDeviceOwner(String deviceOwner)
deviceOwner - the deviceOwner to setpublic String getId()
public void setId(String id)
id - the id to setpublic String getMacAddress()
public void setMacAddress(String macAddress)
macAddress - the macAddress to setpublic String getName()
public void setName(String name)
name - the name to setpublic String getNetworkId()
public void setNetworkId(String networkId)
networkId - the networkId to setpublic String getStatus()
public void setStatus(String status)
status - the status to setpublic String getTenantId()
public void setTenantId(String tenantId)
tenantId - the tenantId to setpublic List<String> getSecurityGroups()
public void setSecurityGroups(List<String> securityGroups)
securityGroups - IDs of security groups to associate to the portpublic Port.Binding getBinding()
public void setBinding(Port.Binding binding)
binding - The port bindings by which the port is bind to network on hostCopyright © 2012–2020. All rights reserved.