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

com.pulumi.aws.ec2transitgateway.inputs.GetPeeringAttachmentsArgs 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.GetPeeringAttachmentsFilterArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetPeeringAttachmentsArgs Empty = new GetPeeringAttachmentsArgs();

    /**
     * One or more configuration blocks containing name-values filters. Detailed below.
     * 
     */
    @Import(name="filters")
    private @Nullable Output> filters;

    /**
     * @return One or more configuration blocks containing name-values filters. Detailed below.
     * 
     */
    public Optional>> filters() {
        return Optional.ofNullable(this.filters);
    }

    private GetPeeringAttachmentsArgs() {}

    private GetPeeringAttachmentsArgs(GetPeeringAttachmentsArgs $) {
        this.filters = $.filters;
    }

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

    public static final class Builder {
        private GetPeeringAttachmentsArgs $;

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

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

        /**
         * @param filters One or more configuration blocks containing name-values filters. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder filters(@Nullable Output> filters) {
            $.filters = filters;
            return this;
        }

        /**
         * @param filters One or more configuration blocks containing name-values filters. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder filters(List filters) {
            return filters(Output.of(filters));
        }

        /**
         * @param filters One or more configuration blocks containing name-values filters. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder filters(GetPeeringAttachmentsFilterArgs... filters) {
            return filters(List.of(filters));
        }

        public GetPeeringAttachmentsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy