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

com.pulumi.aws.ec2.outputs.GetLocalGatewayVirtualInterfaceGroupsResult 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.ec2.outputs;

import com.pulumi.aws.ec2.outputs.GetLocalGatewayVirtualInterfaceGroupsFilter;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class GetLocalGatewayVirtualInterfaceGroupsResult {
    private @Nullable List filters;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return Set of EC2 Local Gateway Virtual Interface Group identifiers.
     * 
     */
    private List ids;
    /**
     * @return Set of EC2 Local Gateway Virtual Interface identifiers.
     * 
     */
    private List localGatewayVirtualInterfaceIds;
    private @Nullable Map tags;

    private GetLocalGatewayVirtualInterfaceGroupsResult() {}
    public List filters() {
        return this.filters == null ? List.of() : this.filters;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Set of EC2 Local Gateway Virtual Interface Group identifiers.
     * 
     */
    public List ids() {
        return this.ids;
    }
    /**
     * @return Set of EC2 Local Gateway Virtual Interface identifiers.
     * 
     */
    public List localGatewayVirtualInterfaceIds() {
        return this.localGatewayVirtualInterfaceIds;
    }
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }

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

    public static Builder builder(GetLocalGatewayVirtualInterfaceGroupsResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List filters;
        private String id;
        private List ids;
        private List localGatewayVirtualInterfaceIds;
        private @Nullable Map tags;
        public Builder() {}
        public Builder(GetLocalGatewayVirtualInterfaceGroupsResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.filters = defaults.filters;
    	      this.id = defaults.id;
    	      this.ids = defaults.ids;
    	      this.localGatewayVirtualInterfaceIds = defaults.localGatewayVirtualInterfaceIds;
    	      this.tags = defaults.tags;
        }

        @CustomType.Setter
        public Builder filters(@Nullable List filters) {

            this.filters = filters;
            return this;
        }
        public Builder filters(GetLocalGatewayVirtualInterfaceGroupsFilter... filters) {
            return filters(List.of(filters));
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetLocalGatewayVirtualInterfaceGroupsResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder ids(List ids) {
            if (ids == null) {
              throw new MissingRequiredPropertyException("GetLocalGatewayVirtualInterfaceGroupsResult", "ids");
            }
            this.ids = ids;
            return this;
        }
        public Builder ids(String... ids) {
            return ids(List.of(ids));
        }
        @CustomType.Setter
        public Builder localGatewayVirtualInterfaceIds(List localGatewayVirtualInterfaceIds) {
            if (localGatewayVirtualInterfaceIds == null) {
              throw new MissingRequiredPropertyException("GetLocalGatewayVirtualInterfaceGroupsResult", "localGatewayVirtualInterfaceIds");
            }
            this.localGatewayVirtualInterfaceIds = localGatewayVirtualInterfaceIds;
            return this;
        }
        public Builder localGatewayVirtualInterfaceIds(String... localGatewayVirtualInterfaceIds) {
            return localGatewayVirtualInterfaceIds(List.of(localGatewayVirtualInterfaceIds));
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        public GetLocalGatewayVirtualInterfaceGroupsResult build() {
            final var _resultValue = new GetLocalGatewayVirtualInterfaceGroupsResult();
            _resultValue.filters = filters;
            _resultValue.id = id;
            _resultValue.ids = ids;
            _resultValue.localGatewayVirtualInterfaceIds = localGatewayVirtualInterfaceIds;
            _resultValue.tags = tags;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy