Class LoadBalancerNodeIdentityProjection

java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.MorpheusIdentityModel
com.morpheusdata.model.projection.LoadBalancerNodeIdentityProjection
Direct Known Subclasses:
NetworkLoadBalancerNode

public class LoadBalancerNodeIdentityProjection extends MorpheusIdentityModel
Provides a subset of properties from the NetworkLoadBalancerNode 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
    • name

      protected String name
    • partition

      protected String partition
    • nodeState

      protected String nodeState
    • description

      protected String description
  • Constructor Details

    • LoadBalancerNodeIdentityProjection

      public LoadBalancerNodeIdentityProjection()
    • LoadBalancerNodeIdentityProjection

      public LoadBalancerNodeIdentityProjection(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)
      Sets the externalId of the load balancer node. In this class this should not be called directly
      Parameters:
      externalId - the external id or API id of the current record
    • getName

      public String getName()
      Gets the name of the load balancer node. This is on the identity projection in case a fallback match needs to happen by name
      Returns:
      the current name of the node
    • setName

      public void setName(String name)
    • getPartition

      public String getPartition()
      Gets the partition that the node belongs to
      Returns:
    • setPartition

      public void setPartition(String partition)
    • getNodeState

      public String getNodeState()
      This returns the nodes state (disabled, etc)
      Returns:
      a string representation of the node state
    • setNodeState

      public void setNodeState(String nodeState)
    • getDescription

      public String getDescription()
      Description of the load balancer node
      Returns:
      description of the node
    • setDescription

      public void setDescription(String description)