Class NetworkPoolIpIdentityProjection
- java.lang.Object
-
- com.morpheusdata.model.MorpheusModel
-
- com.morpheusdata.model.projection.NetworkPoolIpIdentityProjection
-
- Direct Known Subclasses:
NetworkPoolIp
public class NetworkPoolIpIdentityProjection extends MorpheusModel
Provides a subset of properties from theNetworkPoolIp
object for doing a sync match comparison with less bandwidth usage and memory footprint. This is a DTO Projection object- See Also:
MorpheusNetworkPoolIpService
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
externalId
protected java.lang.String
ipAddress
-
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
-
Constructor Summary
Constructors Constructor Description NetworkPoolIpIdentityProjection()
NetworkPoolIpIdentityProjection(java.lang.Long id, java.lang.String externalId, java.lang.String ipAddress)
The default constructor for creating a projection object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getExternalId()
returns the externalId also known as the API id of the equivalent object.java.lang.String
getIpAddress()
Returns the ipAddress for the specific host record Typically this is the IPv4 address but in future could also be an IPv6 depending on pool typevoid
setExternalId(java.lang.String externalId)
Sets the externalId of the network pool.void
setIpAddress(java.lang.String ipAddress)
Sets the IPv4 or IPv6 address of the specific host record dependent upon the pool type.-
Methods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty, setId
-
-
-
-
Constructor Detail
-
NetworkPoolIpIdentityProjection
public NetworkPoolIpIdentityProjection(java.lang.Long id, java.lang.String externalId, java.lang.String ipAddress)
The default constructor for creating a projection object.- Parameters:
id
- the database id of the objectexternalId
- the API id of the objectipAddress
- the uniquely reserved ip address in the pool
-
NetworkPoolIpIdentityProjection
public NetworkPoolIpIdentityProjection()
-
-
Method Detail
-
getExternalId
public java.lang.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(java.lang.String externalId)
Sets the externalId of the network pool. In this class this should not be called directly- Parameters:
externalId
- the external id or API id of the current record
-
getIpAddress
public java.lang.String getIpAddress()
Returns the ipAddress for the specific host record Typically this is the IPv4 address but in future could also be an IPv6 depending on pool type- Returns:
- the IP Address of the current record
-
setIpAddress
public void setIpAddress(java.lang.String ipAddress)
Sets the IPv4 or IPv6 address of the specific host record dependent upon the pool type.- Parameters:
ipAddress
- the IP Address for the current record
-
-