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

com.pulumi.ec.inputs.GetAwsPrivatelinkEndpointArgs Maven / Gradle / Ivy

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.ec.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 GetAwsPrivatelinkEndpointArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetAwsPrivatelinkEndpointArgs Empty = new GetAwsPrivatelinkEndpointArgs();

    /**
     * Region to retrieve the Private Link configuration for.
     * 
     */
    @Import(name="region", required=true)
    private Output region;

    /**
     * @return Region to retrieve the Private Link configuration for.
     * 
     */
    public Output region() {
        return this.region;
    }

    private GetAwsPrivatelinkEndpointArgs() {}

    private GetAwsPrivatelinkEndpointArgs(GetAwsPrivatelinkEndpointArgs $) {
        this.region = $.region;
    }

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

    public static final class Builder {
        private GetAwsPrivatelinkEndpointArgs $;

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

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

        /**
         * @param region Region to retrieve the Private Link configuration for.
         * 
         * @return builder
         * 
         */
        public Builder region(Output region) {
            $.region = region;
            return this;
        }

        /**
         * @param region Region to retrieve the Private Link configuration for.
         * 
         * @return builder
         * 
         */
        public Builder region(String region) {
            return region(Output.of(region));
        }

        public GetAwsPrivatelinkEndpointArgs build() {
            if ($.region == null) {
                throw new MissingRequiredPropertyException("GetAwsPrivatelinkEndpointArgs", "region");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy