Class Trust
- java.lang.Object
-
- software.amazon.awssdk.services.directory.model.Trust
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Trust.Builder,Trust>
@Generated("software.amazon.awssdk:codegen") public final class Trust extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Trust.Builder,Trust>
Describes a trust relationship between an Managed Microsoft AD directory and an external domain.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTrust.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Trust.Builderbuilder()InstantcreatedDateTime()The date and time that the trust relationship was created.StringdirectoryId()The Directory ID of the Amazon Web Services directory involved in the trust relationship.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedDateTime()The date and time that the trust relationship was last updated.StringremoteDomainName()The Fully Qualified Domain Name (FQDN) of the external domain involved in the trust relationship.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()SelectiveAuthselectiveAuth()Current state of selective authentication for the trust.StringselectiveAuthAsString()Current state of selective authentication for the trust.static Class<? extends Trust.Builder>serializableBuilderClass()InstantstateLastUpdatedDateTime()The date and time that the TrustState was last updated.Trust.BuildertoBuilder()StringtoString()Returns a string representation of this object.TrustDirectiontrustDirection()The trust relationship direction.StringtrustDirectionAsString()The trust relationship direction.StringtrustId()The unique ID of the trust relationship.TrustStatetrustState()The trust relationship state.StringtrustStateAsString()The trust relationship state.StringtrustStateReason()The reason for the TrustState.TrustTypetrustType()The trust relationship type.StringtrustTypeAsString()The trust relationship type.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
directoryId
public final String 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
public final String trustId()
The unique ID of the trust relationship.
- Returns:
- The unique ID of the trust relationship.
-
remoteDomainName
public final String 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
public final TrustType 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:
TrustType
-
trustTypeAsString
public final String 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:
TrustType
-
trustDirection
public final TrustDirection 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:
TrustDirection
-
trustDirectionAsString
public final String 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:
TrustDirection
-
trustState
public final TrustState 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:
TrustState
-
trustStateAsString
public final String 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:
TrustState
-
createdDateTime
public final Instant createdDateTime()
The date and time that the trust relationship was created.
- Returns:
- The date and time that the trust relationship was created.
-
lastUpdatedDateTime
public final Instant 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
public final Instant stateLastUpdatedDateTime()
The date and time that the TrustState was last updated.
- Returns:
- The date and time that the TrustState was last updated.
-
trustStateReason
public final String trustStateReason()
The reason for the TrustState.
- Returns:
- The reason for the TrustState.
-
selectiveAuth
public final SelectiveAuth 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:
SelectiveAuth
-
selectiveAuthAsString
public final String 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:
SelectiveAuth
-
toBuilder
public Trust.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Trust.Builder,Trust>
-
builder
public static Trust.Builder builder()
-
serializableBuilderClass
public static Class<? extends Trust.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-