Class CfnOrganizationTelemetryRulePropsMixin.FieldToMatchProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.observabilityadmin.CfnOrganizationTelemetryRulePropsMixin.FieldToMatchProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOrganizationTelemetryRulePropsMixin.FieldToMatchProperty>
- Enclosing interface:
CfnOrganizationTelemetryRulePropsMixin.FieldToMatchProperty
@Stability(Stable)
public static final class CfnOrganizationTelemetryRulePropsMixin.FieldToMatchProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOrganizationTelemetryRulePropsMixin.FieldToMatchProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnOrganizationTelemetryRulePropsMixin.FieldToMatchProperty.getMethod()queryString(String queryString) singleHeader(IResolvable singleHeader) Sets the value ofCfnOrganizationTelemetryRulePropsMixin.FieldToMatchProperty.getUriPath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
method
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.FieldToMatchProperty.Builder method(String method) Sets the value ofCfnOrganizationTelemetryRulePropsMixin.FieldToMatchProperty.getMethod()- Parameters:
method- Redacts the HTTP method from WAF logs.- Returns:
this
-
queryString
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.FieldToMatchProperty.Builder queryString(String queryString) - Parameters:
queryString- Redacts the entire query string from WAF logs.- Returns:
this
-
singleHeader
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.FieldToMatchProperty.Builder singleHeader(IResolvable singleHeader) - Parameters:
singleHeader- Redacts a specific header field by name from WAF logs.- Returns:
this
-
singleHeader
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.FieldToMatchProperty.Builder singleHeader(CfnOrganizationTelemetryRulePropsMixin.SingleHeaderProperty singleHeader) - Parameters:
singleHeader- Redacts a specific header field by name from WAF logs.- Returns:
this
-
uriPath
@Stability(Stable) public CfnOrganizationTelemetryRulePropsMixin.FieldToMatchProperty.Builder uriPath(String uriPath) Sets the value ofCfnOrganizationTelemetryRulePropsMixin.FieldToMatchProperty.getUriPath()- Parameters:
uriPath- Redacts the URI path from WAF logs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOrganizationTelemetryRulePropsMixin.FieldToMatchProperty>- Returns:
- a new instance of
CfnOrganizationTelemetryRulePropsMixin.FieldToMatchProperty - Throws:
NullPointerException- if any required attribute was not provided
-