Class CfnGeoMatchSetPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafregional.CfnGeoMatchSetPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGeoMatchSetPropsMixin>
- Enclosing class:
CfnGeoMatchSetPropsMixin
@Stability(Stable)
public static final class CfnGeoMatchSetPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGeoMatchSetPropsMixin>
A fluent builder for
CfnGeoMatchSetPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) geoMatchConstraints(List<? extends Object> geoMatchConstraints) An array ofGeoMatchConstraintobjects, which contain the country that you want AWS WAF to search for.geoMatchConstraints(IResolvable geoMatchConstraints) An array ofGeoMatchConstraintobjects, which contain the country that you want AWS WAF to search for.A friendly name or description of theGeoMatchSet.
-
Method Details
-
create
@Stability(Stable) public static CfnGeoMatchSetPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnGeoMatchSetPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnGeoMatchSetPropsMixin.Builder.
-
geoMatchConstraints
@Stability(Stable) public CfnGeoMatchSetPropsMixin.Builder geoMatchConstraints(IResolvable geoMatchConstraints) An array ofGeoMatchConstraintobjects, which contain the country that you want AWS WAF to search for.- Parameters:
geoMatchConstraints- An array ofGeoMatchConstraintobjects, which contain the country that you want AWS WAF to search for. This parameter is required.- Returns:
this- See Also:
-
geoMatchConstraints
@Stability(Stable) public CfnGeoMatchSetPropsMixin.Builder geoMatchConstraints(List<? extends Object> geoMatchConstraints) An array ofGeoMatchConstraintobjects, which contain the country that you want AWS WAF to search for.- Parameters:
geoMatchConstraints- An array ofGeoMatchConstraintobjects, which contain the country that you want AWS WAF to search for. This parameter is required.- Returns:
this- See Also:
-
name
A friendly name or description of theGeoMatchSet.You can't change the name of an
GeoMatchSetafter you create it.- Parameters:
name- A friendly name or description of theGeoMatchSet. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGeoMatchSetPropsMixin>- Returns:
- a newly built instance of
CfnGeoMatchSetPropsMixin.
-