Class Port
java.lang.Object
com.woorea.openstack.quantum.model.Port
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PortForCreate
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()getList()getName()voidsetAdminStateUp(Boolean adminStateUp) voidsetBinding(Port.Binding binding) voidsetDeviceId(String deviceId) voidsetDeviceOwner(String deviceOwner) voidvoidvoidsetMacAddress(String macAddress) voidvoidsetNetworkId(String networkId) voidsetSecurityGroups(List<String> securityGroups) voidvoidsetTenantId(String tenantId) toString()
-
Field Details
-
adminStateUp
-
deviceId
-
deviceOwner
-
list
-
id
-
macAddress
-
name
-
networkId
-
status
-
tenantId
-
securityGroups
-
binding
-
-
Constructor Details
-
Port
public Port()
-
-
Method Details
-
getAdminStateUp
- Returns:
- the adminStateUp
-
setAdminStateUp
- Parameters:
adminStateUp- the adminStateUp to set
-
getDeviceId
- Returns:
- the deviceId
-
setDeviceId
- Parameters:
deviceId- the deviceId to set
-
getDeviceOwner
- Returns:
- the deviceOwner
-
setDeviceOwner
- Parameters:
deviceOwner- the deviceOwner to set
-
getList
- Returns:
- the list
-
setList
- Parameters:
list- the list to set
-
getId
- Returns:
- the id
-
setId
- Parameters:
id- the id to set
-
getMacAddress
- Returns:
- the macAddress
-
setMacAddress
- Parameters:
macAddress- the macAddress to set
-
getName
- Returns:
- the name
-
setName
- Parameters:
name- the name to set
-
getNetworkId
- Returns:
- the networkId
-
setNetworkId
- Parameters:
networkId- the networkId to set
-
getStatus
- Returns:
- the status
-
setStatus
- Parameters:
status- the status to set
-
getTenantId
- Returns:
- the tenantId
-
setTenantId
- Parameters:
tenantId- the tenantId to set
-
getSecurityGroups
- Returns:
- the associated security group IDs
-
setSecurityGroups
- Parameters:
securityGroups- IDs of security groups to associate to the port
-
getBinding
- Returns:
- the binding of the port
-
setBinding
- Parameters:
binding- The port bindings by which the port is bind to network on host
-
toString
-