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

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


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

    public static final FlexibleAppVersionAutomaticScalingRequestUtilizationArgs Empty = new FlexibleAppVersionAutomaticScalingRequestUtilizationArgs();

    /**
     * Target number of concurrent requests.
     * 
     */
    @Import(name="targetConcurrentRequests")
    private @Nullable Output<Double> targetConcurrentRequests;

    /**
     * @return Target number of concurrent requests.
     * 
     */
    public Optional<Output<Double>> targetConcurrentRequests() {
        return Optional.ofNullable(this.targetConcurrentRequests);
    }

    /**
     * Target requests per second.
     * 
     */
    @Import(name="targetRequestCountPerSecond")
    private @Nullable Output<String> targetRequestCountPerSecond;

    /**
     * @return Target requests per second.
     * 
     */
    public Optional<Output<String>> targetRequestCountPerSecond() {
        return Optional.ofNullable(this.targetRequestCountPerSecond);
    }

    private FlexibleAppVersionAutomaticScalingRequestUtilizationArgs() {}

    private FlexibleAppVersionAutomaticScalingRequestUtilizationArgs(FlexibleAppVersionAutomaticScalingRequestUtilizationArgs $) {
        this.targetConcurrentRequests = $.targetConcurrentRequests;
        this.targetRequestCountPerSecond = $.targetRequestCountPerSecond;
    }

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

    public static final class Builder {
        private FlexibleAppVersionAutomaticScalingRequestUtilizationArgs $;

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

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

        /**
         * @param targetConcurrentRequests Target number of concurrent requests.
         * 
         * @return builder
         * 
         */
        public Builder targetConcurrentRequests(@Nullable Output<Double> targetConcurrentRequests) {
            $.targetConcurrentRequests = targetConcurrentRequests;
            return this;
        }

        /**
         * @param targetConcurrentRequests Target number of concurrent requests.
         * 
         * @return builder
         * 
         */
        public Builder targetConcurrentRequests(Double targetConcurrentRequests) {
            return targetConcurrentRequests(Output.of(targetConcurrentRequests));
        }

        /**
         * @param targetRequestCountPerSecond Target requests per second.
         * 
         * @return builder
         * 
         */
        public Builder targetRequestCountPerSecond(@Nullable Output<String> targetRequestCountPerSecond) {
            $.targetRequestCountPerSecond = targetRequestCountPerSecond;
            return this;
        }

        /**
         * @param targetRequestCountPerSecond Target requests per second.
         * 
         * @return builder
         * 
         */
        public Builder targetRequestCountPerSecond(String targetRequestCountPerSecond) {
            return targetRequestCountPerSecond(Output.of(targetRequestCountPerSecond));
        }

        public FlexibleAppVersionAutomaticScalingRequestUtilizationArgs build() {
            return $;
        }
    }

}
