Class NetworkPoolIpIdentityProjection

Direct Known Subclasses:
NetworkPoolIp

public class NetworkPoolIpIdentityProjection extends MorpheusIdentityModel
Provides a subset of properties from the NetworkPoolIp object for doing a sync match comparison with less bandwidth usage and memory footprint. This is a DTO Projection object
See Also:
  • Field Details

    • externalId

      protected String externalId
    • ipAddress

      protected String ipAddress
  • Constructor Details

    • NetworkPoolIpIdentityProjection

      public NetworkPoolIpIdentityProjection(Long id, String externalId, String ipAddress)
      The default constructor for creating a projection object.
      Parameters:
      id - the database id of the object
      externalId - the API id of the object
      ipAddress - the uniquely reserved ip address in the pool
    • NetworkPoolIpIdentityProjection

      public NetworkPoolIpIdentityProjection()
  • Method Details

    • getExternalId

      public String getExternalId()
      returns the externalId also known as the API id of the equivalent object.
      Returns:
      the external id or API id of the current record
    • setExternalId

      public void setExternalId(String externalId)
      Sets the externalId of the network pool. In this class this should not be called directly
      Parameters:
      externalId - the external id or API id of the current record
    • getIpAddress

      public String getIpAddress()
      Returns the ipAddress for the specific host record Typically this is the IPv4 address but in future could also be an IPv6 depending on pool type
      Returns:
      the IP Address of the current record
    • setIpAddress

      public void setIpAddress(String ipAddress)
      Sets the IPv4 or IPv6 address of the specific host record dependent upon the pool type.
      Parameters:
      ipAddress - the IP Address for the current record