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

com.pulumi.aws.ec2transitgateway.inputs.GetDirectConnectGatewayAttachmentPlainArgs 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.inputs;

import com.pulumi.aws.ec2transitgateway.inputs.GetDirectConnectGatewayAttachmentFilter;
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 GetDirectConnectGatewayAttachmentPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetDirectConnectGatewayAttachmentPlainArgs Empty = new GetDirectConnectGatewayAttachmentPlainArgs();

    /**
     * Identifier of the Direct Connect Gateway.
     * 
     */
    @Import(name="dxGatewayId")
    private @Nullable String dxGatewayId;

    /**
     * @return Identifier of the Direct Connect Gateway.
     * 
     */
    public Optional dxGatewayId() {
        return Optional.ofNullable(this.dxGatewayId);
    }

    /**
     * Configuration block(s) for filtering. Detailed below.
     * 
     */
    @Import(name="filters")
    private @Nullable List 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 Direct Connect Gateway Attachment.
     * 
     */
    @Import(name="tags")
    private @Nullable Map tags;

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

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

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

    private GetDirectConnectGatewayAttachmentPlainArgs() {}

    private GetDirectConnectGatewayAttachmentPlainArgs(GetDirectConnectGatewayAttachmentPlainArgs $) {
        this.dxGatewayId = $.dxGatewayId;
        this.filters = $.filters;
        this.tags = $.tags;
        this.transitGatewayId = $.transitGatewayId;
    }

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

    public static final class Builder {
        private GetDirectConnectGatewayAttachmentPlainArgs $;

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

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

        /**
         * @param dxGatewayId Identifier of the Direct Connect Gateway.
         * 
         * @return builder
         * 
         */
        public Builder dxGatewayId(@Nullable String dxGatewayId) {
            $.dxGatewayId = dxGatewayId;
            return this;
        }

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

        /**
         * @param filters Configuration block(s) for filtering. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder filters(GetDirectConnectGatewayAttachmentFilter... 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 Direct Connect Gateway Attachment.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Map tags) {
            $.tags = tags;
            return this;
        }

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

        public GetDirectConnectGatewayAttachmentPlainArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy