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