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

com.pulumi.aws.ec2.inputs.GetVpcEndpointPlainArgs Maven / Gradle / Ivy

// *** 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.inputs;

import com.pulumi.aws.ec2.inputs.GetVpcEndpointFilter;
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 GetVpcEndpointPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetVpcEndpointPlainArgs Empty = new GetVpcEndpointPlainArgs();

    /**
     * Custom filter block as described below.
     * 
     */
    @Import(name="filters")
    private @Nullable List filters;

    /**
     * @return Custom filter block as described below.
     * 
     */
    public Optional> filters() {
        return Optional.ofNullable(this.filters);
    }

    /**
     * ID of the specific VPC Endpoint to retrieve.
     * 
     */
    @Import(name="id")
    private @Nullable String id;

    /**
     * @return ID of the specific VPC Endpoint to retrieve.
     * 
     */
    public Optional id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * Service name of the specific VPC Endpoint to retrieve. For AWS services the service name is usually in the form `com.amazonaws.<region>.<service>` (the SageMaker Notebook service is an exception to this rule, the service name is in the form `aws.sagemaker.<region>.notebook`).
     * 
     */
    @Import(name="serviceName")
    private @Nullable String serviceName;

    /**
     * @return Service name of the specific VPC Endpoint to retrieve. For AWS services the service name is usually in the form `com.amazonaws.<region>.<service>` (the SageMaker Notebook service is an exception to this rule, the service name is in the form `aws.sagemaker.<region>.notebook`).
     * 
     */
    public Optional serviceName() {
        return Optional.ofNullable(this.serviceName);
    }

    /**
     * State of the specific VPC Endpoint to retrieve.
     * 
     */
    @Import(name="state")
    private @Nullable String state;

    /**
     * @return State of the specific VPC Endpoint to retrieve.
     * 
     */
    public Optional state() {
        return Optional.ofNullable(this.state);
    }

    /**
     * Map of tags, each pair of which must exactly match
     * a pair on the specific VPC Endpoint to retrieve.
     * 
     */
    @Import(name="tags")
    private @Nullable Map tags;

    /**
     * @return Map of tags, each pair of which must exactly match
     * a pair on the specific VPC Endpoint to retrieve.
     * 
     */
    public Optional> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * ID of the VPC in which the specific VPC Endpoint is used.
     * 
     * More complex filters can be expressed using one or more `filter` sub-blocks,
     * which take the following arguments:
     * 
     */
    @Import(name="vpcId")
    private @Nullable String vpcId;

    /**
     * @return ID of the VPC in which the specific VPC Endpoint is used.
     * 
     * More complex filters can be expressed using one or more `filter` sub-blocks,
     * which take the following arguments:
     * 
     */
    public Optional vpcId() {
        return Optional.ofNullable(this.vpcId);
    }

    private GetVpcEndpointPlainArgs() {}

    private GetVpcEndpointPlainArgs(GetVpcEndpointPlainArgs $) {
        this.filters = $.filters;
        this.id = $.id;
        this.serviceName = $.serviceName;
        this.state = $.state;
        this.tags = $.tags;
        this.vpcId = $.vpcId;
    }

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

    public static final class Builder {
        private GetVpcEndpointPlainArgs $;

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

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

        /**
         * @param filters Custom filter block as described below.
         * 
         * @return builder
         * 
         */
        public Builder filters(@Nullable List filters) {
            $.filters = filters;
            return this;
        }

        /**
         * @param filters Custom filter block as described below.
         * 
         * @return builder
         * 
         */
        public Builder filters(GetVpcEndpointFilter... filters) {
            return filters(List.of(filters));
        }

        /**
         * @param id ID of the specific VPC Endpoint to retrieve.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable String id) {
            $.id = id;
            return this;
        }

        /**
         * @param serviceName Service name of the specific VPC Endpoint to retrieve. For AWS services the service name is usually in the form `com.amazonaws.<region>.<service>` (the SageMaker Notebook service is an exception to this rule, the service name is in the form `aws.sagemaker.<region>.notebook`).
         * 
         * @return builder
         * 
         */
        public Builder serviceName(@Nullable String serviceName) {
            $.serviceName = serviceName;
            return this;
        }

        /**
         * @param state State of the specific VPC Endpoint to retrieve.
         * 
         * @return builder
         * 
         */
        public Builder state(@Nullable String state) {
            $.state = state;
            return this;
        }

        /**
         * @param tags Map of tags, each pair of which must exactly match
         * a pair on the specific VPC Endpoint to retrieve.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Map tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param vpcId ID of the VPC in which the specific VPC Endpoint is used.
         * 
         * More complex filters can be expressed using one or more `filter` sub-blocks,
         * which take the following arguments:
         * 
         * @return builder
         * 
         */
        public Builder vpcId(@Nullable String vpcId) {
            $.vpcId = vpcId;
            return this;
        }

        public GetVpcEndpointPlainArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy