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

com.pulumi.azurenative.network.inputs.GetHubRouteTableArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.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 GetHubRouteTableArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetHubRouteTableArgs Empty = new GetHubRouteTableArgs();

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

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

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

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

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

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

    private GetHubRouteTableArgs() {}

    private GetHubRouteTableArgs(GetHubRouteTableArgs $) {
        this.resourceGroupName = $.resourceGroupName;
        this.routeTableName = $.routeTableName;
        this.virtualHubName = $.virtualHubName;
    }

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

    public static final class Builder {
        private GetHubRouteTableArgs $;

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

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

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

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

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

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

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy