Class CfnLoggingConfigurationPropsMixin.FieldToMatchProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnLoggingConfigurationPropsMixin.FieldToMatchProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLoggingConfigurationPropsMixin.FieldToMatchProperty>
- Enclosing interface:
CfnLoggingConfigurationPropsMixin.FieldToMatchProperty
@Stability(Stable)
public static final class CfnLoggingConfigurationPropsMixin.FieldToMatchProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLoggingConfigurationPropsMixin.FieldToMatchProperty>
A builder for
CfnLoggingConfigurationPropsMixin.FieldToMatchProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLoggingConfigurationPropsMixin.FieldToMatchProperty.getJsonBody()Sets the value ofCfnLoggingConfigurationPropsMixin.FieldToMatchProperty.getMethod()queryString(Object queryString) Sets the value ofCfnLoggingConfigurationPropsMixin.FieldToMatchProperty.getQueryString()singleHeader(Object singleHeader) Sets the value ofCfnLoggingConfigurationPropsMixin.FieldToMatchProperty.getSingleHeader()Sets the value ofCfnLoggingConfigurationPropsMixin.FieldToMatchProperty.getUriPath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
jsonBody
@Stability(Stable) public CfnLoggingConfigurationPropsMixin.FieldToMatchProperty.Builder jsonBody(Object jsonBody) Sets the value ofCfnLoggingConfigurationPropsMixin.FieldToMatchProperty.getJsonBody()- Parameters:
jsonBody- the value to be set.- Returns:
this
-
method
@Stability(Stable) public CfnLoggingConfigurationPropsMixin.FieldToMatchProperty.Builder method(Object method) Sets the value ofCfnLoggingConfigurationPropsMixin.FieldToMatchProperty.getMethod()- Parameters:
method- Redact the indicated HTTP method. The method indicates the type of operation that the request is asking the origin to perform.- Returns:
this
-
queryString
@Stability(Stable) public CfnLoggingConfigurationPropsMixin.FieldToMatchProperty.Builder queryString(Object queryString) Sets the value ofCfnLoggingConfigurationPropsMixin.FieldToMatchProperty.getQueryString()- Parameters:
queryString- Redact the query string. This is the part of a URL that appears after a?character, if any.- Returns:
this
-
singleHeader
@Stability(Stable) public CfnLoggingConfigurationPropsMixin.FieldToMatchProperty.Builder singleHeader(Object singleHeader) Sets the value ofCfnLoggingConfigurationPropsMixin.FieldToMatchProperty.getSingleHeader()- Parameters:
singleHeader- Redact a single header. Provide the name of the header to inspect, for example,User-AgentorReferer. This setting isn't case sensitive.Example JSON:
"SingleHeader": { "Name": "haystack" }- Returns:
this
-
uriPath
@Stability(Stable) public CfnLoggingConfigurationPropsMixin.FieldToMatchProperty.Builder uriPath(Object uriPath) Sets the value ofCfnLoggingConfigurationPropsMixin.FieldToMatchProperty.getUriPath()- Parameters:
uriPath- Redact the request URI path. This is the part of the web request that identifies a resource, for example,/images/daily-ad.jpg.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLoggingConfigurationPropsMixin.FieldToMatchProperty>- Returns:
- a new instance of
CfnLoggingConfigurationPropsMixin.FieldToMatchProperty - Throws:
NullPointerException- if any required attribute was not provided
-