@Generated(value="software.amazon.awssdk:codegen") public final class DirectoryDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DirectoryDescription.Builder,DirectoryDescription>
Contains information about an Directory Service directory.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DirectoryDescription.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessUrl()
The access URL for the directory, such as
http://<alias>.awsapps.com. |
String |
alias()
The alias for the directory.
|
static DirectoryDescription.Builder |
builder() |
DirectoryConnectSettingsDescription |
connectSettings()
A DirectoryConnectSettingsDescription object that contains additional information about an AD Connector
directory.
|
String |
description()
The description for the directory.
|
Integer |
desiredNumberOfDomainControllers()
The desired number of domain controllers in the directory if the directory is Microsoft AD.
|
String |
directoryId()
The directory identifier.
|
List<String> |
dnsIpAddrs()
The IP addresses of the DNS servers for the directory.
|
DirectoryEdition |
edition()
The edition associated with this directory.
|
String |
editionAsString()
The edition associated with this directory.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDnsIpAddrs()
For responses, this returns true if the service returned a value for the DnsIpAddrs property.
|
int |
hashCode() |
Instant |
launchTime()
Specifies when the directory was created.
|
String |
name()
The fully qualified name of the directory.
|
OwnerDirectoryDescription |
ownerDirectoryDescription()
Describes the Managed Microsoft AD directory in the directory owner account.
|
RadiusSettings |
radiusSettings()
A RadiusSettings object that contains information about the RADIUS server configured for this directory.
|
RadiusStatus |
radiusStatus()
The status of the RADIUS MFA server connection.
|
String |
radiusStatusAsString()
The status of the RADIUS MFA server connection.
|
RegionsInfo |
regionsInfo()
Lists the Regions where the directory has replicated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DirectoryDescription.Builder> |
serializableBuilderClass() |
ShareMethod |
shareMethod()
The method used when sharing a directory to determine whether the directory should be shared within your Amazon
Web Services organization (
ORGANIZATIONS) or with any Amazon Web Services account by sending a
shared directory request (HANDSHAKE). |
String |
shareMethodAsString()
The method used when sharing a directory to determine whether the directory should be shared within your Amazon
Web Services organization (
ORGANIZATIONS) or with any Amazon Web Services account by sending a
shared directory request (HANDSHAKE). |
String |
shareNotes()
A directory share request that is sent by the directory owner to the directory consumer.
|
ShareStatus |
shareStatus()
Current directory status of the shared Managed Microsoft AD directory.
|
String |
shareStatusAsString()
Current directory status of the shared Managed Microsoft AD directory.
|
String |
shortName()
The short name of the directory.
|
DirectorySize |
size()
The directory size.
|
String |
sizeAsString()
The directory size.
|
Boolean |
ssoEnabled()
Indicates if single sign-on is enabled for the directory.
|
DirectoryStage |
stage()
The current stage of the directory.
|
String |
stageAsString()
The current stage of the directory.
|
Instant |
stageLastUpdatedDateTime()
The date and time that the stage was last updated.
|
String |
stageReason()
Additional information about the directory stage.
|
DirectoryDescription.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
DirectoryType |
type()
The directory size.
|
String |
typeAsString()
The directory size.
|
DirectoryVpcSettingsDescription |
vpcSettings()
A DirectoryVpcSettingsDescription object that contains additional information about a directory.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String directoryId()
The directory identifier.
public final String name()
The fully qualified name of the directory.
public final String shortName()
The short name of the directory.
public final DirectorySize size()
The directory size.
If the service returns an enum value that is not available in the current SDK version, size will return
DirectorySize.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sizeAsString().
DirectorySizepublic final String sizeAsString()
The directory size.
If the service returns an enum value that is not available in the current SDK version, size will return
DirectorySize.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sizeAsString().
DirectorySizepublic final DirectoryEdition edition()
The edition associated with this directory.
If the service returns an enum value that is not available in the current SDK version, edition will
return DirectoryEdition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
editionAsString().
DirectoryEditionpublic final String editionAsString()
The edition associated with this directory.
If the service returns an enum value that is not available in the current SDK version, edition will
return DirectoryEdition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
editionAsString().
DirectoryEditionpublic final String alias()
The alias for the directory. If no alias has been created for the directory, the alias is the directory
identifier, such as d-XXXXXXXXXX.
d-XXXXXXXXXX.public final String accessUrl()
The access URL for the directory, such as http://<alias>.awsapps.com. If no alias has been
created for the directory, <alias> is the directory identifier, such as
d-XXXXXXXXXX.
http://<alias>.awsapps.com. If no alias has
been created for the directory, <alias> is the directory identifier, such as
d-XXXXXXXXXX.public final String description()
The description for the directory.
public final boolean hasDnsIpAddrs()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> dnsIpAddrs()
The IP addresses of the DNS servers for the directory. For a Simple AD or Microsoft AD directory, these are the IP addresses of the Simple AD or Microsoft AD directory servers. For an AD Connector directory, these are the IP addresses of the DNS servers or domain controllers in your self-managed directory to which the AD Connector is connected.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDnsIpAddrs() method.
public final DirectoryStage stage()
The current stage of the directory.
If the service returns an enum value that is not available in the current SDK version, stage will return
DirectoryStage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stageAsString().
DirectoryStagepublic final String stageAsString()
The current stage of the directory.
If the service returns an enum value that is not available in the current SDK version, stage will return
DirectoryStage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stageAsString().
DirectoryStagepublic final ShareStatus shareStatus()
Current directory status of the shared Managed Microsoft AD directory.
If the service returns an enum value that is not available in the current SDK version, shareStatus will
return ShareStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
shareStatusAsString().
ShareStatuspublic final String shareStatusAsString()
Current directory status of the shared Managed Microsoft AD directory.
If the service returns an enum value that is not available in the current SDK version, shareStatus will
return ShareStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
shareStatusAsString().
ShareStatuspublic final ShareMethod shareMethod()
The method used when sharing a directory to determine whether the directory should be shared within your Amazon
Web Services organization (ORGANIZATIONS) or with any Amazon Web Services account by sending a
shared directory request (HANDSHAKE).
If the service returns an enum value that is not available in the current SDK version, shareMethod will
return ShareMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
shareMethodAsString().
ORGANIZATIONS) or with any Amazon Web Services account by
sending a shared directory request (HANDSHAKE).ShareMethodpublic final String shareMethodAsString()
The method used when sharing a directory to determine whether the directory should be shared within your Amazon
Web Services organization (ORGANIZATIONS) or with any Amazon Web Services account by sending a
shared directory request (HANDSHAKE).
If the service returns an enum value that is not available in the current SDK version, shareMethod will
return ShareMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
shareMethodAsString().
ORGANIZATIONS) or with any Amazon Web Services account by
sending a shared directory request (HANDSHAKE).ShareMethodpublic final String shareNotes()
A directory share request that is sent by the directory owner to the directory consumer. The request includes a typed message to help the directory consumer administrator determine whether to approve or reject the share invitation.
public final Instant launchTime()
Specifies when the directory was created.
public final Instant stageLastUpdatedDateTime()
The date and time that the stage was last updated.
public final DirectoryType type()
The directory size.
If the service returns an enum value that is not available in the current SDK version, type will return
DirectoryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
DirectoryTypepublic final String typeAsString()
The directory size.
If the service returns an enum value that is not available in the current SDK version, type will return
DirectoryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
DirectoryTypepublic final DirectoryVpcSettingsDescription vpcSettings()
A DirectoryVpcSettingsDescription object that contains additional information about a directory. This member is only present if the directory is a Simple AD or Managed Microsoft AD directory.
public final DirectoryConnectSettingsDescription connectSettings()
A DirectoryConnectSettingsDescription object that contains additional information about an AD Connector directory. This member is only present if the directory is an AD Connector directory.
public final RadiusSettings radiusSettings()
A RadiusSettings object that contains information about the RADIUS server configured for this directory.
public final RadiusStatus radiusStatus()
The status of the RADIUS MFA server connection.
If the service returns an enum value that is not available in the current SDK version, radiusStatus will
return RadiusStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
radiusStatusAsString().
RadiusStatuspublic final String radiusStatusAsString()
The status of the RADIUS MFA server connection.
If the service returns an enum value that is not available in the current SDK version, radiusStatus will
return RadiusStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
radiusStatusAsString().
RadiusStatuspublic final String stageReason()
Additional information about the directory stage.
public final Boolean ssoEnabled()
Indicates if single sign-on is enabled for the directory. For more information, see EnableSso and DisableSso.
public final Integer desiredNumberOfDomainControllers()
The desired number of domain controllers in the directory if the directory is Microsoft AD.
public final OwnerDirectoryDescription ownerDirectoryDescription()
Describes the Managed Microsoft AD directory in the directory owner account.
public final RegionsInfo regionsInfo()
Lists the Regions where the directory has replicated.
public DirectoryDescription.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DirectoryDescription.Builder,DirectoryDescription>public static DirectoryDescription.Builder builder()
public static Class<? extends DirectoryDescription.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.