com.pulumi.azurenative.labservices.outputs.SizeConfigurationPropertiesResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.EnvironmentSizeResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class SizeConfigurationPropertiesResponse {
/**
* @return Represents a list of size categories supported by this Lab Account (Small, Medium, Large)
*
*/
private @Nullable List environmentSizes;
private SizeConfigurationPropertiesResponse() {}
/**
* @return Represents a list of size categories supported by this Lab Account (Small, Medium, Large)
*
*/
public List environmentSizes() {
return this.environmentSizes == null ? List.of() : this.environmentSizes;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SizeConfigurationPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List environmentSizes;
public Builder() {}
public Builder(SizeConfigurationPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.environmentSizes = defaults.environmentSizes;
}
@CustomType.Setter
public Builder environmentSizes(@Nullable List environmentSizes) {
this.environmentSizes = environmentSizes;
return this;
}
public Builder environmentSizes(EnvironmentSizeResponse... environmentSizes) {
return environmentSizes(List.of(environmentSizes));
}
public SizeConfigurationPropertiesResponse build() {
final var _resultValue = new SizeConfigurationPropertiesResponse();
_resultValue.environmentSizes = environmentSizes;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy