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

com.pulumi.aws.ec2transitgateway.inputs.PeeringAttachmentOptionsArgs Maven / Gradle / Ivy

Go to download

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

The 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.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final PeeringAttachmentOptionsArgs Empty = new PeeringAttachmentOptionsArgs();

    /**
     * Indicates whether dynamic routing is enabled or disabled.. Supports `enable` and `disable`.
     * 
     */
    @Import(name="dynamicRouting")
    private @Nullable Output dynamicRouting;

    /**
     * @return Indicates whether dynamic routing is enabled or disabled.. Supports `enable` and `disable`.
     * 
     */
    public Optional> dynamicRouting() {
        return Optional.ofNullable(this.dynamicRouting);
    }

    private PeeringAttachmentOptionsArgs() {}

    private PeeringAttachmentOptionsArgs(PeeringAttachmentOptionsArgs $) {
        this.dynamicRouting = $.dynamicRouting;
    }

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

    public static final class Builder {
        private PeeringAttachmentOptionsArgs $;

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

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

        /**
         * @param dynamicRouting Indicates whether dynamic routing is enabled or disabled.. Supports `enable` and `disable`.
         * 
         * @return builder
         * 
         */
        public Builder dynamicRouting(@Nullable Output dynamicRouting) {
            $.dynamicRouting = dynamicRouting;
            return this;
        }

        /**
         * @param dynamicRouting Indicates whether dynamic routing is enabled or disabled.. Supports `enable` and `disable`.
         * 
         * @return builder
         * 
         */
        public Builder dynamicRouting(String dynamicRouting) {
            return dynamicRouting(Output.of(dynamicRouting));
        }

        public PeeringAttachmentOptionsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy