public String getSharedDirectoryId() {
        return this.sharedDirectoryId;
    }
<p>
Identifier of the directory that is stored in the directory consumer account that is shared from the specified
directory (<code>DirectoryId</code>).
</p>

@return Identifier of the directory that is stored in the directory consumer account that is shared from the
        specified directory (<code>DirectoryId</code>).
aws-java-sdk-directory/src/main/java/com/amazonaws/services/directory/model/ShareDirectoryResult.java