Class LoadBalancerInstanceIdentityProjection
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.MorpheusIdentityModel
com.morpheusdata.model.projection.LoadBalancerInstanceIdentityProjection
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NetworkLoadBalancerInstance
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-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected IntegerFields inherited from class com.morpheusdata.model.MorpheusModel
config, id -
Constructor Summary
ConstructorsConstructorDescriptionLoadBalancerInstanceIdentityProjection(Long id, String externalId, String name) -
Method Summary
Modifier and TypeMethodDescriptionreturns the externalId also known as the API id of the equivalent object.Gets the name of the virtual server this instance represents.voidsetExternalId(String externalId) voidsetPartition(String partition) voidsetVipAddress(String vipAddress) voidsetVipName(String vipName) voidsetVipPort(Integer vipPort) 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
-
vipName
-
vipAddress
-
vipPort
-
partition
-
-
Constructor Details
-
LoadBalancerInstanceIdentityProjection
public LoadBalancerInstanceIdentityProjection() -
LoadBalancerInstanceIdentityProjection
-
-
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
-
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
-
getVipAddress
-
setVipAddress
-
getVipPort
-
setVipPort
-
getPartition
-
setPartition
-