public class ConditionalForwarder extends Object implements 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.
Constructor and Description |
---|
ConditionalForwarder() |
Modifier and Type | Method and Description |
---|---|
ConditionalForwarder |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDnsIpAddrs()
The IP addresses of the remote DNS server associated with
RemoteDomainName.
|
String |
getRemoteDomainName()
The fully qualified domain name (FQDN) of the remote domains pointed to
by the conditional forwarder.
|
String |
getReplicationScope()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ConditionalForwarder |
withDnsIpAddrs(Collection<String> dnsIpAddrs)
The IP addresses of the remote DNS server associated with
RemoteDomainName.
|
ConditionalForwarder |
withDnsIpAddrs(String... dnsIpAddrs)
The IP addresses of the remote DNS server associated with
RemoteDomainName.
|
ConditionalForwarder |
withRemoteDomainName(String remoteDomainName)
The fully qualified domain name (FQDN) of the remote domains pointed to
by the conditional forwarder.
|
ConditionalForwarder |
withReplicationScope(ReplicationScope replicationScope)
The replication scope of the conditional forwarder.
|
ConditionalForwarder |
withReplicationScope(String replicationScope)
The replication scope of the conditional forwarder.
|
public void setRemoteDomainName(String remoteDomainName)
The fully qualified domain name (FQDN) of the remote domains pointed to by the conditional forwarder.
remoteDomainName
- The fully qualified domain name (FQDN) of the remote domains
pointed to by the conditional forwarder.public String getRemoteDomainName()
The fully qualified domain name (FQDN) of the remote domains pointed to by the conditional forwarder.
public ConditionalForwarder withRemoteDomainName(String remoteDomainName)
The fully qualified domain name (FQDN) of the remote domains pointed to by the conditional forwarder.
remoteDomainName
- The fully qualified domain name (FQDN) of the remote domains
pointed to by the conditional forwarder.public List<String> 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.
public void setDnsIpAddrs(Collection<String> 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.
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.public ConditionalForwarder withDnsIpAddrs(String... 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.
NOTE: This method appends the values to the existing list (if
any). Use setDnsIpAddrs(java.util.Collection)
or
withDnsIpAddrs(java.util.Collection)
if you want to override the
existing values.
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.public ConditionalForwarder withDnsIpAddrs(Collection<String> 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.
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.public void setReplicationScope(String replicationScope)
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.
replicationScope
- 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.ReplicationScope
public String 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.
Domain
, which will replicate the
conditional forwarder to all of the domain controllers for your
AWS directory.ReplicationScope
public ConditionalForwarder withReplicationScope(String replicationScope)
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.
replicationScope
- 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.ReplicationScope
public void setReplicationScope(ReplicationScope replicationScope)
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.
replicationScope
- 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.ReplicationScope
public ConditionalForwarder withReplicationScope(ReplicationScope replicationScope)
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.
replicationScope
- 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.ReplicationScope
public String toString()
toString
in class Object
Object.toString()
public ConditionalForwarder clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.