public static final class CfnGeoMatchSetProps.Builder
extends java.lang.Object
CfnGeoMatchSetProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnGeoMatchSetProps |
build()
Builds the configured instance.
|
CfnGeoMatchSetProps.Builder |
geoMatchConstraints(IResolvable geoMatchConstraints)
Sets the value of
CfnGeoMatchSetProps.getGeoMatchConstraints() |
CfnGeoMatchSetProps.Builder |
geoMatchConstraints(java.util.List<? extends java.lang.Object> geoMatchConstraints)
Sets the value of
CfnGeoMatchSetProps.getGeoMatchConstraints() |
CfnGeoMatchSetProps.Builder |
name(java.lang.String name)
Sets the value of
CfnGeoMatchSetProps.getName() |
public CfnGeoMatchSetProps.Builder name(java.lang.String name)
CfnGeoMatchSetProps.getName()
name
- A friendly name or description of the `GeoMatchSet` . This parameter is required.
You can't change the name of an GeoMatchSet
after you create it.this
public CfnGeoMatchSetProps.Builder geoMatchConstraints(IResolvable geoMatchConstraints)
CfnGeoMatchSetProps.getGeoMatchConstraints()
geoMatchConstraints
- An array of `GeoMatchConstraint` objects, which contain the country that you want AWS WAF to search for.this
public CfnGeoMatchSetProps.Builder geoMatchConstraints(java.util.List<? extends java.lang.Object> geoMatchConstraints)
CfnGeoMatchSetProps.getGeoMatchConstraints()
geoMatchConstraints
- An array of `GeoMatchConstraint` objects, which contain the country that you want AWS WAF to search for.this
public CfnGeoMatchSetProps build()
CfnGeoMatchSetProps
java.lang.NullPointerException
- if any required attribute was not provided