sdk/java/src/main/java/com/pulumi/ovh/CloudProject/inputs/KubeCustomizationKubeProxyArgs.java
<filename>sdk/java/src/main/java/com/pulumi/ovh/CloudProject/inputs/KubeCustomizationKubeProxyArgs.java// *** 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.ovh.CloudProject.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.ovh.CloudProject.inputs.KubeCustomizationKubeProxyIptablesArgs;
import com.pulumi.ovh.CloudProject.inputs.KubeCustomizationKubeProxyIpvsArgs;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final KubeCustomizationKubeProxyArgs Empty = new KubeCustomizationKubeProxyArgs();

    /**
     * Kubernetes cluster kube-proxy customization of iptables specific config (durations format is RFC3339 duration, e.g. `PT60S`)
     * 
     */
    @Import(name="iptables")
    private @Nullable Output<KubeCustomizationKubeProxyIptablesArgs> iptables;

    /**
     * @return Kubernetes cluster kube-proxy customization of iptables specific config (durations format is RFC3339 duration, e.g. `PT60S`)
     * 
     */
    public Optional<Output<KubeCustomizationKubeProxyIptablesArgs>> iptables() {
        return Optional.ofNullable(this.iptables);
    }

    /**
     * Kubernetes cluster kube-proxy customization of IPVS specific config (durations format is [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration, e.g. `PT60S`)
     * 
     */
    @Import(name="ipvs")
    private @Nullable Output<KubeCustomizationKubeProxyIpvsArgs> ipvs;

    /**
     * @return Kubernetes cluster kube-proxy customization of IPVS specific config (durations format is [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration, e.g. `PT60S`)
     * 
     */
    public Optional<Output<KubeCustomizationKubeProxyIpvsArgs>> ipvs() {
        return Optional.ofNullable(this.ipvs);
    }

    private KubeCustomizationKubeProxyArgs() {}

    private KubeCustomizationKubeProxyArgs(KubeCustomizationKubeProxyArgs $) {
        this.iptables = $.iptables;
        this.ipvs = $.ipvs;
    }

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

    public static final class Builder {
        private KubeCustomizationKubeProxyArgs $;

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

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

        /**
         * @param iptables Kubernetes cluster kube-proxy customization of iptables specific config (durations format is RFC3339 duration, e.g. `PT60S`)
         * 
         * @return builder
         * 
         */
        public Builder iptables(@Nullable Output<KubeCustomizationKubeProxyIptablesArgs> iptables) {
            $.iptables = iptables;
            return this;
        }

        /**
         * @param iptables Kubernetes cluster kube-proxy customization of iptables specific config (durations format is RFC3339 duration, e.g. `PT60S`)
         * 
         * @return builder
         * 
         */
        public Builder iptables(KubeCustomizationKubeProxyIptablesArgs iptables) {
            return iptables(Output.of(iptables));
        }

        /**
         * @param ipvs Kubernetes cluster kube-proxy customization of IPVS specific config (durations format is [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration, e.g. `PT60S`)
         * 
         * @return builder
         * 
         */
        public Builder ipvs(@Nullable Output<KubeCustomizationKubeProxyIpvsArgs> ipvs) {
            $.ipvs = ipvs;
            return this;
        }

        /**
         * @param ipvs Kubernetes cluster kube-proxy customization of IPVS specific config (durations format is [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration, e.g. `PT60S`)
         * 
         * @return builder
         * 
         */
        public Builder ipvs(KubeCustomizationKubeProxyIpvsArgs ipvs) {
            return ipvs(Output.of(ipvs));
        }

        public KubeCustomizationKubeProxyArgs build() {
            return $;
        }
    }

}
