Class LoadBalancerNodeIdentityProjection
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.MorpheusIdentityModel
com.morpheusdata.model.projection.LoadBalancerNodeIdentityProjection
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NetworkLoadBalancerNode
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-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected StringFields inherited from class com.morpheusdata.model.MorpheusModel
config, id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDescription of the load balancer nodereturns the externalId also known as the API id of the equivalent object.getName()Gets the name of the load balancer node.This returns the nodes state (disabled, etc)Gets the partition that the node belongs tovoidsetDescription(String description) voidsetExternalId(String externalId) Sets the externalId of the load balancer node.voidvoidsetNodeState(String nodeState) voidsetPartition(String partition) Methods inherited from class com.morpheusdata.model.projection.MorpheusIdentityModel
getIdentityPropertiesMethods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty, setId
-
Field Details
-
externalId
-
name
-
partition
-
nodeState
-
description
-
-
Constructor Details
-
LoadBalancerNodeIdentityProjection
public LoadBalancerNodeIdentityProjection() -
LoadBalancerNodeIdentityProjection
-
-
Method Details
-
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
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
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
-
getPartition
Gets the partition that the node belongs to- Returns:
-
setPartition
-
getNodeState
This returns the nodes state (disabled, etc)- Returns:
- a string representation of the node state
-
setNodeState
-
getDescription
Description of the load balancer node- Returns:
- description of the node
-
setDescription
-