Class Trust
- 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Trust()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Trust
clone()
boolean
equals(Object obj)
Date
getCreatedDateTime()
The date and time that the trust relationship was created.String
getDirectoryId()
The Directory ID of the AWS directory involved in the trust relationship.Date
getLastUpdatedDateTime()
The date and time that the trust relationship was last updated.String
getRemoteDomainName()
The Fully Qualified Domain Name (FQDN) of the external domain involved in the trust relationship.Date
getStateLastUpdatedDateTime()
The date and time that the TrustState was last updated.String
getTrustDirection()
The trust relationship direction.String
getTrustId()
The unique ID of the trust relationship.String
getTrustState()
The trust relationship state.String
getTrustStateReason()
The reason for the TrustState.String
getTrustType()
The trust relationship type.int
hashCode()
void
setCreatedDateTime(Date createdDateTime)
The date and time that the trust relationship was created.void
setDirectoryId(String directoryId)
The Directory ID of the AWS directory involved in the trust relationship.void
setLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time that the trust relationship was last updated.void
setRemoteDomainName(String remoteDomainName)
The Fully Qualified Domain Name (FQDN) of the external domain involved in the trust relationship.void
setStateLastUpdatedDateTime(Date stateLastUpdatedDateTime)
The date and time that the TrustState was last updated.void
setTrustDirection(TrustDirection trustDirection)
The trust relationship direction.void
setTrustDirection(String trustDirection)
The trust relationship direction.void
setTrustId(String trustId)
The unique ID of the trust relationship.void
setTrustState(TrustState trustState)
The trust relationship state.void
setTrustState(String trustState)
The trust relationship state.void
setTrustStateReason(String trustStateReason)
The reason for the TrustState.void
setTrustType(TrustType trustType)
The trust relationship type.void
setTrustType(String trustType)
The trust relationship type.String
toString()
Returns a string representation of this object; useful for testing and debugging.Trust
withCreatedDateTime(Date createdDateTime)
The date and time that the trust relationship was created.Trust
withDirectoryId(String directoryId)
The Directory ID of the AWS directory involved in the trust relationship.Trust
withLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time that the trust relationship was last updated.Trust
withRemoteDomainName(String remoteDomainName)
The Fully Qualified Domain Name (FQDN) of the external domain involved in the trust relationship.Trust
withStateLastUpdatedDateTime(Date stateLastUpdatedDateTime)
The date and time that the TrustState was last updated.Trust
withTrustDirection(TrustDirection trustDirection)
The trust relationship direction.Trust
withTrustDirection(String trustDirection)
The trust relationship direction.Trust
withTrustId(String trustId)
The unique ID of the trust relationship.Trust
withTrustState(TrustState trustState)
The trust relationship state.Trust
withTrustState(String trustState)
The trust relationship state.Trust
withTrustStateReason(String trustStateReason)
The reason for the TrustState.Trust
withTrustType(TrustType trustType)
The trust relationship type.Trust
withTrustType(String trustType)
The trust relationship type.
-
-
-
Method Detail
-
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:
TrustType
-
getTrustType
public String getTrustType()
The trust relationship type.- Returns:
- The trust relationship type.
- See Also:
TrustType
-
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:
TrustType
-
setTrustType
public void setTrustType(TrustType trustType)
The trust relationship type.- Parameters:
trustType
- The trust relationship type.- See Also:
TrustType
-
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:
TrustType
-
setTrustDirection
public void setTrustDirection(String trustDirection)
The trust relationship direction.- Parameters:
trustDirection
- The trust relationship direction.- See Also:
TrustDirection
-
getTrustDirection
public String getTrustDirection()
The trust relationship direction.- Returns:
- The trust relationship direction.
- See Also:
TrustDirection
-
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:
TrustDirection
-
setTrustDirection
public void setTrustDirection(TrustDirection trustDirection)
The trust relationship direction.- Parameters:
trustDirection
- The trust relationship direction.- See Also:
TrustDirection
-
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:
TrustDirection
-
setTrustState
public void setTrustState(String trustState)
The trust relationship state.- Parameters:
trustState
- The trust relationship state.- See Also:
TrustState
-
getTrustState
public String getTrustState()
The trust relationship state.- Returns:
- The trust relationship state.
- See Also:
TrustState
-
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:
TrustState
-
setTrustState
public void setTrustState(TrustState trustState)
The trust relationship state.- Parameters:
trustState
- The trust relationship state.- See Also:
TrustState
-
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:
TrustState
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-