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

com.pulumi.azurenative.web.outputs.SkuCapacityResponse Maven / Gradle / Ivy

There is a newer version: 2.78.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.web.outputs;

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

@CustomType
public final class SkuCapacityResponse {
    /**
     * @return Default number of workers for this App Service plan SKU.
     * 
     */
    private @Nullable Integer default_;
    /**
     * @return Maximum number of Elastic workers for this App Service plan SKU.
     * 
     */
    private @Nullable Integer elasticMaximum;
    /**
     * @return Maximum number of workers for this App Service plan SKU.
     * 
     */
    private @Nullable Integer maximum;
    /**
     * @return Minimum number of workers for this App Service plan SKU.
     * 
     */
    private @Nullable Integer minimum;
    /**
     * @return Available scale configurations for an App Service plan.
     * 
     */
    private @Nullable String scaleType;

    private SkuCapacityResponse() {}
    /**
     * @return Default number of workers for this App Service plan SKU.
     * 
     */
    public Optional default_() {
        return Optional.ofNullable(this.default_);
    }
    /**
     * @return Maximum number of Elastic workers for this App Service plan SKU.
     * 
     */
    public Optional elasticMaximum() {
        return Optional.ofNullable(this.elasticMaximum);
    }
    /**
     * @return Maximum number of workers for this App Service plan SKU.
     * 
     */
    public Optional maximum() {
        return Optional.ofNullable(this.maximum);
    }
    /**
     * @return Minimum number of workers for this App Service plan SKU.
     * 
     */
    public Optional minimum() {
        return Optional.ofNullable(this.minimum);
    }
    /**
     * @return Available scale configurations for an App Service plan.
     * 
     */
    public Optional scaleType() {
        return Optional.ofNullable(this.scaleType);
    }

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

    public static Builder builder(SkuCapacityResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Integer default_;
        private @Nullable Integer elasticMaximum;
        private @Nullable Integer maximum;
        private @Nullable Integer minimum;
        private @Nullable String scaleType;
        public Builder() {}
        public Builder(SkuCapacityResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.default_ = defaults.default_;
    	      this.elasticMaximum = defaults.elasticMaximum;
    	      this.maximum = defaults.maximum;
    	      this.minimum = defaults.minimum;
    	      this.scaleType = defaults.scaleType;
        }

        @CustomType.Setter("default")
        public Builder default_(@Nullable Integer default_) {

            this.default_ = default_;
            return this;
        }
        @CustomType.Setter
        public Builder elasticMaximum(@Nullable Integer elasticMaximum) {

            this.elasticMaximum = elasticMaximum;
            return this;
        }
        @CustomType.Setter
        public Builder maximum(@Nullable Integer maximum) {

            this.maximum = maximum;
            return this;
        }
        @CustomType.Setter
        public Builder minimum(@Nullable Integer minimum) {

            this.minimum = minimum;
            return this;
        }
        @CustomType.Setter
        public Builder scaleType(@Nullable String scaleType) {

            this.scaleType = scaleType;
            return this;
        }
        public SkuCapacityResponse build() {
            final var _resultValue = new SkuCapacityResponse();
            _resultValue.default_ = default_;
            _resultValue.elasticMaximum = elasticMaximum;
            _resultValue.maximum = maximum;
            _resultValue.minimum = minimum;
            _resultValue.scaleType = scaleType;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy