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