public static interface LoggingConfiguration.Builder extends SdkPojo, CopyableBuilder<LoggingConfiguration.Builder,LoggingConfiguration>
| Modifier and Type | Method and Description |
|---|---|
LoggingConfiguration.Builder |
logDestinationConfigs(Collection<String> logDestinationConfigs)
The logging destination configuration that you want to associate with the web ACL.
|
LoggingConfiguration.Builder |
logDestinationConfigs(String... logDestinationConfigs)
The logging destination configuration that you want to associate with the web ACL.
|
default LoggingConfiguration.Builder |
loggingFilter(Consumer<LoggingFilter.Builder> loggingFilter)
Filtering that specifies which web requests are kept in the logs and which are dropped.
|
LoggingConfiguration.Builder |
loggingFilter(LoggingFilter loggingFilter)
Filtering that specifies which web requests are kept in the logs and which are dropped.
|
LoggingConfiguration.Builder |
managedByFirewallManager(Boolean managedByFirewallManager)
Indicates whether the logging configuration was created by Firewall Manager, as part of an WAF policy
configuration.
|
LoggingConfiguration.Builder |
redactedFields(Collection<FieldToMatch> redactedFields)
The parts of the request that you want to keep out of the logs.
|
LoggingConfiguration.Builder |
redactedFields(Consumer<FieldToMatch.Builder>... redactedFields)
The parts of the request that you want to keep out of the logs.
|
LoggingConfiguration.Builder |
redactedFields(FieldToMatch... redactedFields)
The parts of the request that you want to keep out of the logs.
|
LoggingConfiguration.Builder |
resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the web ACL that you want to associate with
LogDestinationConfigs. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLoggingConfiguration.Builder resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the web ACL that you want to associate with
LogDestinationConfigs.
resourceArn - The Amazon Resource Name (ARN) of the web ACL that you want to associate with
LogDestinationConfigs.LoggingConfiguration.Builder logDestinationConfigs(Collection<String> logDestinationConfigs)
The logging destination configuration that you want to associate with the web ACL.
You can associate one logging destination to a web ACL.
logDestinationConfigs - The logging destination configuration that you want to associate with the web ACL. You can associate one logging destination to a web ACL.
LoggingConfiguration.Builder logDestinationConfigs(String... logDestinationConfigs)
The logging destination configuration that you want to associate with the web ACL.
You can associate one logging destination to a web ACL.
logDestinationConfigs - The logging destination configuration that you want to associate with the web ACL. You can associate one logging destination to a web ACL.
LoggingConfiguration.Builder redactedFields(Collection<FieldToMatch> redactedFields)
The parts of the request that you want to keep out of the logs.
For example, if you redact the SingleHeader field, the HEADER field in the logs
will be REDACTED for all rules that use the SingleHeader FieldToMatch
setting.
Redaction applies only to the component that's specified in the rule's FieldToMatch setting, so
the SingleHeader redaction doesn't apply to rules that use the Headers
FieldToMatch.
You can specify only the following fields for redaction: UriPath, QueryString,
SingleHeader, and Method.
redactedFields - The parts of the request that you want to keep out of the logs.
For example, if you redact the SingleHeader field, the HEADER field in the
logs will be REDACTED for all rules that use the SingleHeader
FieldToMatch setting.
Redaction applies only to the component that's specified in the rule's FieldToMatch
setting, so the SingleHeader redaction doesn't apply to rules that use the
Headers FieldToMatch.
You can specify only the following fields for redaction: UriPath,
QueryString, SingleHeader, and Method.
LoggingConfiguration.Builder redactedFields(FieldToMatch... redactedFields)
The parts of the request that you want to keep out of the logs.
For example, if you redact the SingleHeader field, the HEADER field in the logs
will be REDACTED for all rules that use the SingleHeader FieldToMatch
setting.
Redaction applies only to the component that's specified in the rule's FieldToMatch setting, so
the SingleHeader redaction doesn't apply to rules that use the Headers
FieldToMatch.
You can specify only the following fields for redaction: UriPath, QueryString,
SingleHeader, and Method.
redactedFields - The parts of the request that you want to keep out of the logs.
For example, if you redact the SingleHeader field, the HEADER field in the
logs will be REDACTED for all rules that use the SingleHeader
FieldToMatch setting.
Redaction applies only to the component that's specified in the rule's FieldToMatch
setting, so the SingleHeader redaction doesn't apply to rules that use the
Headers FieldToMatch.
You can specify only the following fields for redaction: UriPath,
QueryString, SingleHeader, and Method.
LoggingConfiguration.Builder redactedFields(Consumer<FieldToMatch.Builder>... redactedFields)
The parts of the request that you want to keep out of the logs.
For example, if you redact the SingleHeader field, the HEADER field in the logs
will be REDACTED for all rules that use the SingleHeader FieldToMatch
setting.
Redaction applies only to the component that's specified in the rule's FieldToMatch setting, so
the SingleHeader redaction doesn't apply to rules that use the Headers
FieldToMatch.
You can specify only the following fields for redaction: UriPath, QueryString,
SingleHeader, and Method.
FieldToMatch.Builder avoiding the need to create one
manually via FieldToMatch.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #redactedFields(List.
redactedFields - a consumer that will call methods on
FieldToMatch.Builder#redactedFields(java.util.Collection) LoggingConfiguration.Builder managedByFirewallManager(Boolean managedByFirewallManager)
Indicates whether the logging configuration was created by Firewall Manager, as part of an WAF policy configuration. If true, only Firewall Manager can modify or delete the configuration.
managedByFirewallManager - Indicates whether the logging configuration was created by Firewall Manager, as part of an WAF policy
configuration. If true, only Firewall Manager can modify or delete the configuration.LoggingConfiguration.Builder loggingFilter(LoggingFilter loggingFilter)
Filtering that specifies which web requests are kept in the logs and which are dropped. You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation.
loggingFilter - Filtering that specifies which web requests are kept in the logs and which are dropped. You can filter
on the rule action and on the web request labels that were applied by matching rules during web ACL
evaluation.default LoggingConfiguration.Builder loggingFilter(Consumer<LoggingFilter.Builder> loggingFilter)
Filtering that specifies which web requests are kept in the logs and which are dropped. You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation.
This is a convenience method that creates an instance of theLoggingFilter.Builder avoiding the need
to create one manually via LoggingFilter.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to loggingFilter(LoggingFilter).
loggingFilter - a consumer that will call methods on LoggingFilter.BuilderloggingFilter(LoggingFilter)Copyright © 2023. All rights reserved.