// *** 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.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class RiskConfigurationCompromisedCredentialsRiskConfigurationActions {
    /**
     * @return The event action. Valid values are `BLOCK` or `NO_ACTION`.
     * 
     */
    private String eventAction;

    private RiskConfigurationCompromisedCredentialsRiskConfigurationActions() {}
    /**
     * @return The event action. Valid values are `BLOCK` or `NO_ACTION`.
     * 
     */
    public String eventAction() {
        return this.eventAction;
    }

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

    public static Builder builder(RiskConfigurationCompromisedCredentialsRiskConfigurationActions defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String eventAction;
        public Builder() {}
        public Builder(RiskConfigurationCompromisedCredentialsRiskConfigurationActions defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.eventAction = defaults.eventAction;
        }

        @CustomType.Setter
        public Builder eventAction(String eventAction) {
            this.eventAction = Objects.requireNonNull(eventAction);
            return this;
        }
        public RiskConfigurationCompromisedCredentialsRiskConfigurationActions build() {
            final var o = new RiskConfigurationCompromisedCredentialsRiskConfigurationActions();
            o.eventAction = eventAction;
            return o;
        }
    }
}
