
com.pulumi.azurenative.synapse.outputs.DynamicExecutorAllocationResponse 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.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 DynamicExecutorAllocationResponse {
/**
* @return Indicates whether Dynamic Executor Allocation is enabled or not.
*
*/
private @Nullable Boolean enabled;
/**
* @return The maximum number of executors alloted
*
*/
private @Nullable Integer maxExecutors;
/**
* @return The minimum number of executors alloted
*
*/
private @Nullable Integer minExecutors;
private DynamicExecutorAllocationResponse() {}
/**
* @return Indicates whether Dynamic Executor Allocation is enabled or not.
*
*/
public Optional enabled() {
return Optional.ofNullable(this.enabled);
}
/**
* @return The maximum number of executors alloted
*
*/
public Optional maxExecutors() {
return Optional.ofNullable(this.maxExecutors);
}
/**
* @return The minimum number of executors alloted
*
*/
public Optional minExecutors() {
return Optional.ofNullable(this.minExecutors);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DynamicExecutorAllocationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean enabled;
private @Nullable Integer maxExecutors;
private @Nullable Integer minExecutors;
public Builder() {}
public Builder(DynamicExecutorAllocationResponse defaults) {
Objects.requireNonNull(defaults);
this.enabled = defaults.enabled;
this.maxExecutors = defaults.maxExecutors;
this.minExecutors = defaults.minExecutors;
}
@CustomType.Setter
public Builder enabled(@Nullable Boolean enabled) {
this.enabled = enabled;
return this;
}
@CustomType.Setter
public Builder maxExecutors(@Nullable Integer maxExecutors) {
this.maxExecutors = maxExecutors;
return this;
}
@CustomType.Setter
public Builder minExecutors(@Nullable Integer minExecutors) {
this.minExecutors = minExecutors;
return this;
}
public DynamicExecutorAllocationResponse build() {
final var _resultValue = new DynamicExecutorAllocationResponse();
_resultValue.enabled = enabled;
_resultValue.maxExecutors = maxExecutors;
_resultValue.minExecutors = minExecutors;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy