Class LoadBalancerMonitorIdentityProjection
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.MorpheusIdentityModel
com.morpheusdata.model.projection.LoadBalancerMonitorIdentityProjection
- Direct Known Subclasses:
NetworkLoadBalancerMonitor
Provides a subset of properties from the
NetworkLoadBalancerMonitor
object for doing a sync match
comparison with less bandwidth usage and memory footprint. This is a DTO Projection object- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
Constructor Summary
ConstructorDescriptionLoadBalancerMonitorIdentityProjection
(Long id, String externalId, String name) -
Method Summary
Modifier and TypeMethodDescriptionreturns the externalId also known as the API id of the equivalent object.Returns a code describing the monitor type (will vary based on load balancer provider)getName()
Gets the name of the health monitor.The partition that the health monitor belongs tovoid
setExternalId
(String externalId) Sets the externalId of the health monitor.void
setMonitorType
(String monitorType) void
void
setPartition
(String partition) Methods inherited from class com.morpheusdata.model.projection.MorpheusIdentityModel
getIdentityProperties
Methods 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
-
monitorType
-
partition
-
-
Constructor Details
-
LoadBalancerMonitorIdentityProjection
-
LoadBalancerMonitorIdentityProjection
public LoadBalancerMonitorIdentityProjection()
-
-
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 health monitor. 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 health monitor. This is on the identity projection in case a fallback match needs to happen by name- Returns:
- the current name of the monitor
-
setName
-
getMonitorType
Returns a code describing the monitor type (will vary based on load balancer provider)- Returns:
- description of monitor type
-
setMonitorType
-
getPartition
The partition that the health monitor belongs to- Returns:
- the partition that the health monitor belongs to
-
setPartition
-