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

com.pulumi.mongodbatlas.inputs.GetPrivatelinkEndpointServiceServerlessArgs 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.mongodbatlas.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final GetPrivatelinkEndpointServiceServerlessArgs Empty = new GetPrivatelinkEndpointServiceServerlessArgs();

    /**
     * Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the [AWS PrivateLink](https://aws.amazon.com/privatelink/) feature.
     * 
     */
    @Import(name="endpointId", required=true)
    private Output endpointId;

    /**
     * @return Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the [AWS PrivateLink](https://aws.amazon.com/privatelink/) feature.
     * 
     */
    public Output endpointId() {
        return this.endpointId;
    }

    /**
     * Human-readable label that identifies the serverless instance
     * 
     */
    @Import(name="instanceName", required=true)
    private Output instanceName;

    /**
     * @return Human-readable label that identifies the serverless instance
     * 
     */
    public Output instanceName() {
        return this.instanceName;
    }

    /**
     * Unique 24-digit hexadecimal string that identifies the project.
     * 
     */
    @Import(name="projectId", required=true)
    private Output projectId;

    /**
     * @return Unique 24-digit hexadecimal string that identifies the project.
     * 
     */
    public Output projectId() {
        return this.projectId;
    }

    private GetPrivatelinkEndpointServiceServerlessArgs() {}

    private GetPrivatelinkEndpointServiceServerlessArgs(GetPrivatelinkEndpointServiceServerlessArgs $) {
        this.endpointId = $.endpointId;
        this.instanceName = $.instanceName;
        this.projectId = $.projectId;
    }

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

    public static final class Builder {
        private GetPrivatelinkEndpointServiceServerlessArgs $;

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

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

        /**
         * @param endpointId Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the [AWS PrivateLink](https://aws.amazon.com/privatelink/) feature.
         * 
         * @return builder
         * 
         */
        public Builder endpointId(Output endpointId) {
            $.endpointId = endpointId;
            return this;
        }

        /**
         * @param endpointId Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the [AWS PrivateLink](https://aws.amazon.com/privatelink/) feature.
         * 
         * @return builder
         * 
         */
        public Builder endpointId(String endpointId) {
            return endpointId(Output.of(endpointId));
        }

        /**
         * @param instanceName Human-readable label that identifies the serverless instance
         * 
         * @return builder
         * 
         */
        public Builder instanceName(Output instanceName) {
            $.instanceName = instanceName;
            return this;
        }

        /**
         * @param instanceName Human-readable label that identifies the serverless instance
         * 
         * @return builder
         * 
         */
        public Builder instanceName(String instanceName) {
            return instanceName(Output.of(instanceName));
        }

        /**
         * @param projectId Unique 24-digit hexadecimal string that identifies the project.
         * 
         * @return builder
         * 
         */
        public Builder projectId(Output projectId) {
            $.projectId = projectId;
            return this;
        }

        /**
         * @param projectId Unique 24-digit hexadecimal string that identifies the project.
         * 
         * @return builder
         * 
         */
        public Builder projectId(String projectId) {
            return projectId(Output.of(projectId));
        }

        public GetPrivatelinkEndpointServiceServerlessArgs build() {
            if ($.endpointId == null) {
                throw new MissingRequiredPropertyException("GetPrivatelinkEndpointServiceServerlessArgs", "endpointId");
            }
            if ($.instanceName == null) {
                throw new MissingRequiredPropertyException("GetPrivatelinkEndpointServiceServerlessArgs", "instanceName");
            }
            if ($.projectId == null) {
                throw new MissingRequiredPropertyException("GetPrivatelinkEndpointServiceServerlessArgs", "projectId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy