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

com.pulumi.aws.ec2transitgateway.DefaultRouteTablePropagationArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.66.3
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.aws.ec2transitgateway;

import com.pulumi.aws.ec2transitgateway.inputs.DefaultRouteTablePropagationTimeoutsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class DefaultRouteTablePropagationArgs extends com.pulumi.resources.ResourceArgs {

    public static final DefaultRouteTablePropagationArgs Empty = new DefaultRouteTablePropagationArgs();

    @Import(name="timeouts")
    private @Nullable Output timeouts;

    public Optional> timeouts() {
        return Optional.ofNullable(this.timeouts);
    }

    /**
     * ID of the Transit Gateway to change the default association route table on.
     * 
     */
    @Import(name="transitGatewayId", required=true)
    private Output transitGatewayId;

    /**
     * @return ID of the Transit Gateway to change the default association route table on.
     * 
     */
    public Output transitGatewayId() {
        return this.transitGatewayId;
    }

    /**
     * ID of the Transit Gateway Route Table to be made the default association route table.
     * 
     */
    @Import(name="transitGatewayRouteTableId", required=true)
    private Output transitGatewayRouteTableId;

    /**
     * @return ID of the Transit Gateway Route Table to be made the default association route table.
     * 
     */
    public Output transitGatewayRouteTableId() {
        return this.transitGatewayRouteTableId;
    }

    private DefaultRouteTablePropagationArgs() {}

    private DefaultRouteTablePropagationArgs(DefaultRouteTablePropagationArgs $) {
        this.timeouts = $.timeouts;
        this.transitGatewayId = $.transitGatewayId;
        this.transitGatewayRouteTableId = $.transitGatewayRouteTableId;
    }

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

    public static final class Builder {
        private DefaultRouteTablePropagationArgs $;

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

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

        public Builder timeouts(@Nullable Output timeouts) {
            $.timeouts = timeouts;
            return this;
        }

        public Builder timeouts(DefaultRouteTablePropagationTimeoutsArgs timeouts) {
            return timeouts(Output.of(timeouts));
        }

        /**
         * @param transitGatewayId ID of the Transit Gateway to change the default association route table on.
         * 
         * @return builder
         * 
         */
        public Builder transitGatewayId(Output transitGatewayId) {
            $.transitGatewayId = transitGatewayId;
            return this;
        }

        /**
         * @param transitGatewayId ID of the Transit Gateway to change the default association route table on.
         * 
         * @return builder
         * 
         */
        public Builder transitGatewayId(String transitGatewayId) {
            return transitGatewayId(Output.of(transitGatewayId));
        }

        /**
         * @param transitGatewayRouteTableId ID of the Transit Gateway Route Table to be made the default association route table.
         * 
         * @return builder
         * 
         */
        public Builder transitGatewayRouteTableId(Output transitGatewayRouteTableId) {
            $.transitGatewayRouteTableId = transitGatewayRouteTableId;
            return this;
        }

        /**
         * @param transitGatewayRouteTableId ID of the Transit Gateway Route Table to be made the default association route table.
         * 
         * @return builder
         * 
         */
        public Builder transitGatewayRouteTableId(String transitGatewayRouteTableId) {
            return transitGatewayRouteTableId(Output.of(transitGatewayRouteTableId));
        }

        public DefaultRouteTablePropagationArgs build() {
            if ($.transitGatewayId == null) {
                throw new MissingRequiredPropertyException("DefaultRouteTablePropagationArgs", "transitGatewayId");
            }
            if ($.transitGatewayRouteTableId == null) {
                throw new MissingRequiredPropertyException("DefaultRouteTablePropagationArgs", "transitGatewayRouteTableId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy