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

com.pulumi.dockerbuild.enums.NetworkMode Maven / Gradle / Ivy

Go to download

A Pulumi provider for building modern Docker images with buildx and BuildKit.

There is a newer version: 0.1.0-alpha.1729468870
Show newest version
// *** WARNING: this file was generated by pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.dockerbuild.enums;

import com.pulumi.core.annotations.EnumType;
import java.lang.String;
import java.util.Objects;
import java.util.StringJoiner;

    @EnumType
    public enum NetworkMode {
        /**
         * The default sandbox network mode.
         * 
         */
        Default_("default"),
        /**
         * Host network mode.
         * 
         */
        Host("host"),
        /**
         * Disable network access.
         * 
         */
        None("none");

        private final String value;

        NetworkMode(String value) {
            this.value = Objects.requireNonNull(value);
        }

        @EnumType.Converter
        public String getValue() {
            return this.value;
        }

        @Override
        public String toString() {
            return new StringJoiner(", ", "NetworkMode[", "]")
                .add("value='" + this.value + "'")
                .toString();
        }
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy