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

com.ovhcloud.pulumi.ovh.CloudProject.inputs.GatewayExternalInformationArgs Maven / Gradle / Ivy

There is a newer version: 1.1.0
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.ovhcloud.pulumi.ovh.CloudProject.inputs;

import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GatewayExternalInformationIpArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GatewayExternalInformationArgs Empty = new GatewayExternalInformationArgs();

    /**
     * List of external ips of the gateway.
     * 
     */
    @Import(name="ips")
    private @Nullable Output> ips;

    /**
     * @return List of external ips of the gateway.
     * 
     */
    public Optional>> ips() {
        return Optional.ofNullable(this.ips);
    }

    /**
     * ID of the private network.
     * 
     */
    @Import(name="networkId")
    private @Nullable Output networkId;

    /**
     * @return ID of the private network.
     * 
     */
    public Optional> networkId() {
        return Optional.ofNullable(this.networkId);
    }

    private GatewayExternalInformationArgs() {}

    private GatewayExternalInformationArgs(GatewayExternalInformationArgs $) {
        this.ips = $.ips;
        this.networkId = $.networkId;
    }

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

    public static final class Builder {
        private GatewayExternalInformationArgs $;

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

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

        /**
         * @param ips List of external ips of the gateway.
         * 
         * @return builder
         * 
         */
        public Builder ips(@Nullable Output> ips) {
            $.ips = ips;
            return this;
        }

        /**
         * @param ips List of external ips of the gateway.
         * 
         * @return builder
         * 
         */
        public Builder ips(List ips) {
            return ips(Output.of(ips));
        }

        /**
         * @param ips List of external ips of the gateway.
         * 
         * @return builder
         * 
         */
        public Builder ips(GatewayExternalInformationIpArgs... ips) {
            return ips(List.of(ips));
        }

        /**
         * @param networkId ID of the private network.
         * 
         * @return builder
         * 
         */
        public Builder networkId(@Nullable Output networkId) {
            $.networkId = networkId;
            return this;
        }

        /**
         * @param networkId ID of the private network.
         * 
         * @return builder
         * 
         */
        public Builder networkId(String networkId) {
            return networkId(Output.of(networkId));
        }

        public GatewayExternalInformationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy