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 BasicResource
public String getTenantId()
getTenantId
in interface Resource
public State getState()
public boolean isAdminStateUp()
isAdminStateUp
in interface Port
public String getNetworkId()
getNetworkId
in interface Port
public String getDeviceId()
getDeviceId
in interface Port
public String getDeviceOwner()
getDeviceOwner
in interface Port
public Set<? extends IP> getFixedIps()
getFixedIps
in interface Port
public Set<? extends AllowedAddressPair> getAllowedAddressPairs()
getAllowedAddressPairs
in interface Port
public String getMacAddress()
getMacAddress
in interface Port
public List<String> getSecurityGroups()
getSecurityGroups
in interface Port
public String getVifType()
getVifType
in interface Port
public Map<String,Object> getVifDetails()
getVifDetails
in interface Port
public String getvNicType()
getvNicType
in interface Port
public Map<String,Object> getProfile()
getProfile
in interface Port
public void setId(String id)
public void setName(String name)
setName
in interface BasicResource
name
- the name to setpublic void setTenantId(String tenantId)
setTenantId
in interface Resource
tenantId
- 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 Port
Copyright © 2017. All rights reserved.