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

com.pulumi.azurenative.network.outputs.RoutingConfigurationResponse Maven / Gradle / Ivy

// *** 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.azurenative.network.outputs;

import com.pulumi.azurenative.network.outputs.PropagatedRouteTableResponse;
import com.pulumi.azurenative.network.outputs.SubResourceResponse;
import com.pulumi.azurenative.network.outputs.VnetRouteResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class RoutingConfigurationResponse {
    /**
     * @return The resource id RouteTable associated with this RoutingConfiguration.
     * 
     */
    private @Nullable SubResourceResponse associatedRouteTable;
    /**
     * @return The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
     * 
     */
    private @Nullable SubResourceResponse inboundRouteMap;
    /**
     * @return The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
     * 
     */
    private @Nullable SubResourceResponse outboundRouteMap;
    /**
     * @return The list of RouteTables to advertise the routes to.
     * 
     */
    private @Nullable PropagatedRouteTableResponse propagatedRouteTables;
    /**
     * @return List of routes that control routing from VirtualHub into a virtual network connection.
     * 
     */
    private @Nullable VnetRouteResponse vnetRoutes;

    private RoutingConfigurationResponse() {}
    /**
     * @return The resource id RouteTable associated with this RoutingConfiguration.
     * 
     */
    public Optional associatedRouteTable() {
        return Optional.ofNullable(this.associatedRouteTable);
    }
    /**
     * @return The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
     * 
     */
    public Optional inboundRouteMap() {
        return Optional.ofNullable(this.inboundRouteMap);
    }
    /**
     * @return The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
     * 
     */
    public Optional outboundRouteMap() {
        return Optional.ofNullable(this.outboundRouteMap);
    }
    /**
     * @return The list of RouteTables to advertise the routes to.
     * 
     */
    public Optional propagatedRouteTables() {
        return Optional.ofNullable(this.propagatedRouteTables);
    }
    /**
     * @return List of routes that control routing from VirtualHub into a virtual network connection.
     * 
     */
    public Optional vnetRoutes() {
        return Optional.ofNullable(this.vnetRoutes);
    }

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

    public static Builder builder(RoutingConfigurationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable SubResourceResponse associatedRouteTable;
        private @Nullable SubResourceResponse inboundRouteMap;
        private @Nullable SubResourceResponse outboundRouteMap;
        private @Nullable PropagatedRouteTableResponse propagatedRouteTables;
        private @Nullable VnetRouteResponse vnetRoutes;
        public Builder() {}
        public Builder(RoutingConfigurationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.associatedRouteTable = defaults.associatedRouteTable;
    	      this.inboundRouteMap = defaults.inboundRouteMap;
    	      this.outboundRouteMap = defaults.outboundRouteMap;
    	      this.propagatedRouteTables = defaults.propagatedRouteTables;
    	      this.vnetRoutes = defaults.vnetRoutes;
        }

        @CustomType.Setter
        public Builder associatedRouteTable(@Nullable SubResourceResponse associatedRouteTable) {

            this.associatedRouteTable = associatedRouteTable;
            return this;
        }
        @CustomType.Setter
        public Builder inboundRouteMap(@Nullable SubResourceResponse inboundRouteMap) {

            this.inboundRouteMap = inboundRouteMap;
            return this;
        }
        @CustomType.Setter
        public Builder outboundRouteMap(@Nullable SubResourceResponse outboundRouteMap) {

            this.outboundRouteMap = outboundRouteMap;
            return this;
        }
        @CustomType.Setter
        public Builder propagatedRouteTables(@Nullable PropagatedRouteTableResponse propagatedRouteTables) {

            this.propagatedRouteTables = propagatedRouteTables;
            return this;
        }
        @CustomType.Setter
        public Builder vnetRoutes(@Nullable VnetRouteResponse vnetRoutes) {

            this.vnetRoutes = vnetRoutes;
            return this;
        }
        public RoutingConfigurationResponse build() {
            final var _resultValue = new RoutingConfigurationResponse();
            _resultValue.associatedRouteTable = associatedRouteTable;
            _resultValue.inboundRouteMap = inboundRouteMap;
            _resultValue.outboundRouteMap = outboundRouteMap;
            _resultValue.propagatedRouteTables = propagatedRouteTables;
            _resultValue.vnetRoutes = vnetRoutes;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy