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

com.pulumi.azure.network.inputs.PointToPointVpnGatewayConnectionConfigurationRouteArgs 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.azure.network.inputs.PointToPointVpnGatewayConnectionConfigurationRoutePropagatedRouteTableArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final PointToPointVpnGatewayConnectionConfigurationRouteArgs Empty = new PointToPointVpnGatewayConnectionConfigurationRouteArgs();

    /**
     * The Virtual Hub Route Table resource id associated with this Routing Configuration.
     * 
     */
    @Import(name="associatedRouteTableId", required=true)
    private Output associatedRouteTableId;

    /**
     * @return The Virtual Hub Route Table resource id associated with this Routing Configuration.
     * 
     */
    public Output associatedRouteTableId() {
        return this.associatedRouteTableId;
    }

    /**
     * The resource ID of the Route Map associated with this Routing Configuration for inbound learned routes.
     * 
     */
    @Import(name="inboundRouteMapId")
    private @Nullable Output inboundRouteMapId;

    /**
     * @return The resource ID of the Route Map associated with this Routing Configuration for inbound learned routes.
     * 
     */
    public Optional> inboundRouteMapId() {
        return Optional.ofNullable(this.inboundRouteMapId);
    }

    /**
     * The resource ID of the Route Map associated with this Routing Configuration for outbound advertised routes.
     * 
     */
    @Import(name="outboundRouteMapId")
    private @Nullable Output outboundRouteMapId;

    /**
     * @return The resource ID of the Route Map associated with this Routing Configuration for outbound advertised routes.
     * 
     */
    public Optional> outboundRouteMapId() {
        return Optional.ofNullable(this.outboundRouteMapId);
    }

    /**
     * A `propagated_route_table` block as defined below.
     * 
     */
    @Import(name="propagatedRouteTable")
    private @Nullable Output propagatedRouteTable;

    /**
     * @return A `propagated_route_table` block as defined below.
     * 
     */
    public Optional> propagatedRouteTable() {
        return Optional.ofNullable(this.propagatedRouteTable);
    }

    private PointToPointVpnGatewayConnectionConfigurationRouteArgs() {}

    private PointToPointVpnGatewayConnectionConfigurationRouteArgs(PointToPointVpnGatewayConnectionConfigurationRouteArgs $) {
        this.associatedRouteTableId = $.associatedRouteTableId;
        this.inboundRouteMapId = $.inboundRouteMapId;
        this.outboundRouteMapId = $.outboundRouteMapId;
        this.propagatedRouteTable = $.propagatedRouteTable;
    }

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

    public static final class Builder {
        private PointToPointVpnGatewayConnectionConfigurationRouteArgs $;

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

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

        /**
         * @param associatedRouteTableId The Virtual Hub Route Table resource id associated with this Routing Configuration.
         * 
         * @return builder
         * 
         */
        public Builder associatedRouteTableId(Output associatedRouteTableId) {
            $.associatedRouteTableId = associatedRouteTableId;
            return this;
        }

        /**
         * @param associatedRouteTableId The Virtual Hub Route Table resource id associated with this Routing Configuration.
         * 
         * @return builder
         * 
         */
        public Builder associatedRouteTableId(String associatedRouteTableId) {
            return associatedRouteTableId(Output.of(associatedRouteTableId));
        }

        /**
         * @param inboundRouteMapId The resource ID of the Route Map associated with this Routing Configuration for inbound learned routes.
         * 
         * @return builder
         * 
         */
        public Builder inboundRouteMapId(@Nullable Output inboundRouteMapId) {
            $.inboundRouteMapId = inboundRouteMapId;
            return this;
        }

        /**
         * @param inboundRouteMapId The resource ID of the Route Map associated with this Routing Configuration for inbound learned routes.
         * 
         * @return builder
         * 
         */
        public Builder inboundRouteMapId(String inboundRouteMapId) {
            return inboundRouteMapId(Output.of(inboundRouteMapId));
        }

        /**
         * @param outboundRouteMapId The resource ID of the Route Map associated with this Routing Configuration for outbound advertised routes.
         * 
         * @return builder
         * 
         */
        public Builder outboundRouteMapId(@Nullable Output outboundRouteMapId) {
            $.outboundRouteMapId = outboundRouteMapId;
            return this;
        }

        /**
         * @param outboundRouteMapId The resource ID of the Route Map associated with this Routing Configuration for outbound advertised routes.
         * 
         * @return builder
         * 
         */
        public Builder outboundRouteMapId(String outboundRouteMapId) {
            return outboundRouteMapId(Output.of(outboundRouteMapId));
        }

        /**
         * @param propagatedRouteTable A `propagated_route_table` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder propagatedRouteTable(@Nullable Output propagatedRouteTable) {
            $.propagatedRouteTable = propagatedRouteTable;
            return this;
        }

        /**
         * @param propagatedRouteTable A `propagated_route_table` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder propagatedRouteTable(PointToPointVpnGatewayConnectionConfigurationRoutePropagatedRouteTableArgs propagatedRouteTable) {
            return propagatedRouteTable(Output.of(propagatedRouteTable));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy