Interface WAFLoggingParameters.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WAFLoggingParameters.Builder,,WAFLoggingParameters> SdkBuilder<WAFLoggingParameters.Builder,,WAFLoggingParameters> SdkPojo
- Enclosing class:
WAFLoggingParameters
-
Method Summary
Modifier and TypeMethodDescriptiondefault WAFLoggingParameters.BuilderloggingFilter(Consumer<LoggingFilter.Builder> loggingFilter) A filter configuration that determines which WAF log records to include or exclude.loggingFilter(LoggingFilter loggingFilter) A filter configuration that determines which WAF log records to include or exclude.The type of WAF logs to collect (currently supports WAF_LOGS).logType(WAFLogType logType) The type of WAF logs to collect (currently supports WAF_LOGS).redactedFields(Collection<FieldToMatch> redactedFields) The fields to redact from WAF logs to protect sensitive information.redactedFields(Consumer<FieldToMatch.Builder>... redactedFields) The fields to redact from WAF logs to protect sensitive information.redactedFields(FieldToMatch... redactedFields) The fields to redact from WAF logs to protect sensitive information.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
redactedFields
The fields to redact from WAF logs to protect sensitive information.
- Parameters:
redactedFields- The fields to redact from WAF logs to protect sensitive information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redactedFields
The fields to redact from WAF logs to protect sensitive information.
- Parameters:
redactedFields- The fields to redact from WAF logs to protect sensitive information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redactedFields
The fields to redact from WAF logs to protect sensitive information.
This is a convenience method that creates an instance of theFieldToMatch.Builderavoiding the need to create one manually viaFieldToMatch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toredactedFields(List<FieldToMatch>).- Parameters:
redactedFields- a consumer that will call methods onFieldToMatch.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
loggingFilter
A filter configuration that determines which WAF log records to include or exclude.
- Parameters:
loggingFilter- A filter configuration that determines which WAF log records to include or exclude.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingFilter
A filter configuration that determines which WAF log records to include or exclude.
This is a convenience method that creates an instance of theLoggingFilter.Builderavoiding the need to create one manually viaLoggingFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologgingFilter(LoggingFilter).- Parameters:
loggingFilter- a consumer that will call methods onLoggingFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logType
The type of WAF logs to collect (currently supports WAF_LOGS).
- Parameters:
logType- The type of WAF logs to collect (currently supports WAF_LOGS).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logType
The type of WAF logs to collect (currently supports WAF_LOGS).
- Parameters:
logType- The type of WAF logs to collect (currently supports WAF_LOGS).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-