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

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


/**
 * Route table resource.
 * 
 */
public final class RouteTableArgs extends com.pulumi.resources.ResourceArgs {

    public static final RouteTableArgs Empty = new RouteTableArgs();

    /**
     * Whether to disable the routes learned by BGP on that route table. True means disable.
     * 
     */
    @Import(name="disableBgpRoutePropagation")
    private @Nullable Output disableBgpRoutePropagation;

    /**
     * @return Whether to disable the routes learned by BGP on that route table. True means disable.
     * 
     */
    public Optional> disableBgpRoutePropagation() {
        return Optional.ofNullable(this.disableBgpRoutePropagation);
    }

    /**
     * Gets a unique read-only string that changes whenever the resource is updated.
     * 
     */
    @Import(name="etag")
    private @Nullable Output etag;

    /**
     * @return Gets a unique read-only string that changes whenever the resource is updated.
     * 
     */
    public Optional> etag() {
        return Optional.ofNullable(this.etag);
    }

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

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

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

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

    /**
     * The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
     * 
     */
    @Import(name="provisioningState")
    private @Nullable Output provisioningState;

    /**
     * @return The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
     * 
     */
    public Optional> provisioningState() {
        return Optional.ofNullable(this.provisioningState);
    }

    /**
     * Collection of routes contained within a route table.
     * 
     */
    @Import(name="routes")
    private @Nullable Output> routes;

    /**
     * @return Collection of routes contained within a route table.
     * 
     */
    public Optional>> routes() {
        return Optional.ofNullable(this.routes);
    }

    /**
     * Resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

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

    private RouteTableArgs() {}

    private RouteTableArgs(RouteTableArgs $) {
        this.disableBgpRoutePropagation = $.disableBgpRoutePropagation;
        this.etag = $.etag;
        this.id = $.id;
        this.location = $.location;
        this.provisioningState = $.provisioningState;
        this.routes = $.routes;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private RouteTableArgs $;

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

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

        /**
         * @param disableBgpRoutePropagation Whether to disable the routes learned by BGP on that route table. True means disable.
         * 
         * @return builder
         * 
         */
        public Builder disableBgpRoutePropagation(@Nullable Output disableBgpRoutePropagation) {
            $.disableBgpRoutePropagation = disableBgpRoutePropagation;
            return this;
        }

        /**
         * @param disableBgpRoutePropagation Whether to disable the routes learned by BGP on that route table. True means disable.
         * 
         * @return builder
         * 
         */
        public Builder disableBgpRoutePropagation(Boolean disableBgpRoutePropagation) {
            return disableBgpRoutePropagation(Output.of(disableBgpRoutePropagation));
        }

        /**
         * @param etag Gets a unique read-only string that changes whenever the resource is updated.
         * 
         * @return builder
         * 
         */
        public Builder etag(@Nullable Output etag) {
            $.etag = etag;
            return this;
        }

        /**
         * @param etag Gets a unique read-only string that changes whenever the resource is updated.
         * 
         * @return builder
         * 
         */
        public Builder etag(String etag) {
            return etag(Output.of(etag));
        }

        /**
         * @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 location Resource location.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

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

        /**
         * @param provisioningState The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
         * 
         * @return builder
         * 
         */
        public Builder provisioningState(@Nullable Output provisioningState) {
            $.provisioningState = provisioningState;
            return this;
        }

        /**
         * @param provisioningState The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
         * 
         * @return builder
         * 
         */
        public Builder provisioningState(String provisioningState) {
            return provisioningState(Output.of(provisioningState));
        }

        /**
         * @param routes Collection of routes contained within a route table.
         * 
         * @return builder
         * 
         */
        public Builder routes(@Nullable Output> routes) {
            $.routes = routes;
            return this;
        }

        /**
         * @param routes Collection of routes contained within a route table.
         * 
         * @return builder
         * 
         */
        public Builder routes(List routes) {
            return routes(Output.of(routes));
        }

        /**
         * @param routes Collection of routes contained within a route table.
         * 
         * @return builder
         * 
         */
        public Builder routes(RouteArgs... routes) {
            return routes(List.of(routes));
        }

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

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public RouteTableArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy