Class ConditionalForwarder
- java.lang.Object
-
- com.amazonaws.services.directory.model.ConditionalForwarder
-
- All Implemented Interfaces:
Serializable
,Cloneable
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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConditionalForwarder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(String... dnsIpAddrs)
The IP addresses of the remote DNS server associated with RemoteDomainName.ConditionalForwarder
withDnsIpAddrs(Collection<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.
-
-
-
Method Detail
-
setRemoteDomainName
public void setRemoteDomainName(String remoteDomainName)
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
public String 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
public ConditionalForwarder withRemoteDomainName(String remoteDomainName)
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
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.
- 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
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.
- 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
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)
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
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.
- 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
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.- 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:
ReplicationScope
-
getReplicationScope
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.- 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:
ReplicationScope
-
withReplicationScope
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.- 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:
ReplicationScope
-
setReplicationScope
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.- 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:
ReplicationScope
-
withReplicationScope
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.- 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:
ReplicationScope
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ConditionalForwarder clone()
-
-