public class PortListOptions extends Object
Modifier and Type | Method and Description |
---|---|
PortListOptions |
adminState(boolean adminState)
The administrative state of the router, which is up (true) or down (false)
|
static PortListOptions |
create() |
PortListOptions |
deviceId(String deviceId)
The ID of the device that uses this port.
|
PortListOptions |
deviceOwner(String deviceOwner)
The ID of the entity that uses this port.
|
PortListOptions |
displayName(String displayName)
Deprecated.
|
Map<String,String> |
getOptions() |
PortListOptions |
macAddress(String macAddress)
The MAC address of the port
|
PortListOptions |
name(String name)
The port name
|
PortListOptions |
networkId(String networkId)
The ID of the attached network
|
PortListOptions |
tenantId(String tenantId)
The ID of the tenant who owns the network
|
public static PortListOptions create()
public PortListOptions deviceOwner(String deviceOwner)
deviceOwner
- the device ownerpublic PortListOptions deviceId(String deviceId)
deviceId
- the device idpublic PortListOptions networkId(String networkId)
networkId
- the network idpublic PortListOptions adminState(boolean adminState)
adminState
- the admin state@Deprecated public PortListOptions displayName(String displayName)
name(String)
to filter ports by namedisplayName
- the port display namepublic PortListOptions name(String name)
name
- the port namepublic PortListOptions tenantId(String tenantId)
tenantId
- the tenant idpublic PortListOptions macAddress(String macAddress)
macAddress
- the mac addressCopyright © 2017. All rights reserved.