Class CfnGeoMatchSetMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafregional.CfnGeoMatchSetMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGeoMatchSetMixinProps>
- Enclosing interface:
CfnGeoMatchSetMixinProps
@Stability(Stable)
public static final class CfnGeoMatchSetMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGeoMatchSetMixinProps>
A builder for
CfnGeoMatchSetMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.geoMatchConstraints(List<? extends Object> geoMatchConstraints) Sets the value ofCfnGeoMatchSetMixinProps.getGeoMatchConstraints()geoMatchConstraints(IResolvable geoMatchConstraints) Sets the value ofCfnGeoMatchSetMixinProps.getGeoMatchConstraints()Sets the value ofCfnGeoMatchSetMixinProps.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
geoMatchConstraints
@Stability(Stable) public CfnGeoMatchSetMixinProps.Builder geoMatchConstraints(IResolvable geoMatchConstraints) Sets the value ofCfnGeoMatchSetMixinProps.getGeoMatchConstraints()- Parameters:
geoMatchConstraints- An array ofGeoMatchConstraintobjects, which contain the country that you want AWS WAF to search for.- Returns:
this
-
geoMatchConstraints
@Stability(Stable) public CfnGeoMatchSetMixinProps.Builder geoMatchConstraints(List<? extends Object> geoMatchConstraints) Sets the value ofCfnGeoMatchSetMixinProps.getGeoMatchConstraints()- Parameters:
geoMatchConstraints- An array ofGeoMatchConstraintobjects, which contain the country that you want AWS WAF to search for.- Returns:
this
-
name
Sets the value ofCfnGeoMatchSetMixinProps.getName()- Parameters:
name- A friendly name or description of theGeoMatchSet. You can't change the name of anGeoMatchSetafter you create it.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGeoMatchSetMixinProps>- Returns:
- a new instance of
CfnGeoMatchSetMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-