Class CreateTrustRequest

  • All Implemented Interfaces:
    ReadLimitInfo, Serializable, Cloneable

    public class CreateTrustRequest
    extends AmazonWebServiceRequest
    implements Serializable, Cloneable

    AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Microsoft AD in the AWS cloud, and your existing on-premises Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials.

    This action initiates the creation of the AWS side of a trust relationship between a Microsoft AD in the AWS cloud and an external domain.

    See Also:
    Serialized Form
    • Constructor Detail

      • CreateTrustRequest

        public CreateTrustRequest()
    • Method Detail

      • setDirectoryId

        public void setDirectoryId​(String directoryId)
        The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.
        Parameters:
        directoryId - The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.
      • getDirectoryId

        public String getDirectoryId()
        The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.
        Returns:
        The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.
      • withDirectoryId

        public CreateTrustRequest withDirectoryId​(String directoryId)
        The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.
        Parameters:
        directoryId - The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRemoteDomainName

        public void setRemoteDomainName​(String remoteDomainName)
        The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
        Parameters:
        remoteDomainName - The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
      • getRemoteDomainName

        public String getRemoteDomainName()
        The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
        Returns:
        The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
      • withRemoteDomainName

        public CreateTrustRequest withRemoteDomainName​(String remoteDomainName)
        The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
        Parameters:
        remoteDomainName - The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTrustPassword

        public void setTrustPassword​(String trustPassword)
        The trust password. The must be the same password that was used when creating the trust relationship on the external domain.
        Parameters:
        trustPassword - The trust password. The must be the same password that was used when creating the trust relationship on the external domain.
      • getTrustPassword

        public String getTrustPassword()
        The trust password. The must be the same password that was used when creating the trust relationship on the external domain.
        Returns:
        The trust password. The must be the same password that was used when creating the trust relationship on the external domain.
      • withTrustPassword

        public CreateTrustRequest withTrustPassword​(String trustPassword)
        The trust password. The must be the same password that was used when creating the trust relationship on the external domain.
        Parameters:
        trustPassword - The trust password. The must be the same password that was used when creating the trust relationship on the external domain.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTrustDirection

        public void setTrustDirection​(String trustDirection)
        The direction of the trust relationship.
        Parameters:
        trustDirection - The direction of the trust relationship.
        See Also:
        TrustDirection
      • getTrustDirection

        public String getTrustDirection()
        The direction of the trust relationship.
        Returns:
        The direction of the trust relationship.
        See Also:
        TrustDirection
      • withTrustDirection

        public CreateTrustRequest withTrustDirection​(String trustDirection)
        The direction of the trust relationship.
        Parameters:
        trustDirection - The direction of the trust relationship.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TrustDirection
      • setTrustDirection

        public void setTrustDirection​(TrustDirection trustDirection)
        The direction of the trust relationship.
        Parameters:
        trustDirection - The direction of the trust relationship.
        See Also:
        TrustDirection
      • withTrustDirection

        public CreateTrustRequest withTrustDirection​(TrustDirection trustDirection)
        The direction of the trust relationship.
        Parameters:
        trustDirection - The direction of the trust relationship.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TrustDirection
      • setTrustType

        public void setTrustType​(String trustType)
        The trust relationship type.
        Parameters:
        trustType - The trust relationship type.
        See Also:
        TrustType
      • getTrustType

        public String getTrustType()
        The trust relationship type.
        Returns:
        The trust relationship type.
        See Also:
        TrustType
      • withTrustType

        public CreateTrustRequest withTrustType​(String trustType)
        The trust relationship type.
        Parameters:
        trustType - The trust relationship type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TrustType
      • setTrustType

        public void setTrustType​(TrustType trustType)
        The trust relationship type.
        Parameters:
        trustType - The trust relationship type.
        See Also:
        TrustType
      • withTrustType

        public CreateTrustRequest withTrustType​(TrustType trustType)
        The trust relationship type.
        Parameters:
        trustType - The trust relationship type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TrustType
      • getConditionalForwarderIpAddrs

        public List<String> getConditionalForwarderIpAddrs()
        Returns:
      • setConditionalForwarderIpAddrs

        public void setConditionalForwarderIpAddrs​(Collection<String> conditionalForwarderIpAddrs)
        Parameters:
        conditionalForwarderIpAddrs -
      • withConditionalForwarderIpAddrs

        public CreateTrustRequest withConditionalForwarderIpAddrs​(Collection<String> conditionalForwarderIpAddrs)
        Parameters:
        conditionalForwarderIpAddrs -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object