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

com.pulumi.aws.networkmanager.inputs.ConnectAttachmentOptionsArgs 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.networkmanager.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 ConnectAttachmentOptionsArgs extends com.pulumi.resources.ResourceArgs {

    public static final ConnectAttachmentOptionsArgs Empty = new ConnectAttachmentOptionsArgs();

    /**
     * The protocol used for the attachment connection. Possible values are `GRE` and `NO_ENCAP`.
     * 
     */
    @Import(name="protocol")
    private @Nullable Output protocol;

    /**
     * @return The protocol used for the attachment connection. Possible values are `GRE` and `NO_ENCAP`.
     * 
     */
    public Optional> protocol() {
        return Optional.ofNullable(this.protocol);
    }

    private ConnectAttachmentOptionsArgs() {}

    private ConnectAttachmentOptionsArgs(ConnectAttachmentOptionsArgs $) {
        this.protocol = $.protocol;
    }

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

    public static final class Builder {
        private ConnectAttachmentOptionsArgs $;

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

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

        /**
         * @param protocol The protocol used for the attachment connection. Possible values are `GRE` and `NO_ENCAP`.
         * 
         * @return builder
         * 
         */
        public Builder protocol(@Nullable Output protocol) {
            $.protocol = protocol;
            return this;
        }

        /**
         * @param protocol The protocol used for the attachment connection. Possible values are `GRE` and `NO_ENCAP`.
         * 
         * @return builder
         * 
         */
        public Builder protocol(String protocol) {
            return protocol(Output.of(protocol));
        }

        public ConnectAttachmentOptionsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy