
com.pulumi.azurenative.insights.outputs.ScaleCapacityResponse 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.insights.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class ScaleCapacityResponse {
/**
* @return the number of instances that will be set if metrics are not available for evaluation. The default is only used if the current instance count is lower than the default.
*
*/
private String default_;
/**
* @return the maximum number of instances for the resource. The actual maximum number of instances is limited by the cores that are available in the subscription.
*
*/
private String maximum;
/**
* @return the minimum number of instances for the resource.
*
*/
private String minimum;
private ScaleCapacityResponse() {}
/**
* @return the number of instances that will be set if metrics are not available for evaluation. The default is only used if the current instance count is lower than the default.
*
*/
public String default_() {
return this.default_;
}
/**
* @return the maximum number of instances for the resource. The actual maximum number of instances is limited by the cores that are available in the subscription.
*
*/
public String maximum() {
return this.maximum;
}
/**
* @return the minimum number of instances for the resource.
*
*/
public String minimum() {
return this.minimum;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ScaleCapacityResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String default_;
private String maximum;
private String minimum;
public Builder() {}
public Builder(ScaleCapacityResponse defaults) {
Objects.requireNonNull(defaults);
this.default_ = defaults.default_;
this.maximum = defaults.maximum;
this.minimum = defaults.minimum;
}
@CustomType.Setter("default")
public Builder default_(String default_) {
if (default_ == null) {
throw new MissingRequiredPropertyException("ScaleCapacityResponse", "default_");
}
this.default_ = default_;
return this;
}
@CustomType.Setter
public Builder maximum(String maximum) {
if (maximum == null) {
throw new MissingRequiredPropertyException("ScaleCapacityResponse", "maximum");
}
this.maximum = maximum;
return this;
}
@CustomType.Setter
public Builder minimum(String minimum) {
if (minimum == null) {
throw new MissingRequiredPropertyException("ScaleCapacityResponse", "minimum");
}
this.minimum = minimum;
return this;
}
public ScaleCapacityResponse build() {
final var _resultValue = new ScaleCapacityResponse();
_resultValue.default_ = default_;
_resultValue.maximum = maximum;
_resultValue.minimum = minimum;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy