/** * Returns a {@code DXDataObject} corresponding to an existing object with the specified ID. * * @param objectId DNAnexus object id * @return a {@code DXDataObject} handle to the specified object */ public static DXDataObject getInstance(String objectId) { return getInstanceWithEnvironment(objectId, DXEnvironment.create()); }
/** * Returns a {@code DXDataObject} corresponding to an existing object with the specified ID in the * specified project or container. * * @param objectId DNAnexus object id * @param project project or container in which the object resides * @return a {@code DXDataObject} handle to the specified object */ public static DXDataObject getInstance(String objectId, DXContainer project) { return getInstanceWithEnvironment(objectId, project, DXEnvironment.create()); }
protected Builder() { this.env = DXEnvironment.create(); }