public void setDirectoryId(String directoryId) {
        this.directoryId = directoryId;
    }
<p>
Identifier of the Managed Microsoft AD directory that you want to share with other Amazon Web Services accounts.
</p>

@param directoryId
       Identifier of the Managed Microsoft AD directory that you want to share with other Amazon Web Services
       accounts.
aws-java-sdk-directory/src/main/java/com/amazonaws/services/directory/model/ShareDirectoryRequest.java