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.Builder
builder()
final Instant
The date and time that the trust relationship was created.final String
The Directory ID of the Amazon Web Services directory involved in the trust relationship.final boolean
final boolean
equalsBySdkFields
(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 int
hashCode()
final Instant
The date and time that the trust relationship was last updated.final String
The Fully Qualified Domain Name (FQDN) of the external domain involved in the trust relationship.final SelectiveAuth
Current state of selective authentication for the trust.final String
Current state of selective authentication for the trust.static Class
<? extends Trust.Builder> final Instant
The 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 String
toString()
Returns a string representation of this object.final TrustDirection
The trust relationship direction.final String
The trust relationship direction.final String
trustId()
The unique ID of the trust relationship.final TrustState
The trust relationship state.final String
The trust relationship state.final String
The reason for the TrustState.final TrustType
The trust relationship type.final String
The 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.
Forest
is the default.If the service returns an enum value that is not available in the current SDK version,
trustType
will returnTrustType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtrustTypeAsString()
.- Returns:
- The trust relationship type.
Forest
is the default. - See Also:
-
trustTypeAsString
The trust relationship type.
Forest
is the default.If the service returns an enum value that is not available in the current SDK version,
trustType
will returnTrustType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtrustTypeAsString()
.- Returns:
- The trust relationship type.
Forest
is 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,
trustDirection
will 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,
trustDirection
will 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,
trustState
will 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,
trustState
will 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,
selectiveAuth
will 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,
selectiveAuth
will 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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<Trust.Builder,
Trust> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-