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