public class NeutronPort extends Object implements Port
| Modifier and Type | Class and Description |
|---|---|
static class |
NeutronPort.PortConcreteBuilder |
static class |
NeutronPort.Ports |
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>| Constructor and Description |
|---|
NeutronPort() |
public static PortBuilder builder()
public PortBuilder toBuilder()
toBuilder in interface Buildable<PortBuilder>public String getId()
public String getName()
getName in interface BasicResourcepublic String getTenantId()
getTenantId in interface Resourcepublic State getState()
public boolean isAdminStateUp()
isAdminStateUp in interface Portpublic String getNetworkId()
getNetworkId in interface Portpublic String getDeviceId()
getDeviceId in interface Portpublic String getDeviceOwner()
getDeviceOwner in interface Portpublic Set<? extends IP> getFixedIps()
getFixedIps in interface Portpublic Set<? extends AllowedAddressPair> getAllowedAddressPairs()
getAllowedAddressPairs in interface Portpublic String getMacAddress()
getMacAddress in interface Portpublic List<String> getSecurityGroups()
getSecurityGroups in interface Portpublic String getVifType()
getVifType in interface Portpublic Map<String,Object> getVifDetails()
getVifDetails in interface Portpublic String getvNicType()
getvNicType in interface Portpublic Map<String,Object> getProfile()
getProfile in interface Portpublic void setId(String id)
public void setName(String name)
setName in interface BasicResourcename - the name to setpublic void setTenantId(String tenantId)
setTenantId in interface ResourcetenantId - the tenant id to setpublic void setHostId(String hostId)
public void setVifType(String vifType)
public void setvNicType(String vNicType)
public Boolean isPortSecurityEnabled()
isPortSecurityEnabled in interface PortCopyright © 2017. All rights reserved.