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