Class DirectoryDescription
- java.lang.Object
-
- software.amazon.awssdk.services.directory.model.DirectoryDescription
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DirectoryDescription.Builder,DirectoryDescription>
@Generated("software.amazon.awssdk:codegen") public final class DirectoryDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DirectoryDescription.Builder,DirectoryDescription>
Contains information about an Directory Service directory.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDirectoryDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccessUrl()The access URL for the directory, such ashttp://<alias>.awsapps.com.Stringalias()The alias for the directory.static DirectoryDescription.Builderbuilder()DirectoryConnectSettingsDescriptionconnectSettings()A DirectoryConnectSettingsDescription object that contains additional information about an AD Connector directory.Stringdescription()The description for the directory.IntegerdesiredNumberOfDomainControllers()The desired number of domain controllers in the directory if the directory is Microsoft AD.StringdirectoryId()The directory identifier.List<String>dnsIpAddrs()The IP addresses of the DNS servers for the directory.DirectoryEditionedition()The edition associated with this directory.StringeditionAsString()The edition associated with this directory.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasDnsIpAddrs()For responses, this returns true if the service returned a value for the DnsIpAddrs property.inthashCode()InstantlaunchTime()Specifies when the directory was created.Stringname()The fully qualified name of the directory.OSVersionosVersion()The operating system (OS) version of the directory.StringosVersionAsString()The operating system (OS) version of the directory.OwnerDirectoryDescriptionownerDirectoryDescription()Describes the Managed Microsoft AD directory in the directory owner account.RadiusSettingsradiusSettings()A RadiusSettings object that contains information about the RADIUS server configured for this directory.RadiusStatusradiusStatus()The status of the RADIUS MFA server connection.StringradiusStatusAsString()The status of the RADIUS MFA server connection.RegionsInforegionsInfo()Lists the Regions where the directory has replicated.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DirectoryDescription.Builder>serializableBuilderClass()ShareMethodshareMethod()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).StringshareMethodAsString()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).StringshareNotes()A directory share request that is sent by the directory owner to the directory consumer.ShareStatusshareStatus()Current directory status of the shared Managed Microsoft AD directory.StringshareStatusAsString()Current directory status of the shared Managed Microsoft AD directory.StringshortName()The short name of the directory.DirectorySizesize()The directory size.StringsizeAsString()The directory size.BooleanssoEnabled()Indicates if single sign-on is enabled for the directory.DirectoryStagestage()The current stage of the directory.StringstageAsString()The current stage of the directory.InstantstageLastUpdatedDateTime()The date and time that the stage was last updated.StringstageReason()Additional information about the directory stage.DirectoryDescription.BuildertoBuilder()StringtoString()Returns a string representation of this object.DirectoryTypetype()The directory type.StringtypeAsString()The directory type.DirectoryVpcSettingsDescriptionvpcSettings()A DirectoryVpcSettingsDescription object that contains additional information about a directory.-
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 identifier.
- Returns:
- The directory identifier.
-
name
public final String name()
The fully qualified name of the directory.
- Returns:
- The fully qualified name of the directory.
-
shortName
public final String shortName()
The short name of the directory.
- Returns:
- The short name of the directory.
-
size
public final DirectorySize size()
The directory size.
If the service returns an enum value that is not available in the current SDK version,
sizewill returnDirectorySize.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsizeAsString().- Returns:
- The directory size.
- See Also:
DirectorySize
-
sizeAsString
public final String sizeAsString()
The directory size.
If the service returns an enum value that is not available in the current SDK version,
sizewill returnDirectorySize.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsizeAsString().- Returns:
- The directory size.
- See Also:
DirectorySize
-
edition
public 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,
editionwill returnDirectoryEdition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeditionAsString().- Returns:
- The edition associated with this directory.
- See Also:
DirectoryEdition
-
editionAsString
public 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,
editionwill returnDirectoryEdition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeditionAsString().- Returns:
- The edition associated with this directory.
- See Also:
DirectoryEdition
-
alias
public 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.- 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
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 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
public final String 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
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.- 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
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,
stagewill returnDirectoryStage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstageAsString().- Returns:
- The current stage of the directory.
- See Also:
DirectoryStage
-
stageAsString
public 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,
stagewill returnDirectoryStage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstageAsString().- Returns:
- The current stage of the directory.
- See Also:
DirectoryStage
-
shareStatus
public 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,
shareStatuswill returnShareStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromshareStatusAsString().- Returns:
- Current directory status of the shared Managed Microsoft AD directory.
- See Also:
ShareStatus
-
shareStatusAsString
public 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,
shareStatuswill returnShareStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromshareStatusAsString().- Returns:
- Current directory status of the shared Managed Microsoft AD directory.
- See Also:
ShareStatus
-
shareMethod
public 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,
shareMethodwill returnShareMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromshareMethodAsString().- Returns:
- 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). - See Also:
ShareMethod
-
shareMethodAsString
public 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,
shareMethodwill returnShareMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromshareMethodAsString().- Returns:
- 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). - See Also:
ShareMethod
-
shareNotes
public 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.
- Returns:
- 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.
-
launchTime
public final Instant launchTime()
Specifies when the directory was created.
- Returns:
- Specifies when the directory was created.
-
stageLastUpdatedDateTime
public final Instant stageLastUpdatedDateTime()
The date and time that the stage was last updated.
- Returns:
- The date and time that the stage was last updated.
-
type
public final DirectoryType type()
The directory type.
If the service returns an enum value that is not available in the current SDK version,
typewill returnDirectoryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The directory type.
- See Also:
DirectoryType
-
typeAsString
public final String typeAsString()
The directory type.
If the service returns an enum value that is not available in the current SDK version,
typewill returnDirectoryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The directory type.
- See Also:
DirectoryType
-
vpcSettings
public 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.
- 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
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.
- 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
public final RadiusSettings 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
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,
radiusStatuswill 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:
RadiusStatus
-
radiusStatusAsString
public 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,
radiusStatuswill 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:
RadiusStatus
-
stageReason
public final String stageReason()
Additional information about the directory stage.
- Returns:
- Additional information about the directory stage.
-
ssoEnabled
public final Boolean 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
public final Integer 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
public final OwnerDirectoryDescription 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
public final RegionsInfo regionsInfo()
Lists the Regions where the directory has replicated.
- Returns:
- Lists the Regions where the directory has replicated.
-
osVersion
public final OSVersion 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,
osVersionwill 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:
OSVersion
-
osVersionAsString
public final String 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,
osVersionwill 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:
OSVersion
-
toBuilder
public DirectoryDescription.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DirectoryDescription.Builder,DirectoryDescription>
-
builder
public static DirectoryDescription.Builder builder()
-
serializableBuilderClass
public static Class<? extends DirectoryDescription.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
-
-