// *** 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.gcp.composer.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Double;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class EnvironmentConfigWorkloadsConfigWebServerArgs extends com.pulumi.resources.ResourceArgs {

    public static final EnvironmentConfigWorkloadsConfigWebServerArgs Empty = new EnvironmentConfigWorkloadsConfigWebServerArgs();

    @Import(name="cpu")
    private @Nullable Output<Double> cpu;

    public Optional<Output<Double>> cpu() {
        return Optional.ofNullable(this.cpu);
    }

    @Import(name="memoryGb")
    private @Nullable Output<Double> memoryGb;

    public Optional<Output<Double>> memoryGb() {
        return Optional.ofNullable(this.memoryGb);
    }

    @Import(name="storageGb")
    private @Nullable Output<Double> storageGb;

    public Optional<Output<Double>> storageGb() {
        return Optional.ofNullable(this.storageGb);
    }

    private EnvironmentConfigWorkloadsConfigWebServerArgs() {}

    private EnvironmentConfigWorkloadsConfigWebServerArgs(EnvironmentConfigWorkloadsConfigWebServerArgs $) {
        this.cpu = $.cpu;
        this.memoryGb = $.memoryGb;
        this.storageGb = $.storageGb;
    }

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

    public static final class Builder {
        private EnvironmentConfigWorkloadsConfigWebServerArgs $;

        public Builder() {
            $ = new EnvironmentConfigWorkloadsConfigWebServerArgs();
        }

        public Builder(EnvironmentConfigWorkloadsConfigWebServerArgs defaults) {
            $ = new EnvironmentConfigWorkloadsConfigWebServerArgs(Objects.requireNonNull(defaults));
        }

        public Builder cpu(@Nullable Output<Double> cpu) {
            $.cpu = cpu;
            return this;
        }

        public Builder cpu(Double cpu) {
            return cpu(Output.of(cpu));
        }

        public Builder memoryGb(@Nullable Output<Double> memoryGb) {
            $.memoryGb = memoryGb;
            return this;
        }

        public Builder memoryGb(Double memoryGb) {
            return memoryGb(Output.of(memoryGb));
        }

        public Builder storageGb(@Nullable Output<Double> storageGb) {
            $.storageGb = storageGb;
            return this;
        }

        public Builder storageGb(Double storageGb) {
            return storageGb(Output.of(storageGb));
        }

        public EnvironmentConfigWorkloadsConfigWebServerArgs build() {
            return $;
        }
    }

}
