Class Trust
java.lang.Object
com.amazonaws.services.directory.model.Trust
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a trust relationship between an Microsoft AD in the AWS cloud and
an external domain.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The date and time that the trust relationship was created.The Directory ID of the AWS directory involved in the trust relationship.The date and time that the trust relationship was last updated.The Fully Qualified Domain Name (FQDN) of the external domain involved in the trust relationship.The date and time that the TrustState was last updated.The trust relationship direction.The unique ID of the trust relationship.The trust relationship state.The reason for the TrustState.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.toString()
Returns a string representation of this object; useful for testing and debugging.withCreatedDateTime
(Date createdDateTime) The date and time that the trust relationship was created.withDirectoryId
(String directoryId) The Directory ID of the AWS directory involved in the trust relationship.withLastUpdatedDateTime
(Date lastUpdatedDateTime) The date and time that the trust relationship was last updated.withRemoteDomainName
(String remoteDomainName) The Fully Qualified Domain Name (FQDN) of the external domain involved in the trust relationship.withStateLastUpdatedDateTime
(Date stateLastUpdatedDateTime) The date and time that the TrustState was last updated.withTrustDirection
(TrustDirection trustDirection) The trust relationship direction.withTrustDirection
(String trustDirection) The trust relationship direction.withTrustId
(String trustId) The unique ID of the trust relationship.withTrustState
(TrustState trustState) The trust relationship state.withTrustState
(String trustState) The trust relationship state.withTrustStateReason
(String trustStateReason) The reason for the TrustState.withTrustType
(TrustType trustType) The trust relationship type.withTrustType
(String trustType) The trust relationship type.
-
Constructor Details
-
Trust
public Trust()
-
-
Method Details
-
setDirectoryId
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
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
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
The unique ID of the trust relationship.- Parameters:
trustId
- The unique ID of the trust relationship.
-
getTrustId
The unique ID of the trust relationship.- Returns:
- The unique ID of the trust relationship.
-
withTrustId
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
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
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
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
The trust relationship type.- Parameters:
trustType
- The trust relationship type.- See Also:
-
getTrustType
The trust relationship type.- Returns:
- The trust relationship type.
- See Also:
-
withTrustType
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
The trust relationship type.- Parameters:
trustType
- The trust relationship type.- See Also:
-
withTrustType
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
The trust relationship direction.- Parameters:
trustDirection
- The trust relationship direction.- See Also:
-
getTrustDirection
The trust relationship direction.- Returns:
- The trust relationship direction.
- See Also:
-
withTrustDirection
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
The trust relationship direction.- Parameters:
trustDirection
- The trust relationship direction.- See Also:
-
withTrustDirection
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
The trust relationship state.- Parameters:
trustState
- The trust relationship state.- See Also:
-
getTrustState
The trust relationship state.- Returns:
- The trust relationship state.
- See Also:
-
withTrustState
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
The trust relationship state.- Parameters:
trustState
- The trust relationship state.- See Also:
-
withTrustState
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
The date and time that the trust relationship was created.- Parameters:
createdDateTime
- The date and time that the trust relationship was created.
-
getCreatedDateTime
The date and time that the trust relationship was created.- Returns:
- The date and time that the trust relationship was created.
-
withCreatedDateTime
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
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
The date and time that the trust relationship was last updated.- Returns:
- The date and time that the trust relationship was last updated.
-
withLastUpdatedDateTime
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
The date and time that the TrustState was last updated.- Parameters:
stateLastUpdatedDateTime
- The date and time that the TrustState was last updated.
-
getStateLastUpdatedDateTime
The date and time that the TrustState was last updated.- Returns:
- The date and time that the TrustState was last updated.
-
withStateLastUpdatedDateTime
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
The reason for the TrustState.
- Parameters:
trustStateReason
- The reason for the TrustState.
-
getTrustStateReason
The reason for the TrustState.
- Returns:
- The reason for the TrustState.
-
withTrustStateReason
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-