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

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


/**
 * The list of RouteTables to advertise the routes to.
 * 
 */
public final class PropagatedRouteTableArgs extends com.pulumi.resources.ResourceArgs {

    public static final PropagatedRouteTableArgs Empty = new PropagatedRouteTableArgs();

    /**
     * The list of resource ids of all the RouteTables.
     * 
     */
    @Import(name="ids")
    private @Nullable Output> ids;

    /**
     * @return The list of resource ids of all the RouteTables.
     * 
     */
    public Optional>> ids() {
        return Optional.ofNullable(this.ids);
    }

    /**
     * The list of labels.
     * 
     */
    @Import(name="labels")
    private @Nullable Output> labels;

    /**
     * @return The list of labels.
     * 
     */
    public Optional>> labels() {
        return Optional.ofNullable(this.labels);
    }

    private PropagatedRouteTableArgs() {}

    private PropagatedRouteTableArgs(PropagatedRouteTableArgs $) {
        this.ids = $.ids;
        this.labels = $.labels;
    }

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

    public static final class Builder {
        private PropagatedRouteTableArgs $;

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

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

        /**
         * @param ids The list of resource ids of all the RouteTables.
         * 
         * @return builder
         * 
         */
        public Builder ids(@Nullable Output> ids) {
            $.ids = ids;
            return this;
        }

        /**
         * @param ids The list of resource ids of all the RouteTables.
         * 
         * @return builder
         * 
         */
        public Builder ids(List ids) {
            return ids(Output.of(ids));
        }

        /**
         * @param ids The list of resource ids of all the RouteTables.
         * 
         * @return builder
         * 
         */
        public Builder ids(SubResourceArgs... ids) {
            return ids(List.of(ids));
        }

        /**
         * @param labels The list of labels.
         * 
         * @return builder
         * 
         */
        public Builder labels(@Nullable Output> labels) {
            $.labels = labels;
            return this;
        }

        /**
         * @param labels The list of labels.
         * 
         * @return builder
         * 
         */
        public Builder labels(List labels) {
            return labels(Output.of(labels));
        }

        /**
         * @param labels The list of labels.
         * 
         * @return builder
         * 
         */
        public Builder labels(String... labels) {
            return labels(List.of(labels));
        }

        public PropagatedRouteTableArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy