
com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionJsonArgs 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.wafv2.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionJsonArgs extends com.pulumi.resources.ResourceArgs {
public static final WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionJsonArgs Empty = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionJsonArgs();
/**
* Values in the response header with the specified name that indicate a failed login attempt.
*
*/
@Import(name="failureValues", required=true)
private Output> failureValues;
/**
* @return Values in the response header with the specified name that indicate a failed login attempt.
*
*/
public Output> failureValues() {
return this.failureValues;
}
/**
* The identifier for the value to match against in the JSON.
*
*/
@Import(name="identifier", required=true)
private Output identifier;
/**
* @return The identifier for the value to match against in the JSON.
*
*/
public Output identifier() {
return this.identifier;
}
/**
* Values in the response header with the specified name that indicate a successful login attempt.
*
*/
@Import(name="successValues", required=true)
private Output> successValues;
/**
* @return Values in the response header with the specified name that indicate a successful login attempt.
*
*/
public Output> successValues() {
return this.successValues;
}
private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionJsonArgs() {}
private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionJsonArgs(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionJsonArgs $) {
this.failureValues = $.failureValues;
this.identifier = $.identifier;
this.successValues = $.successValues;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionJsonArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionJsonArgs $;
public Builder() {
$ = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionJsonArgs();
}
public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionJsonArgs defaults) {
$ = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionJsonArgs(Objects.requireNonNull(defaults));
}
/**
* @param failureValues Values in the response header with the specified name that indicate a failed login attempt.
*
* @return builder
*
*/
public Builder failureValues(Output> failureValues) {
$.failureValues = failureValues;
return this;
}
/**
* @param failureValues Values in the response header with the specified name that indicate a failed login attempt.
*
* @return builder
*
*/
public Builder failureValues(List failureValues) {
return failureValues(Output.of(failureValues));
}
/**
* @param failureValues Values in the response header with the specified name that indicate a failed login attempt.
*
* @return builder
*
*/
public Builder failureValues(String... failureValues) {
return failureValues(List.of(failureValues));
}
/**
* @param identifier The identifier for the value to match against in the JSON.
*
* @return builder
*
*/
public Builder identifier(Output identifier) {
$.identifier = identifier;
return this;
}
/**
* @param identifier The identifier for the value to match against in the JSON.
*
* @return builder
*
*/
public Builder identifier(String identifier) {
return identifier(Output.of(identifier));
}
/**
* @param successValues Values in the response header with the specified name that indicate a successful login attempt.
*
* @return builder
*
*/
public Builder successValues(Output> successValues) {
$.successValues = successValues;
return this;
}
/**
* @param successValues Values in the response header with the specified name that indicate a successful login attempt.
*
* @return builder
*
*/
public Builder successValues(List successValues) {
return successValues(Output.of(successValues));
}
/**
* @param successValues Values in the response header with the specified name that indicate a successful login attempt.
*
* @return builder
*
*/
public Builder successValues(String... successValues) {
return successValues(List.of(successValues));
}
public WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionJsonArgs build() {
if ($.failureValues == null) {
throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionJsonArgs", "failureValues");
}
if ($.identifier == null) {
throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionJsonArgs", "identifier");
}
if ($.successValues == null) {
throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionJsonArgs", "successValues");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy