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

com.pulumi.azurenative.network.inputs.GetRouteMapArgs 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.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class GetRouteMapArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetRouteMapArgs Empty = new GetRouteMapArgs();

    /**
     * The resource group name of the RouteMap's resource group.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The resource group name of the RouteMap's resource group.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The name of the RouteMap.
     * 
     */
    @Import(name="routeMapName", required=true)
    private Output routeMapName;

    /**
     * @return The name of the RouteMap.
     * 
     */
    public Output routeMapName() {
        return this.routeMapName;
    }

    /**
     * The name of the VirtualHub containing the RouteMap.
     * 
     */
    @Import(name="virtualHubName", required=true)
    private Output virtualHubName;

    /**
     * @return The name of the VirtualHub containing the RouteMap.
     * 
     */
    public Output virtualHubName() {
        return this.virtualHubName;
    }

    private GetRouteMapArgs() {}

    private GetRouteMapArgs(GetRouteMapArgs $) {
        this.resourceGroupName = $.resourceGroupName;
        this.routeMapName = $.routeMapName;
        this.virtualHubName = $.virtualHubName;
    }

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

    public static final class Builder {
        private GetRouteMapArgs $;

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

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

        /**
         * @param resourceGroupName The resource group name of the RouteMap's resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The resource group name of the RouteMap's resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param routeMapName The name of the RouteMap.
         * 
         * @return builder
         * 
         */
        public Builder routeMapName(Output routeMapName) {
            $.routeMapName = routeMapName;
            return this;
        }

        /**
         * @param routeMapName The name of the RouteMap.
         * 
         * @return builder
         * 
         */
        public Builder routeMapName(String routeMapName) {
            return routeMapName(Output.of(routeMapName));
        }

        /**
         * @param virtualHubName The name of the VirtualHub containing the RouteMap.
         * 
         * @return builder
         * 
         */
        public Builder virtualHubName(Output virtualHubName) {
            $.virtualHubName = virtualHubName;
            return this;
        }

        /**
         * @param virtualHubName The name of the VirtualHub containing the RouteMap.
         * 
         * @return builder
         * 
         */
        public Builder virtualHubName(String virtualHubName) {
            return virtualHubName(Output.of(virtualHubName));
        }

        public GetRouteMapArgs build() {
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetRouteMapArgs", "resourceGroupName");
            }
            if ($.routeMapName == null) {
                throw new MissingRequiredPropertyException("GetRouteMapArgs", "routeMapName");
            }
            if ($.virtualHubName == null) {
                throw new MissingRequiredPropertyException("GetRouteMapArgs", "virtualHubName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy