Class CfnOrganizationTelemetryRulePropsMixin.WAFLoggingParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.observabilityadmin.CfnOrganizationTelemetryRulePropsMixin.WAFLoggingParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOrganizationTelemetryRulePropsMixin.WAFLoggingParametersProperty>
- Enclosing interface:
CfnOrganizationTelemetryRulePropsMixin.WAFLoggingParametersProperty
@Stability(Stable)
public static final class CfnOrganizationTelemetryRulePropsMixin.WAFLoggingParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOrganizationTelemetryRulePropsMixin.WAFLoggingParametersProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.loggingFilter(IResolvable loggingFilter) redactedFields(List<? extends Object> redactedFields) redactedFields(IResolvable redactedFields)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
loggingFilter
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.WAFLoggingParametersProperty.Builder loggingFilter(IResolvable loggingFilter) Sets the value ofCfnOrganizationTelemetryRulePropsMixin.WAFLoggingParametersProperty.getLoggingFilter()- Parameters:
loggingFilter- A filter configuration that determines which WAF log records to include or exclude.- Returns:
this
-
loggingFilter
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.WAFLoggingParametersProperty.Builder loggingFilter(CfnOrganizationTelemetryRulePropsMixin.LoggingFilterProperty loggingFilter) Sets the value ofCfnOrganizationTelemetryRulePropsMixin.WAFLoggingParametersProperty.getLoggingFilter()- Parameters:
loggingFilter- A filter configuration that determines which WAF log records to include or exclude.- Returns:
this
-
logType
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.WAFLoggingParametersProperty.Builder logType(String logType) - Parameters:
logType- The type of WAF logs to collect (currently supports WAF_LOGS).- Returns:
this
-
redactedFields
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.WAFLoggingParametersProperty.Builder redactedFields(IResolvable redactedFields) Sets the value ofCfnOrganizationTelemetryRulePropsMixin.WAFLoggingParametersProperty.getRedactedFields()- Parameters:
redactedFields- The fields to redact from WAF logs to protect sensitive information.- Returns:
this
-
redactedFields
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.WAFLoggingParametersProperty.Builder redactedFields(List<? extends Object> redactedFields) Sets the value ofCfnOrganizationTelemetryRulePropsMixin.WAFLoggingParametersProperty.getRedactedFields()- Parameters:
redactedFields- The fields to redact from WAF logs to protect sensitive information.- Returns:
this
-
build
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.WAFLoggingParametersProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOrganizationTelemetryRulePropsMixin.WAFLoggingParametersProperty>- Returns:
- a new instance of
CfnOrganizationTelemetryRulePropsMixin.WAFLoggingParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-