All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ovhcloud.pulumi.ovh.CloudProject.inputs.KubeCustomizationKubeProxyIpvsArgs Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
// *** 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.ovhcloud.pulumi.ovh.CloudProject.inputs;

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


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

    public static final KubeCustomizationKubeProxyIpvsArgs Empty = new KubeCustomizationKubeProxyIpvsArgs();

    /**
     * Minimum period that IPVS rules are refreshed in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration (e.g. `PT60S`).
     * 
     */
    @Import(name="minSyncPeriod")
    private @Nullable Output minSyncPeriod;

    /**
     * @return Minimum period that IPVS rules are refreshed in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration (e.g. `PT60S`).
     * 
     */
    public Optional> minSyncPeriod() {
        return Optional.ofNullable(this.minSyncPeriod);
    }

    /**
     * IPVS scheduler.
     * 
     */
    @Import(name="scheduler")
    private @Nullable Output scheduler;

    /**
     * @return IPVS scheduler.
     * 
     */
    public Optional> scheduler() {
        return Optional.ofNullable(this.scheduler);
    }

    /**
     * Minimum period that IPVS rules are refreshed, in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration format (e.g. `PT60S`).
     * 
     */
    @Import(name="syncPeriod")
    private @Nullable Output syncPeriod;

    /**
     * @return Minimum period that IPVS rules are refreshed, in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration format (e.g. `PT60S`).
     * 
     */
    public Optional> syncPeriod() {
        return Optional.ofNullable(this.syncPeriod);
    }

    /**
     * Timeout value used for IPVS TCP sessions after receiving a FIN in RFC3339 duration (e.g. `PT60S`). The default value is `PT0S`, which preserves the current timeout value on the system.
     * 
     */
    @Import(name="tcpFinTimeout")
    private @Nullable Output tcpFinTimeout;

    /**
     * @return Timeout value used for IPVS TCP sessions after receiving a FIN in RFC3339 duration (e.g. `PT60S`). The default value is `PT0S`, which preserves the current timeout value on the system.
     * 
     */
    public Optional> tcpFinTimeout() {
        return Optional.ofNullable(this.tcpFinTimeout);
    }

    /**
     * Timeout value used for idle IPVS TCP sessions in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration (e.g. `PT60S`). The default value is `PT0S`, which preserves the current timeout value on the system.
     * 
     */
    @Import(name="tcpTimeout")
    private @Nullable Output tcpTimeout;

    /**
     * @return Timeout value used for idle IPVS TCP sessions in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration (e.g. `PT60S`). The default value is `PT0S`, which preserves the current timeout value on the system.
     * 
     */
    public Optional> tcpTimeout() {
        return Optional.ofNullable(this.tcpTimeout);
    }

    /**
     * timeout value used for IPVS UDP packets in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration (e.g. `PT60S`). The default value is `PT0S`, which preserves the current timeout value on the system.
     * 
     */
    @Import(name="udpTimeout")
    private @Nullable Output udpTimeout;

    /**
     * @return timeout value used for IPVS UDP packets in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration (e.g. `PT60S`). The default value is `PT0S`, which preserves the current timeout value on the system.
     * 
     */
    public Optional> udpTimeout() {
        return Optional.ofNullable(this.udpTimeout);
    }

    private KubeCustomizationKubeProxyIpvsArgs() {}

    private KubeCustomizationKubeProxyIpvsArgs(KubeCustomizationKubeProxyIpvsArgs $) {
        this.minSyncPeriod = $.minSyncPeriod;
        this.scheduler = $.scheduler;
        this.syncPeriod = $.syncPeriod;
        this.tcpFinTimeout = $.tcpFinTimeout;
        this.tcpTimeout = $.tcpTimeout;
        this.udpTimeout = $.udpTimeout;
    }

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

    public static final class Builder {
        private KubeCustomizationKubeProxyIpvsArgs $;

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

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

        /**
         * @param minSyncPeriod Minimum period that IPVS rules are refreshed in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration (e.g. `PT60S`).
         * 
         * @return builder
         * 
         */
        public Builder minSyncPeriod(@Nullable Output minSyncPeriod) {
            $.minSyncPeriod = minSyncPeriod;
            return this;
        }

        /**
         * @param minSyncPeriod Minimum period that IPVS rules are refreshed in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration (e.g. `PT60S`).
         * 
         * @return builder
         * 
         */
        public Builder minSyncPeriod(String minSyncPeriod) {
            return minSyncPeriod(Output.of(minSyncPeriod));
        }

        /**
         * @param scheduler IPVS scheduler.
         * 
         * @return builder
         * 
         */
        public Builder scheduler(@Nullable Output scheduler) {
            $.scheduler = scheduler;
            return this;
        }

        /**
         * @param scheduler IPVS scheduler.
         * 
         * @return builder
         * 
         */
        public Builder scheduler(String scheduler) {
            return scheduler(Output.of(scheduler));
        }

        /**
         * @param syncPeriod Minimum period that IPVS rules are refreshed, in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration format (e.g. `PT60S`).
         * 
         * @return builder
         * 
         */
        public Builder syncPeriod(@Nullable Output syncPeriod) {
            $.syncPeriod = syncPeriod;
            return this;
        }

        /**
         * @param syncPeriod Minimum period that IPVS rules are refreshed, in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration format (e.g. `PT60S`).
         * 
         * @return builder
         * 
         */
        public Builder syncPeriod(String syncPeriod) {
            return syncPeriod(Output.of(syncPeriod));
        }

        /**
         * @param tcpFinTimeout Timeout value used for IPVS TCP sessions after receiving a FIN in RFC3339 duration (e.g. `PT60S`). The default value is `PT0S`, which preserves the current timeout value on the system.
         * 
         * @return builder
         * 
         */
        public Builder tcpFinTimeout(@Nullable Output tcpFinTimeout) {
            $.tcpFinTimeout = tcpFinTimeout;
            return this;
        }

        /**
         * @param tcpFinTimeout Timeout value used for IPVS TCP sessions after receiving a FIN in RFC3339 duration (e.g. `PT60S`). The default value is `PT0S`, which preserves the current timeout value on the system.
         * 
         * @return builder
         * 
         */
        public Builder tcpFinTimeout(String tcpFinTimeout) {
            return tcpFinTimeout(Output.of(tcpFinTimeout));
        }

        /**
         * @param tcpTimeout Timeout value used for idle IPVS TCP sessions in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration (e.g. `PT60S`). The default value is `PT0S`, which preserves the current timeout value on the system.
         * 
         * @return builder
         * 
         */
        public Builder tcpTimeout(@Nullable Output tcpTimeout) {
            $.tcpTimeout = tcpTimeout;
            return this;
        }

        /**
         * @param tcpTimeout Timeout value used for idle IPVS TCP sessions in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration (e.g. `PT60S`). The default value is `PT0S`, which preserves the current timeout value on the system.
         * 
         * @return builder
         * 
         */
        public Builder tcpTimeout(String tcpTimeout) {
            return tcpTimeout(Output.of(tcpTimeout));
        }

        /**
         * @param udpTimeout timeout value used for IPVS UDP packets in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration (e.g. `PT60S`). The default value is `PT0S`, which preserves the current timeout value on the system.
         * 
         * @return builder
         * 
         */
        public Builder udpTimeout(@Nullable Output udpTimeout) {
            $.udpTimeout = udpTimeout;
            return this;
        }

        /**
         * @param udpTimeout timeout value used for IPVS UDP packets in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) duration (e.g. `PT60S`). The default value is `PT0S`, which preserves the current timeout value on the system.
         * 
         * @return builder
         * 
         */
        public Builder udpTimeout(String udpTimeout) {
            return udpTimeout(Output.of(udpTimeout));
        }

        public KubeCustomizationKubeProxyIpvsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy