// *** 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.azure.mysql.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.Integer;
import java.util.Objects;

@CustomType
public final class GetFlexibleServerStorage {
    /**
     * @return Is Storage Auto Grow enabled?
     * 
     */
    private Boolean autoGrowEnabled;
    /**
     * @return The storage IOPS of the MySQL Flexible Server.
     * 
     */
    private Integer iops;
    /**
     * @return The max storage allowed for the MySQL Flexible Server.
     * 
     */
    private Integer sizeGb;

    private GetFlexibleServerStorage() {}
    /**
     * @return Is Storage Auto Grow enabled?
     * 
     */
    public Boolean autoGrowEnabled() {
        return this.autoGrowEnabled;
    }
    /**
     * @return The storage IOPS of the MySQL Flexible Server.
     * 
     */
    public Integer iops() {
        return this.iops;
    }
    /**
     * @return The max storage allowed for the MySQL Flexible Server.
     * 
     */
    public Integer sizeGb() {
        return this.sizeGb;
    }

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

    public static Builder builder(GetFlexibleServerStorage defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Boolean autoGrowEnabled;
        private Integer iops;
        private Integer sizeGb;
        public Builder() {}
        public Builder(GetFlexibleServerStorage defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.autoGrowEnabled = defaults.autoGrowEnabled;
    	      this.iops = defaults.iops;
    	      this.sizeGb = defaults.sizeGb;
        }

        @CustomType.Setter
        public Builder autoGrowEnabled(Boolean autoGrowEnabled) {
            this.autoGrowEnabled = Objects.requireNonNull(autoGrowEnabled);
            return this;
        }
        @CustomType.Setter
        public Builder iops(Integer iops) {
            this.iops = Objects.requireNonNull(iops);
            return this;
        }
        @CustomType.Setter
        public Builder sizeGb(Integer sizeGb) {
            this.sizeGb = Objects.requireNonNull(sizeGb);
            return this;
        }
        public GetFlexibleServerStorage build() {
            final var o = new GetFlexibleServerStorage();
            o.autoGrowEnabled = autoGrowEnabled;
            o.iops = iops;
            o.sizeGb = sizeGb;
            return o;
        }
    }
}
