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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.gcp.osconfig.inputs.GuestPoliciesPackageRepositoryAptArgs;
import com.pulumi.gcp.osconfig.inputs.GuestPoliciesPackageRepositoryGooArgs;
import com.pulumi.gcp.osconfig.inputs.GuestPoliciesPackageRepositoryYumArgs;
import com.pulumi.gcp.osconfig.inputs.GuestPoliciesPackageRepositoryZypperArgs;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GuestPoliciesPackageRepositoryArgs Empty = new GuestPoliciesPackageRepositoryArgs();

    /**
     * An Apt Repository.
     * Structure is documented below.
     * 
     */
    @Import(name="apt")
    private @Nullable Output<GuestPoliciesPackageRepositoryAptArgs> apt;

    /**
     * @return An Apt Repository.
     * Structure is documented below.
     * 
     */
    public Optional<Output<GuestPoliciesPackageRepositoryAptArgs>> apt() {
        return Optional.ofNullable(this.apt);
    }

    /**
     * A Goo Repository.
     * Structure is documented below.
     * 
     */
    @Import(name="goo")
    private @Nullable Output<GuestPoliciesPackageRepositoryGooArgs> goo;

    /**
     * @return A Goo Repository.
     * Structure is documented below.
     * 
     */
    public Optional<Output<GuestPoliciesPackageRepositoryGooArgs>> goo() {
        return Optional.ofNullable(this.goo);
    }

    /**
     * A Yum Repository.
     * Structure is documented below.
     * 
     */
    @Import(name="yum")
    private @Nullable Output<GuestPoliciesPackageRepositoryYumArgs> yum;

    /**
     * @return A Yum Repository.
     * Structure is documented below.
     * 
     */
    public Optional<Output<GuestPoliciesPackageRepositoryYumArgs>> yum() {
        return Optional.ofNullable(this.yum);
    }

    /**
     * A Zypper Repository.
     * Structure is documented below.
     * 
     */
    @Import(name="zypper")
    private @Nullable Output<GuestPoliciesPackageRepositoryZypperArgs> zypper;

    /**
     * @return A Zypper Repository.
     * Structure is documented below.
     * 
     */
    public Optional<Output<GuestPoliciesPackageRepositoryZypperArgs>> zypper() {
        return Optional.ofNullable(this.zypper);
    }

    private GuestPoliciesPackageRepositoryArgs() {}

    private GuestPoliciesPackageRepositoryArgs(GuestPoliciesPackageRepositoryArgs $) {
        this.apt = $.apt;
        this.goo = $.goo;
        this.yum = $.yum;
        this.zypper = $.zypper;
    }

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

    public static final class Builder {
        private GuestPoliciesPackageRepositoryArgs $;

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

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

        /**
         * @param apt An Apt Repository.
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder apt(@Nullable Output<GuestPoliciesPackageRepositoryAptArgs> apt) {
            $.apt = apt;
            return this;
        }

        /**
         * @param apt An Apt Repository.
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder apt(GuestPoliciesPackageRepositoryAptArgs apt) {
            return apt(Output.of(apt));
        }

        /**
         * @param goo A Goo Repository.
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder goo(@Nullable Output<GuestPoliciesPackageRepositoryGooArgs> goo) {
            $.goo = goo;
            return this;
        }

        /**
         * @param goo A Goo Repository.
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder goo(GuestPoliciesPackageRepositoryGooArgs goo) {
            return goo(Output.of(goo));
        }

        /**
         * @param yum A Yum Repository.
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder yum(@Nullable Output<GuestPoliciesPackageRepositoryYumArgs> yum) {
            $.yum = yum;
            return this;
        }

        /**
         * @param yum A Yum Repository.
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder yum(GuestPoliciesPackageRepositoryYumArgs yum) {
            return yum(Output.of(yum));
        }

        /**
         * @param zypper A Zypper Repository.
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder zypper(@Nullable Output<GuestPoliciesPackageRepositoryZypperArgs> zypper) {
            $.zypper = zypper;
            return this;
        }

        /**
         * @param zypper A Zypper Repository.
         * Structure is documented below.
         * 
         * @return builder
         * 
         */
        public Builder zypper(GuestPoliciesPackageRepositoryZypperArgs zypper) {
            return zypper(Output.of(zypper));
        }

        public GuestPoliciesPackageRepositoryArgs build() {
            return $;
        }
    }

}
