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

com.pulumi.azure.network.outputs.VpnGatewayConnectionRouting 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.outputs;

import com.pulumi.azure.network.outputs.VpnGatewayConnectionRoutingPropagatedRouteTable;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class VpnGatewayConnectionRouting {
    /**
     * @return The ID of the Route Table associated with this VPN Connection.
     * 
     */
    private String associatedRouteTable;
    /**
     * @return The resource ID of the Route Map associated with this Routing Configuration for inbound learned routes.
     * 
     */
    private @Nullable String inboundRouteMapId;
    /**
     * @return The resource ID of the Route Map associated with this Routing Configuration for outbound advertised routes.
     * 
     */
    private @Nullable String outboundRouteMapId;
    /**
     * @return A `propagated_route_table` block as defined below.
     * 
     */
    private @Nullable VpnGatewayConnectionRoutingPropagatedRouteTable propagatedRouteTable;

    private VpnGatewayConnectionRouting() {}
    /**
     * @return The ID of the Route Table associated with this VPN Connection.
     * 
     */
    public String associatedRouteTable() {
        return this.associatedRouteTable;
    }
    /**
     * @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);
    }
    /**
     * @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);
    }
    /**
     * @return A `propagated_route_table` block as defined below.
     * 
     */
    public Optional propagatedRouteTable() {
        return Optional.ofNullable(this.propagatedRouteTable);
    }

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

    public static Builder builder(VpnGatewayConnectionRouting defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String associatedRouteTable;
        private @Nullable String inboundRouteMapId;
        private @Nullable String outboundRouteMapId;
        private @Nullable VpnGatewayConnectionRoutingPropagatedRouteTable propagatedRouteTable;
        public Builder() {}
        public Builder(VpnGatewayConnectionRouting defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.associatedRouteTable = defaults.associatedRouteTable;
    	      this.inboundRouteMapId = defaults.inboundRouteMapId;
    	      this.outboundRouteMapId = defaults.outboundRouteMapId;
    	      this.propagatedRouteTable = defaults.propagatedRouteTable;
        }

        @CustomType.Setter
        public Builder associatedRouteTable(String associatedRouteTable) {
            if (associatedRouteTable == null) {
              throw new MissingRequiredPropertyException("VpnGatewayConnectionRouting", "associatedRouteTable");
            }
            this.associatedRouteTable = associatedRouteTable;
            return this;
        }
        @CustomType.Setter
        public Builder inboundRouteMapId(@Nullable String inboundRouteMapId) {

            this.inboundRouteMapId = inboundRouteMapId;
            return this;
        }
        @CustomType.Setter
        public Builder outboundRouteMapId(@Nullable String outboundRouteMapId) {

            this.outboundRouteMapId = outboundRouteMapId;
            return this;
        }
        @CustomType.Setter
        public Builder propagatedRouteTable(@Nullable VpnGatewayConnectionRoutingPropagatedRouteTable propagatedRouteTable) {

            this.propagatedRouteTable = propagatedRouteTable;
            return this;
        }
        public VpnGatewayConnectionRouting build() {
            final var _resultValue = new VpnGatewayConnectionRouting();
            _resultValue.associatedRouteTable = associatedRouteTable;
            _resultValue.inboundRouteMapId = inboundRouteMapId;
            _resultValue.outboundRouteMapId = outboundRouteMapId;
            _resultValue.propagatedRouteTable = propagatedRouteTable;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy