
com.pulumi.azurenative.synapse.outputs.AutoScalePropertiesResponse 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.synapse.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AutoScalePropertiesResponse {
/**
* @return Whether automatic scaling is enabled for the Big Data pool.
*
*/
private @Nullable Boolean enabled;
/**
* @return The maximum number of nodes the Big Data pool can support.
*
*/
private @Nullable Integer maxNodeCount;
/**
* @return The minimum number of nodes the Big Data pool can support.
*
*/
private @Nullable Integer minNodeCount;
private AutoScalePropertiesResponse() {}
/**
* @return Whether automatic scaling is enabled for the Big Data pool.
*
*/
public Optional enabled() {
return Optional.ofNullable(this.enabled);
}
/**
* @return The maximum number of nodes the Big Data pool can support.
*
*/
public Optional maxNodeCount() {
return Optional.ofNullable(this.maxNodeCount);
}
/**
* @return The minimum number of nodes the Big Data pool can support.
*
*/
public Optional minNodeCount() {
return Optional.ofNullable(this.minNodeCount);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AutoScalePropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean enabled;
private @Nullable Integer maxNodeCount;
private @Nullable Integer minNodeCount;
public Builder() {}
public Builder(AutoScalePropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.enabled = defaults.enabled;
this.maxNodeCount = defaults.maxNodeCount;
this.minNodeCount = defaults.minNodeCount;
}
@CustomType.Setter
public Builder enabled(@Nullable Boolean enabled) {
this.enabled = enabled;
return this;
}
@CustomType.Setter
public Builder maxNodeCount(@Nullable Integer maxNodeCount) {
this.maxNodeCount = maxNodeCount;
return this;
}
@CustomType.Setter
public Builder minNodeCount(@Nullable Integer minNodeCount) {
this.minNodeCount = minNodeCount;
return this;
}
public AutoScalePropertiesResponse build() {
final var _resultValue = new AutoScalePropertiesResponse();
_resultValue.enabled = enabled;
_resultValue.maxNodeCount = maxNodeCount;
_resultValue.minNodeCount = minNodeCount;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy