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