com.pulumi.aws.cognito.outputs.RiskConfigurationCompromisedCredentialsRiskConfigurationActions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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 com.pulumi.exceptions.MissingRequiredPropertyException;
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) {
if (eventAction == null) {
throw new MissingRequiredPropertyException("RiskConfigurationCompromisedCredentialsRiskConfigurationActions", "eventAction");
}
this.eventAction = eventAction;
return this;
}
public RiskConfigurationCompromisedCredentialsRiskConfigurationActions build() {
final var _resultValue = new RiskConfigurationCompromisedCredentialsRiskConfigurationActions();
_resultValue.eventAction = eventAction;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy