Class CfnLoggingConfiguration.SingleHeaderProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnLoggingConfiguration.SingleHeaderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLoggingConfiguration.SingleHeaderProperty>
- Enclosing interface:
CfnLoggingConfiguration.SingleHeaderProperty
@Stability(Stable)
public static final class CfnLoggingConfiguration.SingleHeaderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLoggingConfiguration.SingleHeaderProperty>
A builder for
CfnLoggingConfiguration.SingleHeaderProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnLoggingConfiguration.SingleHeaderProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnLoggingConfiguration.SingleHeaderProperty.getName()
- Parameters:
name
- The name of the query header to inspect. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLoggingConfiguration.SingleHeaderProperty>
- Returns:
- a new instance of
CfnLoggingConfiguration.SingleHeaderProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-