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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.gcp.cloudrunv2.inputs.JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final JobTemplateTemplateContainerStartupProbeHttpGetArgs Empty = new JobTemplateTemplateContainerStartupProbeHttpGetArgs();

    /**
     * Custom headers to set in the request. HTTP allows repeated headers.
     * Structure is documented below.
     * 
     */
    @Import(name="httpHeaders")
    private @Nullable Output<List<JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs>> httpHeaders;

    /**
     * @return Custom headers to set in the request. HTTP allows repeated headers.
     * Structure is documented below.
     * 
     */
    public Optional<Output<List<JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs>>> httpHeaders() {
        return Optional.ofNullable(this.httpHeaders);
    }

    /**
     * Path to access on the HTTP server. Defaults to &#39;/&#39;.
     * 
     */
    @Import(name="path")
    private @Nullable Output<String> path;

    /**
     * @return Path to access on the HTTP server. Defaults to &#39;/&#39;.
     * 
     */
    public Optional<Output<String>> path() {
        return Optional.ofNullable(this.path);
    }

    private JobTemplateTemplateContainerStartupProbeHttpGetArgs() {}

    private JobTemplateTemplateContainerStartupProbeHttpGetArgs(JobTemplateTemplateContainerStartupProbeHttpGetArgs $) {
        this.httpHeaders = $.httpHeaders;
        this.path = $.path;
    }

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

    public static final class Builder {
        private JobTemplateTemplateContainerStartupProbeHttpGetArgs $;

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

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

        /**
         * @param httpHeaders Custom headers to set in the request. HTTP allows repeated headers.
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder httpHeaders(@Nullable Output<List<JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs>> httpHeaders) {
            $.httpHeaders = httpHeaders;
            return this;
        }

        /**
         * @param httpHeaders Custom headers to set in the request. HTTP allows repeated headers.
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder httpHeaders(List<JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs> httpHeaders) {
            return httpHeaders(Output.of(httpHeaders));
        }

        /**
         * @param httpHeaders Custom headers to set in the request. HTTP allows repeated headers.
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder httpHeaders(JobTemplateTemplateContainerStartupProbeHttpGetHttpHeaderArgs... httpHeaders) {
            return httpHeaders(List.of(httpHeaders));
        }

        /**
         * @param path Path to access on the HTTP server. Defaults to &#39;/&#39;.
         * 
         * @return builder
         * 
         */
        public Builder path(@Nullable Output<String> path) {
            $.path = path;
            return this;
        }

        /**
         * @param path Path to access on the HTTP server. Defaults to &#39;/&#39;.
         * 
         * @return builder
         * 
         */
        public Builder path(String path) {
            return path(Output.of(path));
        }

        public JobTemplateTemplateContainerStartupProbeHttpGetArgs build() {
            return $;
        }
    }

}
