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

com.pulumi.azurenative.network.inputs.VirtualHubRouteTableV2Args 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.azurenative.network.inputs.VirtualHubRouteV2Args;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * VirtualHubRouteTableV2 Resource.
 * 
 */
public final class VirtualHubRouteTableV2Args extends com.pulumi.resources.ResourceArgs {

    public static final VirtualHubRouteTableV2Args Empty = new VirtualHubRouteTableV2Args();

    /**
     * List of all connections attached to this route table v2.
     * 
     */
    @Import(name="attachedConnections")
    private @Nullable Output> attachedConnections;

    /**
     * @return List of all connections attached to this route table v2.
     * 
     */
    public Optional>> attachedConnections() {
        return Optional.ofNullable(this.attachedConnections);
    }

    /**
     * Resource ID.
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return Resource ID.
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * The name of the resource that is unique within a resource group. This name can be used to access the resource.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the resource that is unique within a resource group. This name can be used to access the resource.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * List of all routes.
     * 
     */
    @Import(name="routes")
    private @Nullable Output> routes;

    /**
     * @return List of all routes.
     * 
     */
    public Optional>> routes() {
        return Optional.ofNullable(this.routes);
    }

    private VirtualHubRouteTableV2Args() {}

    private VirtualHubRouteTableV2Args(VirtualHubRouteTableV2Args $) {
        this.attachedConnections = $.attachedConnections;
        this.id = $.id;
        this.name = $.name;
        this.routes = $.routes;
    }

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

    public static final class Builder {
        private VirtualHubRouteTableV2Args $;

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

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

        /**
         * @param attachedConnections List of all connections attached to this route table v2.
         * 
         * @return builder
         * 
         */
        public Builder attachedConnections(@Nullable Output> attachedConnections) {
            $.attachedConnections = attachedConnections;
            return this;
        }

        /**
         * @param attachedConnections List of all connections attached to this route table v2.
         * 
         * @return builder
         * 
         */
        public Builder attachedConnections(List attachedConnections) {
            return attachedConnections(Output.of(attachedConnections));
        }

        /**
         * @param attachedConnections List of all connections attached to this route table v2.
         * 
         * @return builder
         * 
         */
        public Builder attachedConnections(String... attachedConnections) {
            return attachedConnections(List.of(attachedConnections));
        }

        /**
         * @param id Resource ID.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id Resource ID.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param name The name of the resource that is unique within a resource group. This name can be used to access the resource.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the resource that is unique within a resource group. This name can be used to access the resource.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param routes List of all routes.
         * 
         * @return builder
         * 
         */
        public Builder routes(@Nullable Output> routes) {
            $.routes = routes;
            return this;
        }

        /**
         * @param routes List of all routes.
         * 
         * @return builder
         * 
         */
        public Builder routes(List routes) {
            return routes(Output.of(routes));
        }

        /**
         * @param routes List of all routes.
         * 
         * @return builder
         * 
         */
        public Builder routes(VirtualHubRouteV2Args... routes) {
            return routes(List.of(routes));
        }

        public VirtualHubRouteTableV2Args build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy