public java.util.List<FieldToMatch> getRedactedFields() {
        return redactedFields;
    }
<p>
The parts of the request that you want to keep out of the logs.
</p>
<p>
For example, if you redact the <code>SingleHeader</code> field, the <code>HEADER</code> field in the logs will be
<code>REDACTED</code> for all rules that use the <code>SingleHeader</code> <code>FieldToMatch</code> setting.
</p>
<p>
Redaction applies only to the component that's specified in the rule's <code>FieldToMatch</code> setting, so the
<code>SingleHeader</code> redaction doesn't apply to rules that use the <code>Headers</code>
<code>FieldToMatch</code>.
</p>
<note>
<p>
You can specify only the following fields for redaction: <code>UriPath</code>, <code>QueryString</code>,
<code>SingleHeader</code>, and <code>Method</code>.
</p>
</note> <note>
<p>
This setting has no impact on request sampling. With request sampling, the only way to exclude fields is by
disabling sampling in the web ACL visibility configuration.
</p>
</note>

@return The parts of the request that you want to keep out of the logs.</p>
        <p>
        For example, if you redact the <code>SingleHeader</code> field, the <code>HEADER</code> field in the logs
        will be <code>REDACTED</code> for all rules that use the <code>SingleHeader</code>
        <code>FieldToMatch</code> setting.
        </p>
        <p>
        Redaction applies only to the component that's specified in the rule's <code>FieldToMatch</code> setting,
        so the <code>SingleHeader</code> redaction doesn't apply to rules that use the <code>Headers</code>
        <code>FieldToMatch</code>.
        </p>
        <note>
        <p>
        You can specify only the following fields for redaction: <code>UriPath</code>, <code>QueryString</code>,
        <code>SingleHeader</code>, and <code>Method</code>.
        </p>
        </note> <note>
        <p>
        This setting has no impact on request sampling. With request sampling, the only way to exclude fields is
        by disabling sampling in the web ACL visibility configuration.
        </p>
aws-java-sdk-wafv2/src/main/java/com/amazonaws/services/wafv2/model/LoggingConfiguration.java