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 Trustclone()booleanequals(Object obj)DategetCreatedDateTime()The date and time that the trust relationship was created.StringgetDirectoryId()The Directory ID of the AWS directory involved in the trust relationship.DategetLastUpdatedDateTime()The date and time that the trust relationship was last updated.StringgetRemoteDomainName()The Fully Qualified Domain Name (FQDN) of the external domain involved in the trust relationship.DategetStateLastUpdatedDateTime()The date and time that the TrustState was last updated.StringgetTrustDirection()The trust relationship direction.StringgetTrustId()The unique ID of the trust relationship.StringgetTrustState()The trust relationship state.StringgetTrustStateReason()The reason for the TrustState.StringgetTrustType()The trust relationship type.inthashCode()voidsetCreatedDateTime(Date createdDateTime)The date and time that the trust relationship was created.voidsetDirectoryId(String directoryId)The Directory ID of the AWS directory involved in the trust relationship.voidsetLastUpdatedDateTime(Date lastUpdatedDateTime)The date and time that the trust relationship was last updated.voidsetRemoteDomainName(String remoteDomainName)The Fully Qualified Domain Name (FQDN) of the external domain involved in the trust relationship.voidsetStateLastUpdatedDateTime(Date stateLastUpdatedDateTime)The date and time that the TrustState was last updated.voidsetTrustDirection(TrustDirection trustDirection)The trust relationship direction.voidsetTrustDirection(String trustDirection)The trust relationship direction.voidsetTrustId(String trustId)The unique ID of the trust relationship.voidsetTrustState(TrustState trustState)The trust relationship state.voidsetTrustState(String trustState)The trust relationship state.voidsetTrustStateReason(String trustStateReason)The reason for the TrustState.voidsetTrustType(TrustType trustType)The trust relationship type.voidsetTrustType(String trustType)The trust relationship type.StringtoString()Returns a string representation of this object; useful for testing and debugging.TrustwithCreatedDateTime(Date createdDateTime)The date and time that the trust relationship was created.TrustwithDirectoryId(String directoryId)The Directory ID of the AWS directory involved in the trust relationship.TrustwithLastUpdatedDateTime(Date lastUpdatedDateTime)The date and time that the trust relationship was last updated.TrustwithRemoteDomainName(String remoteDomainName)The Fully Qualified Domain Name (FQDN) of the external domain involved in the trust relationship.TrustwithStateLastUpdatedDateTime(Date stateLastUpdatedDateTime)The date and time that the TrustState was last updated.TrustwithTrustDirection(TrustDirection trustDirection)The trust relationship direction.TrustwithTrustDirection(String trustDirection)The trust relationship direction.TrustwithTrustId(String trustId)The unique ID of the trust relationship.TrustwithTrustState(TrustState trustState)The trust relationship state.TrustwithTrustState(String trustState)The trust relationship state.TrustwithTrustStateReason(String trustStateReason)The reason for the TrustState.TrustwithTrustType(TrustType trustType)The trust relationship type.TrustwithTrustType(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-