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

com.pulumi.azurenative.containerservice.inputs.ManagedClusterNATGatewayProfileArgs Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.pulumi.azurenative.containerservice.inputs;

import com.pulumi.azurenative.containerservice.inputs.ManagedClusterManagedOutboundIPProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ResourceReferenceArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import java.lang.Integer;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Profile of the managed cluster NAT gateway.
 * 
 */
public final class ManagedClusterNATGatewayProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final ManagedClusterNATGatewayProfileArgs Empty = new ManagedClusterNATGatewayProfileArgs();

    /**
     * The effective outbound IP resources of the cluster NAT gateway.
     * 
     */
    @Import(name="effectiveOutboundIPs")
    private @Nullable Output> effectiveOutboundIPs;

    /**
     * @return The effective outbound IP resources of the cluster NAT gateway.
     * 
     */
    public Optional>> effectiveOutboundIPs() {
        return Optional.ofNullable(this.effectiveOutboundIPs);
    }

    /**
     * Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes.
     * 
     */
    @Import(name="idleTimeoutInMinutes")
    private @Nullable Output idleTimeoutInMinutes;

    /**
     * @return Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes.
     * 
     */
    public Optional> idleTimeoutInMinutes() {
        return Optional.ofNullable(this.idleTimeoutInMinutes);
    }

    /**
     * Profile of the managed outbound IP resources of the cluster NAT gateway.
     * 
     */
    @Import(name="managedOutboundIPProfile")
    private @Nullable Output managedOutboundIPProfile;

    /**
     * @return Profile of the managed outbound IP resources of the cluster NAT gateway.
     * 
     */
    public Optional> managedOutboundIPProfile() {
        return Optional.ofNullable(this.managedOutboundIPProfile);
    }

    private ManagedClusterNATGatewayProfileArgs() {}

    private ManagedClusterNATGatewayProfileArgs(ManagedClusterNATGatewayProfileArgs $) {
        this.effectiveOutboundIPs = $.effectiveOutboundIPs;
        this.idleTimeoutInMinutes = $.idleTimeoutInMinutes;
        this.managedOutboundIPProfile = $.managedOutboundIPProfile;
    }

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

    public static final class Builder {
        private ManagedClusterNATGatewayProfileArgs $;

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

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

        /**
         * @param effectiveOutboundIPs The effective outbound IP resources of the cluster NAT gateway.
         * 
         * @return builder
         * 
         */
        public Builder effectiveOutboundIPs(@Nullable Output> effectiveOutboundIPs) {
            $.effectiveOutboundIPs = effectiveOutboundIPs;
            return this;
        }

        /**
         * @param effectiveOutboundIPs The effective outbound IP resources of the cluster NAT gateway.
         * 
         * @return builder
         * 
         */
        public Builder effectiveOutboundIPs(List effectiveOutboundIPs) {
            return effectiveOutboundIPs(Output.of(effectiveOutboundIPs));
        }

        /**
         * @param effectiveOutboundIPs The effective outbound IP resources of the cluster NAT gateway.
         * 
         * @return builder
         * 
         */
        public Builder effectiveOutboundIPs(ResourceReferenceArgs... effectiveOutboundIPs) {
            return effectiveOutboundIPs(List.of(effectiveOutboundIPs));
        }

        /**
         * @param idleTimeoutInMinutes Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes.
         * 
         * @return builder
         * 
         */
        public Builder idleTimeoutInMinutes(@Nullable Output idleTimeoutInMinutes) {
            $.idleTimeoutInMinutes = idleTimeoutInMinutes;
            return this;
        }

        /**
         * @param idleTimeoutInMinutes Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes.
         * 
         * @return builder
         * 
         */
        public Builder idleTimeoutInMinutes(Integer idleTimeoutInMinutes) {
            return idleTimeoutInMinutes(Output.of(idleTimeoutInMinutes));
        }

        /**
         * @param managedOutboundIPProfile Profile of the managed outbound IP resources of the cluster NAT gateway.
         * 
         * @return builder
         * 
         */
        public Builder managedOutboundIPProfile(@Nullable Output managedOutboundIPProfile) {
            $.managedOutboundIPProfile = managedOutboundIPProfile;
            return this;
        }

        /**
         * @param managedOutboundIPProfile Profile of the managed outbound IP resources of the cluster NAT gateway.
         * 
         * @return builder
         * 
         */
        public Builder managedOutboundIPProfile(ManagedClusterManagedOutboundIPProfileArgs managedOutboundIPProfile) {
            return managedOutboundIPProfile(Output.of(managedOutboundIPProfile));
        }

        public ManagedClusterNATGatewayProfileArgs build() {
            $.idleTimeoutInMinutes = Codegen.integerProp("idleTimeoutInMinutes").output().arg($.idleTimeoutInMinutes).def(4).getNullable();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy