@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GeoMatchSetUpdate extends Object implements Serializable, Cloneable, StructuredPojo
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
Specifies the type of update to perform to an GeoMatchSet with UpdateGeoMatchSet.
Constructor and Description |
---|
GeoMatchSetUpdate() |
Modifier and Type | Method and Description |
---|---|
GeoMatchSetUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
|
GeoMatchConstraint |
getGeoMatchConstraint()
The country from which web requests originate that you want AWS WAF to search for.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(String action)
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
|
void |
setGeoMatchConstraint(GeoMatchConstraint geoMatchConstraint)
The country from which web requests originate that you want AWS WAF to search for.
|
String |
toString()
Returns a string representation of this object.
|
GeoMatchSetUpdate |
withAction(ChangeAction action)
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
|
GeoMatchSetUpdate |
withAction(String action)
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
|
GeoMatchSetUpdate |
withGeoMatchConstraint(GeoMatchConstraint geoMatchConstraint)
The country from which web requests originate that you want AWS WAF to search for.
|
public void setAction(String action)
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
action
- Specifies whether to insert or delete a country with UpdateGeoMatchSet.ChangeAction
public String getAction()
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
ChangeAction
public GeoMatchSetUpdate withAction(String action)
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
action
- Specifies whether to insert or delete a country with UpdateGeoMatchSet.ChangeAction
public GeoMatchSetUpdate withAction(ChangeAction action)
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
action
- Specifies whether to insert or delete a country with UpdateGeoMatchSet.ChangeAction
public void setGeoMatchConstraint(GeoMatchConstraint geoMatchConstraint)
The country from which web requests originate that you want AWS WAF to search for.
geoMatchConstraint
- The country from which web requests originate that you want AWS WAF to search for.public GeoMatchConstraint getGeoMatchConstraint()
The country from which web requests originate that you want AWS WAF to search for.
public GeoMatchSetUpdate withGeoMatchConstraint(GeoMatchConstraint geoMatchConstraint)
The country from which web requests originate that you want AWS WAF to search for.
geoMatchConstraint
- The country from which web requests originate that you want AWS WAF to search for.public String toString()
toString
in class Object
Object.toString()
public GeoMatchSetUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.