public class Trust
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
createdDateTime
The date and time that the trust relationship was created.
|
private java.lang.String |
directoryId
The Directory ID of the AWS directory involved in the trust relationship.
|
private java.util.Date |
lastUpdatedDateTime
The date and time that the trust relationship was last updated.
|
private java.lang.String |
remoteDomainName
The Fully Qualified Domain Name (FQDN) of the external domain involved in
the trust relationship.
|
private java.util.Date |
stateLastUpdatedDateTime
The date and time that the TrustState was last updated.
|
private java.lang.String |
trustDirection
The trust relationship direction.
|
private java.lang.String |
trustId
The unique ID of the trust relationship.
|
private java.lang.String |
trustState
The trust relationship state.
|
private java.lang.String |
trustStateReason
The reason for the TrustState.
|
private java.lang.String |
trustType
The trust relationship type.
|
Constructor and Description |
---|
Trust() |
Modifier and Type | Method and Description |
---|---|
Trust |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreatedDateTime()
The date and time that the trust relationship was created.
|
java.lang.String |
getDirectoryId()
The Directory ID of the AWS directory involved in the trust relationship.
|
java.util.Date |
getLastUpdatedDateTime()
The date and time that the trust relationship was last updated.
|
java.lang.String |
getRemoteDomainName()
The Fully Qualified Domain Name (FQDN) of the external domain involved in
the trust relationship.
|
java.util.Date |
getStateLastUpdatedDateTime()
The date and time that the TrustState was last updated.
|
java.lang.String |
getTrustDirection()
The trust relationship direction.
|
java.lang.String |
getTrustId()
The unique ID of the trust relationship.
|
java.lang.String |
getTrustState()
The trust relationship state.
|
java.lang.String |
getTrustStateReason()
The reason for the TrustState.
|
java.lang.String |
getTrustType()
The trust relationship type.
|
int |
hashCode() |
void |
setCreatedDateTime(java.util.Date createdDateTime)
The date and time that the trust relationship was created.
|
void |
setDirectoryId(java.lang.String directoryId)
The Directory ID of the AWS directory involved in the trust relationship.
|
void |
setLastUpdatedDateTime(java.util.Date lastUpdatedDateTime)
The date and time that the trust relationship was last updated.
|
void |
setRemoteDomainName(java.lang.String remoteDomainName)
The Fully Qualified Domain Name (FQDN) of the external domain involved in
the trust relationship.
|
void |
setStateLastUpdatedDateTime(java.util.Date stateLastUpdatedDateTime)
The date and time that the TrustState was last updated.
|
void |
setTrustDirection(java.lang.String trustDirection)
The trust relationship direction.
|
void |
setTrustDirection(TrustDirection trustDirection)
The trust relationship direction.
|
void |
setTrustId(java.lang.String trustId)
The unique ID of the trust relationship.
|
void |
setTrustState(java.lang.String trustState)
The trust relationship state.
|
void |
setTrustState(TrustState trustState)
The trust relationship state.
|
void |
setTrustStateReason(java.lang.String trustStateReason)
The reason for the TrustState.
|
void |
setTrustType(java.lang.String trustType)
The trust relationship type.
|
void |
setTrustType(TrustType trustType)
The trust relationship type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Trust |
withCreatedDateTime(java.util.Date createdDateTime)
The date and time that the trust relationship was created.
|
Trust |
withDirectoryId(java.lang.String directoryId)
The Directory ID of the AWS directory involved in the trust relationship.
|
Trust |
withLastUpdatedDateTime(java.util.Date lastUpdatedDateTime)
The date and time that the trust relationship was last updated.
|
Trust |
withRemoteDomainName(java.lang.String remoteDomainName)
The Fully Qualified Domain Name (FQDN) of the external domain involved in
the trust relationship.
|
Trust |
withStateLastUpdatedDateTime(java.util.Date stateLastUpdatedDateTime)
The date and time that the TrustState was last updated.
|
Trust |
withTrustDirection(java.lang.String trustDirection)
The trust relationship direction.
|
Trust |
withTrustDirection(TrustDirection trustDirection)
The trust relationship direction.
|
Trust |
withTrustId(java.lang.String trustId)
The unique ID of the trust relationship.
|
Trust |
withTrustState(java.lang.String trustState)
The trust relationship state.
|
Trust |
withTrustState(TrustState trustState)
The trust relationship state.
|
Trust |
withTrustStateReason(java.lang.String trustStateReason)
The reason for the TrustState.
|
Trust |
withTrustType(java.lang.String trustType)
The trust relationship type.
|
Trust |
withTrustType(TrustType trustType)
The trust relationship type.
|
private java.lang.String directoryId
private java.lang.String trustId
private java.lang.String remoteDomainName
private java.lang.String trustType
private java.lang.String trustDirection
private java.lang.String trustState
private java.util.Date createdDateTime
private java.util.Date lastUpdatedDateTime
private java.util.Date stateLastUpdatedDateTime
private java.lang.String trustStateReason
The reason for the TrustState.
public void setDirectoryId(java.lang.String directoryId)
directoryId
- The Directory ID of the AWS directory involved in the trust
relationship.public java.lang.String getDirectoryId()
public Trust withDirectoryId(java.lang.String directoryId)
directoryId
- The Directory ID of the AWS directory involved in the trust
relationship.public void setTrustId(java.lang.String trustId)
trustId
- The unique ID of the trust relationship.public java.lang.String getTrustId()
public Trust withTrustId(java.lang.String trustId)
trustId
- The unique ID of the trust relationship.public void setRemoteDomainName(java.lang.String remoteDomainName)
remoteDomainName
- The Fully Qualified Domain Name (FQDN) of the external domain
involved in the trust relationship.public java.lang.String getRemoteDomainName()
public Trust withRemoteDomainName(java.lang.String remoteDomainName)
remoteDomainName
- The Fully Qualified Domain Name (FQDN) of the external domain
involved in the trust relationship.public void setTrustType(java.lang.String trustType)
trustType
- The trust relationship type.TrustType
public java.lang.String getTrustType()
TrustType
public Trust withTrustType(java.lang.String trustType)
trustType
- The trust relationship type.TrustType
public void setTrustType(TrustType trustType)
trustType
- The trust relationship type.TrustType
public Trust withTrustType(TrustType trustType)
trustType
- The trust relationship type.TrustType
public void setTrustDirection(java.lang.String trustDirection)
trustDirection
- The trust relationship direction.TrustDirection
public java.lang.String getTrustDirection()
TrustDirection
public Trust withTrustDirection(java.lang.String trustDirection)
trustDirection
- The trust relationship direction.TrustDirection
public void setTrustDirection(TrustDirection trustDirection)
trustDirection
- The trust relationship direction.TrustDirection
public Trust withTrustDirection(TrustDirection trustDirection)
trustDirection
- The trust relationship direction.TrustDirection
public void setTrustState(java.lang.String trustState)
trustState
- The trust relationship state.TrustState
public java.lang.String getTrustState()
TrustState
public Trust withTrustState(java.lang.String trustState)
trustState
- The trust relationship state.TrustState
public void setTrustState(TrustState trustState)
trustState
- The trust relationship state.TrustState
public Trust withTrustState(TrustState trustState)
trustState
- The trust relationship state.TrustState
public void setCreatedDateTime(java.util.Date createdDateTime)
createdDateTime
- The date and time that the trust relationship was created.public java.util.Date getCreatedDateTime()
public Trust withCreatedDateTime(java.util.Date createdDateTime)
createdDateTime
- The date and time that the trust relationship was created.public void setLastUpdatedDateTime(java.util.Date lastUpdatedDateTime)
lastUpdatedDateTime
- The date and time that the trust relationship was last updated.public java.util.Date getLastUpdatedDateTime()
public Trust withLastUpdatedDateTime(java.util.Date lastUpdatedDateTime)
lastUpdatedDateTime
- The date and time that the trust relationship was last updated.public void setStateLastUpdatedDateTime(java.util.Date stateLastUpdatedDateTime)
stateLastUpdatedDateTime
- The date and time that the TrustState was last updated.public java.util.Date getStateLastUpdatedDateTime()
public Trust withStateLastUpdatedDateTime(java.util.Date stateLastUpdatedDateTime)
stateLastUpdatedDateTime
- The date and time that the TrustState was last updated.public void setTrustStateReason(java.lang.String trustStateReason)
The reason for the TrustState.
trustStateReason
- The reason for the TrustState.public java.lang.String getTrustStateReason()
The reason for the TrustState.
public Trust withTrustStateReason(java.lang.String trustStateReason)
The reason for the TrustState.
trustStateReason
- The reason for the TrustState.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Trust clone()
clone
in class java.lang.Object