public abstract static class Port.Builder<T extends Port.Builder<T>> extends ReferenceWithName.Builder<T>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
adminStateUp |
protected String |
deviceId |
protected String |
deviceOwner |
protected Set<IP> |
fixedIps |
protected String |
macAddress |
protected String |
networkId |
protected State |
state |
nameid, tenantId| Constructor and Description |
|---|
Port.Builder() |
| Modifier and Type | Method and Description |
|---|---|
T |
adminStateUp(Boolean adminStateUp) |
Port |
build() |
T |
deviceId(String deviceId) |
T |
deviceOwner(String deviceOwner) |
T |
fixedIps(Set<IP> fixedIps) |
T |
fromPort(Port in) |
T |
macAddress(String macAddress) |
T |
networkId(String networkId) |
T |
state(State state) |
fromReferenceWithName, name, selffromReference, id, tenantIdprotected String networkId
protected String deviceId
protected String deviceOwner
protected String macAddress
protected State state
protected Boolean adminStateUp
public T state(State state)
Port.getState()public T networkId(String networkId)
Port.getNetworkId()public T adminStateUp(Boolean adminStateUp)
Port.getAdminStateUp()public T deviceId(String deviceId)
Port.getDeviceId()public T deviceOwner(String deviceOwner)
Port.getDeviceOwner()public T fixedIps(Set<IP> fixedIps)
Port.getDeviceId()public T macAddress(String macAddress)
Port.getMacAddress()public Port build()
build in class ReferenceWithName.Builder<T extends Port.Builder<T>>Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.