Interface ShareDirectoryRequest.Builder

    • Method Detail

      • directoryId

        ShareDirectoryRequest.Builder directoryId​(String directoryId)

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

        Parameters:
        directoryId - Identifier of the Managed Microsoft AD directory that you want to share with other Amazon Web Services accounts.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • shareNotes

        ShareDirectoryRequest.Builder shareNotes​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • shareTarget

        ShareDirectoryRequest.Builder shareTarget​(ShareTarget shareTarget)

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

        Parameters:
        shareTarget - Identifier for the directory consumer account with whom the directory is to be shared.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • shareMethod

        ShareDirectoryRequest.Builder shareMethod​(String 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).

        Parameters:
        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).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ShareMethod, ShareMethod
      • shareMethod

        ShareDirectoryRequest.Builder shareMethod​(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).

        Parameters:
        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).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ShareMethod, ShareMethod