Class ConditionalForwarder
- All Implemented Interfaces:
Serializable
,Cloneable
Points to a remote domain with which you are setting up a trust relationship. Conditional forwarders are required in order to set up a trust relationship with another domain.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The IP addresses of the remote DNS server associated with RemoteDomainName.The fully qualified domain name (FQDN) of the remote domains pointed to by the conditional forwarder.The replication scope of the conditional forwarder.int
hashCode()
void
setDnsIpAddrs
(Collection<String> dnsIpAddrs) The IP addresses of the remote DNS server associated with RemoteDomainName.void
setRemoteDomainName
(String remoteDomainName) The fully qualified domain name (FQDN) of the remote domains pointed to by the conditional forwarder.void
setReplicationScope
(ReplicationScope replicationScope) The replication scope of the conditional forwarder.void
setReplicationScope
(String replicationScope) The replication scope of the conditional forwarder.toString()
Returns a string representation of this object; useful for testing and debugging.withDnsIpAddrs
(String... dnsIpAddrs) The IP addresses of the remote DNS server associated with RemoteDomainName.withDnsIpAddrs
(Collection<String> dnsIpAddrs) The IP addresses of the remote DNS server associated with RemoteDomainName.withRemoteDomainName
(String remoteDomainName) The fully qualified domain name (FQDN) of the remote domains pointed to by the conditional forwarder.withReplicationScope
(ReplicationScope replicationScope) The replication scope of the conditional forwarder.withReplicationScope
(String replicationScope) The replication scope of the conditional forwarder.
-
Constructor Details
-
ConditionalForwarder
public ConditionalForwarder()
-
-
Method Details
-
setRemoteDomainName
The fully qualified domain name (FQDN) of the remote domains pointed to by the conditional forwarder.
- Parameters:
remoteDomainName
- The fully qualified domain name (FQDN) of the remote domains pointed to by the conditional forwarder.
-
getRemoteDomainName
The fully qualified domain name (FQDN) of the remote domains pointed to by the conditional forwarder.
- Returns:
- The fully qualified domain name (FQDN) of the remote domains pointed to by the conditional forwarder.
-
withRemoteDomainName
The fully qualified domain name (FQDN) of the remote domains pointed to by the conditional forwarder.
- Parameters:
remoteDomainName
- The fully qualified domain name (FQDN) of the remote domains pointed to by the conditional forwarder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDnsIpAddrs
The IP addresses of the remote DNS server associated with RemoteDomainName. This is the IP address of the DNS server that your conditional forwarder points to.
- Returns:
- The IP addresses of the remote DNS server associated with RemoteDomainName. This is the IP address of the DNS server that your conditional forwarder points to.
-
setDnsIpAddrs
The IP addresses of the remote DNS server associated with RemoteDomainName. This is the IP address of the DNS server that your conditional forwarder points to.
- Parameters:
dnsIpAddrs
- The IP addresses of the remote DNS server associated with RemoteDomainName. This is the IP address of the DNS server that your conditional forwarder points to.
-
withDnsIpAddrs
The IP addresses of the remote DNS server associated with RemoteDomainName. This is the IP address of the DNS server that your conditional forwarder points to.
NOTE: This method appends the values to the existing list (if any). Use
setDnsIpAddrs(java.util.Collection)
orwithDnsIpAddrs(java.util.Collection)
if you want to override the existing values.- Parameters:
dnsIpAddrs
- The IP addresses of the remote DNS server associated with RemoteDomainName. This is the IP address of the DNS server that your conditional forwarder points to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDnsIpAddrs
The IP addresses of the remote DNS server associated with RemoteDomainName. This is the IP address of the DNS server that your conditional forwarder points to.
- Parameters:
dnsIpAddrs
- The IP addresses of the remote DNS server associated with RemoteDomainName. This is the IP address of the DNS server that your conditional forwarder points to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReplicationScope
The replication scope of the conditional forwarder. The only allowed value is
Domain
, which will replicate the conditional forwarder to all of the domain controllers for your AWS directory.- Parameters:
replicationScope
- The replication scope of the conditional forwarder. The only allowed value isDomain
, which will replicate the conditional forwarder to all of the domain controllers for your AWS directory.- See Also:
-
getReplicationScope
The replication scope of the conditional forwarder. The only allowed value is
Domain
, which will replicate the conditional forwarder to all of the domain controllers for your AWS directory.- Returns:
- The replication scope of the conditional forwarder. The only
allowed value is
Domain
, which will replicate the conditional forwarder to all of the domain controllers for your AWS directory. - See Also:
-
withReplicationScope
The replication scope of the conditional forwarder. The only allowed value is
Domain
, which will replicate the conditional forwarder to all of the domain controllers for your AWS directory.- Parameters:
replicationScope
- The replication scope of the conditional forwarder. The only allowed value isDomain
, which will replicate the conditional forwarder to all of the domain controllers for your AWS directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setReplicationScope
The replication scope of the conditional forwarder. The only allowed value is
Domain
, which will replicate the conditional forwarder to all of the domain controllers for your AWS directory.- Parameters:
replicationScope
- The replication scope of the conditional forwarder. The only allowed value isDomain
, which will replicate the conditional forwarder to all of the domain controllers for your AWS directory.- See Also:
-
withReplicationScope
The replication scope of the conditional forwarder. The only allowed value is
Domain
, which will replicate the conditional forwarder to all of the domain controllers for your AWS directory.- Parameters:
replicationScope
- The replication scope of the conditional forwarder. The only allowed value isDomain
, which will replicate the conditional forwarder to all of the domain controllers for your AWS directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-