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:
  • Constructor Details

    • ConditionalForwarder

      public ConditionalForwarder()
  • Method Details

    • 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) or withDnsIpAddrs(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 is Domain, which will replicate the conditional forwarder to all of the domain controllers for your AWS directory.
      See Also:
    • 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:
    • 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 is Domain, 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

      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 is Domain, which will replicate the conditional forwarder to all of the domain controllers for your AWS directory.
      See Also:
    • 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 is Domain, 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

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ConditionalForwarder clone()
      Overrides:
      clone in class Object