com.pulumi.aws.waf.outputs.WebAclLoggingConfigurationRedactedFields 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.waf.outputs;
import com.pulumi.aws.waf.outputs.WebAclLoggingConfigurationRedactedFieldsFieldToMatch;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
@CustomType
public final class WebAclLoggingConfigurationRedactedFields {
/**
* @return Set of configuration blocks for fields to redact. Detailed below.
*
*/
private List fieldToMatches;
private WebAclLoggingConfigurationRedactedFields() {}
/**
* @return Set of configuration blocks for fields to redact. Detailed below.
*
*/
public List fieldToMatches() {
return this.fieldToMatches;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WebAclLoggingConfigurationRedactedFields defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List fieldToMatches;
public Builder() {}
public Builder(WebAclLoggingConfigurationRedactedFields defaults) {
Objects.requireNonNull(defaults);
this.fieldToMatches = defaults.fieldToMatches;
}
@CustomType.Setter
public Builder fieldToMatches(List fieldToMatches) {
if (fieldToMatches == null) {
throw new MissingRequiredPropertyException("WebAclLoggingConfigurationRedactedFields", "fieldToMatches");
}
this.fieldToMatches = fieldToMatches;
return this;
}
public Builder fieldToMatches(WebAclLoggingConfigurationRedactedFieldsFieldToMatch... fieldToMatches) {
return fieldToMatches(List.of(fieldToMatches));
}
public WebAclLoggingConfigurationRedactedFields build() {
final var _resultValue = new WebAclLoggingConfigurationRedactedFields();
_resultValue.fieldToMatches = fieldToMatches;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy