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

com.pulumi.aws.cognito.inputs.GetUserPoolClientPlainArgs 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.cognito.inputs;

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


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

    public static final GetUserPoolClientPlainArgs Empty = new GetUserPoolClientPlainArgs();

    /**
     * Client Id of the user pool.
     * 
     */
    @Import(name="clientId", required=true)
    private String clientId;

    /**
     * @return Client Id of the user pool.
     * 
     */
    public String clientId() {
        return this.clientId;
    }

    /**
     * User pool the client belongs to.
     * 
     */
    @Import(name="userPoolId", required=true)
    private String userPoolId;

    /**
     * @return User pool the client belongs to.
     * 
     */
    public String userPoolId() {
        return this.userPoolId;
    }

    private GetUserPoolClientPlainArgs() {}

    private GetUserPoolClientPlainArgs(GetUserPoolClientPlainArgs $) {
        this.clientId = $.clientId;
        this.userPoolId = $.userPoolId;
    }

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

    public static final class Builder {
        private GetUserPoolClientPlainArgs $;

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

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

        /**
         * @param clientId Client Id of the user pool.
         * 
         * @return builder
         * 
         */
        public Builder clientId(String clientId) {
            $.clientId = clientId;
            return this;
        }

        /**
         * @param userPoolId User pool the client belongs to.
         * 
         * @return builder
         * 
         */
        public Builder userPoolId(String userPoolId) {
            $.userPoolId = userPoolId;
            return this;
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy