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

com.pulumi.aws.ec2.inputs.GetVpcEndpointServiceArgs 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.GetVpcEndpointServiceFilterArgs;
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 GetVpcEndpointServiceArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetVpcEndpointServiceArgs Empty = new GetVpcEndpointServiceArgs();

    /**
     * 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);
    }

    /**
     * Common name of an AWS service (e.g., `s3`).
     * 
     */
    @Import(name="service")
    private @Nullable Output service;

    /**
     * @return Common name of an AWS service (e.g., `s3`).
     * 
     */
    public Optional> service() {
        return Optional.ofNullable(this.service);
    }

    /**
     * Service name that is specified when creating a VPC endpoint. 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 Output serviceName;

    /**
     * @return Service name that is specified when creating a VPC endpoint. 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);
    }

    /**
     * Service type, `Gateway` or `Interface`.
     * 
     */
    @Import(name="serviceType")
    private @Nullable Output serviceType;

    /**
     * @return Service type, `Gateway` or `Interface`.
     * 
     */
    public Optional> serviceType() {
        return Optional.ofNullable(this.serviceType);
    }

    /**
     * Map of tags, each pair of which must exactly match a pair on the desired VPC Endpoint Service.
     * 
     * > **NOTE:** Specifying `service` will not work for non-AWS services or AWS services that don't follow the standard `service_name` pattern of `com.amazonaws.<region>.<service>`.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Map of tags, each pair of which must exactly match a pair on the desired VPC Endpoint Service.
     * 
     * > **NOTE:** Specifying `service` will not work for non-AWS services or AWS services that don't follow the standard `service_name` pattern of `com.amazonaws.<region>.<service>`.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GetVpcEndpointServiceArgs() {}

    private GetVpcEndpointServiceArgs(GetVpcEndpointServiceArgs $) {
        this.filters = $.filters;
        this.service = $.service;
        this.serviceName = $.serviceName;
        this.serviceType = $.serviceType;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetVpcEndpointServiceArgs $;

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

        public Builder(GetVpcEndpointServiceArgs defaults) {
            $ = new GetVpcEndpointServiceArgs(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(GetVpcEndpointServiceFilterArgs... filters) {
            return filters(List.of(filters));
        }

        /**
         * @param service Common name of an AWS service (e.g., `s3`).
         * 
         * @return builder
         * 
         */
        public Builder service(@Nullable Output service) {
            $.service = service;
            return this;
        }

        /**
         * @param service Common name of an AWS service (e.g., `s3`).
         * 
         * @return builder
         * 
         */
        public Builder service(String service) {
            return service(Output.of(service));
        }

        /**
         * @param serviceName Service name that is specified when creating a VPC endpoint. 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 Output serviceName) {
            $.serviceName = serviceName;
            return this;
        }

        /**
         * @param serviceName Service name that is specified when creating a VPC endpoint. 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(String serviceName) {
            return serviceName(Output.of(serviceName));
        }

        /**
         * @param serviceType Service type, `Gateway` or `Interface`.
         * 
         * @return builder
         * 
         */
        public Builder serviceType(@Nullable Output serviceType) {
            $.serviceType = serviceType;
            return this;
        }

        /**
         * @param serviceType Service type, `Gateway` or `Interface`.
         * 
         * @return builder
         * 
         */
        public Builder serviceType(String serviceType) {
            return serviceType(Output.of(serviceType));
        }

        /**
         * @param tags Map of tags, each pair of which must exactly match a pair on the desired VPC Endpoint Service.
         * 
         * > **NOTE:** Specifying `service` will not work for non-AWS services or AWS services that don't follow the standard `service_name` pattern of `com.amazonaws.<region>.<service>`.
         * 
         * @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 VPC Endpoint Service.
         * 
         * > **NOTE:** Specifying `service` will not work for non-AWS services or AWS services that don't follow the standard `service_name` pattern of `com.amazonaws.<region>.<service>`.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public GetVpcEndpointServiceArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy