java.lang.Object
com.amazonaws.services.directory.model.Trust
All Implemented Interfaces:
Serializable, Cloneable

public class Trust extends Object implements Serializable, Cloneable
Describes a trust relationship between an Microsoft AD in the AWS cloud and an external domain.
See Also:
  • Constructor Details

    • Trust

      public Trust()
  • Method Details

    • setDirectoryId

      public void setDirectoryId(String directoryId)
      The Directory ID of the AWS directory involved in the trust relationship.
      Parameters:
      directoryId - The Directory ID of the AWS directory involved in the trust relationship.
    • getDirectoryId

      public String getDirectoryId()
      The Directory ID of the AWS directory involved in the trust relationship.
      Returns:
      The Directory ID of the AWS directory involved in the trust relationship.
    • withDirectoryId

      public Trust withDirectoryId(String directoryId)
      The Directory ID of the AWS directory involved in the trust relationship.
      Parameters:
      directoryId - The Directory ID of the AWS directory involved in the trust relationship.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTrustId

      public void setTrustId(String trustId)
      The unique ID of the trust relationship.
      Parameters:
      trustId - The unique ID of the trust relationship.
    • getTrustId

      public String getTrustId()
      The unique ID of the trust relationship.
      Returns:
      The unique ID of the trust relationship.
    • withTrustId

      public Trust withTrustId(String trustId)
      The unique ID of the trust relationship.
      Parameters:
      trustId - The unique ID of 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 involved in the trust relationship.
      Parameters:
      remoteDomainName - The Fully Qualified Domain Name (FQDN) of the external domain involved in the trust relationship.
    • getRemoteDomainName

      public String getRemoteDomainName()
      The Fully Qualified Domain Name (FQDN) of the external domain involved in the trust relationship.
      Returns:
      The Fully Qualified Domain Name (FQDN) of the external domain involved in the trust relationship.
    • withRemoteDomainName

      public Trust withRemoteDomainName(String remoteDomainName)
      The Fully Qualified Domain Name (FQDN) of the external domain involved in the trust relationship.
      Parameters:
      remoteDomainName - The Fully Qualified Domain Name (FQDN) of the external domain involved in the trust relationship.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTrustType

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

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

      public Trust 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:
    • setTrustType

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

      public Trust 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:
    • setTrustDirection

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

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

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

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

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

      public void setTrustState(String trustState)
      The trust relationship state.
      Parameters:
      trustState - The trust relationship state.
      See Also:
    • getTrustState

      public String getTrustState()
      The trust relationship state.
      Returns:
      The trust relationship state.
      See Also:
    • withTrustState

      public Trust withTrustState(String trustState)
      The trust relationship state.
      Parameters:
      trustState - The trust relationship state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setTrustState

      public void setTrustState(TrustState trustState)
      The trust relationship state.
      Parameters:
      trustState - The trust relationship state.
      See Also:
    • withTrustState

      public Trust withTrustState(TrustState trustState)
      The trust relationship state.
      Parameters:
      trustState - The trust relationship state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setCreatedDateTime

      public void setCreatedDateTime(Date createdDateTime)
      The date and time that the trust relationship was created.
      Parameters:
      createdDateTime - The date and time that the trust relationship was created.
    • getCreatedDateTime

      public Date getCreatedDateTime()
      The date and time that the trust relationship was created.
      Returns:
      The date and time that the trust relationship was created.
    • withCreatedDateTime

      public Trust withCreatedDateTime(Date createdDateTime)
      The date and time that the trust relationship was created.
      Parameters:
      createdDateTime - The date and time that the trust relationship was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setLastUpdatedDateTime

      public void setLastUpdatedDateTime(Date lastUpdatedDateTime)
      The date and time that the trust relationship was last updated.
      Parameters:
      lastUpdatedDateTime - The date and time that the trust relationship was last updated.
    • getLastUpdatedDateTime

      public Date getLastUpdatedDateTime()
      The date and time that the trust relationship was last updated.
      Returns:
      The date and time that the trust relationship was last updated.
    • withLastUpdatedDateTime

      public Trust withLastUpdatedDateTime(Date lastUpdatedDateTime)
      The date and time that the trust relationship was last updated.
      Parameters:
      lastUpdatedDateTime - The date and time that the trust relationship was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setStateLastUpdatedDateTime

      public void setStateLastUpdatedDateTime(Date stateLastUpdatedDateTime)
      The date and time that the TrustState was last updated.
      Parameters:
      stateLastUpdatedDateTime - The date and time that the TrustState was last updated.
    • getStateLastUpdatedDateTime

      public Date getStateLastUpdatedDateTime()
      The date and time that the TrustState was last updated.
      Returns:
      The date and time that the TrustState was last updated.
    • withStateLastUpdatedDateTime

      public Trust withStateLastUpdatedDateTime(Date stateLastUpdatedDateTime)
      The date and time that the TrustState was last updated.
      Parameters:
      stateLastUpdatedDateTime - The date and time that the TrustState was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTrustStateReason

      public void setTrustStateReason(String trustStateReason)

      The reason for the TrustState.

      Parameters:
      trustStateReason - The reason for the TrustState.
    • getTrustStateReason

      public String getTrustStateReason()

      The reason for the TrustState.

      Returns:
      The reason for the TrustState.
    • withTrustStateReason

      public Trust withTrustStateReason(String trustStateReason)

      The reason for the TrustState.

      Parameters:
      trustStateReason - The reason for the TrustState.
      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:
    • equals

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

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

      public Trust clone()
      Overrides:
      clone in class Object