public void setShareTarget(ShareTarget shareTarget) {
        this.shareTarget = shareTarget;
    }
<p>
Identifier for the directory consumer account with whom the directory is to be shared.
</p>

@param shareTarget
       Identifier for the directory consumer account with whom the directory is to be shared.
aws-java-sdk-directory/src/main/java/com/amazonaws/services/directory/model/ShareDirectoryRequest.java