Package com.morpheusdata.model
Class NetworkDomain
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.MorpheusIdentityModel
com.morpheusdata.model.projection.NetworkDomainIdentityProjection
com.morpheusdata.model.NetworkDomain
This is a Model Representation of a Network Domain. It contains information related to any DNS Cloud that may be synced
via a DNS and/or IPAM provider.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected Account
protected Boolean
protected String
protected String
protected String
The Display Name of the current Network Domain.protected Boolean
protected String
protected String
protected String
protected String
protected String
protected String
protected String
The name of the current Network Domain.protected String
protected Account
protected Boolean
protected Long
protected String
protected String
protected String
protected String
protected String
protected String
protected String
Fields inherited from class com.morpheusdata.model.projection.NetworkDomainIdentityProjection
externalId
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the human readable description representation of the Domain Record in question.Gets the display name of the current Network Domain.Gets the flag representing whether or not the Provider of this Domain Record provides DNSSec features.getFqdn()
getName()
Returns the name of the network domain.Gets the OUPath string for joining an OU in Active Directory.getOwner()
A flag to represent whether the authoritative cloud in question is a public or internal dns cloud.getRefId()
Gets the Reference Id correlating to the Model object as defined by thegetRefType()
method.Represents the source of the Domain record.A String form of the Model class name that this Domain Record is related to.Gets the string representation of the cloud type this Domain record correlates to.void
setAccount
(Account account) void
void
setConfiguration
(String configuration) void
setDcServer
(String dcServer) void
setDescription
(String description) Sets the human-readable description text for a DNS Cloud.void
setDisplayName
(String displayName) Sets the Display Name of the current Network Domain.void
Sets the DNSSec flag.void
setDomainPassword
(String domainPassword) void
setDomainSerial
(String domainSerial) void
setDomainUsername
(String domainUsername) void
void
setGuestPassword
(String guestPassword) void
setGuestUsername
(String guestUsername) void
setInternalId
(String internalId) void
Sets the name of the network domain.void
Sets the OUPath (Organizational Unit) of a Cloud that may be used for joining an Active Directory Windows Domain Controller.void
void
setPublicZone
(Boolean publicZone) Sets the Public Cloud qualifier flag used for defining if the current Cloud is a public or internal DNS Cloud.void
Sets the Reference Id correlating to the Model object as defined by thegetRefType()
method.void
setRefSource
(String refSource) Sets the reference source property to mark where the Domain Record was created from.void
setRefType
(String refType) Set the String form of the Model class name that this Domain Record is related to.void
setRegionCode
(String regionCode) void
setReverseExternalId
(String reverseExternalId) void
setReverseFqdn
(String reverseFqdn) void
setReverseName
(String reverseName) void
setZoneType
(String zoneType) Typically set during sync, allows the sync services to represent the type of cloud record being synced.Methods inherited from class com.morpheusdata.model.projection.NetworkDomainIdentityProjection
getExternalId, getId, setExternalId, setId
Methods inherited from class com.morpheusdata.model.projection.MorpheusIdentityModel
getIdentityProperties
Methods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty
-
Field Details
-
account
-
owner
-
displayName
The Display Name of the current Network Domain. This Display Name is typically not changed directly by an integration but can be if necessary. Primarily it is a user adjustable setting performed in the UI. -
name
The name of the current Network Domain. This is often synced in and represents the actual zone name -
description
-
publicZone
-
refType
-
refId
-
refSource
-
ouPath
-
zoneType
-
dnssec
-
fqdn
-
domainSerial
-
active
-
reverseName
-
reverseFqdn
-
reverseExternalId
-
regionCode
-
configuration
-
internalId
-
domainUsername
-
domainPassword
-
guestUsername
-
guestPassword
-
-
Constructor Details
-
NetworkDomain
public NetworkDomain()
-
-
Method Details
-
getDisplayName
Gets the display name of the current Network Domain. Domains can have a display name for situations where the same Domain record exists multiple times but may target different OU Paths for example. This provides a way for the user to override a Domain Name and change its display for consumption.- Returns:
- display name
-
setDisplayName
Sets the Display Name of the current Network Domain. This Display Name is typically not changed directly by an integration but can be if necessary. Primarily it is a user adjustable setting performed in the UI.- Parameters:
displayName
- the Human readable display name to be presented to the user during provisioning. Should be left blank when syncing.
-
getDescription
Gets the human readable description representation of the Domain Record in question. This may get synced in from a provider or often can be set directly by the user.- Returns:
- a descriptive block of text providing the user with more information about the Domain.
-
setDescription
Sets the human-readable description text for a DNS Cloud. This can be useful for providing more details to the user as to what may belong in this cloud or where it may be geographically associated to.- Parameters:
description
- a descriptive block of text providing the user with more information about the Domain.
-
getPublicZone
A flag to represent whether the authoritative cloud in question is a public or internal dns cloud.- Returns:
- Boolean state of public cloud flag.
-
setPublicZone
Sets the Public Cloud qualifier flag used for defining if the current Cloud is a public or internal DNS Cloud.- Parameters:
publicZone
- cloud
-
getRefType
A String form of the Model class name that this Domain Record is related to. Typically via most Integrations the value of this field should be 'AccountIntegration', however some scenarios exist where this may get synced or created via an alternative means (perhaps from a CloudProvider).- Returns:
- String representation of Model that this record was associated with externally (typically 'AccountIntegration')
-
setRefType
Set the String form of the Model class name that this Domain Record is related to. Typically, via most Integrations the value of this field should be 'AccountIntegration', however some scenarios exist where this may get synced or created via an alternative means (perhaps from a CloudProvider). The refId is also required when using this field.- Parameters:
refType
- type
-
getRefId
Gets the Reference Id correlating to the Model object as defined by thegetRefType()
method. In most cases this is the id property correlating to theAccountIntegration
the Domain record is synced from.- Returns:
- the database unique identifier corresponding to the related Model as defined by
getRefType()
.
-
setRefId
Sets the Reference Id correlating to the Model object as defined by thegetRefType()
method. In most cases this is the id property correlating to theAccountIntegration
the Domain record is synced from.- Parameters:
refId
- the database unique identifier corresponding to the related Model as defined bygetRefType()
.
-
getRefSource
Represents the source of the Domain record. How it was created. Was it user created and later associated with the integration or was it created via a sync. This is useful during sync to determine if a record should be flagged for removal or not.- Returns:
- reference source String (should be of value "integration" or value "user") to determine where it came from.
-
setRefSource
Sets the reference source property to mark where the Domain Record was created from. When creating during a sync operation via anIPAMProvider
it is best to set this property to "integration".- Parameters:
refSource
- reference source String (should be of value "integration" or value "user") to determine where it came from.
-
getOuPath
Gets the OUPath string for joining an OU in Active Directory. An OU Path is a path typically correlating to an organizational unit within Active Directory (Microsoft DNS Zones). In most cases this is set by the user unless the external DNS Provider supports synchronizing of OU Information.- Returns:
- The String AD representation of an OU when joining a Domain.
-
setOuPath
Sets the OUPath (Organizational Unit) of a Cloud that may be used for joining an Active Directory Windows Domain Controller. It is possible for multiple Cloud Records to exist with the same FQDN, but with a different OU Path qualifier.- Parameters:
ouPath
- The String AD representation of an OU when joining a Domain.
-
getZoneType
Gets the string representation of the cloud type this Domain record correlates to. An example might be an "authoritative" cloud or a "forward" cloud.- Returns:
- A string representation of the type of cloud this domain record correlates to.
-
setZoneType
Typically set during sync, allows the sync services to represent the type of cloud record being synced. For example there are multiple types of zones when it comes to DNS such as (authoritative, forward, or even reverse).- Parameters:
zoneType
- A string representation of the type of cloud this domain record correlates to.
-
getDnssec
Gets the flag representing whether or not the Provider of this Domain Record provides DNSSec features. For more information please refer to the documentation provided by icann.org regarding DNSSec and what it stands for.- Returns:
- Boolean representation indicating if the referred to cloud is providing DNSSec capabilities.
-
setDnssec
Sets the DNSSec flag. this is typically done via aDNSProvider
sync operation. For more information please refer to the documentation provided by icann.org regarding DNSSec and what it stands for.- Parameters:
dnssec
- Boolean representation indicating if the referred to cloud is providing DNSSec capabilities.
-
getAccount
-
setAccount
-
getOwner
-
setOwner
-
getDomainSerial
-
setDomainSerial
-
getReverseName
-
setReverseName
-
getReverseFqdn
-
setReverseFqdn
-
getReverseExternalId
-
setReverseExternalId
-
getConfiguration
-
setConfiguration
-
getDomainUsername
-
setDomainUsername
-
getDomainPassword
-
setDomainPassword
-
getGuestUsername
-
setGuestUsername
-
getGuestPassword
-
setGuestPassword
-
getInternalId
-
setInternalId
-
getRegionCode
-
setRegionCode
-
getName
Description copied from class:NetworkDomainIdentityProjection
Returns the name of the network domain.- Overrides:
getName
in classNetworkDomainIdentityProjection
- Returns:
- the name of the network domain.
-
setName
Description copied from class:NetworkDomainIdentityProjection
Sets the name of the network domain. In this class this should not be called directly- Overrides:
setName
in classNetworkDomainIdentityProjection
- Parameters:
name
- the name to set on the object
-
getDcServer
-
setDcServer
-
getFqdn
-
setFqdn
-
getActive
-
setActive
-