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

com.pulumi.azure.network.inputs.VpnGatewayBgpSettingsInstance0BgpPeeringAddressArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.network.inputs;

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


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

    public static final VpnGatewayBgpSettingsInstance0BgpPeeringAddressArgs Empty = new VpnGatewayBgpSettingsInstance0BgpPeeringAddressArgs();

    /**
     * A list of custom BGP peering addresses to assign to this instance.
     * 
     */
    @Import(name="customIps", required=true)
    private Output> customIps;

    /**
     * @return A list of custom BGP peering addresses to assign to this instance.
     * 
     */
    public Output> customIps() {
        return this.customIps;
    }

    /**
     * The list of default BGP peering addresses which belong to the pre-defined VPN Gateway IP configuration.
     * 
     */
    @Import(name="defaultIps")
    private @Nullable Output> defaultIps;

    /**
     * @return The list of default BGP peering addresses which belong to the pre-defined VPN Gateway IP configuration.
     * 
     */
    public Optional>> defaultIps() {
        return Optional.ofNullable(this.defaultIps);
    }

    /**
     * The pre-defined id of VPN Gateway IP Configuration.
     * 
     */
    @Import(name="ipConfigurationId")
    private @Nullable Output ipConfigurationId;

    /**
     * @return The pre-defined id of VPN Gateway IP Configuration.
     * 
     */
    public Optional> ipConfigurationId() {
        return Optional.ofNullable(this.ipConfigurationId);
    }

    /**
     * The list of tunnel public IP addresses which belong to the pre-defined VPN Gateway IP configuration.
     * 
     */
    @Import(name="tunnelIps")
    private @Nullable Output> tunnelIps;

    /**
     * @return The list of tunnel public IP addresses which belong to the pre-defined VPN Gateway IP configuration.
     * 
     */
    public Optional>> tunnelIps() {
        return Optional.ofNullable(this.tunnelIps);
    }

    private VpnGatewayBgpSettingsInstance0BgpPeeringAddressArgs() {}

    private VpnGatewayBgpSettingsInstance0BgpPeeringAddressArgs(VpnGatewayBgpSettingsInstance0BgpPeeringAddressArgs $) {
        this.customIps = $.customIps;
        this.defaultIps = $.defaultIps;
        this.ipConfigurationId = $.ipConfigurationId;
        this.tunnelIps = $.tunnelIps;
    }

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

    public static final class Builder {
        private VpnGatewayBgpSettingsInstance0BgpPeeringAddressArgs $;

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

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

        /**
         * @param customIps A list of custom BGP peering addresses to assign to this instance.
         * 
         * @return builder
         * 
         */
        public Builder customIps(Output> customIps) {
            $.customIps = customIps;
            return this;
        }

        /**
         * @param customIps A list of custom BGP peering addresses to assign to this instance.
         * 
         * @return builder
         * 
         */
        public Builder customIps(List customIps) {
            return customIps(Output.of(customIps));
        }

        /**
         * @param customIps A list of custom BGP peering addresses to assign to this instance.
         * 
         * @return builder
         * 
         */
        public Builder customIps(String... customIps) {
            return customIps(List.of(customIps));
        }

        /**
         * @param defaultIps The list of default BGP peering addresses which belong to the pre-defined VPN Gateway IP configuration.
         * 
         * @return builder
         * 
         */
        public Builder defaultIps(@Nullable Output> defaultIps) {
            $.defaultIps = defaultIps;
            return this;
        }

        /**
         * @param defaultIps The list of default BGP peering addresses which belong to the pre-defined VPN Gateway IP configuration.
         * 
         * @return builder
         * 
         */
        public Builder defaultIps(List defaultIps) {
            return defaultIps(Output.of(defaultIps));
        }

        /**
         * @param defaultIps The list of default BGP peering addresses which belong to the pre-defined VPN Gateway IP configuration.
         * 
         * @return builder
         * 
         */
        public Builder defaultIps(String... defaultIps) {
            return defaultIps(List.of(defaultIps));
        }

        /**
         * @param ipConfigurationId The pre-defined id of VPN Gateway IP Configuration.
         * 
         * @return builder
         * 
         */
        public Builder ipConfigurationId(@Nullable Output ipConfigurationId) {
            $.ipConfigurationId = ipConfigurationId;
            return this;
        }

        /**
         * @param ipConfigurationId The pre-defined id of VPN Gateway IP Configuration.
         * 
         * @return builder
         * 
         */
        public Builder ipConfigurationId(String ipConfigurationId) {
            return ipConfigurationId(Output.of(ipConfigurationId));
        }

        /**
         * @param tunnelIps The list of tunnel public IP addresses which belong to the pre-defined VPN Gateway IP configuration.
         * 
         * @return builder
         * 
         */
        public Builder tunnelIps(@Nullable Output> tunnelIps) {
            $.tunnelIps = tunnelIps;
            return this;
        }

        /**
         * @param tunnelIps The list of tunnel public IP addresses which belong to the pre-defined VPN Gateway IP configuration.
         * 
         * @return builder
         * 
         */
        public Builder tunnelIps(List tunnelIps) {
            return tunnelIps(Output.of(tunnelIps));
        }

        /**
         * @param tunnelIps The list of tunnel public IP addresses which belong to the pre-defined VPN Gateway IP configuration.
         * 
         * @return builder
         * 
         */
        public Builder tunnelIps(String... tunnelIps) {
            return tunnelIps(List.of(tunnelIps));
        }

        public VpnGatewayBgpSettingsInstance0BgpPeeringAddressArgs build() {
            if ($.customIps == null) {
                throw new MissingRequiredPropertyException("VpnGatewayBgpSettingsInstance0BgpPeeringAddressArgs", "customIps");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy