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

com.pulumi.aws.ec2transitgateway.inputs.GetVpnAttachmentArgs 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.60.0-alpha.1731982519
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.inputs;

import com.pulumi.aws.ec2transitgateway.inputs.GetVpnAttachmentFilterArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetVpnAttachmentArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetVpnAttachmentArgs Empty = new GetVpnAttachmentArgs();

    /**
     * Configuration block(s) for filtering. Detailed below.
     * 
     */
    @Import(name="filters")
    private @Nullable Output> filters;

    /**
     * @return Configuration block(s) for filtering. Detailed below.
     * 
     */
    public Optional>> filters() {
        return Optional.ofNullable(this.filters);
    }

    /**
     * Map of tags, each pair of which must exactly match a pair on the desired Transit Gateway VPN Attachment.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Map of tags, each pair of which must exactly match a pair on the desired Transit Gateway VPN Attachment.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * Identifier of the EC2 Transit Gateway.
     * 
     */
    @Import(name="transitGatewayId")
    private @Nullable Output transitGatewayId;

    /**
     * @return Identifier of the EC2 Transit Gateway.
     * 
     */
    public Optional> transitGatewayId() {
        return Optional.ofNullable(this.transitGatewayId);
    }

    /**
     * Identifier of the EC2 VPN Connection.
     * 
     */
    @Import(name="vpnConnectionId")
    private @Nullable Output vpnConnectionId;

    /**
     * @return Identifier of the EC2 VPN Connection.
     * 
     */
    public Optional> vpnConnectionId() {
        return Optional.ofNullable(this.vpnConnectionId);
    }

    private GetVpnAttachmentArgs() {}

    private GetVpnAttachmentArgs(GetVpnAttachmentArgs $) {
        this.filters = $.filters;
        this.tags = $.tags;
        this.transitGatewayId = $.transitGatewayId;
        this.vpnConnectionId = $.vpnConnectionId;
    }

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

    public static final class Builder {
        private GetVpnAttachmentArgs $;

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

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

        /**
         * @param filters Configuration block(s) for filtering. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder filters(@Nullable Output> filters) {
            $.filters = filters;
            return this;
        }

        /**
         * @param filters Configuration block(s) for filtering. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder filters(List filters) {
            return filters(Output.of(filters));
        }

        /**
         * @param filters Configuration block(s) for filtering. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder filters(GetVpnAttachmentFilterArgs... filters) {
            return filters(List.of(filters));
        }

        /**
         * @param tags Map of tags, each pair of which must exactly match a pair on the desired Transit Gateway VPN Attachment.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Map of tags, each pair of which must exactly match a pair on the desired Transit Gateway VPN Attachment.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param transitGatewayId Identifier of the EC2 Transit Gateway.
         * 
         * @return builder
         * 
         */
        public Builder transitGatewayId(@Nullable Output transitGatewayId) {
            $.transitGatewayId = transitGatewayId;
            return this;
        }

        /**
         * @param transitGatewayId Identifier of the EC2 Transit Gateway.
         * 
         * @return builder
         * 
         */
        public Builder transitGatewayId(String transitGatewayId) {
            return transitGatewayId(Output.of(transitGatewayId));
        }

        /**
         * @param vpnConnectionId Identifier of the EC2 VPN Connection.
         * 
         * @return builder
         * 
         */
        public Builder vpnConnectionId(@Nullable Output vpnConnectionId) {
            $.vpnConnectionId = vpnConnectionId;
            return this;
        }

        /**
         * @param vpnConnectionId Identifier of the EC2 VPN Connection.
         * 
         * @return builder
         * 
         */
        public Builder vpnConnectionId(String vpnConnectionId) {
            return vpnConnectionId(Output.of(vpnConnectionId));
        }

        public GetVpnAttachmentArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy