Class CfnGatewayPropsMixin.WafConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnGatewayPropsMixin.WafConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayPropsMixin.WafConfigurationProperty>
- Enclosing interface:
CfnGatewayPropsMixin.WafConfigurationProperty
@Stability(Stable)
public static final class CfnGatewayPropsMixin.WafConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayPropsMixin.WafConfigurationProperty>
A builder for
CfnGatewayPropsMixin.WafConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.failureMode(String failureMode) Sets the value ofCfnGatewayPropsMixin.WafConfigurationProperty.getFailureMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
failureMode
@Stability(Stable) public CfnGatewayPropsMixin.WafConfigurationProperty.Builder failureMode(String failureMode) Sets the value ofCfnGatewayPropsMixin.WafConfigurationProperty.getFailureMode()- Parameters:
failureMode- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayPropsMixin.WafConfigurationProperty>- Returns:
- a new instance of
CfnGatewayPropsMixin.WafConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-