public Workspace withRelatedWorkspaces(java.util.Collection<RelatedWorkspaceProperties> relatedWorkspaces) {
        setRelatedWorkspaces(relatedWorkspaces);
        return this;
    }
<p>
The standby WorkSpace or primary WorkSpace related to the specified WorkSpace.
</p>

@param relatedWorkspaces
       The standby WorkSpace or primary WorkSpace related to the specified WorkSpace.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workspaces/src/main/java/com/amazonaws/services/workspaces/model/Workspace.java