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

com.pulumi.docker.inputs.ContainerNetworkDataArgs Maven / Gradle / Ivy

There is a newer version: 4.7.0-alpha.1705607229+34a07055
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.docker.inputs;

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


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

    public static final ContainerNetworkDataArgs Empty = new ContainerNetworkDataArgs();

    /**
     * The network gateway of the container.
     * 
     */
    @Import(name="gateway")
    private @Nullable Output gateway;

    /**
     * @return The network gateway of the container.
     * 
     */
    public Optional> gateway() {
        return Optional.ofNullable(this.gateway);
    }

    /**
     * The IPV6 address of the container.
     * 
     */
    @Import(name="globalIpv6Address")
    private @Nullable Output globalIpv6Address;

    /**
     * @return The IPV6 address of the container.
     * 
     */
    public Optional> globalIpv6Address() {
        return Optional.ofNullable(this.globalIpv6Address);
    }

    /**
     * The IPV6 prefix length address of the container.
     * 
     */
    @Import(name="globalIpv6PrefixLength")
    private @Nullable Output globalIpv6PrefixLength;

    /**
     * @return The IPV6 prefix length address of the container.
     * 
     */
    public Optional> globalIpv6PrefixLength() {
        return Optional.ofNullable(this.globalIpv6PrefixLength);
    }

    /**
     * The IP address of the container.
     * 
     */
    @Import(name="ipAddress")
    private @Nullable Output ipAddress;

    /**
     * @return The IP address of the container.
     * 
     */
    public Optional> ipAddress() {
        return Optional.ofNullable(this.ipAddress);
    }

    /**
     * The IP prefix length of the container.
     * 
     */
    @Import(name="ipPrefixLength")
    private @Nullable Output ipPrefixLength;

    /**
     * @return The IP prefix length of the container.
     * 
     */
    public Optional> ipPrefixLength() {
        return Optional.ofNullable(this.ipPrefixLength);
    }

    /**
     * The IPV6 gateway of the container.
     * 
     */
    @Import(name="ipv6Gateway")
    private @Nullable Output ipv6Gateway;

    /**
     * @return The IPV6 gateway of the container.
     * 
     */
    public Optional> ipv6Gateway() {
        return Optional.ofNullable(this.ipv6Gateway);
    }

    /**
     * The MAC address of the container.
     * 
     */
    @Import(name="macAddress")
    private @Nullable Output macAddress;

    /**
     * @return The MAC address of the container.
     * 
     */
    public Optional> macAddress() {
        return Optional.ofNullable(this.macAddress);
    }

    /**
     * The name of the network
     * 
     */
    @Import(name="networkName")
    private @Nullable Output networkName;

    /**
     * @return The name of the network
     * 
     */
    public Optional> networkName() {
        return Optional.ofNullable(this.networkName);
    }

    private ContainerNetworkDataArgs() {}

    private ContainerNetworkDataArgs(ContainerNetworkDataArgs $) {
        this.gateway = $.gateway;
        this.globalIpv6Address = $.globalIpv6Address;
        this.globalIpv6PrefixLength = $.globalIpv6PrefixLength;
        this.ipAddress = $.ipAddress;
        this.ipPrefixLength = $.ipPrefixLength;
        this.ipv6Gateway = $.ipv6Gateway;
        this.macAddress = $.macAddress;
        this.networkName = $.networkName;
    }

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

    public static final class Builder {
        private ContainerNetworkDataArgs $;

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

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

        /**
         * @param gateway The network gateway of the container.
         * 
         * @return builder
         * 
         */
        public Builder gateway(@Nullable Output gateway) {
            $.gateway = gateway;
            return this;
        }

        /**
         * @param gateway The network gateway of the container.
         * 
         * @return builder
         * 
         */
        public Builder gateway(String gateway) {
            return gateway(Output.of(gateway));
        }

        /**
         * @param globalIpv6Address The IPV6 address of the container.
         * 
         * @return builder
         * 
         */
        public Builder globalIpv6Address(@Nullable Output globalIpv6Address) {
            $.globalIpv6Address = globalIpv6Address;
            return this;
        }

        /**
         * @param globalIpv6Address The IPV6 address of the container.
         * 
         * @return builder
         * 
         */
        public Builder globalIpv6Address(String globalIpv6Address) {
            return globalIpv6Address(Output.of(globalIpv6Address));
        }

        /**
         * @param globalIpv6PrefixLength The IPV6 prefix length address of the container.
         * 
         * @return builder
         * 
         */
        public Builder globalIpv6PrefixLength(@Nullable Output globalIpv6PrefixLength) {
            $.globalIpv6PrefixLength = globalIpv6PrefixLength;
            return this;
        }

        /**
         * @param globalIpv6PrefixLength The IPV6 prefix length address of the container.
         * 
         * @return builder
         * 
         */
        public Builder globalIpv6PrefixLength(Integer globalIpv6PrefixLength) {
            return globalIpv6PrefixLength(Output.of(globalIpv6PrefixLength));
        }

        /**
         * @param ipAddress The IP address of the container.
         * 
         * @return builder
         * 
         */
        public Builder ipAddress(@Nullable Output ipAddress) {
            $.ipAddress = ipAddress;
            return this;
        }

        /**
         * @param ipAddress The IP address of the container.
         * 
         * @return builder
         * 
         */
        public Builder ipAddress(String ipAddress) {
            return ipAddress(Output.of(ipAddress));
        }

        /**
         * @param ipPrefixLength The IP prefix length of the container.
         * 
         * @return builder
         * 
         */
        public Builder ipPrefixLength(@Nullable Output ipPrefixLength) {
            $.ipPrefixLength = ipPrefixLength;
            return this;
        }

        /**
         * @param ipPrefixLength The IP prefix length of the container.
         * 
         * @return builder
         * 
         */
        public Builder ipPrefixLength(Integer ipPrefixLength) {
            return ipPrefixLength(Output.of(ipPrefixLength));
        }

        /**
         * @param ipv6Gateway The IPV6 gateway of the container.
         * 
         * @return builder
         * 
         */
        public Builder ipv6Gateway(@Nullable Output ipv6Gateway) {
            $.ipv6Gateway = ipv6Gateway;
            return this;
        }

        /**
         * @param ipv6Gateway The IPV6 gateway of the container.
         * 
         * @return builder
         * 
         */
        public Builder ipv6Gateway(String ipv6Gateway) {
            return ipv6Gateway(Output.of(ipv6Gateway));
        }

        /**
         * @param macAddress The MAC address of the container.
         * 
         * @return builder
         * 
         */
        public Builder macAddress(@Nullable Output macAddress) {
            $.macAddress = macAddress;
            return this;
        }

        /**
         * @param macAddress The MAC address of the container.
         * 
         * @return builder
         * 
         */
        public Builder macAddress(String macAddress) {
            return macAddress(Output.of(macAddress));
        }

        /**
         * @param networkName The name of the network
         * 
         * @return builder
         * 
         */
        public Builder networkName(@Nullable Output networkName) {
            $.networkName = networkName;
            return this;
        }

        /**
         * @param networkName The name of the network
         * 
         * @return builder
         * 
         */
        public Builder networkName(String networkName) {
            return networkName(Output.of(networkName));
        }

        public ContainerNetworkDataArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy