dev.sixpack.client.EnvironmentSetter Maven / Gradle / Ivy
package dev.sixpack.client;
import dev.sixpack.api.data.Dataset;
public class EnvironmentSetter {
private final Dataset dataset = new Dataset();
/**
* Sets the environment on which the dataset should be requested.
*
* @param environment The environment to request the dataset on.
* @return The next builder in the chain.
*/
public SupplierSetter onEnvironment(String environment) {
EnvironmentSetter.this.dataset.setEnvironment(environment);
return new SupplierSetter(dataset);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy