Class ShareDirectoryRequest

    • Method Detail

      • directoryId

        public final String directoryId()

        Identifier of the Managed Microsoft AD directory that you want to share with other Amazon Web Services accounts.

        Returns:
        Identifier of the Managed Microsoft AD directory that you want to share with other Amazon Web Services accounts.
      • 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.
      • shareTarget

        public final ShareTarget shareTarget()

        Identifier for the directory consumer account with whom the directory is to be shared.

        Returns:
        Identifier for the directory consumer account with whom the directory is to be shared.
      • 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 directory sharing 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 directory sharing 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 directory sharing 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 directory sharing request (HANDSHAKE).
        See Also:
        ShareMethod
      • 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