sdk/java/src/main/java/com/pulumi/ovh/CloudProject/inputs/GetKubeCustomizationKubeProxyIptables.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.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetKubeCustomizationKubeProxyIptables extends com.pulumi.resources.InvokeArgs {

    public static final GetKubeCustomizationKubeProxyIptables Empty = new GetKubeCustomizationKubeProxyIptables();

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

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

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

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

    private GetKubeCustomizationKubeProxyIptables() {}

    private GetKubeCustomizationKubeProxyIptables(GetKubeCustomizationKubeProxyIptables $) {
        this.minSyncPeriod = $.minSyncPeriod;
        this.syncPeriod = $.syncPeriod;
    }

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

    public static final class Builder {
        private GetKubeCustomizationKubeProxyIptables $;

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

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

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

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

        public GetKubeCustomizationKubeProxyIptables build() {
            return $;
        }
    }

}
