All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.batch.outputs.AutoScaleSettingsResponse Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show newest version
// *** 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.batch.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class AutoScaleSettingsResponse {
    /**
     * @return If omitted, the default value is 15 minutes (PT15M).
     * 
     */
    private @Nullable String evaluationInterval;
    private String formula;

    private AutoScaleSettingsResponse() {}
    /**
     * @return If omitted, the default value is 15 minutes (PT15M).
     * 
     */
    public Optional evaluationInterval() {
        return Optional.ofNullable(this.evaluationInterval);
    }
    public String formula() {
        return this.formula;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(AutoScaleSettingsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String evaluationInterval;
        private String formula;
        public Builder() {}
        public Builder(AutoScaleSettingsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.evaluationInterval = defaults.evaluationInterval;
    	      this.formula = defaults.formula;
        }

        @CustomType.Setter
        public Builder evaluationInterval(@Nullable String evaluationInterval) {

            this.evaluationInterval = evaluationInterval;
            return this;
        }
        @CustomType.Setter
        public Builder formula(String formula) {
            if (formula == null) {
              throw new MissingRequiredPropertyException("AutoScaleSettingsResponse", "formula");
            }
            this.formula = formula;
            return this;
        }
        public AutoScaleSettingsResponse build() {
            final var _resultValue = new AutoScaleSettingsResponse();
            _resultValue.evaluationInterval = evaluationInterval;
            _resultValue.formula = formula;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy