public java.util.List<RelatedWorkspaceProperties> getRelatedWorkspaces() {
        if (relatedWorkspaces == null) {
            relatedWorkspaces = new com.amazonaws.internal.SdkInternalList<RelatedWorkspaceProperties>();
        }
        return relatedWorkspaces;
    }
<p>
The standby WorkSpace or primary WorkSpace related to the specified WorkSpace.
</p>

@return The standby WorkSpace or primary WorkSpace related to the specified WorkSpace.
aws-java-sdk-workspaces/src/main/java/com/amazonaws/services/workspaces/model/Workspace.java