// *** 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 java.lang.Boolean;
import java.util.Objects;


public final class UserPoolUsernameConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final UserPoolUsernameConfigurationArgs Empty = new UserPoolUsernameConfigurationArgs();

    /**
     * Whether username case sensitivity will be applied for all users in the user pool through Cognito APIs.
     * 
     */
    @Import(name="caseSensitive", required=true)
    private Output<Boolean> caseSensitive;

    /**
     * @return Whether username case sensitivity will be applied for all users in the user pool through Cognito APIs.
     * 
     */
    public Output<Boolean> caseSensitive() {
        return this.caseSensitive;
    }

    private UserPoolUsernameConfigurationArgs() {}

    private UserPoolUsernameConfigurationArgs(UserPoolUsernameConfigurationArgs $) {
        this.caseSensitive = $.caseSensitive;
    }

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

    public static final class Builder {
        private UserPoolUsernameConfigurationArgs $;

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

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

        /**
         * @param caseSensitive Whether username case sensitivity will be applied for all users in the user pool through Cognito APIs.
         * 
         * @return builder
         * 
         */
        public Builder caseSensitive(Output<Boolean> caseSensitive) {
            $.caseSensitive = caseSensitive;
            return this;
        }

        /**
         * @param caseSensitive Whether username case sensitivity will be applied for all users in the user pool through Cognito APIs.
         * 
         * @return builder
         * 
         */
        public Builder caseSensitive(Boolean caseSensitive) {
            return caseSensitive(Output.of(caseSensitive));
        }

        public UserPoolUsernameConfigurationArgs build() {
            $.caseSensitive = Objects.requireNonNull($.caseSensitive, "expected parameter 'caseSensitive' to be non-null");
            return $;
        }
    }

}
