public class ConditionalForwarder
extends java.lang.Object
implements java.io.Serializable, java.lang.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.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
dnsIpAddrs
The IP addresses of the remote DNS server associated with
RemoteDomainName.
|
private java.lang.String |
remoteDomainName
The fully qualified domain name (FQDN) of the remote domains pointed to
by the conditional forwarder.
|
private java.lang.String |
replicationScope
The replication scope of the conditional forwarder.
|
Constructor and Description |
---|
ConditionalForwarder() |
Modifier and Type | Method and Description |
---|---|
ConditionalForwarder |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getDnsIpAddrs()
The IP addresses of the remote DNS server associated with
RemoteDomainName.
|
java.lang.String |
getRemoteDomainName()
The fully qualified domain name (FQDN) of the remote domains pointed to
by the conditional forwarder.
|
java.lang.String |
getReplicationScope()
The replication scope of the conditional forwarder.
|
int |
hashCode() |
void |
setDnsIpAddrs(java.util.Collection<java.lang.String> dnsIpAddrs)
The IP addresses of the remote DNS server associated with
RemoteDomainName.
|
void |
setRemoteDomainName(java.lang.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(java.lang.String replicationScope)
The replication scope of the conditional forwarder.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ConditionalForwarder |
withDnsIpAddrs(java.util.Collection<java.lang.String> dnsIpAddrs)
The IP addresses of the remote DNS server associated with
RemoteDomainName.
|
ConditionalForwarder |
withDnsIpAddrs(java.lang.String... dnsIpAddrs)
The IP addresses of the remote DNS server associated with
RemoteDomainName.
|
ConditionalForwarder |
withRemoteDomainName(java.lang.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(java.lang.String replicationScope)
The replication scope of the conditional forwarder.
|
private java.lang.String remoteDomainName
The fully qualified domain name (FQDN) of the remote domains pointed to by the conditional forwarder.
private SdkInternalList<java.lang.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.
private java.lang.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.
public void setRemoteDomainName(java.lang.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 java.lang.String getRemoteDomainName()
The fully qualified domain name (FQDN) of the remote domains pointed to by the conditional forwarder.
public ConditionalForwarder withRemoteDomainName(java.lang.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 java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ConditionalForwarder clone()
clone
in class java.lang.Object