
com.pulumi.azurenative.labservices.outputs.ListGlobalUserEnvironmentsResult Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.labservices.outputs;
import com.pulumi.azurenative.labservices.outputs.EnvironmentDetailsResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class ListGlobalUserEnvironmentsResult {
/**
* @return List of all the environments
*
*/
private @Nullable List environments;
private ListGlobalUserEnvironmentsResult() {}
/**
* @return List of all the environments
*
*/
public List environments() {
return this.environments == null ? List.of() : this.environments;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ListGlobalUserEnvironmentsResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List environments;
public Builder() {}
public Builder(ListGlobalUserEnvironmentsResult defaults) {
Objects.requireNonNull(defaults);
this.environments = defaults.environments;
}
@CustomType.Setter
public Builder environments(@Nullable List environments) {
this.environments = environments;
return this;
}
public Builder environments(EnvironmentDetailsResponse... environments) {
return environments(List.of(environments));
}
public ListGlobalUserEnvironmentsResult build() {
final var _resultValue = new ListGlobalUserEnvironmentsResult();
_resultValue.environments = environments;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy