Class CfnGeoMatchSetPropsMixin.GeoMatchConstraintProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafregional.CfnGeoMatchSetPropsMixin.GeoMatchConstraintProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGeoMatchSetPropsMixin.GeoMatchConstraintProperty>
- Enclosing interface:
CfnGeoMatchSetPropsMixin.GeoMatchConstraintProperty
@Stability(Stable)
public static final class CfnGeoMatchSetPropsMixin.GeoMatchConstraintProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGeoMatchSetPropsMixin.GeoMatchConstraintProperty>
A builder for
CfnGeoMatchSetPropsMixin.GeoMatchConstraintProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnGeoMatchSetPropsMixin.GeoMatchConstraintProperty.getType()Sets the value ofCfnGeoMatchSetPropsMixin.GeoMatchConstraintProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
@Stability(Stable) public CfnGeoMatchSetPropsMixin.GeoMatchConstraintProperty.Builder type(String type) Sets the value ofCfnGeoMatchSetPropsMixin.GeoMatchConstraintProperty.getType()- Parameters:
type- The type of geographical area you want AWS WAF to search for. CurrentlyCountryis the only valid value.- Returns:
this
-
value
@Stability(Stable) public CfnGeoMatchSetPropsMixin.GeoMatchConstraintProperty.Builder value(String value) Sets the value ofCfnGeoMatchSetPropsMixin.GeoMatchConstraintProperty.getValue()- Parameters:
value- The country that you want AWS WAF to search for.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGeoMatchSetPropsMixin.GeoMatchConstraintProperty>- Returns:
- a new instance of
CfnGeoMatchSetPropsMixin.GeoMatchConstraintProperty - Throws:
NullPointerException- if any required attribute was not provided
-