Class Trust
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Trust.Builder,Trust>
Describes a trust relationship between an Managed Microsoft AD directory and an external domain.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Trust.Builderbuilder()final InstantThe date and time that the trust relationship was created.final StringThe Directory ID of the Amazon Web Services directory involved in the trust relationship.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantThe date and time that the trust relationship was last updated.final StringThe Fully Qualified Domain Name (FQDN) of the external domain involved in the trust relationship.final SelectiveAuthCurrent state of selective authentication for the trust.final StringCurrent state of selective authentication for the trust.static Class<? extends Trust.Builder> final InstantThe date and time that the TrustState was last updated.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final TrustDirectionThe trust relationship direction.final StringThe trust relationship direction.final StringtrustId()The unique ID of the trust relationship.final TrustStateThe trust relationship state.final StringThe trust relationship state.final StringThe reason for the TrustState.final TrustTypeThe trust relationship type.final StringThe trust relationship type.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
directoryId
The Directory ID of the Amazon Web Services directory involved in the trust relationship.
- Returns:
- The Directory ID of the Amazon Web Services directory involved in the trust relationship.
-
trustId
The unique ID of the trust relationship.
- Returns:
- The unique ID of the trust relationship.
-
remoteDomainName
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.
-
trustType
The trust relationship type.
Forestis the default.If the service returns an enum value that is not available in the current SDK version,
trustTypewill returnTrustType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtrustTypeAsString().- Returns:
- The trust relationship type.
Forestis the default. - See Also:
-
trustTypeAsString
The trust relationship type.
Forestis the default.If the service returns an enum value that is not available in the current SDK version,
trustTypewill returnTrustType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtrustTypeAsString().- Returns:
- The trust relationship type.
Forestis the default. - See Also:
-
trustDirection
The trust relationship direction.
If the service returns an enum value that is not available in the current SDK version,
trustDirectionwill returnTrustDirection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtrustDirectionAsString().- Returns:
- The trust relationship direction.
- See Also:
-
trustDirectionAsString
The trust relationship direction.
If the service returns an enum value that is not available in the current SDK version,
trustDirectionwill returnTrustDirection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtrustDirectionAsString().- Returns:
- The trust relationship direction.
- See Also:
-
trustState
The trust relationship state.
If the service returns an enum value that is not available in the current SDK version,
trustStatewill returnTrustState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtrustStateAsString().- Returns:
- The trust relationship state.
- See Also:
-
trustStateAsString
The trust relationship state.
If the service returns an enum value that is not available in the current SDK version,
trustStatewill returnTrustState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtrustStateAsString().- Returns:
- The trust relationship state.
- See Also:
-
createdDateTime
The date and time that the trust relationship was created.
- Returns:
- The date and time that the trust relationship was created.
-
lastUpdatedDateTime
The date and time that the trust relationship was last updated.
- Returns:
- The date and time that the trust relationship was last updated.
-
stateLastUpdatedDateTime
The date and time that the TrustState was last updated.
- Returns:
- The date and time that the TrustState was last updated.
-
trustStateReason
The reason for the TrustState.
- Returns:
- The reason for the TrustState.
-
selectiveAuth
Current state of selective authentication for the trust.
If the service returns an enum value that is not available in the current SDK version,
selectiveAuthwill returnSelectiveAuth.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromselectiveAuthAsString().- Returns:
- Current state of selective authentication for the trust.
- See Also:
-
selectiveAuthAsString
Current state of selective authentication for the trust.
If the service returns an enum value that is not available in the current SDK version,
selectiveAuthwill returnSelectiveAuth.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromselectiveAuthAsString().- Returns:
- Current state of selective authentication for the trust.
- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Trust.Builder,Trust> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-