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

com.pulumi.aws.cognito.inputs.UserPoolAccountRecoverySettingArgs 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.aws.cognito.inputs.UserPoolAccountRecoverySettingRecoveryMechanismArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final UserPoolAccountRecoverySettingArgs Empty = new UserPoolAccountRecoverySettingArgs();

    /**
     * List of Account Recovery Options of the following structure:
     * 
     */
    @Import(name="recoveryMechanisms")
    private @Nullable Output> recoveryMechanisms;

    /**
     * @return List of Account Recovery Options of the following structure:
     * 
     */
    public Optional>> recoveryMechanisms() {
        return Optional.ofNullable(this.recoveryMechanisms);
    }

    private UserPoolAccountRecoverySettingArgs() {}

    private UserPoolAccountRecoverySettingArgs(UserPoolAccountRecoverySettingArgs $) {
        this.recoveryMechanisms = $.recoveryMechanisms;
    }

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

    public static final class Builder {
        private UserPoolAccountRecoverySettingArgs $;

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

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

        /**
         * @param recoveryMechanisms List of Account Recovery Options of the following structure:
         * 
         * @return builder
         * 
         */
        public Builder recoveryMechanisms(@Nullable Output> recoveryMechanisms) {
            $.recoveryMechanisms = recoveryMechanisms;
            return this;
        }

        /**
         * @param recoveryMechanisms List of Account Recovery Options of the following structure:
         * 
         * @return builder
         * 
         */
        public Builder recoveryMechanisms(List recoveryMechanisms) {
            return recoveryMechanisms(Output.of(recoveryMechanisms));
        }

        /**
         * @param recoveryMechanisms List of Account Recovery Options of the following structure:
         * 
         * @return builder
         * 
         */
        public Builder recoveryMechanisms(UserPoolAccountRecoverySettingRecoveryMechanismArgs... recoveryMechanisms) {
            return recoveryMechanisms(List.of(recoveryMechanisms));
        }

        public UserPoolAccountRecoverySettingArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy