java.lang.Object
com.woorea.openstack.quantum.model.Port
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PortForCreate

public class Port extends Object implements Serializable
See Also:
  • Field Details

  • Constructor Details

    • Port

      public Port()
  • Method Details

    • getAdminStateUp

      public Boolean getAdminStateUp()
      Returns:
      the adminStateUp
    • setAdminStateUp

      public void setAdminStateUp(Boolean adminStateUp)
      Parameters:
      adminStateUp - the adminStateUp to set
    • getDeviceId

      public String getDeviceId()
      Returns:
      the deviceId
    • setDeviceId

      public void setDeviceId(String deviceId)
      Parameters:
      deviceId - the deviceId to set
    • getDeviceOwner

      public String getDeviceOwner()
      Returns:
      the deviceOwner
    • setDeviceOwner

      public void setDeviceOwner(String deviceOwner)
      Parameters:
      deviceOwner - the deviceOwner to set
    • getList

      public List<Port.Ip> getList()
      Returns:
      the list
    • setList

      public void setList(List<Port.Ip> list)
      Parameters:
      list - the list to set
    • getId

      public String getId()
      Returns:
      the id
    • setId

      public void setId(String id)
      Parameters:
      id - the id to set
    • getMacAddress

      public String getMacAddress()
      Returns:
      the macAddress
    • setMacAddress

      public void setMacAddress(String macAddress)
      Parameters:
      macAddress - the macAddress to set
    • getName

      public String getName()
      Returns:
      the name
    • setName

      public void setName(String name)
      Parameters:
      name - the name to set
    • getNetworkId

      public String getNetworkId()
      Returns:
      the networkId
    • setNetworkId

      public void setNetworkId(String networkId)
      Parameters:
      networkId - the networkId to set
    • getStatus

      public String getStatus()
      Returns:
      the status
    • setStatus

      public void setStatus(String status)
      Parameters:
      status - the status to set
    • getTenantId

      public String getTenantId()
      Returns:
      the tenantId
    • setTenantId

      public void setTenantId(String tenantId)
      Parameters:
      tenantId - the tenantId to set
    • getSecurityGroups

      public List<String> getSecurityGroups()
      Returns:
      the associated security group IDs
    • setSecurityGroups

      public void setSecurityGroups(List<String> securityGroups)
      Parameters:
      securityGroups - IDs of security groups to associate to the port
    • getBinding

      public Port.Binding getBinding()
      Returns:
      the binding of the port
    • setBinding

      public void setBinding(Port.Binding binding)
      Parameters:
      binding - The port bindings by which the port is bind to network on host
    • toString

      public String toString()
      Overrides:
      toString in class Object