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

com.pulumi.azure.network.inputs.VirtualNetworkGatewayCustomRouteArgs 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.15.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.pulumi.azure.network.inputs;

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 VirtualNetworkGatewayCustomRouteArgs extends com.pulumi.resources.ResourceArgs {

    public static final VirtualNetworkGatewayCustomRouteArgs Empty = new VirtualNetworkGatewayCustomRouteArgs();

    /**
     * A list of address blocks reserved for this virtual network in CIDR notation.
     * 
     */
    @Import(name="addressPrefixes")
    private @Nullable Output> addressPrefixes;

    /**
     * @return A list of address blocks reserved for this virtual network in CIDR notation.
     * 
     */
    public Optional>> addressPrefixes() {
        return Optional.ofNullable(this.addressPrefixes);
    }

    private VirtualNetworkGatewayCustomRouteArgs() {}

    private VirtualNetworkGatewayCustomRouteArgs(VirtualNetworkGatewayCustomRouteArgs $) {
        this.addressPrefixes = $.addressPrefixes;
    }

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

    public static final class Builder {
        private VirtualNetworkGatewayCustomRouteArgs $;

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

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

        /**
         * @param addressPrefixes A list of address blocks reserved for this virtual network in CIDR notation.
         * 
         * @return builder
         * 
         */
        public Builder addressPrefixes(@Nullable Output> addressPrefixes) {
            $.addressPrefixes = addressPrefixes;
            return this;
        }

        /**
         * @param addressPrefixes A list of address blocks reserved for this virtual network in CIDR notation.
         * 
         * @return builder
         * 
         */
        public Builder addressPrefixes(List addressPrefixes) {
            return addressPrefixes(Output.of(addressPrefixes));
        }

        /**
         * @param addressPrefixes A list of address blocks reserved for this virtual network in CIDR notation.
         * 
         * @return builder
         * 
         */
        public Builder addressPrefixes(String... addressPrefixes) {
            return addressPrefixes(List.of(addressPrefixes));
        }

        public VirtualNetworkGatewayCustomRouteArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy