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