Class DirectoryDescription
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<DirectoryDescription.Builder,
DirectoryDescription>
Contains information about an Directory Service directory.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
The access URL for the directory, such ashttp://<alias>.awsapps.com
.final String
alias()
The alias for the directory.static DirectoryDescription.Builder
builder()
A DirectoryConnectSettingsDescription object that contains additional information about an AD Connector directory.final String
The description for the directory.final Integer
The desired number of domain controllers in the directory if the directory is Microsoft AD.final String
The directory identifier.The IP addresses of the DNS servers for the directory.final DirectoryEdition
edition()
The edition associated with this directory.final String
The edition associated with this directory.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 boolean
For responses, this returns true if the service returned a value for the DnsIpAddrs property.final int
hashCode()
final Instant
Specifies when the directory was created.final String
name()
The fully qualified name of the directory.final OSVersion
The operating system (OS) version of the directory.final String
The operating system (OS) version of the directory.Describes the Managed Microsoft AD directory in the directory owner account.final RadiusSettings
A RadiusSettings object that contains information about the RADIUS server configured for this directory.final RadiusStatus
The status of the RADIUS MFA server connection.final String
The status of the RADIUS MFA server connection.final RegionsInfo
Lists the Regions where the directory has replicated.static Class
<? extends DirectoryDescription.Builder> final 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
).final String
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
).final String
A directory share request that is sent by the directory owner to the directory consumer.final ShareStatus
Current directory status of the shared Managed Microsoft AD directory.final String
Current directory status of the shared Managed Microsoft AD directory.final String
The short name of the directory.final DirectorySize
size()
The directory size.final String
The directory size.final Boolean
Indicates if single sign-on is enabled for the directory.final DirectoryStage
stage()
The current stage of the directory.final String
The current stage of the directory.final Instant
The date and time that the stage was last updated.final String
Additional information about the directory stage.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 DirectoryType
type()
The directory size.final String
The directory size.A DirectoryVpcSettingsDescription object that contains additional information about a directory.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
directoryId
The directory identifier.
- Returns:
- The directory identifier.
-
name
The fully qualified name of the directory.
- Returns:
- The fully qualified name of the directory.
-
shortName
The short name of the directory.
- Returns:
- The short name of the directory.
-
size
The directory size.
If the service returns an enum value that is not available in the current SDK version,
size
will returnDirectorySize.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsizeAsString()
.- Returns:
- The directory size.
- See Also:
-
sizeAsString
The directory size.
If the service returns an enum value that is not available in the current SDK version,
size
will returnDirectorySize.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsizeAsString()
.- Returns:
- The directory size.
- See Also:
-
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 returnDirectoryEdition.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromeditionAsString()
.- Returns:
- The edition associated with this directory.
- See Also:
-
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 returnDirectoryEdition.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromeditionAsString()
.- Returns:
- The edition associated with this directory.
- See Also:
-
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
.- Returns:
- The alias for the directory. If no alias has been created for the directory, the alias is the directory
identifier, such as
d-XXXXXXXXXX
.
-
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 asd-XXXXXXXXXX
.- Returns:
- 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 asd-XXXXXXXXXX
.
-
description
The description for the directory.
- Returns:
- The description for the directory.
-
hasDnsIpAddrs
public final boolean hasDnsIpAddrs()For responses, this returns true if the service returned a value for the DnsIpAddrs property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
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.- Returns:
- 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.
-
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 returnDirectoryStage.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstageAsString()
.- Returns:
- The current stage of the directory.
- See Also:
-
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 returnDirectoryStage.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstageAsString()
.- Returns:
- The current stage of the directory.
- See Also:
-
launchTime
Specifies when the directory was created.
- Returns:
- Specifies when the directory was created.
-
stageLastUpdatedDateTime
The date and time that the stage was last updated.
- Returns:
- The date and time that the stage was last updated.
-
type
The directory size.
If the service returns an enum value that is not available in the current SDK version,
type
will returnDirectoryType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The directory size.
- See Also:
-
typeAsString
The directory size.
If the service returns an enum value that is not available in the current SDK version,
type
will returnDirectoryType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The directory size.
- See Also:
-
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.
- Returns:
- 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.
-
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.
- Returns:
- 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.
-
radiusSettings
A RadiusSettings object that contains information about the RADIUS server configured for this directory.
- Returns:
- A RadiusSettings object that contains information about the RADIUS server configured for this directory.
-
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 returnRadiusStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromradiusStatusAsString()
.- Returns:
- The status of the RADIUS MFA server connection.
- See Also:
-
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 returnRadiusStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromradiusStatusAsString()
.- Returns:
- The status of the RADIUS MFA server connection.
- See Also:
-
stageReason
Additional information about the directory stage.
- Returns:
- Additional information about the directory stage.
-
ssoEnabled
Indicates if single sign-on is enabled for the directory. For more information, see EnableSso and DisableSso.
- Returns:
- Indicates if single sign-on is enabled for the directory. For more information, see EnableSso and DisableSso.
-
desiredNumberOfDomainControllers
The desired number of domain controllers in the directory if the directory is Microsoft AD.
- Returns:
- The desired number of domain controllers in the directory if the directory is Microsoft AD.
-
ownerDirectoryDescription
Describes the Managed Microsoft AD directory in the directory owner account.
- Returns:
- Describes the Managed Microsoft AD directory in the directory owner account.
-
regionsInfo
Lists the Regions where the directory has replicated.
- Returns:
- Lists the Regions where the directory has replicated.
-
osVersion
The operating system (OS) version of the directory.
If the service returns an enum value that is not available in the current SDK version,
osVersion
will returnOSVersion.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromosVersionAsString()
.- Returns:
- The operating system (OS) version of the directory.
- See Also:
-
osVersionAsString
The operating system (OS) version of the directory.
If the service returns an enum value that is not available in the current SDK version,
osVersion
will returnOSVersion.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromosVersionAsString()
.- Returns:
- The operating system (OS) version of the directory.
- 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<DirectoryDescription.Builder,
DirectoryDescription> - 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
-