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() |
| Modifier and Type | Method and Description |
|---|---|
static PortBuilder |
builder() |
Set<? extends AllowedAddressPair> |
getAllowedAddressPairs() |
String |
getDeviceId() |
String |
getDeviceOwner() |
Set<? extends IP> |
getFixedIps() |
String |
getId() |
String |
getMacAddress() |
String |
getName() |
String |
getNetworkId() |
List<String> |
getSecurityGroups() |
State |
getState() |
String |
getTenantId() |
boolean |
isAdminStateUp() |
void |
setId(String id)
Sets the identifier for this resource.
|
void |
setName(String name)
Sets the name for this resource
|
void |
setTenantId(String tenantId)
Sets the tenant identifier
|
PortBuilder |
toBuilder() |
String |
toString() |
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 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 set