public ModifyDocumentPermissionRequest withSharedDocumentVersion(String sharedDocumentVersion) {
        setSharedDocumentVersion(sharedDocumentVersion);
        return this;
    }
<p>
(Optional) The version of the document to share. If it isn't specified, the system choose the
<code>Default</code> version to share.
</p>

@param sharedDocumentVersion
       (Optional) The version of the document to share. If it isn't specified, the system choose the
       <code>Default</code> version to share.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/ModifyDocumentPermissionRequest.java