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

com.pulumi.aws.cognito.inputs.GetUserPoolArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.66.3
Show 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.cognito.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 GetUserPoolArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetUserPoolArgs Empty = new GetUserPoolArgs();

    /**
     * The cognito pool ID
     * 
     */
    @Import(name="userPoolId", required=true)
    private Output userPoolId;

    /**
     * @return The cognito pool ID
     * 
     */
    public Output userPoolId() {
        return this.userPoolId;
    }

    private GetUserPoolArgs() {}

    private GetUserPoolArgs(GetUserPoolArgs $) {
        this.userPoolId = $.userPoolId;
    }

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

    public static final class Builder {
        private GetUserPoolArgs $;

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

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

        /**
         * @param userPoolId The cognito pool ID
         * 
         * @return builder
         * 
         */
        public Builder userPoolId(Output userPoolId) {
            $.userPoolId = userPoolId;
            return this;
        }

        /**
         * @param userPoolId The cognito pool ID
         * 
         * @return builder
         * 
         */
        public Builder userPoolId(String userPoolId) {
            return userPoolId(Output.of(userPoolId));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy