com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionHeader 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.
The newest version!
// *** 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 WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionHeader {
/**
* @return Values in the response header with the specified name that indicate a failed login attempt.
*
*/
private List failureValues;
/**
* @return The name of the header to use.
*
*/
private String name;
/**
* @return Values in the response header with the specified name that indicate a successful login attempt.
*
*/
private List successValues;
private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionHeader() {}
/**
* @return Values in the response header with the specified name that indicate a failed login attempt.
*
*/
public List failureValues() {
return this.failureValues;
}
/**
* @return The name of the header to use.
*
*/
public String name() {
return this.name;
}
/**
* @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(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionHeader defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List failureValues;
private String name;
private List successValues;
public Builder() {}
public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionHeader defaults) {
Objects.requireNonNull(defaults);
this.failureValues = defaults.failureValues;
this.name = defaults.name;
this.successValues = defaults.successValues;
}
@CustomType.Setter
public Builder failureValues(List failureValues) {
if (failureValues == null) {
throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionHeader", "failureValues");
}
this.failureValues = failureValues;
return this;
}
public Builder failureValues(String... failureValues) {
return failureValues(List.of(failureValues));
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionHeader", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder successValues(List successValues) {
if (successValues == null) {
throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionHeader", "successValues");
}
this.successValues = successValues;
return this;
}
public Builder successValues(String... successValues) {
return successValues(List.of(successValues));
}
public WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionHeader build() {
final var _resultValue = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionHeader();
_resultValue.failureValues = failureValues;
_resultValue.name = name;
_resultValue.successValues = successValues;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy