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

com.pulumi.googlenative.gkeonprem.v1.inputs.BareMetalMultipleNetworkInterfacesConfigArgs Maven / Gradle / Ivy

// *** 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.googlenative.gkeonprem.v1.inputs;

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


/**
 * Specifies the multiple networking interfaces cluster configuration.
 * 
 */
public final class BareMetalMultipleNetworkInterfacesConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final BareMetalMultipleNetworkInterfacesConfigArgs Empty = new BareMetalMultipleNetworkInterfacesConfigArgs();

    /**
     * Whether to enable multiple network interfaces for your pods. When set network_config.advanced_networking is automatically set to true.
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return Whether to enable multiple network interfaces for your pods. When set network_config.advanced_networking is automatically set to true.
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    private BareMetalMultipleNetworkInterfacesConfigArgs() {}

    private BareMetalMultipleNetworkInterfacesConfigArgs(BareMetalMultipleNetworkInterfacesConfigArgs $) {
        this.enabled = $.enabled;
    }

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

    public static final class Builder {
        private BareMetalMultipleNetworkInterfacesConfigArgs $;

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

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

        /**
         * @param enabled Whether to enable multiple network interfaces for your pods. When set network_config.advanced_networking is automatically set to true.
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled Whether to enable multiple network interfaces for your pods. When set network_config.advanced_networking is automatically set to true.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        public BareMetalMultipleNetworkInterfacesConfigArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy