Class DirectoryDescription

    • 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.
      • 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 as d-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 as d-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 the 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.
      • 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.
      • 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, shareStatus will return ShareStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from shareStatusAsString().

        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, shareStatus will return ShareStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from shareStatusAsString().

        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, shareMethod will return ShareMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from shareMethodAsString().

        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, shareMethod will return ShareMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from shareMethodAsString().

        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.
      • 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.
      • 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.
      • 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, osVersion will return OSVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from osVersionAsString().

        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, osVersion will return OSVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from osVersionAsString().

        Returns:
        The operating system (OS) version of the directory.
        See Also:
        OSVersion
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)