Class LoadBalancerInstanceIdentityProjection

java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.MorpheusIdentityModel
com.morpheusdata.model.projection.LoadBalancerInstanceIdentityProjection
Direct Known Subclasses:
NetworkLoadBalancerInstance

public class LoadBalancerInstanceIdentityProjection extends MorpheusIdentityModel
Provides a subset of properties from the NetworkLoadBalancerInstance 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
    • vipName

      protected String vipName
    • vipAddress

      protected String vipAddress
    • vipPort

      protected Integer vipPort
    • partition

      protected String partition
  • Constructor Details

    • LoadBalancerInstanceIdentityProjection

      public LoadBalancerInstanceIdentityProjection()
    • LoadBalancerInstanceIdentityProjection

      public LoadBalancerInstanceIdentityProjection(Long id, String externalId, String name)
  • 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)
    • getVipName

      public String getVipName()
      Gets the name of the virtual server this instance represents. This is on the identity projection in case a fallback match needs to happen by name
      Returns:
      the current name of the monitor
    • setVipName

      public void setVipName(String vipName)
    • getVipAddress

      public String getVipAddress()
    • setVipAddress

      public void setVipAddress(String vipAddress)
    • getVipPort

      public Integer getVipPort()
    • setVipPort

      public void setVipPort(Integer vipPort)
    • getPartition

      public String getPartition()
    • setPartition

      public void setPartition(String partition)